MacTex XeLaTex xdvipdfmx:fatal: pdf_ref_obj(): passed invalid object. 報錯的解決方法

在使用MacTex配合TexStudio編譯beamer的時候,爆出以下錯誤,ui

xdvipdfmx:fatal: pdf_ref_obj(): passed invalid object.spa

結果嘗試其餘tex文件,也不能正常編譯。code

 

按照以下方式解決:ip

http://tex.stackexchange.com/questions/173038/xetex-and-xdvipdfmx-problem-in-texstudio-2ci

 

主要是TexStudio的設置get

Show Advanced Options in the Preferences page, under Build > Build Options > Additional Search Paths, change Commands ($PATH) to /usr/texbin and it should work, even if you upgrade MacTeX or TeX Live.it


更新:io

對於El Captian系統,原有的/usr/texbin路徑被統一更換爲/Library/TeX/texbin編譯

相關文章
相關標籤/搜索