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编译

相关文章
相关标签/搜索