0

Does {pinlabel} work with xelatex or lualatex?

The following MWE works fine in pdflatex, but in xelatex/lualatex the figure disappears -- with no errors.

\documentclass{report}

\usepackage{graphicx}
\usepackage{pinlabel}

\begin{document}

\begin{figure}
\labellist
% \hair 2pt
% \pinlabel$\Out$ at 265 656
\endlabellist
\includegraphics[scale=4]{cat}
\end{figure}

\end{document}

where cat.eps is texmf-dist/doc/latex/graphics/cat.eps.

I am aware of the answer here but it did not work for me on TL 2018.

  • Welcome to TeX.SX! The pinlabel redefines \includegraphics to use \psfig, which is an obsolete command and is not understood by more recent engines. – egreg Apr 12 at 23:30
  • @egreg What would be a recommended labeling package to use with xelatex/lualatex? – Apprentice Apr 12 at 23:55
  • Maybe overpic. – egreg Apr 13 at 8:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.