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文件


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM