|
2 | 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 | 3 | <info> |
4 | 4 | <title>Stellenbosch University - Harvard</title> |
| 5 | + <title-short>SU-Harvard</title-short> |
5 | 6 | <id>http://www.zotero.org/styles/harvard-stellenbosch-university</id> |
6 | 7 | <link href="http://www.zotero.org/styles/harvard-stellenbosch-university" rel="self"/> |
7 | | - <link href="http://www.zotero.org/styles/harvard-cite-them-right" rel="template"/> |
8 | | - <link href="http://libguides.sun.ac.za/content.php?pid=344501&sid=2818229" rel="documentation"/> |
| 8 | + <link href="http://www.zotero.org/styles/harvard-university-of-cape-town" rel="template"/> |
| 9 | + <link href="https://libguides.sun.ac.za/c.php?g=742962&p=5316902" rel="documentation"/> |
| 10 | + <!-- Sample data: https://gist.github.com/aurimasv/14da71a5d1def6e6ed86 --> |
9 | 11 | <author> |
10 | | - <name>Yusuf Ras</name> |
11 | | - |
12 | | - <uri>http://www.mendeley.com/profiles/yusuf-ras/</uri> |
| 12 | + <name>Kirchner van Deventer</name> |
13 | 13 | </author> |
14 | 14 | <category citation-format="author-date"/> |
15 | 15 | <category field="generic-base"/> |
16 | | - <updated>2015-09-01T08:01:34+00:00</updated> |
| 16 | + <updated>2021-06-22T12:00:00+00:00</updated> |
17 | 17 | <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> |
18 | 18 | </info> |
19 | 19 | <locale xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en-GB"> |
20 | 20 | <terms> |
| 21 | + <term name="volume" form="short">v.</term> |
21 | 22 | <term name="available at">available</term> |
22 | 23 | <term name="open-quote">“</term> |
23 | 24 | <term name="close-quote">”</term> |
|
30 | 31 | <if variable="editor"> |
31 | 32 | <names variable="editor"> |
32 | 33 | <name and="symbol" initialize-with="." delimiter=", "/> |
33 | | - <label form="short" prefix=" (" suffix=")"/> |
| 34 | + <label form="short" prefix=", " text-case="capitalize-first"/> |
34 | 35 | </names> |
35 | 36 | </if> |
36 | 37 | </choose> |
|
45 | 46 | </macro> |
46 | 47 | <macro name="author"> |
47 | 48 | <names variable="author"> |
48 | | - <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="never"/> |
| 49 | + <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="never" et-al-min="9" et-al-use-first="8"/> |
49 | 50 | <label form="short" prefix=" " text-case="capitalize-first"/> |
50 | 51 | <substitute> |
51 | 52 | <names variable="editor"/> |
|
63 | 64 | </macro> |
64 | 65 | <macro name="author-short"> |
65 | 66 | <names variable="author"> |
66 | | - <name form="short" and="symbol" delimiter-precedes-last="never" initialize-with="." sort-separator=" "/> |
67 | | - <et-al font-style="italic"/> |
| 67 | + <name form="short" and="symbol" delimiter=", " initialize-with="." delimiter-precedes-last="never" et-al-min="4" et-al-use-first="1"/> |
68 | 68 | <substitute> |
69 | 69 | <names variable="editor"/> |
70 | 70 | <names variable="translator"/> |
71 | 71 | <choose> |
72 | 72 | <if type="bill book graphic legal_case legislation motion_picture report song" match="any"> |
| 73 | + <!-- Note that webpage title is italicized in bibliography, but quoted in text --> |
73 | 74 | <text variable="title" form="short" font-style="italic"/> |
74 | 75 | </if> |
75 | 76 | <else> |
|
85 | 86 | </names> |
86 | 87 | </macro> |
87 | 88 | <macro name="date-issued"> |
| 89 | + <!-- |
| 90 | + Show "in press" for journal articles with non-numeric pages |
| 91 | + (i.e. "in press" in page field) |
| 92 | + --> |
88 | 93 | <choose> |
89 | 94 | <if type="article-journal" match="none"> |
90 | 95 | <text macro="date-issued-year"/> |
|
101 | 106 | </choose> |
102 | 107 | </macro> |
103 | 108 | <macro name="date-issued-no-parentheses"> |
| 109 | + <!-- |
| 110 | + Same as date-issued, but no parentheses around "in press" |
| 111 | + --> |
104 | 112 | <choose> |
105 | 113 | <if type="article-journal" match="none"> |
106 | 114 | <text macro="date-issued-year"/> |
|
130 | 138 | </macro> |
131 | 139 | <macro name="access"> |
132 | 140 | <choose> |
133 | | - <if variable="DOI"/> |
| 141 | + <if variable="DOI"> |
| 142 | + <text variable="DOI" prefix="DOI: "/> |
| 143 | + </if> |
134 | 144 | <else-if variable="URL"> |
135 | 145 | <group delimiter=" "> |
136 | | - <group delimiter=": "> |
137 | | - <group delimiter=", "> |
138 | | - <text term="online" prefix="[" suffix="]" text-case="capitalize-first"/> |
139 | | - <text term="available at" text-case="capitalize-first"/> |
140 | | - </group> |
| 146 | + <group> |
| 147 | + <text term="available at" suffix=": " text-case="capitalize-first"/> |
141 | 148 | <text variable="URL"/> |
142 | 149 | </group> |
143 | 150 | <text macro="date-access"/> |
|
195 | 202 | <text variable="publisher"/> |
196 | 203 | </group> |
197 | 204 | </macro> |
198 | | - <citation disambiguate-add-year-suffix="true" year-suffix-delimiter="," disambiguate-add-names="true" disambiguate-add-givenname="false" collapse="year-suffix" et-al-min="4" et-al-use-first="3" et-al-subsequent-min="3" et-al-subsequent-use-first="1"> |
| 205 | + <citation disambiguate-add-year-suffix="true" year-suffix-delimiter="," disambiguate-add-names="true" disambiguate-add-givenname="false" collapse="year-suffix"> |
199 | 206 | <sort> |
200 | | - <key macro="author"/> |
201 | 207 | <key macro="date-issued-no-parentheses"/> |
| 208 | + <key macro="author"/> |
202 | 209 | </sort> |
203 | 210 | <layout prefix="(" suffix=")" delimiter="; "> |
204 | 211 | <group delimiter=", "> |
|
218 | 225 | </group> |
219 | 226 | </layout> |
220 | 227 | </citation> |
221 | | - <bibliography hanging-indent="true" et-al-min="9" et-al-use-first="8"> |
| 228 | + <bibliography entry-spacing="0"> |
222 | 229 | <sort> |
223 | 230 | <key macro="author-short" names-min="1" names-use-first="1"/> |
224 | 231 | <key macro="author-count" names-min="3" names-use-first="3"/> |
|
277 | 284 | <else-if type="chapter paper-conference entry-encyclopedia entry-dictionary" match="any"> |
278 | 285 | <text macro="title"/> |
279 | 286 | <group delimiter=" "> |
280 | | - <text term="in"/> |
| 287 | + <text term="in" text-case="capitalize-first"/> |
281 | 288 | <text variable="container-title" font-style="italic"/> |
282 | | - <text macro="book-details"/> |
283 | | - <text macro="editor-translator"/> |
284 | 289 | </group> |
| 290 | + <text macro="book-details"/> |
285 | 291 | <text variable="page"/> |
286 | 292 | </else-if> |
287 | 293 | <else-if type="patent" match="any"> |
|
0 commit comments