我在隔离的计算机上运行 miktex 安装,并手动安装 latex 包。我已经安装了 newtx 字体,但 miktex 出现以下错误:
INFO miktex-makemf - starting with commmand line: "[...] \x64\miktex-makemf.exe" -- verbose rfxlri-alt
FATAL miktex-makemf - The rfxlri-alt source file could not be found.
此外,查看 miktex-makepk.log:
INFO miktex-makepk - starting with command line: "C:\Users\admin\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\miktex-makepk.exe" --verbose rfxlri-alt 600 600 magstep(0.0)
INFO makepk - Trying to make PK font rfxlri-alt at 600 DPI...
INFO makepk - The METFAONT mode is: ljfour
INFO makepk - Running miktex-makemf.exe...
INFO makepk - running: miktex-makemf.exe --verbose rfxlri-alt
INFO makepk - Running miktex-ttf2pk.exe...
INFO makepk - running: miktex-ttf2pk.exe -q -t rfxlri-alt
FATAL miktex-makepk - PK font rfxlri-alt could not be created.
我检查了 newtx 是否已安装。我刷新了 FNDB。它似乎正在寻找 rfxlri-alt 的源文件,但 font/source 不包含此文件,而且我找到的软件包没有副本:https://ctan.org/tex-archive/fonts/newtx
破解文件时,仅当文本中有数学符号时才会发生错误,例如
$>$
答案1
我从命令行运行 updmap,这个错误消失了