Commits

Tobias Mueller committed 2a37b68

made doi=true the default but it may be overwritten by the user

I don't fully understand how this works.

  • Participants
  • Parent commits 3583d45

Comments (0)

Files changed (1)

 \RequirePackage[scaled]{helvet}
 \RequirePackage{rotating}
 \RequirePackage[style=english,english=american]{csquotes}
+%% We want to set doi=true as default but it may be overwritten by the user.
+%% Unfortunately, one has to \PassOptionsToPackage{doi=true}{biblatex}
+%% before \documentclass
+%% I have yet to understand how all that works.
+\AtBeginDocument{%
+    \PassOptionsToPackage{
+    doi=true,
+    }{biblatex}
+}
 \RequirePackage[
     %backend=biber,
     backend=bibtex,
     natbib=true,
     url=false, 
     isbn=false,  % The reference word document doesn't list the ISBN :-(
-    doi=true,
     eprint=false,
     maxcitenames=2,
     maxbibnames=100,