[texhax] Hypenated, clickable URL

Dan vi5u0-texhax at yahoo.co.uk
Sat Dec 4 15:05:17 CET 2010


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


More information about the texhax mailing list