问题描述

使用pdflatex编译某些会议提供的.tex模板时,报错:

Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "sample".tex

Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\abc\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf.log

查看提示中的miktex-makemf.log文件,显示The txmiaX source file could not be found.:

2020-09-14 20:40:44,544+0800 INFO  miktex-makemf - this process (6604) started by 'miktex-makepk' with command line: miktex-makemf.exe --miktex-enable-installer --miktex-disable-maintenance --miktex-disable-diagnose --verbose txmiaX
2020-09-14 20:40:44,556+0800 FATAL miktex-makemf - The txmiaX source file could not be found.
2020-09-14 20:40:44,556+0800 FATAL miktex-makemf - The txmiaX source file could not be found.
2020-09-14 20:40:44,556+0800 FATAL miktex-makemf - Info: 
2020-09-14 20:40:44,556+0800 FATAL miktex-makemf - Source: 
2020-09-14 20:40:44,556+0800 FATAL miktex-makemf - Line: 0

环境:

Win 10 64位,使用protext安装的MiKTeX+TeXstudio

protext下载地址:https://mirrors.sjtug.sjtu.edu.cn/ctan/systems/windows/protext/protext-3.2-033020.zip

解决方案

执行MiKTeX安装目录下(如D:\MiKTeX 2.9\miktex\bin\x64\)的updmap.exe,然后在TeXstudio中按F5编译即可。

参考

https://sourceforge.net/p/miktex/bugs/2578/

 

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐