On adding the DOI to elsevier-harvard (with title) journal article citations
Dear all,
After my best effort -- having read the tutorials about editing .csl files -- I have yet to succeed in adding the doi to journal articles cited in the Elsevier Harvard (with titles) style.
I made a new .csl file and changed the title and id; but I can't quite get how to add the doi text variable therein. The CSL tutorial advises to place it after the "page" variable, but I think I'm missing something of the nuances of scripting . . .
Could someone please suggest how, exactly, I can add the doi to this style??
Many many thanks,
C.
After my best effort -- having read the tutorials about editing .csl files -- I have yet to succeed in adding the doi to journal articles cited in the Elsevier Harvard (with titles) style.
I made a new .csl file and changed the title and id; but I can't quite get how to add the doi text variable therein. The CSL tutorial advises to place it after the "page" variable, but I think I'm missing something of the nuances of scripting . . .
Could someone please suggest how, exactly, I can add the doi to this style??
Many many thanks,
C.
Also, of course, the DOI has to actually be part of the Zotero item in order to be included in the citation.
I note that most of my journal article reference items do include their DOI in the "DOI" field.
Thank you!
<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi: "/>
</if>
<else-if type="webpage">
<group>
<text value="URL" suffix=" "/>
<text variable="URL"/>
</group>
</else-if>
</choose>
</macro>