[OS X TeX] Hyperlink failure with TeXShop and Preview
Bruno Voisin
bvoisin at mac.com
Sat Feb 10 10:52:16 CET 2007
Le 10 févr. 07 à 08:43, Bruno Voisin a écrit :
> To solve my specific problem I'll use the actual URL <http://
> www3.interscience.wiley.com/cgi-bin/abstract/76505114/ABSTRACT>
> instead of the equivalent URL based on the DOI proxy, but I'm
> curious whether something cleaner can be done.
Answering myself: I finally resorted to inputting < and > as %3C and %
3E respectively. I found out about this by looking at how Adobe
Reader translates < and > in its warning asking whether one should
block or authorize access to the link destination.
I don't know where this syntax is referenced, it seems writing %
followed by the UTF-8 reference of a character yields this character
in a URL.
Of course, in LaTeX a % must be escaped as \%. Which yields
\href{http://dx.doi.org/10.1002/1099-095X(200102)12:1\%3C57::AID-
ENV446\%3E3.0.CO;2-1}
{DOI:10.1002/1099-095X(200102)12:1<57::AID-ENV446>3.0.CO;2-1}
instead of
\newcommand{\doi}[1]{\href{http://dx.doi.org/#1}{DOI:#1}}
\doi{10.1002/1099-095X(200102)12:1<57::AID-ENV446>3.0.CO;2-1}
Too bad this prevents automation!
Bruno Voisin
PS: BTW, does anyone know how to prevent creation of the folder ~/
Documents/Updater5/ every time Adobe Reader is launched? Those pesky
Adobe habits!
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list