Fonts & Character Setsproblem using PostScript fonts

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
ravindasenarath
Posts: 3
Joined: Wed Feb 22, 2012 5:52 pm

problem using PostScript fonts

Post by ravindasenarath »

Hi,

I'm a beginner to latex. I'm using PostScript fonts in my latex code as follows.

Code: Select all

Code, edit and compile here:
\usepackage{times,mathptmx,courier}
\usepackage[scaled=.92]{helvet}
\usepackage{pifont}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
when compiling it produce error as follows.
kpathsea: Running

mktextfm

ptmr7t

mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr7t

This is METAFONT, Version 2.718281 (TeX Live 2009/Debian)

kpathsea: Running

mktexmf

ptmr7t

! I can't find file `ptmr7t'. <*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t Transcript written on mfput.log.

grep: ptmr7t.log: No such file or directory

mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr7t' failed to make ptmr7t.tfm.

kpathsea: Appending font creation commands to missfont.log.
how can I eliminate this problem and use PostScript fonts successfully with latex?

Thank you

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

problem using PostScript fonts

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Install the times package, because ptmr7t belongs to it.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problem using PostScript fonts

Post by localghost »

The times package is obsolete. Just drop it. You've got Times support by the mathptmx package. Another alternative is to use the txfonts package.


Best regards and welcome to the board
Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

problem using PostScript fonts

Post by Stefan Kottwitz »

Sometimes I don't remember, which is the obsolete one of times and txfonts. :-)

Stefan
LaTeX.org admin
ravindasenarath
Posts: 3
Joined: Wed Feb 22, 2012 5:52 pm

Re: problem using PostScript fonts

Post by ravindasenarath »

Thanks for the information but I'm still struggling. The package mathptmx and others were given depending with a distribution(MiKTeX and Tex Live). I'm using Texmaker on Ubuntu 10.04. So ?? :(
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

problem using PostScript fonts

Post by Stefan Kottwitz »

Remove the times package from your document preamble.

If you still need the ptmr7t font, install the Ubuntu package texlive-fonts-recommended.

Stefan
LaTeX.org admin
ravindasenarath
Posts: 3
Joined: Wed Feb 22, 2012 5:52 pm

Re: problem using PostScript fonts

Post by ravindasenarath »

Got it solved. :)

Installing texlive-fonts-recommended from a separate package didn't work. Finally install one that was in the ubuntu software channel work for me.

Thanks Stefan_K and localghost :)
Post Reply