[OS X TeX] Hyperlink failure with TeXShop and Preview

Bruno Voisin bvoisin at mac.com
Sat Feb 10 05:22:54 EST 2007

Le 10 févr. 07 à 10:45, Maarten Sneep a écrit :

> Yes, that is possible. Search for "Reformat Strings for DOI-Links"  
> in comp.text.tex on google (groups).
> I've packaged the code in a style file. Perhaps it is a good idea  
> to ask Heiko to put it in a small style file on CTAN. It is not  
> completely trivial.

Many thanks Maarten, that's exactly what I had been looking for.

However, it doesn't work as is: for hyperlinks containing "<" and ">"  
to be recognized by Preview and TeXShop, you need to edit two lines  
of the macro, replacing




Then I can simply use:


instead of:


To summarize: in order to make my little primitive macro


work in all cases, you have to use instead Heiko Oberdiek's (slightly  
edited) code:

       \the\toks1 \the\toks0 %

Hope this may help others as well,

Bruno Voisin
------------------------- 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 MacOSX-TeX mailing list