Skip to content
Browse files

add DOI to Elsevier Harvar and Elsevier (with titles). That's the two…

… styles where the DOI is consistently encouraged in the instructions for authors
  • Loading branch information...
1 parent ef28e8a commit c808c85a443638f5195e22d7340e9b8dc4c1bf1d @adam3smith adam3smith committed
Showing with 6 additions and 2 deletions.
  1. +5 −2 elsevier-harvard.csl
  2. +1 −0 elsevier-with-titles.csl
View
7 elsevier-harvard.csl
@@ -91,7 +91,10 @@
</macro>
<macro name="access">
<choose>
- <if type="webpage">
+ <if variable="DOI">
+ <text variable="DOI" prefix="doi:"/>
+ </if>
+ <else-if type="webpage">
<group delimiter=" ">
<text value="URL"/>
<text variable="URL"/>
@@ -104,7 +107,7 @@
</date>
</group>
</group>
- </if>
+ </else-if>
</choose>
</macro>
<macro name="title">
View
1 elsevier-with-titles.csl
@@ -125,6 +125,7 @@
</group>
</else>
</choose>
+ <text variable="DOI" prefix=". doi:"/>
</layout>
</bibliography>
</style>

0 comments on commit c808c85

Please sign in to comment.
Something went wrong with that request. Please try again.