google-research / arxiv-latex-cleaner

arXiv LaTeX Cleaner: Easily clean the LaTeX code of your paper to submit to arXiv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Commands inside commands

jponttuset opened this issue · comments

The option to delete user-defined commands (e.g. \todo{}), won't work if there is another command inside (e.g. \todo{\textit{}}).
This is because I'm detecting the commands as \todo{"anything but braces"}. One would need to detect the closing brace from the command and delete until there.

In any case, please always double check the output tex files :)