When you use the document class article
, arXiv additionally loads by default
Babel
, hyperref
, hobsub-hyperref
, hobsub-generic
, keyval
, ifxetex
, kvoptions
, url
, rerunfilecheck
, nameref
, and gettitlestring
(all from the texlive 2016
version).
This means that, oddly enough, arXiv would compile without trouble the following document:
\documentclass{article}
\begin{document}
\url{https://tex.stackexchange.com/q/329461/34551}
\end{document}
Even if it uses the \url
macro without loading the url
or hyperref
packages. Of course, if you try to compile this document on your installation, you would get an error:
! Undefined control sequence.
l.5 \url
But arXiv processes it just fine, without throwing any error.
Hence, you have two options:
- Ignore the error. It occurs only the first time arXiv compile your document (it compiles it multiple times), and don't impact the rendering. But careful, for this error might hide other problems (cf. the comments on this thread).
- Remove the
hyperref
package from your preamble. This is an odd solution, since you won't be able to compile your document on your installation, but it works, i.e., the document is compiled without throwing an error.
EDIT
More help can be found at Arxiv's Considerations for TeX Submissions and at Common Mistakes that cause Automated Processing to Fail webpages. Also, reasons to submit the tex sources are listed at Why Submit the TeX/LaTeX Source?.
According to this source, starting 2017-02-09, ArXiV uses TeXLive 2016, after my answer was written, so I doubt it is in need of a modification.
EDIT
Still according to this source, starting 2020-10-01, ArXiV uses TeXLive 2020, so my answer may need some adjustments.