MacTex XeLaTex xdvipdfmx:fatal: pdf_ref_obj(): passed invalid object. 报错的解决方法

在使用MacTex配合TexStudio编译beamer的时候,爆出如下错误,

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

结果尝试其他tex文件,也不能正常编译。

?

按照如下方式解决:

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

?

主要是TexStudio的设置

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.

文章来自:http://www.cnblogs.com/shawnpoo/p/4878219.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3