Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom command \figref is treated as \fi #46

Closed
markusdr opened this issue Aug 5, 2021 · 0 comments · Fixed by #66
Closed

Custom command \figref is treated as \fi #46

markusdr opened this issue Aug 5, 2021 · 0 comments · Fixed by #66
Labels
bug Something isn't working

Comments

@markusdr
Copy link

markusdr commented Aug 5, 2021

I have a custom command \figref:

\newcommand\figref[1]{Figure~\ref{fig:#1}}

I have an instance of that command in an \iffalse ... \fi block, and the \figref command is misinterpreted as \fi:

So, arxiv-latex-cleaner changes this:

\iffalse
... \figref{myfigure}
\fi

to the following:

gref{myfigure}
\fi

@jponttuset jponttuset added the bug Something isn't working label Aug 9, 2021
jponttuset pushed a commit that referenced this issue Aug 18, 2022
* remove nested if's doesn't remove custom commands

* remove duplicated test file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants