Closed thwfhk closed 1 month ago
Thanks for reporting this issue. Could you please provide a minimal example that makes the tool break?
@michael-markl Do you think this might be caused by your PR #99?
Yes, the fact that an error is thrown is probably caused by my PR. However, the previous implementation also did not properly support commands that start with \if
that are not Tex primitive conditionals (such as the \ifthenelse
command).
I have added support for some of these well known third party non-tex-primitive-conditionals-commands that start with \if
in https://github.com/google-research/arxiv-latex-cleaner/commit/f0ac9cc9c9bd5093de8db1e5cab8f5f65761e5e6 but haven't filed a PR yet (as tests are missing).
Thanks for reporting this issue. Could you please provide a minimal example that makes the tool break?
Sure. Simply any example which uses \ifthenelse
, e.g.
\ifthenelse{\equal{37}{42}}{No}{Yes}
Hi, I tried the newest version (1.0.7) and got the following error
However, the version 1.0.6 succeeded. I would expect there is some new bug introduced by the newest version.