Skip to content

Commit

Permalink
Update to better match RMIT Easy Cite (#4697)
Browse files Browse the repository at this point in the history
  • Loading branch information
areographe authored Apr 14, 2020
1 parent 7c506d9 commit bbdc9c4
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions rmit-university-harvard.csl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<updated>2020-01-13T00:52:05+00:00</updated>
<updated>2020-04-13T04:40:00+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="en">
Expand Down Expand Up @@ -86,7 +86,7 @@
</macro>
<macro name="access">
<choose>
<if variable="URL" type="webpage">
<if variable="URL" type="article-newspaper webpage speech">
<group prefix=" " delimiter=", ">
<date variable="accessed" prefix="viewed ">
<date-part name="day" suffix=" "/>
Expand All @@ -98,6 +98,31 @@
</if>
</choose>
</macro>
<macro name="newspaper-webpage">
<choose>
<if type="article-newspaper">
<group prefix=" " delimiter=", ">
<date variable="issued" prefix="">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=""/>
</date>
</group>
</if>
</choose>
</macro>
<macro name="presentation">
<choose>
<if type="speech">
<group delimiter=", ">
<!-- suffix=", "> -->
<text variable="genre"/>
<!-- <text term="presented at"/> -->
<text variable="event"/>
<text variable="event-place"/>
</group>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
Expand Down Expand Up @@ -148,14 +173,14 @@
</else>
</choose>
</macro>
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" collapse="year">
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<group>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
Expand Down Expand Up @@ -210,6 +235,8 @@
</group>
</else>
</choose>
<text prefix=", " macro="presentation"/>
<text prefix=", " macro="newspaper-webpage"/>
<text prefix=", " macro="access"/>
</layout>
</bibliography>
Expand Down

0 comments on commit bbdc9c4

Please sign in to comment.