Skip to content

Commit

Permalink
Sage Harvard: Add translator/editor
Browse files Browse the repository at this point in the history
Update documentaiton link
  • Loading branch information
adam3smith committed Aug 21, 2020
1 parent 1f51ef8 commit 469deb6
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions sage-harvard.csl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<id>http://www.zotero.org/styles/sage-harvard</id>
<link href="http://www.zotero.org/styles/sage-harvard" rel="self"/>
<link href="http://www.zotero.org/styles/the-open-university-harvard" rel="template"/>
<link href="http://www.uk.sagepub.com/repository/binaries/pdf/SAGE_Harvard_reference_style.pdf" rel="documentation"/>
<link href="https://uk.sagepub.com/sites/default/files/sage_harvard_reference_style_0.pdf" rel="documentation"/>
<author>
<name>Joseph Reagle</name>
</author>
Expand All @@ -29,6 +29,12 @@
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="editor-translator">
<names variable="editor translator" delimiter="; ">
<label form="short" suffix=" "/>
<name and="text" initialize-with="" delimiter=", "/>
</names>
</macro>
<macro name="proceedings-editor">
<names variable="editor" delimiter=", " prefix="(" suffix=")">
<label form="short" suffix=" "/>
Expand Down Expand Up @@ -88,7 +94,10 @@
<macro name="title">
<choose>
<if type="book">
<text variable="title" font-style="italic" text-case="title"/>
<group delimiter=" ">
<text variable="title" font-style="italic" text-case="title"/>
<text macro="editor-translator" prefix="(" suffix=")"/>
</group>
</if>
<else-if type="bill graphic legal_case motion_picture report song thesis" match="any">
<text variable="title" font-style="italic"/>
Expand Down Expand Up @@ -220,11 +229,11 @@
</group>
</group>
</else-if>
<else-if type="webpage" match="none">
<else-if type="webpage book" match="none">
<group delimiter=", ">
<group delimiter=" ">
<text macro="editor"/>
<text variable="container-title" font-style="italic"/>
<text macro="editor"/>
</group>
<choose>
<if type="article-newspaper article-magazine" match="any">
Expand Down

0 comments on commit 469deb6

Please sign in to comment.