CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/doi


You can hy­per­link DOI num­bers to dx.doi.org. Some pub­lish­ers have elected to use some nasty char­ac­ters in their doi num­ber­ing scheme (<, >, ; have all been spot­ted). This will ei­ther up­set , or your pdf reader. This style file con­tains a user-level com­mand doi{}, which takes a doi num­ber, and cre­ates a hy­per­link from it. The for­mat of the doi can be con­trolled by re­defin­ing the doi­text com­mand, which does not take an ar­gu­ment (un­like the com­mand with the same name in the doipubmed pack­age).

Note: the doi{} com­mand con­not be used within other macros.

This style file is based orig­i­nal code writ­ten by Heiko Oberdiek and pub­lished on comp.text.tex. It was pack­aged with per­mis­sion as a style file by Maarten Sneep, with some mi­nor changes sug­gested by Bruno Voisin to ac­co­mo­date the Ap­ple pdf frame­work Michael Orlov no­ticed that un­der­scores were not han­dled ap­pro­pri­ately and sends in a patch. Now sup­ported by the "Oberdiek Pack­age Sup­port Group" at GitHub.

This code is placed un­der the LPPL.

Orig­i­nal dis­cus­sion on Google un­der: http://groups.google.com/group/comp.text.tex/msg/922919daa207d613

Com­ments and bug re­ports to https://github.com/ho-tex/doi/is­sues

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

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

You can hy­per­link DOI num­bers to 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 , 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.

Home pagehttps://github.com/ho-tex
Bug trackerhttps://github.com/ho-tex/doi/is­sues
Ver­sion 2018-09-09
Li­censesThe Project Public Li­cense
Main­tainerHeiko Oberdiek
Maarten Sneep (in­ac­tive)
Con­tained inTeX Live as doi
MiKTeX as doi
Guest Book Sitemap Contact Contact Author