git.iko.soy/typeable/pandoc
on rc/2.11.0.4 help sign in
typeable/pandoc/test/command/harvard-university-of-kent.csl
253 lines 8.6 kB history raw
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>University of Kent - Harvard</title>
5 <id>http://www.zotero.org/styles/harvard-university-of-kent</id>
6 <link href="http://www.zotero.org/styles/harvard-university-of-kent" rel="self"/>
7 <link href="http://www.zotero.org/styles/harvard-cardiff-university-biosi" rel="template"/>
8 <link href="http://www.kent.ac.uk/ai/Harvard-Style-Guide-July-2014.pdf" rel="documentation"/>
9 <author>
10 <name>Sebastian Karcher</name>
11 </author>
12 <category citation-format="author-date"/>
13 <category field="generic-base"/>
14 <summary>The Harvard author-date style - adapted for the University of Kent</summary>
15 <updated>2012-09-27T22:06:38+00:00</updated>
16 <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
17 </info>
18 <macro name="editor">
19 <names variable="editor" delimiter=", ">
20 <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
21 <label form="short" prefix=" "/>
22 </names>
23 </macro>
24 <macro name="author">
25 <names variable="author">
26 <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
27 <label form="short" prefix=" "/>
28 <et-al font-style="italic"/>
29 <substitute>
30 <names variable="editor"/>
31 <text macro="title-substitute"/>
32 </substitute>
33 </names>
34 </macro>
35 <macro name="author-short">
36 <names variable="author">
37 <name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
38 <et-al font-style="italic"/>
39 <substitute>
40 <names variable="editor"/>
41 <text macro="title-substitute"/>
42 </substitute>
43 </names>
44 </macro>
45 <macro name="access">
46 <choose>
47 <if variable="URL">
48 <group delimiter=" ">
49 <group delimiter=": ">
50 <text term="available at" text-case="capitalize-first"/>
51 <text variable="URL"/>
52 </group>
53 <group prefix="[" suffix="]" delimiter=": ">
54 <text term="accessed" text-case="capitalize-first"/>
55 <date variable="accessed">
56 <date-part name="day" suffix=" "/>
57 <date-part name="month" suffix=" "/>
58 <date-part name="year"/>
59 </date>
60 </group>
61 </group>
62 </if>
63 </choose>
64 </macro>
65 <macro name="title">
66 <choose>
67 <if type="bill book graphic legal_case legislation motion_picture report song thesis webpage" match="any">
68 <text variable="title" font-style="italic" text-case="title"/>
69 </if>
70 <else>
71 <text variable="title"/>
72 </else>
73 </choose>
74 </macro>
75 <macro name="title-substitute">
76 <choose>
77 <if type="bill book graphic legal_case legislation motion_picture report song thesis webpage" match="any">
78 <text variable="title" font-style="italic" text-case="title"/>
79 </if>
80 <else-if type="broadcast">
81 <choose>
82 <if variable="container-title">
83 <text variable="title"/>
84 </if>
85 <else>
86 <text variable="title" font-style="italic"/>
87 </else>
88 </choose>
89 </else-if>
90 <else>
91 <text variable="title"/>
92 </else>
93 </choose>
94 </macro>
95 <macro name="publisher">
96 <choose>
97 <if type="thesis">
98 <text variable="publisher"/>
99 </if>
100 <else-if type="graphic">
101 <text variable="archive"/>
102 </else-if>
103 <else>
104 <group delimiter=": ">
105 <text variable="publisher-place"/>
106 <text variable="publisher"/>
107 </group>
108 </else>
109 </choose>
110 </macro>
111 <macro name="year-date">
112 <choose>
113 <if variable="issued">
114 <date variable="issued">
115 <date-part name="year"/>
116 </date>
117 </if>
118 <else>
119 <text term="no date" form="short"/>
120 </else>
121 </choose>
122 </macro>
123 <macro name="edition">
124 <choose>
125 <if is-numeric="edition">
126 <group delimiter=" ">
127 <number variable="edition" form="ordinal"/>
128 <text term="edition" form="short"/>
129 </group>
130 </if>
131 <else>
132 <text variable="edition" suffix="."/>
133 </else>
134 </choose>
135 </macro>
136 <macro name="online">
137 <choose>
138 <if variable="medium">
139 <text variable="medium" prefix="[" suffix="]"/>
140 </if>
141 <else-if variable="URL">
142 <text term="online" text-case="capitalize-first" prefix="[" suffix="]"/>
143 </else-if>
144 </choose>
145 </macro>
146 <macro name="broadcast-info">
147 <choose>
148 <if type="broadcast">
149 <group delimiter=". ">
150 <text variable="container-title" font-style="italic"/>
151 <text variable="number"/>
152 </group>
153 </if>
154 </choose>
155 </macro>
156 <macro name="pages">
157 <group>
158 <label variable="page" form="short" suffix=" "/>
159 <text variable="page"/>
160 </group>
161 </macro>
162 <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
163 <layout prefix="(" suffix=")" delimiter="; ">
164 <group delimiter=", ">
165 <group delimiter=" ">
166 <text macro="author-short"/>
167 <text macro="year-date"/>
168 </group>
169 <group>
170 <label variable="locator" form="short"/>
171 <text variable="locator"/>
172 </group>
173 </group>
174 </layout>
175 </citation>
176 <bibliography et-al-min="4" et-al-use-first="1" hanging-indent="true">
177 <sort>
178 <key macro="author"/>
179 <key variable="title"/>
180 </sort>
181 <layout suffix=".">
182 <text macro="author"/>
183 <date variable="issued" prefix=" (" suffix=").">
184 <date-part name="year"/>
185 </date>
186 <choose>
187 <if type="book broadcast graphic legal_case motion_picture report song" match="any">
188 <group prefix=" " delimiter=". " suffix=".">
189 <text macro="title"/>
190 <text macro="broadcast-info"/>
191 <text macro="online"/>
192 <group delimiter=" ">
193 <text term="volume" form="short" text-case="capitalize-first"/>
194 <text variable="volume"/>
195 </group>
196 <text macro="edition"/>
197 <text macro="editor"/>
198 <text variable="collection-title"/>
199 <text variable="collection-number" prefix="Number "/>
200 <text macro="publisher"/>
201 <text variable="dimensions"/>
202 </group>
203 </if>
204 <else-if type="chapter paper-conference" match="any">
205 <text macro="title" prefix=" " suffix="."/>
206 <group prefix=" " delimiter=" ">
207 <text term="in" text-case="capitalize-first" suffix=":"/>
208 <text macro="editor"/>
209 <text variable="container-title" font-style="italic" suffix="." text-case="title"/>
210 <text macro="edition"/>
211 <group suffix="." delimiter=", ">
212 <text macro="publisher"/>
213 <text macro="pages"/>
214 </group>
215 </group>
216 </else-if>
217 <else-if type="thesis">
218 <group prefix=" " delimiter=". " suffix=".">
219 <text macro="title"/>
220 <group delimiter=", ">
221 <text variable="genre"/>
222 <text macro="publisher"/>
223 </group>
224 </group>
225 </else-if>
226 <else-if type="webpage">
227 <group prefix=" " suffix=".">
228 <group delimiter=" " suffix=".">
229 <text macro="title"/>
230 <text macro="online"/>
231 </group>
232 <text macro="edition"/>
233 </group>
234 </else-if>
235 <else>
236 <group suffix=".">
237 <text macro="title" prefix=" "/>
238 <text macro="editor" prefix=" "/>
239 </group>
240 <group prefix=" " suffix=".">
241 <group delimiter=" ">
242 <text variable="container-title" font-style="italic"/>
243 <text macro="online"/>
244 </group>
245 <text variable="volume" font-weight="bold" prefix=" "/>
246 <text variable="page" prefix=":"/>
247 </group>
248 </else>
249 </choose>
250 <text prefix=". " macro="access" suffix="."/>
251 </layout>
252 </bibliography>
253</style>