[OS X TeX] Funny bug in hyperref
Michael Sharpe
msharpe at ucsd.edu
Sat Jul 7 07:08:07 CEST 2012
On Jul 6, 2012, at 1:36 PM, Ross Moore wrote:
> The use of \urldef *must* come before hyperref is loaded, since hyperref changes the definition of \url .
> After hyperref has been loaded, the syntax of \urldef\....\url{...} will fail, because of that redefinition. But it is handy to have all of your URLs defined in the preamble, so that the body of your document is not cluttered with long URL constructions, but just neat meaningful macro names. URLs defined this way also work in footnotes, and within expansions of other macros, since all the required catcode changes for special characters have already taken place.
Ross,
Many thanks for your lucid explanation of the interaction between the url and hyperref packages---an extremely useful post.
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20120706/b5f22720/attachment.html>
More information about the macostex-archives
mailing list