Page 1 of 1

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

Posted: Mon Aug 06, 2012 4:24 pm
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