Skip to content
Gabor Szarnyas edited this page Jul 11, 2023 · 9 revisions

ACM classification

ACM 1998 classification in a single file: https://cran.r-project.org/web/classifications/ACM.html

Cleaner

There's a Python tool to drop comments, etc. from TeX files. See https://github.com/google-research/arxiv-latex-cleaner.

Alternative command to remove content of comments and lines containing only comments: (CHECK the result!)

for FILE in $(find -iname "*.tex") ; do sed -ri 's/%.*/%/g;/^\s*%/d' "$FILE" ; done

URIs

By default, arXiv processes the sources with HyperTeX which turns all URIs to links. This is problematic when e.g. a listing environment contains URIs, which are turned into \protect\vrule width0pt\protect\href{...}{...} string that are rendered in the final PDF. For a workaround, disable HyperTeX.

Using the minted package

Compiling with the minted package requires -shell-escape which is not supported on arXiv. However, there's a simple workaround.

Stamping fails

  • Problem: arXiv's stamping on the first page (the side bar / watermark that says arXiv:XXXX.XXXXXvX [xx.XX] dd-mmm-yyyy) fails with the following error message:

    [verbose]: Removing (La)TeX AUX file called 'ms.aux' (1689009319 >= 1689009317)
    [verbose]: Removing (La)TeX AUX file called 'ms.out' (1689009319 >= 1689009317)
    [verbose]: now stamping pdf file 'ms.pdf' with stamp 'arXiv:submit/...'
    [verbose]: warning: an error occurred during stamp operation, reverted to original unstamped file
  • Solution: There can be a myriad reasons behind this. A reason I ran into: several of the figures in the paper were created in yEd and were exported to PDF on Windows. When re-exporting them on MacOS, the problem went away and the stamping worked correctly.

Clone this wiki locally