[texhax] Hypenated, clickable URL

Ulrike Fischer news3 at nililand.de
Sat Dec 4 16:58:38 CET 2010


Am Sat, 4 Dec 2010 14:05:17 +0000 (GMT) schrieb Dan:

> Dear All,
> 
> When I run the following through LaTeX and dvipdf:
> 
> \documentclass{article}
> 
> \usepackage{html}
> 
> \begin{document}
> 
> \url{http://www.google.co.uk/search?hl=en&client=firefox-a&hs=ZXD&rls=org.gentoo:de-AT:unofficial&&sa=X&ei=tgr5TNTjJom7hAeDvrSnCQ&ved=0CBQQvgUoAA&q=package+options+hthtml&nfpr=1}
> 
> \end{document}
> 
> I get a clickable link in the PDF file, but the URL text sticks off
> the right-hand edge of the page. 

Assuming that "dvipdf" means dvipdfmx: Use hyperref with the driver
option dvipdfmx. If "dvipdf" involves dvips: dvips can't break
links. In this case you should use breakurl.
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=breaklinks



-- 
Ulrike Fischer 



More information about the texhax mailing list