In addressing this question the first thing to note is that everything works, compiles and displays correctly on my computer. However, when I go to upload my document to arXiv.org sometimes things change. In particular, publishing URLs in a bibliography to the arXiv.org is (apparently) very difficult.

Issue 1: Bibliography not showing up at all.

Issue 1 Solved: Publishing to Arxiv using Biblatex-Biber

Issue 2: Bibliography displays urls outside the border of the document. It doesn't wrap the text of the url in a bibliography item. Again, it works fine on my computer, just not on the website arXiv.org.

Issue 2 Solved: Line breaks of long URLs in biblatex bibliography?

Issue 3: With the setup from the first two issues, I now have a new problem. If a URL wraps to a new line, like this

[5] Author. Title. PhD thesis. Place, May 2011. url: http://aaaaaaaaaaa.a

arXiv.org disables the hyperlink. Again, hyperlinks are not disabled and work perfectly fine on my system. But wrapped urls on arXiv.org no longer have hyperlinks. If a bibliography item looks like

[6] Author. Title. PhD thesis. Place, May 2011. DOI: aaaa.aaa/a.aaa.aa

so that it does not break, the the hyperlink stays intact.

How do I solve issue 3? I am surprised that this is not a more common issue, considering the extensive use of the arXiv.



%Document Type
%Bibliography Commands
\hypersetup{linkcolor=blue, citecolor=red, colorlinks=true}
Reference \cite{one} and \cite{two}. 


url = {http://www.google.com}}
url = {https://tex.stackexchange.com/questions/182523/publishing-to-arxiv-with-hyperlinks?noredirect=1#comment420451_182523}}

If you compile this on a local system it works fine. But if you try to publish this to the arXiv, it no longer has a hyperlink for the second item.

  • Hard to do much for you without a complete minimal working example (MWE) but have you tried including a file 00README.XXX with the line nohypertex? Most issues where something appears different when processed on arXiv vs locally can be fixed this way.
    – Lev Bishop
    Jun 1, 2014 at 2:50
  • @LevBishop Just tried your suggestion and it didn't work either. Not sure how a minimal working example will help, since it works fine on my system and fails to work arXiv. You could just try to upload any old document. Anyway, I will add a MWE for completeness sake. Jun 1, 2014 at 4:32
  • considering the extensive use of the arXiv: remember this depends on you 'point of view'. ArXiv is big for physics but not for (say) chemistry, where sending a paper to a preprint server would prevent publication in a journal.
    – Joseph Wright
    Jun 1, 2014 at 7:03
  • @JosephWright My comment had nothing to do with particular fields, where clearly different fields have different preferences. In terms of numbers of publications that arXiv receives per day, I think my comment is well justified (en.wikipedia.org/wiki/ArXiv). I only made this comment because I found it surprising that this issue had not been addressed before. About 99.99% of the time, my simple questions are answered with a quick Google search; but not this time. :-( Jun 1, 2014 at 8:33

3 Answers 3


With the MWE I can see that arXiv was processing your submission with latex instead of pdflatex. You can force pdflatex by including a line


within the first 5 lines of your submission, in which case everything seems to work. See the arXiv help on this point.

  • THANK YOU!!!!! Worked great. I don't know how I would have every figured that out. Jun 2, 2014 at 3:57
  • Best answer to this question for my case.
    – Ash
    May 4, 2020 at 6:03

Since none of the answers (also in the linked questions) worked in my case, here is the particular setup that ended up working for me on arxiv. The hyperref package is already preloaded by arxiv, so loading it again resulted in a compilation error.


  • Welcome to TeX! Can you please make your code snippet -- as usual here -- compilable for a fast proof?
    – Mensch
    Oct 23, 2020 at 8:52

arXiv's default behavior is to set the hyperref value for breaklinks to be false. This may change in the future, but you can account for this in your \hypersetup by just setting this keyvalue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.