latex编译报错:Font ntx-Regular- tlf-ot1r at 438 not found

在用TeXworks编译LaTeX时报如下错:

Sorry, but miktex-makepk did not succeed.



The log file hopefully contains the information to get MiKTeX going again:



  C:\Users\lzping\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makepk.log



!pdfTeX error: miktex-pdftex.exe (file ntx-Regular-tlf-ot1r): Font ntx-Regular-

tlf-ot1r at 438 not found

 ==> Fatal error occurred, no output PDF file produced!

解决办法:

  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. 重新编译letex文件

你可能感兴趣的:(latex编译报错:Font ntx-Regular- tlf-ot1r at 438 not found)