CTAN Comprehensive TeX Archive Network

Directory 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 , 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. Now supported by the "Oberdiek Package Support Group" at GitHub.

This code is placed under the LPPL.

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

Comments and bug reports to https://github.com/ho-tex/doi/issues

Download the contents of this package in one zip archive (2.6k).

doi – Create correct hyperlinks for DOI numbers

You can hyperlink DOI numbers to doi.org. However, some publishers have elected to use nasty characters in their DOI numbering scheme (‘<’, ‘>’, ‘_’ and ‘;’ have all been spotted). This will either upset , or your PDF reader. This package contains a single user-level command \doi{}, which takes a DOI number, and creates a correct hyperlink to the target of the DOI.

Home pagehttps://github.com/ho-tex
Bug trackerhttps://github.com/ho-tex/doi/issues
Version 2018-09-09
LicensesThe Project Public License
MaintainerHeiko Oberdiek
Maarten Sneep (inactive)
Contained inTeX Live as doi
MiKTeX as doi
Guest Book Sitemap Contact Contact Author