google-research / arxiv-latex-cleaner

arXiv LaTeX Cleaner: Easily clean the LaTeX code of your paper to submit to arXiv
Apache License 2.0
5.23k stars 327 forks source link

How to delete extra blank lines? #81

Closed lartpang closed 1 year ago

lartpang commented 1 year ago

This is a very useful tool. But after removing the annotation content, there will be many duplicate blank lines left. How should I delete it?

jponttuset commented 1 year ago

Hi @lartpang The duplicated blank lines do not affect the generated output, so we chose to leave them there, since trying to remove them might cause more problems. If you really need to erase the duplicated blank lines, it should be quite straightforward to do with a regex expression.