我不得不重新安装我的 Windows 10 机器,现在我正在处理的 Tex 文档无法编译,并且出现错误source file not found
。
我尝试过了 :
- 删除并重新安装 Miktex(32 位或 64 位)-> 同样的问题
- 安装到多个用户或单个用户,并使用不同的用户配置文件即时安装软件包->同样的问题
- 安装后执行 Miktex 更新和存储库同步 -> 同样的问题
- 完整 Miktex 安装 -> 同样的问题
命令输出:latex file.tex
("C:\Program Files\MiKTeX\tex\latex\kpfonts\t1jkp.fd")Running miktex-makemf.exe...
Sorry, but miktex-makemf did not succeed for the following reason:
The jkpmn8t+ source file could not be found.
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/user/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makemf.log
You may want to visit the MiKTeX project page, if you need help.
Running hbf2gf.exe...
hbf2gf (CJK ver. 4.8.4)
Couldn't find `jkpmn8t+.cfg'
Sorry, but miktex-maketfm did not succeed for the following reason:
No creation rule for font jkpmn8t+10.
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/user/AppData/Local/MiKTeX/2.9/miktex/log/miktex-maketfm.log
You may want to visit the MiKTeX project page, if you need help.
! Font csnameendcsname=jkpmn8t+10 at 10.95pt not loadable: Metric (TFM) file no
t found.
<to be read again>
relax
l.270 \begin{document}
输出miktex-maketfm.log
2016-01-06 00:59:13,607Z INFO makex - Running hbf2gf.exe...
2016-01-06 00:59:13,966Z FATAL miktex-maketfm - No creation rule for font jkpmn8t+10.
输出pdflatex file.tex
! Undefined control sequence.
<argument> \mkbibnameprefix {e}\isdot \ifprefchar
{} {} {\ifuseprefix {\bibn...
l.303 \printotherlists
% If option 'otherlistsat=back', print other lists o...
答案1
updmap
以用户身份在命令行上运行解决了我的问题。