|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
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 | | - <!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) --> |
4 | 3 | <info> |
5 | 4 | <title>University of Bath - Harvard</title> |
6 | 5 | <id>http://www.zotero.org/styles/harvard-university-of-bath</id> |
7 | 6 | <link href="http://www.zotero.org/styles/harvard-university-of-bath" rel="self"/> |
8 | 7 | <link href="http://www.zotero.org/styles/harvard-bournemouth-university" rel="template"/> |
9 | 8 | <link href="https://library.bath.ac.uk/referencing/harvard-bath" rel="documentation"/> |
10 | 9 | <link href="https://github.com/alex-ball/bathbib/" rel="documentation"/> |
11 | | - <author> |
12 | | - <name>Rob Fuller</name> |
13 | | - <email>rob.fuller1@gmail.com</email> |
14 | | - </author> |
15 | 10 | <author> |
16 | 11 | <name>Alex Ball</name> |
17 | 12 | <email>ab318@bath.ac.uk</email> |
18 | 13 | </author> |
| 14 | + <author> |
| 15 | + <name>Rob Fuller</name> |
| 16 | + <email>rob.fuller1@gmail.com</email> |
| 17 | + </author> |
19 | 18 | <category citation-format="author-date"/> |
20 | 19 | <category field="generic-base"/> |
21 | 20 | <summary>Adaptation of Harvard referencing style used at the University of Bath.</summary> |
22 | | - <updated>2019-09-13T15:00:00+00:00</updated> |
| 21 | + <updated>2021-02-24T15:00:00+00:00</updated> |
23 | 22 | <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> |
24 | 23 | </info> |
25 | 24 | <locale xml:lang="en"> |
|
45 | 44 | <label form="short" prefix=", " text-case="lowercase"/> |
46 | 45 | </names> |
47 | 46 | </macro> |
| 47 | + <macro name="byeditor"> |
| 48 | + <names variable="editor"> |
| 49 | + <label form="verb-short" text-case="capitalize-first" suffix=" "/> |
| 50 | + <name and="text" delimiter-precedes-last="never" initialize-with="."/> |
| 51 | + </names> |
| 52 | + </macro> |
48 | 53 | <macro name="author"> |
49 | 54 | <names variable="author"> |
50 | 55 | <name and="text" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all"/> |
51 | 56 | <label form="short" prefix=" " text-case="lowercase"/> |
52 | 57 | <substitute> |
53 | | - <names variable="editor"> |
54 | | - <name and="text" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all"/> |
55 | | - <label form="short" prefix=", " text-case="lowercase"/> |
56 | | - </names> |
57 | | - <text macro="title"/> |
| 58 | + <choose> |
| 59 | + <if type="entry"/> |
| 60 | + <else> |
| 61 | + <names variable="editor"> |
| 62 | + <name and="text" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all"/> |
| 63 | + <label form="short" prefix=", " text-case="lowercase"/> |
| 64 | + </names> |
| 65 | + </else> |
| 66 | + </choose> |
| 67 | + <text macro="title-label"/> |
58 | 68 | </substitute> |
59 | 69 | </names> |
60 | 70 | </macro> |
61 | 71 | <macro name="author-short"> |
62 | 72 | <names variable="author"> |
63 | 73 | <name form="short" and="text" delimiter-precedes-last="never" initialize-with="."/> |
64 | 74 | <substitute> |
65 | | - <names variable="editor"/> |
66 | | - <names variable="translator"/> |
| 75 | + <choose> |
| 76 | + <if type="entry"/> |
| 77 | + <else> |
| 78 | + <names variable="editor"/> |
| 79 | + </else> |
| 80 | + </choose> |
67 | 81 | <text macro="title-short"/> |
68 | 82 | </substitute> |
69 | 83 | </names> |
|
127 | 141 | <if type="bill broadcast book dataset graphic legal_case map motion_picture musical_score patent report song speech webpage thesis" match="any"> |
128 | 142 | <text variable="title" font-style="italic"/> |
129 | 143 | </if> |
130 | | - <else-if type="legislation"> |
| 144 | + <else-if type="legislation legal_case" match="any"> |
131 | 145 | <choose> |
132 | 146 | <if variable="container-title"> |
133 | 147 | <text variable="title"/> |
|
150 | 164 | <if type="thesis motion_picture broadcast" match="any"/> |
151 | 165 | <else-if type="report" variable="number"/> |
152 | 166 | <else-if type="patent" variable="number"/> |
| 167 | + <else-if type="bill" variable="number"/> |
153 | 168 | <else> |
154 | 169 | <text variable="genre" prefix=" [" suffix="]"/> |
155 | 170 | </else> |
156 | 171 | </choose> |
157 | 172 | </macro> |
158 | 173 | <macro name="title-short"> |
159 | 174 | <choose> |
160 | | - <if type="bill broadcast book dataset graphic map motion_picture musical_score patent report song webpage thesis" match="any"> |
161 | | - <text variable="title" font-style="italic"/> |
| 175 | + <if type="bill broadcast dataset graphic map motion_picture musical_score patent report song webpage thesis" match="any"> |
| 176 | + <text variable="title" form="short" font-style="italic"/> |
| 177 | + </if> |
| 178 | + <else-if type="legislation legal_case" match="any"> |
| 179 | + <choose> |
| 180 | + <if variable="container-title"> |
| 181 | + <text variable="title" form="short"/> |
| 182 | + </if> |
| 183 | + <else> |
| 184 | + <text variable="title" form="short" font-style="italic"/> |
| 185 | + </else> |
| 186 | + </choose> |
| 187 | + </else-if> |
| 188 | + <else-if type="entry"> |
| 189 | + <text variable="container-title" form="short"/> |
| 190 | + </else-if> |
| 191 | + <else> |
| 192 | + <text variable="title" form="short"/> |
| 193 | + </else> |
| 194 | + </choose> |
| 195 | + </macro> |
| 196 | + <macro name="title-label"> |
| 197 | + <choose> |
| 198 | + <if type="entry"> |
| 199 | + <text variable="container-title"/> |
162 | 200 | </if> |
| 201 | + <else-if type="bill broadcast dataset graphic legal_case map motion_picture musical_score patent report song speech webpage thesis" match="any"> |
| 202 | + <text variable="title" font-style="italic"/> |
| 203 | + </else-if> |
163 | 204 | <else-if type="legislation legal_case" match="any"> |
164 | 205 | <choose> |
165 | 206 | <if variable="container-title"> |
|
171 | 212 | </choose> |
172 | 213 | </else-if> |
173 | 214 | <else> |
174 | | - <text variable="title-short"/> |
| 215 | + <text variable="title"/> |
175 | 216 | </else> |
176 | 217 | </choose> |
177 | 218 | </macro> |
|
449 | 490 | </group> |
450 | 491 | <text prefix=" " suffix="." macro="publisher"/> |
451 | 492 | </else-if> |
| 493 | + <else-if type="entry"> |
| 494 | + <group prefix=" " suffix="." delimiter=". "> |
| 495 | + <text macro="byeditor"/> |
| 496 | + <text macro="edition"/> |
| 497 | + <group delimiter=" "> |
| 498 | + <text variable="title" font-style="italic"/> |
| 499 | + <text macro="online"/> |
| 500 | + </group> |
| 501 | + <text macro="series"/> |
| 502 | + <text macro="status"/> |
| 503 | + <text macro="publisher"/> |
| 504 | + </group> |
| 505 | + </else-if> |
452 | 506 | <else-if type="article-journal" match="any"> |
453 | 507 | <group prefix=" " suffix="." delimiter=". "> |
454 | 508 | <text macro="title"/> |
|
565 | 619 | </group> |
566 | 620 | </else-if> |
567 | 621 | <else-if type="graphic map" match="any"> |
568 | | - <group prefix=" " suffix="." delimiter=" "> |
569 | | - <group delimiter=", "> |
| 622 | + <group prefix=" " suffix="." delimiter=", "> |
| 623 | + <group delimiter=" "> |
570 | 624 | <text macro="title"/> |
571 | | - <text variable="scale"/> |
| 625 | + <text macro="online"/> |
572 | 626 | </group> |
573 | | - <text macro="online"/> |
| 627 | + <text variable="scale"/> |
574 | 628 | </group> |
575 | 629 | <group prefix=" " suffix="." delimiter=". "> |
576 | 630 | <text macro="edition"/> |
|
616 | 670 | </choose> |
617 | 671 | </group> |
618 | 672 | <group prefix=" " suffix="." delimiter=". "> |
| 673 | + <text macro="editor"/> |
| 674 | + <text macro="edition"/> |
619 | 675 | <text macro="series"/> |
620 | 676 | <text macro="status"/> |
621 | | - <text macro="editor"/> |
622 | 677 | </group> |
623 | 678 | <group prefix=" " suffix="." delimiter=", "> |
624 | 679 | <choose> |
|
0 commit comments