-
Download source code from Overleaf if you use it:
menu
->download
->source
. -
Strip comments and combine all
tex
files (f01-main.tex
,f02-intro.tex
, etc.) into one filearxiv_main.tex
.
# Replace f01-main.tex with the main tex file in your overleaf project
latexpand --empty-comments f01-main.tex > arxiv_main.tex