[texhax] Hypenated, clickable URL

Herbert Schulz herbs at wideopenwest.com
Sat Dec 4 15:17:11 CET 2010


On Dec 4, 2010, at 8:05 AM, Dan wrote:

> 
> 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.  If, on the other hand, I use the
> following, slightly different, LaTeX file:
> 
> \documentclass{article}
> 
> \usepackage[hyphens]{url}
> 
> \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}
> 
> the URL text is nicely hyphenated, but there's no clickable link.  Is
> there some way I can get a clickable link with the hyphenated text,
> please?
> 
> -- 
> 
> Thanks,
> 
> Dan

Howdy,

Is there a reason you're not using the hyperref package?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the texhax mailing list