Skip to content

Commit b4df8ee

Browse files
authored
Create dut-harvard.csl (#5762)
1 parent b4fe9b0 commit b4df8ee

File tree

1 file changed

+309
-0
lines changed

1 file changed

+309
-0
lines changed
Lines changed: 309 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,309 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
3+
<info>
4+
<title>Durban University of Technology - Harvard</title>
5+
<title-short>DUT Harvard</title-short>
6+
<id>http://www.zotero.org/styles/durban-university-of-technology-harvard</id>
7+
<link href="http://www.zotero.org/styles/durban-university-of-technology-harvard" rel="self"/>
8+
<link href="https://library.dut.ac.za/wp-content/uploads/2017/08/Referencing-Guide.pdf" rel="documentation"/>
9+
<author>
10+
<name>Sara Mitha</name>
11+
<email>[email protected]</email>
12+
</author>
13+
<contributor>
14+
<name>Avenal Finlayson</name>
15+
</contributor>
16+
<category citation-format="author-date"/>
17+
<category field="generic-base"/>
18+
<updated>2021-12-06T14:00:00+00:00</updated>
19+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
20+
</info>
21+
<locale xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en-GB">
22+
<terms>
23+
<term name="volume" form="short">v.</term>
24+
<term name="available at">available</term>
25+
<term name="open-quote">“</term>
26+
<term name="close-quote">”</term>
27+
<term name="open-inner-quote">‘</term>
28+
<term name="close-inner-quote">’</term>
29+
</terms>
30+
</locale>
31+
<macro name="editor-translator">
32+
<choose>
33+
<if variable="editor">
34+
<names variable="editor">
35+
<name and="symbol" initialize-with="." delimiter=", "/>
36+
<label form="short" prefix=", " text-case="capitalize-first"/>
37+
</names>
38+
</if>
39+
</choose>
40+
<choose>
41+
<if variable="translator">
42+
<names variable="translator">
43+
<label form="verb" text-case="capitalize-first" suffix=" "/>
44+
<name and="symbol" delimiter=", "/>
45+
</names>
46+
</if>
47+
</choose>
48+
</macro>
49+
<macro name="author">
50+
<names variable="author">
51+
<name and="symbol" delimiter-precedes-last="never" initialize-with="" name-as-sort-order="all"/>
52+
<label form="short" prefix=" " text-case="capitalize-first"/>
53+
<substitute>
54+
<names variable="editor"/>
55+
<names variable="translator"/>
56+
<choose>
57+
<if type="bill book graphic legal_case legislation motion_picture report song webpage" match="any">
58+
<text variable="title" font-style="italic"/>
59+
</if>
60+
<else>
61+
<text variable="title" quotes="true" text-case="capitalize-first"/>
62+
</else>
63+
</choose>
64+
</substitute>
65+
</names>
66+
</macro>
67+
<macro name="author-short">
68+
<names variable="author">
69+
<name form="short" and="symbol" delimiter-precedes-last="never" initialize-with="."/>
70+
<substitute>
71+
<names variable="editor"/>
72+
<names variable="translator"/>
73+
<choose>
74+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
75+
<text variable="title" form="short" font-style="italic"/>
76+
</if>
77+
<else>
78+
<text variable="title" form="short" quotes="true" text-case="capitalize-first"/>
79+
</else>
80+
</choose>
81+
</substitute>
82+
</names>
83+
</macro>
84+
<macro name="author-count">
85+
<names variable="author">
86+
<name form="count"/>
87+
</names>
88+
</macro>
89+
<macro name="date-issued">
90+
<choose>
91+
<if type="article-journal" match="none">
92+
<text macro="date-issued-year"/>
93+
</if>
94+
<else-if variable="page" match="none">
95+
<text macro="date-issued-year"/>
96+
</else-if>
97+
<else-if is-numeric="page">
98+
<text macro="date-issued-year"/>
99+
</else-if>
100+
<else>
101+
<text term="in press" prefix="(" suffix=")"/>
102+
</else>
103+
</choose>
104+
</macro>
105+
<macro name="date-issued-no-parentheses">
106+
<choose>
107+
<if type="article-journal" match="none">
108+
<text macro="date-issued-year"/>
109+
</if>
110+
<else-if variable="page" match="none">
111+
<text macro="date-issued-year"/>
112+
</else-if>
113+
<else-if is-numeric="page">
114+
<text macro="date-issued-year"/>
115+
</else-if>
116+
<else>
117+
<text term="in press"/>
118+
</else>
119+
</choose>
120+
</macro>
121+
<macro name="date-issued-year">
122+
<choose>
123+
<if variable="issued">
124+
<date variable="issued">
125+
<date-part name="year"/>
126+
</date>
127+
</if>
128+
<else>
129+
<text term="no date" form="short"/>
130+
</else>
131+
</choose>
132+
</macro>
133+
<macro name="access">
134+
<choose>
135+
<if variable="DOI">
136+
<text variable="DOI" prefix="doi.org/"/>
137+
</if>
138+
<else-if variable="URL">
139+
<group delimiter=" ">
140+
<group>
141+
<text term="available at" text-case="capitalize-first" suffix=" from: "/>
142+
<text variable="URL"/>
143+
</group>
144+
<text macro="date-access"/>
145+
</group>
146+
</else-if>
147+
<else-if variable="source accessed" match="all">
148+
<group delimiter=" ">
149+
<text variable="source"/>
150+
<text macro="date-access"/>
151+
</group>
152+
</else-if>
153+
</choose>
154+
</macro>
155+
<macro name="date-access">
156+
<date variable="accessed" prefix="[Accessed " suffix="]">
157+
<date-part name="day" suffix=" "/>
158+
<date-part name="month"/>
159+
<date-part name="year" prefix=" "/>
160+
</date>
161+
</macro>
162+
<macro name="title">
163+
<choose>
164+
<if type="bill book graphic legal_case legislation motion_picture report song webpage" match="any">
165+
<text variable="title" font-style="italic"/>
166+
</if>
167+
<else>
168+
<text variable="title"/>
169+
</else>
170+
</choose>
171+
</macro>
172+
<macro name="book-details">
173+
<group delimiter=". ">
174+
<group delimiter=" ">
175+
<number variable="edition" form="ordinal"/>
176+
<label variable="edition" form="short"/>
177+
</group>
178+
<group delimiter=" ">
179+
<label variable="volume" form="short" text-case="capitalize-first"/>
180+
<text variable="volume"/>
181+
</group>
182+
<text macro="editor-translator"/>
183+
<group delimiter=" " prefix="(" suffix=")">
184+
<text variable="collection-title"/>
185+
<group delimiter=" ">
186+
<label variable="issue" form="short"/>
187+
<text variable="collection-number"/>
188+
</group>
189+
</group>
190+
<text macro="publisher"/>
191+
</group>
192+
</macro>
193+
<macro name="publisher">
194+
<group delimiter=": ">
195+
<text variable="publisher-place"/>
196+
<text variable="publisher"/>
197+
</group>
198+
</macro>
199+
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-names="true" disambiguate-add-year-suffix="true" collapse="year-suffix" year-suffix-delimiter=",">
200+
<sort>
201+
<key macro="date-issued-no-parentheses" sort="descending"/>
202+
<key macro="author"/>
203+
</sort>
204+
<layout prefix="(" suffix=")" delimiter="; ">
205+
<group delimiter=" ">
206+
<text macro="author-short"/>
207+
<text macro="date-issued-no-parentheses"/>
208+
</group>
209+
<group>
210+
<choose>
211+
<if locator="page" match="any">
212+
<text variable="locator" prefix=": "/>
213+
</if>
214+
<else>
215+
<label variable="locator" form="short" prefix=", "/>
216+
<text variable="locator" prefix=" "/>
217+
</else>
218+
</choose>
219+
</group>
220+
</layout>
221+
</citation>
222+
<bibliography entry-spacing="0" et-al-min="9" et-al-use-first="8">
223+
<sort>
224+
<key macro="author-short" names-min="1" names-use-first="1"/>
225+
<key macro="author-count" names-min="3" names-use-first="3"/>
226+
<key macro="author" names-min="3" names-use-first="1"/>
227+
<key macro="date-issued-no-parentheses"/>
228+
</sort>
229+
<layout suffix=".">
230+
<group delimiter=". ">
231+
<text macro="author"/>
232+
<text macro="date-issued"/>
233+
<choose>
234+
<if type="bill book graphic legal_case legislation motion_picture post-weblog song webpage" match="any">
235+
<text macro="title"/>
236+
<text macro="book-details"/>
237+
</if>
238+
<else-if type="article-journal article-magazine" match="any">
239+
<text macro="title"/>
240+
<text variable="container-title" font-style="italic"/>
241+
<group delimiter=":">
242+
<choose>
243+
<if variable="volume issue" match="any">
244+
<group>
245+
<text variable="volume"/>
246+
<text variable="issue" prefix="(" suffix=")"/>
247+
</group>
248+
</if>
249+
<else>
250+
<date variable="issued" prefix="(" suffix=")">
251+
<date-part name="month" form="long"/>
252+
<date-part name="day" prefix=", "/>
253+
</date>
254+
</else>
255+
</choose>
256+
<text variable="page"/>
257+
</group>
258+
</else-if>
259+
<else-if type="article-newspaper" match="any">
260+
<text macro="title"/>
261+
<group delimiter=" ">
262+
<text variable="container-title" font-style="italic"/>
263+
<text variable="publisher-place" prefix="(" suffix=")"/>
264+
</group>
265+
<group delimiter=": ">
266+
<date variable="issued">
267+
<date-part name="day" suffix=" "/>
268+
<date-part name="month" form="long"/>
269+
</date>
270+
<text variable="page"/>
271+
</group>
272+
</else-if>
273+
<else-if type="thesis" match="any">
274+
<text macro="title"/>
275+
<text variable="genre"/>
276+
<text variable="publisher"/>
277+
</else-if>
278+
<else-if type="chapter paper-conference entry-encyclopedia entry-dictionary" match="any">
279+
<text macro="title"/>
280+
<group delimiter=" ">
281+
<text term="in" text-case="capitalize-first" suffix=":"/>
282+
<text variable="container-title" font-style="italic"/>
283+
</group>
284+
<text macro="book-details"/>
285+
<text variable="page"/>
286+
</else-if>
287+
<else-if type="patent" match="any">
288+
<group font-style="italic">
289+
<text variable="number" prefix="Patent No. "/>
290+
</group>
291+
<group delimiter=": ">
292+
<text macro="publisher"/>
293+
<text variable="authority"/>
294+
</group>
295+
</else-if>
296+
<else-if type="report" match="any">
297+
<text macro="title"/>
298+
<group delimiter=" " prefix="(" suffix=")">
299+
<text variable="genre" text-case="capitalize-first"/>
300+
<text variable="number"/>
301+
</group>
302+
<text macro="publisher"/>
303+
</else-if>
304+
</choose>
305+
<text macro="access"/>
306+
</group>
307+
</layout>
308+
</bibliography>
309+
</style>

0 commit comments

Comments
 (0)