\usepackage{Times}

  • Permalink
  • submit to reddit
  • Email
  • Follow


I need to use this package.  The version I have consists of just:

   \renewcommand{\rmdefault}{ptm}
   \renewcommand{\sfdefault}{phv}
   \renewcommand{\ttdefault}{pcr}

I don't remember where I got it from (it isn't in my standard 
distribution, which is quite old).

Using the package makes the text somewhat compacter, but not by much.

For now, it's good enough, but sometime I want to understand everything; 
that could be now if it is quick or later if things are more 
complicated.

I get the following warnings:

   LaTeX Font Warning: Font shape `OT1/ptm/m/n' undefined
   (Font)              using `OT1/cmr/m/n' instead on input line 88.
   
   
   LaTeX Font Warning: Font shape `OT1/ptm/bx/n' undefined
   (Font)              using `OT1/ptm/m/n' instead on input line 97.
   
   
   LaTeX Font Warning: Font shape `OT1/ptm/m/it' undefined
   (Font)              using `OT1/ptm/m/n' instead on input line 97.

but no other warnings.  Is there a QUICK fix to get rid of these 
warnings?

As I said, I can live with them for now, but would like to get rid of 
them as soon as is practical.

0
Reply helbig (5067) 12/3/2011 5:16:21 PM

See related articles to this posting

helbig@astro.multiCLOTHESvax.de (Phillip Helbig---undress to reply)
writes:

> Is there a QUICK fix to get rid of these warnings?

Switch from OT1 to T1 font encoding by

\usepackage[T1]{fontenc}

before loading the 'times' package.

BTW: 'times' is obsolete. It has been superseded by 'mathptmx'.

-- 
Uwe
0
Reply usenet1161 (95) 12/3/2011 5:30:27 PM


In article <848vmtpnpo.fsf@siart.de>, Uwe Siart <usenet@siart.de> writes:

> Switch from OT1 to T1 font encoding by
> 
> \usepackage[T1]{fontenc}
> 
> before loading the 'times' package.

I get the same warnings.

> BTW: 'times' is obsolete. It has been superseded by 'mathptmx'.

Apparently some journals still use it.

Looks like there is no quick solution; perhaps I should put it on the 
back burner.

0
Reply helbig (5067) 12/3/2011 5:58:34 PM

Am Sat, 3 Dec 2011 17:16:21 +0000 (UTC) schrieb Phillip
Helbig---undress to reply:

> I need to use this package.  The version I have consists of just:
> 
>    \renewcommand{\rmdefault}{ptm}
>    \renewcommand{\sfdefault}{phv}
>    \renewcommand{\ttdefault}{pcr}

> I get the following warnings:
> 
>    LaTeX Font Warning: Font shape `OT1/ptm/m/n' undefined
>    (Font)              using `OT1/cmr/m/n' instead on input line 88.

You don't have the file OT1ptm.fd (or it is corrupted). The file is
part of the psnfss package. 


> As I said, I can live with them for now,

Well I couldn't. If I would load in a document the times package to
use the times fonts I would not like it if they were replaced by the
cm-fonts. ;-)


-- 
Ulrike Fischer 
0
Reply news36084 (710) 12/3/2011 6:23:28 PM

In article <1sebve9nxu5hq.dlg@nililand.de>, Ulrike Fischer
<news3@nililand.de> writes: 

> You don't have the file OT1ptm.fd (or it is corrupted). The file is
> part of the psnfss package.

OK.  Big change needed.  No time now.

> > As I said, I can live with them for now,
> 
> Well I couldn't. If I would load in a document the times package to
> use the times fonts I would not like it if they were replaced by the
> cm-fonts. ;-)

I'm not the actual end-user.  As long as it gets processed OK at the 
other end, that's good enough for now.

Why is the text nevertheless somewhat more compact?

0
Reply helbig (5067) 12/3/2011 6:33:08 PM

In article <1sebve9nxu5hq.dlg@nililand.de>, Ulrike Fischer
<news3@nililand.de> writes: 

> > I need to use this package.  The version I have consists of just:
> > 
> >    \renewcommand{\rmdefault}{ptm}
> >    \renewcommand{\sfdefault}{phv}
> >    \renewcommand{\ttdefault}{pcr}
> 
> > I get the following warnings:
> > 
> >    LaTeX Font Warning: Font shape `OT1/ptm/m/n' undefined
> >    (Font)              using `OT1/cmr/m/n' instead on input line 88.
> 
> You don't have the file OT1ptm.fd (or it is corrupted). The file is
> part of the psnfss package. 
> 
> > As I said, I can live with them for now,
> 
> Well I couldn't. If I would load in a document the times package to
> use the times fonts I would not like it if they were replaced by the
> cm-fonts. ;-)

Maybe I can't.  :-(

I have a LaTeX setup which is about 12 years old.  I recently added some 
more modern .cls files and everything works fine, except for the problem 
above.

Upgrading is on the list of things to do, but I need a quick solution 
now.

How much trouble would it be to get the times package (I know it's 
obsolete, but I need to use it now) working properly, avoiding the 
warnings above, which presumably means getting psnfss working properly 
as well?

0
Reply helbig (5067) 12/3/2011 8:15:25 PM

In article <jbe00t$fq3$1@online.de>, helbig@astro.multiCLOTHESvax.de
(Phillip Helbig---undress to reply) writes: 

> In article <1sebve9nxu5hq.dlg@nililand.de>, Ulrike Fischer
> <news3@nililand.de> writes: 

> > You don't have the file OT1ptm.fd (or it is corrupted). The file is
> > part of the psnfss package. 
> 
> How much trouble would it be to get the times package (I know it's 
> obsolete, but I need to use it now) working properly, avoiding the 
> warnings above, which presumably means getting psnfss working properly 
> as well?

Here are all the relevant warnings:

LaTeX Font Warning: Font shape `OT1/ptm/m/n' undefined
(Font)              using `OT1/cmr/m/n' instead on input line 103.

LaTeX Font Warning: Font shape `OT1/ptm/bx/n' undefined
(Font)              using `OT1/ptm/m/n' instead on input line 112.


LaTeX Font Warning: Font shape `OT1/ptm/m/it' undefined
(Font)              using `OT1/ptm/m/n' instead on input line 112.

LaTeX Font Warning: Font shape `OMS/ptm/m/n' undefined
(Font)              using `OMS/cmsy/m/n' instead on input line 237.

LaTeX Font Warning: Font shape `OT1/pcr/m/n' undefined
(Font)              using `OT1/cmr/m/n' instead on input line 351.

Some questions:

Are all the fonts involved (requested and substituted) scalable fonts
(i.e. PS type 1 or Truetype), are some bitmap fonts (type 3), or does
one need more information in order to tell? 

If there are no bitmap fonts involved, and since in some cases some 
other substitution within ptm is done rather than substituting something 
from cm, which presumably means that some (most?) of the ptm stuff is 
working, how easy would it be, as a hotfix, to copy some .fd files (and 
maybe something else) to the directory where the .tex file is to tide me 
over until I can get the entire installation properly upgraded?

0
Reply helbig (5067) 12/3/2011 8:52:43 PM

On Sat, 3 Dec 2011 20:15:25 +0000 (UTC), Phillip Helbig
 > In article <1sebve9nxu5hq.dlg@nililand.de>, Ulrike Fischer
 ><news3@nililand.de> writes: 
 >
 >> > I need to use this package.  The version I have consists of just:
 >> > 
 >> >    \renewcommand{\rmdefault}{ptm}
 >> >    \renewcommand{\sfdefault}{phv}
 >> >    \renewcommand{\ttdefault}{pcr}
 >> 
 >> > I get the following warnings:
 >> > 
 >> >    LaTeX Font Warning: Font shape `OT1/ptm/m/n' undefined
 >> >    (Font)              using `OT1/cmr/m/n' instead on input line 88.
 >> 
 >> You don't have the file OT1ptm.fd (or it is corrupted). The file is
 >> part of the psnfss package. 
 >> 
 > How much trouble would it be to get the times package (I know it's 
 > obsolete, but I need to use it now) working properly, avoiding the 
 > warnings above, which presumably means getting psnfss working properly 
 > as well?

You can try downloading

http://mirrors.ctan.org/macros/latex/required/psnfss/lw35nfss.zip

and extract it at the root of a local or personal texmf tree. Then
update the data base of file names, as in

% texhash $HOME/texmf

Bob T.
0
Reply BobT (1484) 12/3/2011 10:02:52 PM

Am Sat, 3 Dec 2011 20:15:25 +0000 (UTC) schrieb Phillip
Helbig---undress to reply:

>>> I get the following warnings:

>>>    LaTeX Font Warning: Font shape `OT1/ptm/m/n' undefined
>>>    (Font)              using `OT1/cmr/m/n' instead on input line 88.

>> You don't have the file OT1ptm.fd (or it is corrupted). The file is
>> part of the psnfss package. 

>>> As I said, I can live with them for now,

>> Well I couldn't. If I would load in a document the times package to
>> use the times fonts I would not like it if they were replaced by the
>> cm-fonts. ;-)
> 
> Maybe I can't.  :-(
> 
> I have a LaTeX setup which is about 12 years old.  I recently added some 
> more modern .cls files and everything works fine, except for the problem 
> above.
> 
> Upgrading is on the list of things to do, but I need a quick solution 
> now.

> How much trouble would it be to get the times package (I know it's 
> obsolete, but I need to use it now) 

times is not obsolete. It is a bit dump as it simply changes the
text fonts to times, helvet and courier (and doesn't try to correct
like mathptmx also the math fonts). And the font mix is a bit
dubious. 

> working properly, avoiding the warnings above, which presumably
> means getting psnfss working properly as well?

Well beside lw35nfss.zip mentioned by you need to tell dvips or
pdflatex or whatever you are using about the fonts themselves with a
map-file. You can either use psnfss.map which is in the
psnfss-package. With this map the fonts will *not* be embedded in
the ps or pdf-file you are generating. It is up to the viewer
(ghostscript/pdf-viewer) to find and use the correct fonts.

You can also install the fonts themselves, e.g. the urw-clones which
you can find in urw/base35.zip. I don't know where the accompaigning
map-file is hidden on CTAN. miktex uses a file named ps2pk35.map in
this case. 

I have no idea how you can add map-files to your old system. I doubt
that updmap already existed at this time. Probably you will have to
add them manually to the various configuration files of dvips,
pdftex, etc. 



-- 
Ulrike Fischer 
0
Reply news36084 (710) 12/4/2011 11:03:54 AM

On 2011-12-03, Phillip Helbig---undress to reply wrote:
> In article <848vmtpnpo.fsf@siart.de>, Uwe Siart <usenet@siart.de> writes:

>> Switch from OT1 to T1 font encoding by

>> \usepackage[T1]{fontenc}

>> before loading the 'times' package.

> I get the same warnings.

The *same* or similar?

* If the warning still tells OT1 fonts not found, the font encoding 
  switch came too late. (Provide a minimal example)
  
* If the warning is similar (with T1 in place of OT1), it seems you miss the
  actual fonts (or the correct setup).  

> Looks like there is no quick solution; perhaps I should put it on the 
> back burner.

Günter
0
Reply milde1 (94) 12/7/2011 1:13:25 PM
comp.text.tex 36117 articles. 68 followers. Post

9 Replies
47 Views

Similar Articles

[PageSpeed] 22


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

A possible conflict with \usepackage{times,mathptmx} and \usepackage{epsfig} ??
Hi I am a newbie using Miktex on WinXP with TeXnicCenter. I tried to include a picture made by Adobe Illustrator 12, whose extension is .eps. into my file. A problem occurred when I combine the usage of two packages: \usepackage{times,mathptmx} \usepackage{epsfig} The problem is Yap reports "DDE connection could not be established." Data 16394. I have no idea what does this mean. I tried the following two combinations to test the problem and it seems the problem come from this two packages. 1st expression: ------------------------------------------------------------------------...

time.clock() or time.time()
What's the difference between time.clock() and time.time() (and please don't say clock() is the CPU clock and time() is the actual time because that doesn't help me at all :) I'm trying to benchmark some function calls for Zope project and when I use t0=time.clock(); foo(); print time.clock()-t0 I get much smaller values than when I use time.clock() (most of them 0.0 but some 0.01) When I use time.time() I get values like 0.0133562088013, 0.00669002532959 etc. To me it looks like time.time() gives a better measure (at least from a statistical practical point of view). peterb...

time.time or time.clock
I'm having some cross platform issues with timing loops. It seems time.time is better for some computers/platforms and time.clock others, but it's not always clear which, so I came up with the following to try to determine which. import time # Determine if time.time is better than time.clock # The one with better resolution should be lower. if time.clock() - time.clock() < time.time() - time.time(): clock = time.clock else: clock = time.time Will this work most of the time, or is there something better? Ron On Jan 14, 7:05 am, Ron Ad...

time.time()
am I doing this wrong: print (time.time() / 60) / 60 #time.time has been running for many hours if time.time() was (21600/60) then that would equal 360/60 which would be 6, but I'm not getting 6 so I'm not doing the division right, any tips? On Sat, 24 Jan 2004 13:01:40 -0500, Bart Nessux <bart_nessux@hotmail.com> wrote: >am I doing this wrong: > >print (time.time() / 60) / 60 #time.time has been running for many hours > >if time.time() was (21600/60) then that would equal 360/60 which would >be 6, but I'm not getting 6 so I'm not doing the divisi...

Is time.time() < time.time() always true?
So, I was blazin' some mad chronix, as they say, and got on to thinking about Python. The question was, is the statement: time.time() < time.time() always true? Seems it should be false, since the statement itself occurs at one time instant.. but of course we know that python doesn't execute code that way.. So my question is, why doesn't Python work this way? (PS, I wasn't smoking anything, its a figure of speech :) ) On 21 Nov 2006 15:10:25 -0800, flamesrock <flamesrock@gmail.com> wrote: > So, I was blazin' some mad chronix, as they say, and got on to th...

RE: Is time.time() < time.time() always true?
Chris Mellon wrote: > On 21 Nov 2006 15:10:25 -0800, flamesrock <flamesrock@gmail.com> > wrote:=20 >> So, I was blazin' some mad chronix, as they say, and got on to >> thinking about Python.=20 >>=20 >> The question was, is the statement: >>=20 >> time.time() < time.time() >>=20 >> always true? Seems it should be false, since the statement itself >> occurs at one time instant.. but of course we know that python >> doesn't execute code that way.. So my question is, why doesn't >> Python work this way?=...

time in milliseconds by calling time.time()
I am trying to measure some system response time by using the time.time () or time.clock() in my script. However, the numbers I get are in 10s of milliseconds. For example, 1248481670.34 #from time.time() 0.08 #from time.clock() That won't work for me, since the response time may be only a few milliseconds. My environment is Solaris 10 with Python 2.4.4 (#7, Feb 9 2007, 22:10:21). SunOS 5.10 Generic_137112-07 i86pc i386 i86pc The tricky thing is, if I run the python interpreter and import the time module, I can get a time floating number in better precision by cal...

server time != my time
on a timestamp, what's the best way to make the timestamp show as my time, rather than the server's time? i.e., it is 10:49 am here but the code on the server will create a timestamp of 2:49 pm. I want it to be stamped as 10:49 am Herb wrote: > on a timestamp, what's the best way to make the timestamp show as my > time, rather than the server's time? > > i.e., it is 10:49 am here but the code on the server will create a > timestamp of 2:49 pm. I want it to be stamped as 10:49 am Take a look at: http://dev.mysql.com/doc/refman/5.0/en/time-zone-support.html ...

timing and timing reports (again)
hi ich have question about timing. i have an edk design with microblaze (using spartan 3e 500) where i use an ip core that i wrote myself. when i implement the design i get the following timing output in my console. ------------------------------------------------------------------------------------------------------ Constraint | Check | Worst Case | Best Case | Timing | Timing | | Slack | Achievable | Errors | Score -------------------------------------------------------------------------------...