git.iko.soy/typeable/pandoc
on 1.8.1 help sign in
typeable/pandoc/default.csl
369 lines 12 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" page-range-format="chicago">
3 <info>
4 <title>Chicago Manual of Style (Author-Date format)</title>
5 <id>http://www.zotero.org/styles/chicago-author-date</id>
6 <link href="http://www.zotero.org/styles/chicago-author-date" rel="self"/>
7 <author>
8 <name>Julian Onions</name>
9 <email>julian.onions@gmail.com</email>
10 </author>
11 <category citation-format="author-date"/>
12 <category field="generic-base"/>
13 <updated>2009-12-04T20:22:16+00:00</updated>
14 <summary>The author-date variant of the Chicago style</summary>
15 <link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
16 </info>
17 <macro name="secondary-contributors">
18 <choose>
19 <if match="none" type="chapter">
20 <group delimiter=". ">
21 <choose>
22 <if variable="author">
23 <names variable="editor">
24 <label form="verb-short" prefix=" " suffix=". " text-case="capitalize-first" />
25 <name and="text" delimiter=", " />
26 </names>
27 </if>
28 </choose>
29 <choose>
30 <if match="any" variable="author editor">
31 <names variable="translator">
32 <label form="verb-short" prefix=" " suffix=". " text-case="capitalize-first" />
33 <name and="text" delimiter=", " />
34 </names>
35 </if>
36 </choose>
37 </group>
38 </if>
39 </choose>
40 </macro>
41 <macro name="container-contributors">
42 <choose>
43 <if type="chapter">
44 <group delimiter=", " prefix=",">
45 <choose>
46 <if variable="author">
47 <names variable="editor">
48 <label form="verb-short" prefix=" " suffix=". " text-case="lowercase" />
49 <name and="text" delimiter=", " />
50 </names>
51 </if>
52 </choose>
53 <choose>
54 <if match="any" variable="author editor">
55 <names variable="translator">
56 <label form="verb-short" prefix=" " suffix=". " text-case="lowercase" />
57 <name and="text" delimiter=", " />
58 </names>
59 </if>
60 </choose>
61 </group>
62 </if>
63 </choose>
64 </macro>
65 <macro name="anon">
66 <choose>
67 <if match="none" variable="author editor translator">
68 <text form="short" term="anonymous" text-case="capitalize-first" />
69 </if>
70 </choose>
71 </macro>
72 <macro name="editor">
73 <names variable="editor">
74 <name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
75 <label form="short" prefix=", " suffix="." />
76 </names>
77 </macro>
78 <macro name="translator">
79 <names variable="translator">
80 <name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
81 <label form="verb-short" prefix=", " suffix="." />
82 </names>
83 </macro>
84 <macro name="recipient">
85 <choose>
86 <if type="personal_communication">
87 <choose>
88 <if variable="genre">
89 <text text-case="capitalize-first" variable="genre" />
90 </if>
91 <else>
92 <text term="letter" text-case="capitalize-first" />
93 </else>
94 </choose>
95 </if>
96 </choose>
97 <names delimiter=", " variable="recipient">
98 <label form="verb" prefix=" " suffix=" " text-case="lowercase" />
99 <name and="text" delimiter=", " />
100 </names>
101 </macro>
102 <macro name="contributors">
103 <names variable="author">
104 <name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
105 <label form="verb-short" prefix=", " suffix="." text-case="lowercase" />
106 <substitute>
107 <text macro="editor" />
108 <text macro="translator" />
109 </substitute>
110 </names>
111 <text macro="anon" />
112 <text macro="recipient" />
113 </macro>
114 <macro name="contributors-short">
115 <names variable="author">
116 <name and="text" delimiter=", " form="short" />
117 <substitute>
118 <names variable="editor" />
119 <names variable="translator" />
120 </substitute>
121 </names>
122 <text macro="anon" />
123 </macro>
124 <macro name="interviewer">
125 <names delimiter=", " variable="interviewer">
126 <label form="verb" prefix=" " suffix=" " text-case="capitalize-first" />
127 <name and="text" delimiter=", " />
128 </names>
129 </macro>
130 <macro name="archive">
131 <group delimiter=". ">
132 <text text-case="capitalize-first" variable="archive_location" />
133 <text variable="archive" />
134 <text variable="archive-place" />
135 </group>
136 </macro>
137 <macro name="access">
138 <group delimiter=". ">
139 <choose>
140 <if match="any" type="graphic report">
141 <text macro="archive" />
142 </if>
143 <else-if match="none" type="book thesis chapter article-journal article-newspaper article-magazine">
144 <text macro="archive" />
145 </else-if>
146 </choose>
147 <text prefix="doi:" variable="DOI" />
148 <text variable="URL" />
149 </group>
150 </macro>
151 <macro name="title">
152 <choose>
153 <if match="none" variable="title">
154 <choose>
155 <if match="none" type="personal_communication">
156 <text text-case="capitalize-first" variable="genre" />
157 </if>
158 </choose>
159 </if>
160 <else-if type="book">
161 <text font-style="italic" variable="title" />
162 </else-if>
163 <else>
164 <text variable="title" />
165 </else>
166 </choose>
167 </macro>
168 <macro name="edition">
169 <choose>
170 <if match="any" type="book chapter">
171 <choose>
172 <if is-numeric="edition">
173 <group delimiter=" ">
174 <number form="ordinal" variable="edition" />
175 <text form="short" suffix="." term="edition" />
176 </group>
177 </if>
178 <else>
179 <text suffix="." variable="edition" />
180 </else>
181 </choose>
182 </if>
183 </choose>
184 </macro>
185 <macro name="locators">
186 <choose>
187 <if type="article-journal">
188 <text prefix=" " variable="volume" />
189 <text prefix=", no. " variable="issue" />
190 </if>
191 <else-if type="book">
192 <group delimiter=". " prefix=". ">
193 <group>
194 <text form="short" suffix=". " term="volume" text-case="capitalize-first" />
195 <number form="numeric" variable="volume" />
196 </group>
197 <group>
198 <number form="numeric" variable="number-of-volumes" />
199 <text form="short" plural="true" prefix=" " suffix="." term="volume" />
200 </group>
201 </group>
202 </else-if>
203 </choose>
204 </macro>
205 <macro name="locators-chapter">
206 <choose>
207 <if type="chapter">
208 <group prefix=", ">
209 <text suffix=":" variable="volume" />
210 <text variable="page" />
211 </group>
212 </if>
213 </choose>
214 </macro>
215 <macro name="locators-article">
216 <choose>
217 <if type="article-newspaper">
218 <group delimiter=", " prefix=", ">
219 <group>
220 <text suffix=" " variable="edition" />
221 <text prefix=" " term="edition" />
222 </group>
223 <group>
224 <text form="short" suffix=". " term="section" />
225 <text variable="section" />
226 </group>
227 </group>
228 </if>
229 <else-if type="article-journal">
230 <text prefix=": " variable="page" />
231 </else-if>
232 </choose>
233 </macro>
234 <macro name="point-locators">
235 <group>
236 <choose>
237 <if locator="page" match="none">
238 <label form="short" suffix=" " variable="locator" />
239 </if>
240 </choose>
241 <text variable="locator" />
242 </group>
243 </macro>
244 <macro name="container-prefix">
245 <text term="in" text-case="capitalize-first" />
246 </macro>
247 <macro name="container-title">
248 <choose>
249 <if type="chapter">
250 <text macro="container-prefix" suffix=" " />
251 </if>
252 </choose>
253 <text font-style="italic" variable="container-title" />
254 </macro>
255 <macro name="publisher">
256 <group delimiter=": ">
257 <text variable="publisher-place" />
258 <text variable="publisher" />
259 </group>
260 </macro>
261 <macro name="date">
262 <date variable="issued">
263 <date-part name="year" />
264 </date>
265 </macro>
266 <macro name="day-month">
267 <date variable="issued">
268 <date-part name="month" />
269 <date-part name="day" prefix=" " />
270 </date>
271 </macro>
272 <macro name="collection-title">
273 <text variable="collection-title" />
274 <text prefix=" " variable="collection-number" />
275 </macro>
276 <macro name="event">
277 <group>
278 <text suffix=" " term="presented at" />
279 <text variable="event" />
280 </group>
281 </macro>
282 <macro name="description">
283 <group delimiter=". ">
284 <text macro="interviewer" />
285 <text text-case="capitalize-first" variable="medium" />
286 </group>
287 <choose>
288 <if match="none" variable="title"> </if>
289 <else-if type="thesis"> </else-if>
290 <else>
291 <text prefix=". " text-case="capitalize-first" variable="genre" />
292 </else>
293 </choose>
294 </macro>
295 <macro name="issue">
296 <choose>
297 <if type="article-journal">
298 <text macro="day-month" prefix=" (" suffix=")" />
299 </if>
300 <else-if type="speech">
301 <group delimiter=", " prefix=" ">
302 <text macro="event" />
303 <text macro="day-month" />
304 <text variable="event-place" />
305 </group>
306 </else-if>
307 <else-if match="any" type="article-newspaper article-magazine">
308 <text macro="day-month" prefix=", " />
309 </else-if>
310 <else>
311 <group delimiter=", " prefix=". ">
312 <choose>
313 <if type="thesis">
314 <text text-case="capitalize-first" variable="genre" />
315 </if>
316 </choose>
317 <text macro="publisher" />
318 <text macro="day-month" />
319 </group>
320 </else>
321 </choose>
322 </macro>
323 <citation
324 disambiguate-add-givenname="true"
325 disambiguate-add-names="true"
326 disambiguate-add-year-suffix="true"
327 et-al-min="4"
328 et-al-subsequent-min="4"
329 et-al-subsequent-use-first="1"
330 et-al-use-first="1">
331 <layout delimiter="; " prefix="(" suffix=")">
332 <group delimiter=", ">
333 <group delimiter=" ">
334 <text macro="contributors-short" />
335 <text macro="date" />
336 </group>
337 <text macro="point-locators" />
338 </group>
339 </layout>
340 </citation>
341 <bibliography
342 entry-spacing="0"
343 et-al-min="11"
344 et-al-use-first="7"
345 hanging-indent="true"
346 subsequent-author-substitute="---">
347 <sort>
348 <key macro="contributors" />
349 <key variable="issued" />
350 <key variable="title" />
351 </sort>
352 <layout suffix=".">
353 <text macro="contributors" suffix=". " />
354 <text macro="date" suffix=". " />
355 <text macro="title" />
356 <text macro="description" />
357 <text macro="secondary-contributors" prefix=". " />
358 <text macro="container-title" prefix=". " />
359 <text macro="container-contributors" />
360 <text macro="locators-chapter" />
361 <text macro="edition" prefix=". " />
362 <text macro="locators" />
363 <text macro="collection-title" prefix=". " />
364 <text macro="issue" />
365 <text macro="locators-article" />
366 <text macro="access" prefix=". " />
367 </layout>
368 </bibliography>
369</style>