Skip to main content

Clean up before arXiv submission

·1 min

#TIL There is a nice tool from Google Research that cleans up LaTeX files before submitting a paper to arXiv: arxiv-latex-cleaner.

One of its main features is to remove all comments (as well as \iffalse\fi blocks, \todo{} blocks, etc.) from the LaTeX sources. Quoting from the tool’s README:

Removes all comments from your code (yes, those are visible on arXiv and you do not want them to be).

I wonder how much hidden “submission drama” lurks in Arxiv submissions, with authors assuming no one will ever read it: meeting notes, last-minute todos, honest opinions towards reviews, etc.