[tex-live] ! I can't find file `ptmr7t'.

George N. White III gnwiii at gmail.com
Wed Jun 2 15:15:44 CEST 2010


On Wed, Jun 2, 2010 at 9:13 AM, John Spiesberger <johnsr at sas.upenn.edu> wrote:

> Hi,
>
> I installed Fedora 13 this week, and used yum to install texlive.
> When using texlive, it is unable to work even with a simple file, try.tex,
> such as:
>
>
> \documentclass{article}
>      \usepackage{times}
>      \title{Brief Article}
>      \author{The Author}
>      \begin{document}
>      \maketitle
>      This is a test!
> \end{document}
>
>
> The error appears when I type latex try.tex
>
> This is pdfTeX, Version 3.1415926-1.40.11-beta (Web2C 2010/pretest)
>  restricted \write18 enabled.
> entering extended mode
> (./try.tex
> LaTeX2e <2009/09/24>
> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang,
> noh
> yphenation, loaded.
> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
> (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/times.sty) (./try.aux)
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
> kpathsea: Running mktextfm ptmr7t
> /usr/share/texlive/texmf-config/web2c/mktexnam: Could not map source
> abbreviation  for ptmr7t.
> /usr/share/texlive/texmf-config/web2c/mktexnam: Need to update ?
> mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
> input ptmr7t
> This is METAFONT, Version 2.718281 (Web2C 2010/pretest)
>
>
> kpathsea: Running mktexmf ptmr7t
> ! I can't find file `ptmr7t'.

What do you get for "kpsewhich ptmr7t.tfm", and was "ptmr7t.tfm" installed?
In the CTAN version of TL2010 (on Ubuntu x86_64 10.04) your example works:

$ latex t2
This is pdfTeX, Version 3.1415926-1.40.11-beta (TeX Live 2010/pretest)
 restricted \write18 enabled.
entering extended mode
(./t2.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, ukenglish, loaded.
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2010/texmf-dist/tex/latex/psnfss/times.sty)
No file t2.aux.
(/usr/local/texlive/2010/texmf-dist/tex/latex/psnfss/ot1ptm.fd) [1] (./t2.aux)
)
Output written on t2.dvi (1 page, 408 bytes).
Transcript written on t2.log.
$ kpsewhich ptmr7t.tfm
/usr/local/texlive/2010/texmf-dist/fonts/tfm/adobe/times/ptmr7t.tfm

You can try using the "--recorder" option, which lists many of the files
used in the job to <jobname>.fls:


PWD [...]
INPUT /usr/local/texlive/2010/texmf.cnf
INPUT /usr/local/texlive/2010/texmf/web2c/texmf.cnf
INPUT /usr/local/texlive/2010/texmf-var/web2c/pdftex/latex.fmt
INPUT t2.tex
OUTPUT t2.log
INPUT /usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
INPUT /usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
INPUT /usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/local/texlive/2010/texmf-dist/tex/latex/psnfss/times.sty
INPUT /usr/local/texlive/2010/texmf-dist/tex/latex/psnfss/times.sty
INPUT t2.aux
INPUT t2.aux
OUTPUT t2.aux
INPUT /usr/local/texlive/2010/texmf-dist/tex/latex/psnfss/ot1ptm.fd
INPUT /usr/local/texlive/2010/texmf-dist/tex/latex/psnfss/ot1ptm.fd
INPUT /usr/local/texlive/2010/texmf-dist/fonts/map/fontname/texfonts.map
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/adobe/times/ptmr7t.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/adobe/times/ptmr7t.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/adobe/times/ptmr7t.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/public/cm/cmr8.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/public/cm/cmr6.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm
INPUT /usr/local/texlive/2010/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm
OUTPUT t2.dvi
INPUT t2.aux

Try "yum provides ..." for files that aren't on your system
(note that yum installs probably use different directory structure).


> <*> ...:=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.
>
> ! Font OT1/ptm/m/n/10=ptmr7t at 10.0pt not loadable: Metric (TFM) file not
> foun
> d.
> <to be read again>
>                   relax
> l.5       \begin{document}
>
> ?
>
>
> I found similar problems on the web, and tried the solution from
>  http://www.geekness.net/?p=10
>
> but that did not work either!
>
> Thank you!
>
> John
>
>
>
> John Spiesberger
> Scientific Innovations, Inc.
> and
> Department of Earth and Environmental Science
> University of Pennsylvania
>
>



-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia



More information about the tex-live mailing list