【latex】Sorry, but miktex-makemf did not succeed

问题描述

使用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/

 

  • 19
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 16
    评论
评论 16
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值