编译方式:xelatex 编译器:miktex 编辑器:texstudio 操作系统:win10 在使用林莲枝直播萧山 Beamer 主题的模板时,编译出现了如下情况(可以正常显示结果),我在搜索tex论坛后可能是miktex的bug,但是是否有其他情况,比如我字体没有安装正确之类的,以下是完整提示信息 ```tex 开始 : xelatex.exe -synctex=1 -interaction=nonstopmode "xiaoshan-sample".tex Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Sans Lig.cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Sans Light Ital.cfg' hbf2gf (CJK ver. 4.8 .4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Sa.cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Sans Ital.cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Sans Light .cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Sans Light Italic .cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Sans .cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Sans Italic .cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Mo.cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Mono Bo.cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Mono .cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf. log Couldn't open `Fira Mono Bold .cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\17912\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log 完成 ```

2 回答2

0
应该是字体配置的问题。miktex 找一下相关字体设置。

作者追问:2020-03-10 14:51

你好,我在搜索后,按csdn里的方法在cmd中用 ```tex initexmf -u ``` 但是毫无反应,希望能有具体的操作步骤。 tex文件中所需要的字体已经下载并为所有用户安装了。
0
同意,是 miktex 的字体问题。

你的回答

请登录后回答

你的回答将会帮助更多人,请务必认真回答问题。