Skip to content

Commit bbdc9c4

Browse files
authored
Update to better match RMIT Easy Cite (JabRef#4697)
1 parent 7c506d9 commit bbdc9c4

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

rmit-university-harvard.csl

+31-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</author>
1313
<category citation-format="author-date"/>
1414
<category field="generic-base"/>
15-
<updated>2020-01-13T00:52:05+00:00</updated>
15+
<updated>2020-04-13T04:40:00+00:00</updated>
1616
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1717
</info>
1818
<locale xml:lang="en">
@@ -86,7 +86,7 @@
8686
</macro>
8787
<macro name="access">
8888
<choose>
89-
<if variable="URL" type="webpage">
89+
<if variable="URL" type="article-newspaper webpage speech">
9090
<group prefix=" " delimiter=", ">
9191
<date variable="accessed" prefix="viewed ">
9292
<date-part name="day" suffix=" "/>
@@ -98,6 +98,31 @@
9898
</if>
9999
</choose>
100100
</macro>
101+
<macro name="newspaper-webpage">
102+
<choose>
103+
<if type="article-newspaper">
104+
<group prefix=" " delimiter=", ">
105+
<date variable="issued" prefix="">
106+
<date-part name="day" suffix=" "/>
107+
<date-part name="month" suffix=""/>
108+
</date>
109+
</group>
110+
</if>
111+
</choose>
112+
</macro>
113+
<macro name="presentation">
114+
<choose>
115+
<if type="speech">
116+
<group delimiter=", ">
117+
<!-- suffix=", "> -->
118+
<text variable="genre"/>
119+
<!-- <text term="presented at"/> -->
120+
<text variable="event"/>
121+
<text variable="event-place"/>
122+
</group>
123+
</if>
124+
</choose>
125+
</macro>
101126
<macro name="title">
102127
<choose>
103128
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
@@ -148,14 +173,14 @@
148173
</else>
149174
</choose>
150175
</macro>
151-
<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">
176+
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" collapse="year">
152177
<layout prefix="(" suffix=")" delimiter="; ">
153178
<group delimiter=", ">
154179
<group delimiter=" ">
155180
<text macro="author-short"/>
156181
<text macro="year-date"/>
157182
</group>
158-
<group>
183+
<group delimiter=" ">
159184
<label variable="locator" form="short"/>
160185
<text variable="locator"/>
161186
</group>
@@ -210,6 +235,8 @@
210235
</group>
211236
</else>
212237
</choose>
238+
<text prefix=", " macro="presentation"/>
239+
<text prefix=", " macro="newspaper-webpage"/>
213240
<text prefix=", " macro="access"/>
214241
</layout>
215242
</bibliography>

0 commit comments

Comments
 (0)