我正在尝试添加 MikTex 存储库中没有的包以在 TexStudio 中使用。特别是,我正在尝试获取mtp2lite来自 CTAN 的包。
我已经为不在 MikTeX 存储库中的包创建了一个自定义根目录,路径为C:\Users\mihail\myextrapackages\tex\latex
。
在 MikTex 控制台中,我进入了目录->根->添加-> 然后选择路径:C:\Users\mihail\myextrapackages
。然后我执行了
- MikTex 更新,
- 刷新文件名数据库
- a 刷新字体映射文件
- 重新启动 MikTex 并重新启动 TexStudio。
现在,当我进入 TexStudio 并添加行时,\usepackage[lite]{mtpro2}
我收到消息
Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get
MiKTeX going again: C:\Users\mihail\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf
.log
Couldn't open `mt2e.cfg' hbf2gf (CJK ver. 4.8.4)
日志文件包含
2021-02-01 16:19:53,708-0500 INFO miktex-maketfm - this process (13808) started by 'pdflatex' with
command line: miktex-maketfm --verbose mt2exa
2021-02-01 16:19:53,799-0500 INFO maketfm - Running miktex-makemf.exe...
2021-02-01 16:19:53,799-0500 INFO maketfm - running: miktex-makemf.exe --miktex-enable-installer --
miktex-disable-maintenance --miktex-disable-diagnose --verbose mt2exa
2021-02-01 16:19:53,848-0500 INFO miktex-maketfm.core - start process: miktex-makemf.exe --miktex-
enable-installer --miktex-disable-maintenance --miktex-disable-diagnose --verbose mt2exa
2021-02-01 16:19:54,326-0500 INFO maketfm - Running miktex-hbf2gf.exe...
2021-02-01 16:19:54,326-0500 INFO maketfm - running: miktex-hbf2gf.exe --miktex-enable-installer --
miktex-disable-maintenance --miktex-disable-diagnose -g mt2exa 300
2021-02-01 16:19:54,331-0500 INFO miktex-maketfm.core - start process: miktex-hbf2gf.exe --miktex-
enable-installer --miktex-disable-maintenance --miktex-disable-diagnose -g mt2exa 300
2021-02-01 16:19:54,760-0500 FATAL miktex-maketfm - No creation rule for font mt2exa.
2021-02-01 16:19:54,760-0500 FATAL miktex-maketfm - No creation rule for font mt2exa.
2021-02-01 16:19:54,760-0500 FATAL miktex-maketfm - Info:
2021-02-01 16:19:54,760-0500 FATAL miktex-maketfm - Source:
2021-02-01 16:19:54,760-0500 FATAL miktex-maketfm - Line: 0
有人知道发生了什么事以及如何解决吗?