moderncv incompatable with doi package

Bug #708960 reported by Ian Craig
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
moderncv
New
Undecided
Unassigned

Bug Description

When I try to use the package 'doi' (which formats the bibliography to add links to the document object identifier), I get the following error message in the log:

! LaTeX Error: Option clash for package hyperref.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.34 \begin{document}
The package hyperref has already been loaded with options:
[]
There has now been an attempt to load it with options
[pdftex]
Adding the global options:
,pdftex
to your \documentclass declaration may fix this.
Try typing <return> to proceed.

Note that adding the global option pdftex to my documentclass declaration does not fix the problem. This is an exceedingly useful package that reads the doi field of a .bib and adds a link to the end of the reference. The doi is a stable url to a journal article that tracks changes to the real url so that if the publisher changes names or decides to change their naming scheme, the link does not break and is used extensively in the sciences.

Revision history for this message
lyarbean (slbyan) wrote :

comment out line 133 on moderncv.cls would help to this issue

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.