[texhax] hyperref and \url

Karl Berry karl at freefriends.org
Fri Dec 22 19:51:03 CET 2006


Hi Tom,

> way to do this that involves dvips, I'm all ears.

What I do for TUGboat is this simple-minded approach, i.e., don't try to
have them play together:

\usepackage{ifpdf}
\ifpdf
  \usepackage[breaklinks,whateverelse]{hyperref}
\else
  \usepackage{url}
\fi


If you need the other features of hyperref, maybe something equally
simple-minded, like:

\usepackage{url}
\let\saveurl=\url
\usepackage{hyperref}
\let\url=\saveurl

Best,
Karl


More information about the texhax mailing list