0

I have long URLs in my references and I want to submit my paper to arxiv.org.

They use TexLive 2016.

I tried to follow advice at

Line breaks of long URLs in biblatex bibliography?

URLs in bibliography: LaTeX not breaking line as expected

to no avail. Interestingly, arxiv.org expects .bbl file, not the .bib file.

I tried to manually insert '\-' hyphenation into the .bbl file but that didn't work.

How can I break long URLs on arxiv.org?

  • Did you try with package xurl? – Bernard Aug 17 at 13:37
  • Upon your advice I did but it didn't work. – Gergely Aug 17 at 13:50
  • Even with a more recent distribution? – Bernard Aug 17 at 13:52
  • I have no jurisdiction over Arxiv's installed TeXLive 2016 distribution. My question is specific to that, they expect me to submit my paper in source form. – Gergely Aug 17 at 13:54
  • Could you post a minimal (yet complete) code reproducing the problem? – Bernard Aug 17 at 13:56
1

At last

\usepackage[hyphens]{url}
\usepackage{hyperref}
\usepackage[hyphenbreaks]{breakurl}

did the trick.

| improve this answer | |

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.