14

Switching environments (to a machine with Cygwin), I got errors like this from pdflatex:

kpathsea: Running mktextfm ptmr8t
/usr/share/texmf-dist/web2c/mktexnam: Could not map source abbreviation  for ptmr8t.
/usr/share/texmf-dist/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr8t
This is METAFONT, Version 2.718281 (TeX Live 2013/Cygwin)


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/12=ptmr8t at 12.0pt not loadable: Metric (TFM) file not found
.
<to be read again>

What's the problem?

3 Answers 3

13

It means you have a missing font (! Font T1/ptm/m/n/12=ptmr8t at 12.0pt not loadable: Metric (TFM) file not found).

According to this site, the package for Ubuntu is texlive-fonts-recommended. For Cygwin, the package is texlive-collection-fontsrecommended (use the standard Cygwin installer).

1
  • 1
    Fixed it for cygwin too.
    – user4417
    Nov 30, 2015 at 22:32
6

For people using BasicTeX: Install collection-fontsrecommended.

0

I also had this error with CentOS7.9:

kpathsea: Running mktexmf cmr10
! I can't find file `cmr10'.

Solution: the packages has similar name:

yum install texlive-collection-fontsrecommended

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.