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

Caveat Lector: This blog post was published 8 years ago. Depending on the content, it may no longer be applicable or relevant.

This happened to me when embedding an EPS file into a xelatex document.

The fix (for me) was to add the binaries directory /usr/local/texlive/2016/bin/x86_64-linux to the PATH environment variable.

If you found a mistake in this blog post, or would like to suggest an improvement to this blog post, please get in touch at michael@franzl.name; as subject please use the prefix "Comment to blog post" and append the post title.
 
Copyright © 2023 Michael Franzl