4

in my tex source file I have a link like that:

\href{http://en.wikipedia.org/wiki/Warm_dark_matter}{Warm 
Dark Matter}

This link starts on one line and ends on the next line. The problem is that when I compile it like latex -> dvips -> ps2pdf, I see "Warm Dark Matter" colored, but can't click on it to open the link.

When file is compiled with pdflatex everything is fine, so what can be the problem in the first method?

I can't move link in one line because I have automatic tex-processing system.

1 Answer 1

4

dvips can't break links. See section 7 "Limitations Wrapped/broken link support" in readme.pdf of hyperref and https://texfaq.org/FAQ-breaklinks.

5
  • I'm sorry but that means I should use another driver?
    – dragoon
    Feb 10, 2011 at 10:53
  • Yes, you already experienced that pdflatex can break links.
    – Josef
    Feb 10, 2011 at 11:30
  • Ok, but then I also need to convert all eps images :)
    – dragoon
    Feb 10, 2011 at 11:40
  • 1
    Following Ulrike'S link you can read: "Other drivers (notably those for PDFTeX and for dvipdfm) don’t suffer from this problem". So using dvipdfm(x) might be easier!
    – Josef
    Feb 10, 2011 at 12:24
  • @dragoon I think breakurl package option can help you.
    – S. Boonto
    Feb 10, 2011 at 12:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .