Problem with \listofchanges and document class amsart
Using the MWE below I get the error message:
! Undefined control sequence. <argument> \equal {\Changes@loc@style }{list}
\documentclass{amsart}
\usepackage[draft]{changes}
\definechangesauthor[color=orange]{JFK}
\begin{document}
test \added[id=JFK,comment=test2]{test comment}
\listofchanges
\end{document}
I discussed this issue on StackExchange and it seems that the problem is the usage of \ifthenelse inside the \section* command (see the next MWE)
\documentclass{amsart}
%\documentclass{article}
\usepackage{xifthen}% used by changes.sty
\def\test{test}
\begin{document}
\section*{
\ifthenelse{\equal{\test}{test}}{it says test}{nope}
}
\end{document}
Thanks for any help with this.
Edited by Jan Kuske