TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I have each bib entry hyper-linked to its DOI page? i.e. clicking anywhere on the bib entry (preferably anywhere, but if not possible, at least on the title of the paper) in the PDF should open the link to its DOI page. I am willing to ensure that each entry in the bib file has a DOI/URL.

I'm using TexShop on Mac OS X Snow Leopard, and use pdflatex/bibtex to compile my dissertation.

share|improve this question
Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. – Guido Nov 25 '12 at 8:10
Just to note, revtex4-1 bibstyle generates links according to DOIs. (However, the style itself is extremely concise, e.g., omitting the title). – Ran G. Nov 25 '12 at 8:23
Do you use biblatex? You can activate the display of dois for each entry (if available) with doi=true. Then you can click on the doi information in a bib entry to open the web site. Why must it be the title? – Kurt Nov 25 '12 at 11:21
I recently used this answer to link DOI's to titles. – Alex Nov 25 '12 at 11:39
If you are not using biblatex then this question is relevant. Some of the answers apply to non natbib styles. – Andrew Swann Nov 25 '12 at 12:50

With respect, it doesn't make much sense to have the ENTIRE bib entry link to the DOI page, since, an individual bibliography record may have BOTH URL and DOI's, either, or neither.

I use the following command, along with the hyperref package, which gives a blue colored hyperlink to the DOI webpage for the bibliography entries that have DOI records.

In the preamble, put the following:

\usepackage[hidelinks]{hyperref} %boxes hidden, remove hidelinks if boxes are desired.

Then before the bibliography is called:

\def\mybibdoicolor{\color{blue!75!black}} %change color to suit.
\newcommand*{\doi}[1]{\href{http://dx.doi.org/\detokenize{#1} {\raggedright\mybibdoicolor{DOI: \detokenize{#1}}}}

Finally, the bibliography can be called:


An exerpt from my output is displayed below, noting the blue DOI record/s held in references [41-43], each can be clicked from inside PDF, in such event, the user would be redirected to the relevant site. In this case, as an example, should the user click on the DOI record inside [41], he/she would be redirected to http://dx.doi.org/10.1098/rspa.1925.0147, which in turn redirects the user to the publication.

Example Output

share|improve this answer

There is the urlbst package. It provides a perl script to modify existing .bst files with url and enclose the whole citation in an hyperlink.

share|improve this answer

To make a whole reference an hyperlink (with biblatex) using url (it is to do the same using doi)

share|improve this answer
I am currently using the authoryear style with biblatex, and have added this line. It successfully produces entries with hyperlinked author, year and title fields, but removes the other fields. Is there an alternative command to redefine rather than blx@bbx@\thefield{entrytype}? – mynoduesp Nov 14 '13 at 20:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.