Closed komorin95 closed 4 years ago
I've just found another workaround. The following is successfully compiled:
\documentclass{article}
\usepackage[all]{xy}
\usepackage{apxproof}
\begin{document}
\section{First Section}
\begin{toappendix}
\makeatother
\begin{displaymath}
\xymatrix{A\ar@{.>}[r]_f & B}
\end{displaymath}
\makeatletter
\end{toappendix}
\end{document}
I guess I've managed to solve this. Please see the pull request.
Fixed by #37. Thanks again for the bug report, and for the solution.
I used
apxproof.sty
for a recent joint paper. Thanks to this package, our time is saved a lot. I appreciate the developers.During writing the paper, we have faced an unexpected compile error. The following example cannot be compiled:
Indeed, if I save this as
bad.tex
and try to compile it bypdflatex -halt-on-error bad.tex
then I get the following error:I'm using the latest
apxproof.sty
v1.20, pdfTeX Version 3.14159265-2.6-1.40.20 (TeX Live 2019), and Xy-pic version 3.8.9.The use of
\xymatrix
should be correct, since the following example can be compiled successfully:If there is no
@
, then the error is not caused. The following example can be successfully compiled:Actually, we have found a workaround of this. Any
@
inside an expanded macro does not seem to cause an error. The following example can be successfully compiled:We used this in the recent paper, but it was a bit tiring to do. Could you solve this?