[texhax] Hypenated, clickable URL

Dan vi5u0-texhax at yahoo.co.uk
Sat Dec 4 21:01:42 CET 2010


On Sat, 4 Dec 2010, Herbert Schulz wrote:

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

html.sty makes a choice of whether to use hyperref as follows:

\ifx\undefined\hyperref
  \ifx\pdfoutput\undefined \let\pdfunknown\relax
   \let\html at new=\newcommand
  \else
   \ifx\pdfoutput\relax \let\pdfunknown\relax
    \RequirePackage{hyperref}\let\html at new=\renewcommand
   \else
    \RequirePackage{hyperref}\let\html at new=\newcommand
   \fi
  \fi
\else
  \let\html at new=\renewcommand
\fi

-- 

Thanks,

Dan


More information about the texhax mailing list