!pdfTeX error: miktex-pdftex.exe (file ntx-Bold-tlf-t1): Font ntx-Bold-tlf-t1 at 149 3 not found

注:出现类似 !pdfTeX error: miktex-pdftex.exe (file ntx-***): Font ntx-*** at *** not found 貌似都可以用以下方法解决

编译环境和编译器:Miktex + WinEdt

 

解决方案:

1. win+R打开运行窗口,输入cmd进入命令行窗口

2. cmd输入 initexmf -u 并回车

3. cmd输入 initexmf --edit-config-file updmap 并回车

4. 在打开的 updmap.cfg 文件后面添加 Map newtx.map (在文档的第二行添加),保存并退出

5. cmd输入 initexmf --mkmaps 并回车

6. 重新编译对应的 Latex 文件

 

 

参考博客:https://blog.csdn.net/zplai/article/details/105944677

 

posted @ 2021-02-05 19:32  ZengZG  Views(282)  Comments(0Edit  收藏  举报