在使用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.


更新:

对于El Captian系统,原有的/usr/texbin路径被统一更换为/Library/TeX/texbin

相关文章:

  • 2021-11-18
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-12-09
相关资源
相似解决方案