在 Arch Linux 上使用 latexmk 4.39 时,我收到有关“ptmr8t+10”的编译错误。它 给了我已安装但显示为空的tlmgr search --global --file ptmr8t
“times”包。那里究竟发生了什么,我该如何解决这个问题?tlmgr search --global --file ptmr8t+10
输出尾部latexmk paper.tex
kpathsea: Running mktextfm ptmr8t+10
/usr/local/texlive/2013/texmf-dist/web2c/mktexnam: Could not map source abbreviation for ptmr8t+10.
/usr/local/texlive/2013/texmf-dist/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr8t+10
This is METAFONT, Version 2.718281 (TeX Live 2013)
kpathsea: Running mktexmf ptmr8t+10
! I can't find file `ptmr8t+10'.
<*> ...jfour; mag:=1; nonstopmode; input ptmr8t+10
Please type another input file name
! Emergency stop.
<*> ...jfour; mag:=1; nonstopmode; input ptmr8t+10
Transcript written on mfput.log.
grep: ptmr8t+10.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr8t+10' failed to make ptmr8t+10.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font csnameendcsname=ptmr8t+10 at 10.0pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.25 \begin{document}
答案1
已解决latexmk -pdf paper.tex
(再次感谢 Andrew Swann!)