LaTeX error: "I can't find file `ptmr8t'."

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

LaTeX error: "I can't find file `ptmr8t'."

Post by ^rooker »

[PROBLEM]
Just tried to compile a LaTeX document using pdflatex and got the following error:
This is METAFONT, Version 2.71828 (Web2C 7.5.6)

kpathsea: Running mktexmf ptmr8t
! I can't find file `ptmr8t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr8t

Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr8t

Transcript written on mfput.log.
grep: ptmr8t.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr8t' failed to make ptmr8t.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/ptm/m/n/10.95=ptmr8t at 10.95pt not loadable: Metric (TFM) file not found.
<to be read again>
[SOLUTION]
Thanks to Vidar Holen's "Linux Q&A", the answer was quickly found:
Fonts were missing! So I installed the texlive fonts package:

Code: Select all

apt-get install texlive-fonts-recommended
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply