Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

dvips can't break links. See section 7 "Limitations Wrapped/broken link support" in readme.pdf of hyperref and http://www.tex.ac.uk/cgi-bin/texfaq2html?label=breaklinks.

share|improve this answer
    
I'm sorry but that means I should use another driver? –  dragoon Feb 10 '11 at 10:53
    
Yes, you already experienced that pdflatex can break links. –  Josef Feb 10 '11 at 11:30
    
Ok, but then I also need to convert all eps images :) –  dragoon Feb 10 '11 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 '11 at 12:24
    
@dragoon I think breakurl package option can help you. –  S. Boonto Feb 10 '11 at 12:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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