Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/macros/latex/contrib/doi

You can hyperlink DOI numbers to dx.doi.org. Some publishers have elected to 
use some nasty characters in their doi numbering scheme (<, >, ; have all 
been spotted). This will either upset (La)TeX, or your pdf reader. This style 
file contains a user-level command \doi{}, which takes a doi number, 
and creates a hyperlink from it. The format of the doi can be controlled by 
redefining the \doitext command, which does not take an argument (unlike the
command with the same name in the doipubmed package). 

Note: the \doi{} command connot be used within other macros.

This style file is based original code written by Heiko Oberdiek 
and published on comp.text.tex. It was packaged with permission  
as a style file by Maarten Sneep, with some minor changes suggested 
by Bruno Voisin to accomodate the Apple pdf framework
Michael Orlov noticed that underscores were not handled appropriately 
and sends in a patch.

This code is placed under the LPPL.

Original discussion on Google under:
http://groups.google.com/group/comp.text.tex/msg/922919daa207d613

Files

Name Size Date Notes
README 1064 2007-07-24 11:14
doi.sty 3066 2007-07-24 11:13

Down­load the con­tents of this pack­age in one zip archive (2.3k).

doi – Create cor­rect hy­per­links for DOI num­bers

You can hy­per­link DOI num­bers to dx.doi.org. How­ever, some pub­lish­ers have elected to use nasty char­ac­ters in their DOI num­ber­ing scheme (‘<’, ‘>’, ‘_’ and ‘;’ have all been spot­ted). This will ei­ther up­set (La)TeX, or your PDF reader. This pack­age con­tains a sin­gle user-level com­mand \doi{}, which takes a DOI num­ber, and cre­ates a cor­rect hy­per­link to the tar­get of the DOI.

Pack­age De­tailsdoi
Ver­sion 2007-07-24
Li­censeThe LaTeX Project Public Li­cense
Main­tainerMaarten Sneep
Heiko Oberdiek
Con­tained inTeXlive as doi
MikTeX as doi
Topics sup­port for hy­per­text
Guest Book Sitemap Contact