Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 624 lines (623 sloc) 20.664 kb
bdd98f5 @bdarcus initial commit
bdarcus authored
1 <?xml version="1.0" encoding="utf-8"?>
2407262 @adam3smith fix page range format and dates for journal articles in Chicago author-d...
adam3smith authored
2 <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never" page-range-format="chicago">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
3 <info>
362eca1 @rmzelle Add edition to popular styles
rmzelle authored
4 <title>Chicago Manual of Style 16th edition (author-date)</title>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
5 <id>http://www.zotero.org/styles/chicago-author-date</id>
6 <link href="http://www.zotero.org/styles/chicago-author-date" rel="self"/>
27041e5 @rmzelle Reorder elements in cs:info section, using csl-reorder-info2.py from uti...
rmzelle authored
7 <link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
8 <author>
9 <name>Julian Onions</name>
10 <email>julian.onions@gmail.com</email>
11 </author>
12 <contributor>
13 <name>Sebastian Karcher</name>
14 </contributor>
6591b78 Fix comma space prefix, per http://forums.zotero.org/discussion/25121
Richard Karnesky authored
15 <contributor>
16 <name>Richard Karnesky</name>
17 <email>karnesky+zotero@gmail.com</email>
18 <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
19 </contributor>
b9b78fc @adunning Update title and access macros from fullnote.
adunning authored
20 <contributor>
21 <name>Andrew Dunning</name>
22 <email>andrew.dunning@utoronto.ca</email>
23 </contributor>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
24 <category citation-format="author-date"/>
25 <category field="generic-base"/>
26 <summary>The author-date variant of the Chicago style</summary>
b1ab610 @nickbart1980 Fix for items with both title and reviewed-title
nickbart1980 authored
27 <updated>2015-04-06T20:30:00+00:00</updated>
becab91 @rmzelle Update to use "license" attribute on cs:rights.
rmzelle authored
28 <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
29 </info>
4c6bfa4 @adam3smith add locale to custom terms for Chicago author-date. I'm puzzled this has...
adam3smith authored
30 <locale xml:lang="en">
88c78ae @rmzelle Add verb-short terms that might change in "en-US" and "en-GB" locale fil...
rmzelle authored
31 <terms>
32 <term name="editor" form="verb-short">ed.</term>
b3c648d @adam3smith several small fixes to CMOS author date - change position of edition for...
adam3smith authored
33 <term name="container-author" form="verb">by</term>
88c78ae @rmzelle Add verb-short terms that might change in "en-US" and "en-GB" locale fil...
rmzelle authored
34 <term name="translator" form="verb-short">trans.</term>
da2d343 @adam3smith change edited & translated to edited and translated in all Chicago style...
adam3smith authored
35 <term name="editortranslator" form="verb">
36 <single>edited and translated by</single>
37 <multiple>edited and translated by</multiple>
38 </term>
70d57f9 @adam3smith Chicago Manual: fix page-range duplication for book sections of books wi...
adam3smith authored
39 <term name="translator" form="short">trans.</term>
88c78ae @rmzelle Add verb-short terms that might change in "en-US" and "en-GB" locale fil...
rmzelle authored
40 </terms>
41 </locale>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
42 <macro name="secondary-contributors">
43 <choose>
44 <if type="chapter paper-conference" match="none">
8751c61 @nickbart1980 Add "director" as separate element to "secondary-contributors"
nickbart1980 authored
45 <group delimiter=". ">
46 <names variable="editor translator" delimiter=". ">
47 <label form="verb" text-case="capitalize-first" suffix=" "/>
48 <name and="text" delimiter=", "/>
49 </names>
50 <names variable="director" delimiter=". ">
51 <label form="verb" text-case="capitalize-first" suffix=" "/>
52 <name and="text" delimiter=", "/>
53 </names>
54 </group>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
55 </if>
56 </choose>
57 </macro>
7844e3a @rmzelle Reindent/reorder
rmzelle authored
58 <macro name="container-contributors">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
59 <choose>
60 <if type="chapter paper-conference" match="any">
6591b78 Fix comma space prefix, per http://forums.zotero.org/discussion/25121
Richard Karnesky authored
61 <group prefix=", " delimiter=", ">
f90694c @adam3smith add translator for book chapters in Chicago author date
adam3smith authored
62 <names variable="container-author" delimiter=", ">
b30e4a8 @adunning Use plural abbreviation 'eds.' in CMoS author-date
adunning authored
63 <label form="verb" suffix=" "/>
f90694c @adam3smith add translator for book chapters in Chicago author date
adam3smith authored
64 <name and="text" delimiter=", "/>
65 </names>
66 <names variable="editor translator" delimiter=", ">
b30e4a8 @adunning Use plural abbreviation 'eds.' in CMoS author-date
adunning authored
67 <label form="verb" suffix=" "/>
7844e3a @rmzelle Reindent/reorder
rmzelle authored
68 <name and="text" delimiter=", "/>
69 </names>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
70 </group>
71 </if>
72 </choose>
73 </macro>
74 <macro name="editor">
75 <names variable="editor">
76 <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
d40b12e @adam3smith cleans up CMoS author-date, fixes items w/o author.
adam3smith authored
77 <label form="short" prefix=", "/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
78 </names>
79 </macro>
80 <macro name="translator">
81 <names variable="translator">
82 <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
b30e4a8 @adunning Use plural abbreviation 'eds.' in CMoS author-date
adunning authored
83 <label form="short" prefix=", "/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
84 </names>
85 </macro>
86 <macro name="recipient">
87 <choose>
88 <if type="personal_communication">
89 <choose>
90 <if variable="genre">
91 <text variable="genre" text-case="capitalize-first"/>
92 </if>
93 <else>
94 <text term="letter" text-case="capitalize-first"/>
95 </else>
96 </choose>
97 </if>
98 </choose>
99 <names variable="recipient" delimiter=", ">
100 <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
101 <name and="text" delimiter=", "/>
102 </names>
103 </macro>
c0e46ed @nickbart1980 Added <macro name="substitute-title"> for unsigned articles
nickbart1980 authored
104 <macro name="substitute-title">
105 <choose>
80c520c @adunning Do not substitute title for journal articles.
adunning authored
106 <if type="article-magazine article-newspaper review review-book" match="any">
c547982 @rmzelle Reindent/reorder
rmzelle authored
107 <text macro="container-title"/>
c0e46ed @nickbart1980 Added <macro name="substitute-title"> for unsigned articles
nickbart1980 authored
108 </if>
109 </choose>
110 </macro>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
111 <macro name="contributors">
ab7675a @adam3smith fix letter in Chicago author-date
adam3smith authored
112 <group delimiter=". ">
113 <names variable="author">
114 <name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
b30e4a8 @adunning Use plural abbreviation 'eds.' in CMoS author-date
adunning authored
115 <label form="short" prefix=", "/>
ab7675a @adam3smith fix letter in Chicago author-date
adam3smith authored
116 <substitute>
117 <names variable="editor"/>
118 <names variable="translator"/>
c0e46ed @nickbart1980 Added <macro name="substitute-title"> for unsigned articles
nickbart1980 authored
119 <text macro="substitute-title"/>
f5a0a0d @nickbart1980 Moved <text macro="title"/>
nickbart1980 authored
120 <text macro="title"/>
ab7675a @adam3smith fix letter in Chicago author-date
adam3smith authored
121 </substitute>
122 </names>
123 <text macro="recipient"/>
124 </group>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
125 </macro>
126 <macro name="contributors-short">
127 <names variable="author">
128 <name form="short" and="text" delimiter=", " initialize-with=". "/>
129 <substitute>
130 <names variable="editor"/>
131 <names variable="translator"/>
c0e46ed @nickbart1980 Added <macro name="substitute-title"> for unsigned articles
nickbart1980 authored
132 <text macro="substitute-title"/>
f5a0a0d @nickbart1980 Moved <text macro="title"/>
nickbart1980 authored
133 <text macro="title"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
134 </substitute>
135 </names>
136 </macro>
137 <macro name="interviewer">
138 <names variable="interviewer" delimiter=", ">
139 <label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
140 <name and="text" delimiter=", "/>
141 </names>
142 </macro>
143 <macro name="archive">
144 <group delimiter=". ">
145 <text variable="archive_location" text-case="capitalize-first"/>
146 <text variable="archive"/>
147 <text variable="archive-place"/>
148 </group>
149 </macro>
150 <macro name="access">
151 <group delimiter=". ">
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
152 <choose>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
153 <if type="graphic report" match="any">
154 <text macro="archive"/>
155 </if>
b9b78fc @adunning Update title and access macros from fullnote.
adunning authored
156 <else-if type="article-journal bill book chapter legal_case legislation motion_picture paper-conference" match="none">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
157 <text macro="archive"/>
158 </else-if>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
159 </choose>
bdd98f5 @bdarcus initial commit
bdarcus authored
160 <choose>
683ca95 @adam3smith add month and day back for Chicago author-date
adam3smith authored
161 <if type="webpage post-weblog" match="any">
162 <date variable="issued" delimiter=" ">
163 <date-part name="month"/>
164 <date-part name="day"/>
165 </date>
166 </if>
167 </choose>
168 <choose>
b9b78fc @adunning Update title and access macros from fullnote.
adunning authored
169 <if variable="issued" match="none">
170 <group delimiter=" ">
171 <text term="accessed" text-case="capitalize-first"/>
172 <date variable="accessed" delimiter=" ">
173 <date-part name="month"/>
174 <date-part name="day"/>
175 </date>
176 </group>
01e311d @rmzelle Reindent, lowercase Journal of Dairy Science style file name.
rmzelle authored
177 </if>
9d8cb62 @adam3smith adjust accessed date treatment and add version for computer program to C...
adam3smith authored
178 </choose>
179 <choose>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
180 <if type="legal_case" match="none">
b9b78fc @adunning Update title and access macros from fullnote.
adunning authored
181 <choose>
182 <if variable="DOI">
183 <text variable="DOI" prefix="doi:"/>
184 </if>
185 <else>
186 <text variable="URL"/>
187 </else>
188 </choose>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
189 </if>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
190 </choose>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
191 </group>
192 </macro>
193 <macro name="title">
194 <choose>
195 <if variable="title" match="none">
196 <choose>
197 <if type="personal_communication" match="none">
198 <text variable="genre" text-case="capitalize-first"/>
199 </if>
200 </choose>
201 </if>
b9b78fc @adunning Update title and access macros from fullnote.
adunning authored
202 <else-if type="bill book graphic legislation motion_picture report song" match="any">
f04b399 @adam3smith add title case to all Chicago styles
adam3smith authored
203 <text variable="title" text-case="title" font-style="italic"/>
b9b78fc @adunning Update title and access macros from fullnote.
adunning authored
204 <group prefix=" (" suffix=")" delimiter=" ">
205 <text term="version"/>
206 <text variable="version"/>
207 </group>
208 </else-if>
209 <else-if variable="reviewed-author">
b1ab610 @nickbart1980 Fix for items with both title and reviewed-title
nickbart1980 authored
210 <choose>
211 <if variable="reviewed-title">
212 <group delimiter=". ">
213 <text variable="title" text-case="title" quotes="true"/>
214 <group delimiter=", ">
215 <text variable="reviewed-title" font-style="italic" prefix="Review of "/>
216 <names variable="reviewed-author">
217 <label form="verb-short" text-case="lowercase" suffix=" "/>
218 <name and="text" delimiter=", "/>
219 </names>
220 </group>
221 </group>
222 </if>
223 <else>
224 <group delimiter=", ">
225 <text variable="title" font-style="italic" prefix="Review of "/>
226 <names variable="reviewed-author">
227 <label form="verb-short" text-case="lowercase" suffix=" "/>
228 <name and="text" delimiter=", "/>
229 </names>
230 </group>
231 </else>
232 </choose>
b9b78fc @adunning Update title and access macros from fullnote.
adunning authored
233 </else-if>
234 <else-if type="legal_case interview" match="any">
235 <text variable="title"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
236 </else-if>
237 <else>
f04b399 @adam3smith add title case to all Chicago styles
adam3smith authored
238 <text variable="title" text-case="title" quotes="true"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
239 </else>
240 </choose>
241 </macro>
242 <macro name="edition">
243 <choose>
b3c648d @adam3smith several small fixes to CMOS author date - change position of edition for...
adam3smith authored
244 <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
245 <choose>
246 <if is-numeric="edition">
25a6487 @rmzelle Reindent/reorder.
rmzelle authored
247 <group delimiter=" " prefix=". ">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
248 <number variable="edition" form="ordinal"/>
7d4f539 @adam3smith fix editor-translator and potential double-period after edition for Chic...
adam3smith authored
249 <text term="edition" form="short" strip-periods="true"/>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
250 </group>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
251 </if>
252 <else>
b3c648d @adam3smith several small fixes to CMOS author date - change position of edition for...
adam3smith authored
253 <text variable="edition" prefix=". "/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
254 </else>
255 </choose>
256 </if>
b1ab610 @nickbart1980 Fix for items with both title and reviewed-title
nickbart1980 authored
257 <else-if type="chapter paper-conference" match="any">
25a6487 @rmzelle Reindent/reorder.
rmzelle authored
258 <choose>
b3c648d @adam3smith several small fixes to CMOS author date - change position of edition for...
adam3smith authored
259 <if is-numeric="edition">
25a6487 @rmzelle Reindent/reorder.
rmzelle authored
260 <group delimiter=" " prefix=", ">
b3c648d @adam3smith several small fixes to CMOS author date - change position of edition for...
adam3smith authored
261 <number variable="edition" form="ordinal"/>
25a6487 @rmzelle Reindent/reorder.
rmzelle authored
262 <text term="edition" form="short"/>
b3c648d @adam3smith several small fixes to CMOS author date - change position of edition for...
adam3smith authored
263 </group>
264 </if>
265 <else>
266 <text variable="edition" prefix=", "/>
267 </else>
268 </choose>
269 </else-if>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
270 </choose>
271 </macro>
272 <macro name="locators">
273 <choose>
274 <if type="article-journal">
dfd7a5e @adam3smith update handling of journal articles with no volume in all CMoS styles
adam3smith authored
275 <choose>
276 <if variable="volume">
277 <text variable="volume" prefix=" "/>
278 <group prefix=" (" suffix=")">
279 <choose>
280 <if variable="issue">
281 <text variable="issue"/>
282 </if>
283 <else>
284 <date variable="issued">
285 <date-part name="month"/>
286 </date>
287 </else>
288 </choose>
289 </group>
290 </if>
291 <else-if variable="issue">
292 <group delimiter=" " prefix=", ">
293 <text term="issue" form="short"/>
294 <text variable="issue"/>
295 <date variable="issued" prefix="(" suffix=")">
296 <date-part name="month"/>
297 </date>
298 </group>
299 </else-if>
300 <else>
301 <date variable="issued" prefix=", ">
302 <date-part name="month"/>
303 </date>
304 </else>
305 </choose>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
306 </if>
307 <else-if type="legal_case">
308 <text variable="volume" prefix=", "/>
309 <text variable="container-title" prefix=" "/>
310 <text variable="page" prefix=" "/>
311 </else-if>
b0256fd @fbennett Sort modified attribute value lists alphabetically.
fbennett authored
312 <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
313 <group prefix=". " delimiter=". ">
314 <group>
d40b12e @adam3smith cleans up CMoS author-date, fixes items w/o author.
adam3smith authored
315 <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
316 <number variable="volume" form="numeric"/>
317 </group>
318 <group>
319 <number variable="number-of-volumes" form="numeric"/>
c1bc90d @rmzelle Reindent independents.
rmzelle authored
320 <text term="volume" form="short" prefix=" " plural="true"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
321 </group>
322 </group>
323 </else-if>
324 <else-if type="chapter paper-conference" match="any">
325 <choose>
326 <if variable="page" match="none">
327 <group prefix=". ">
d40b12e @adam3smith cleans up CMoS author-date, fixes items w/o author.
adam3smith authored
328 <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
329 <number variable="volume" form="numeric"/>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
330 </group>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
331 </if>
332 </choose>
333 </else-if>
334 </choose>
335 </macro>
336 <macro name="locators-chapter">
337 <choose>
338 <if type="chapter paper-conference" match="any">
339 <choose>
340 <if variable="page">
341 <group prefix=", ">
342 <text variable="volume" suffix=":"/>
343 <text variable="page"/>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
344 </group>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
345 </if>
346 </choose>
347 </if>
348 </choose>
349 </macro>
350 <macro name="locators-article">
351 <choose>
352 <if type="article-newspaper">
353 <group prefix=", " delimiter=", ">
9296927 @zuphilip Delete adjacent spaces in edition/edition pattern
zuphilip authored
354 <group delimiter=" ">
355 <text variable="edition"/>
356 <text term="edition"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
357 </group>
358 <group>
d40b12e @adam3smith cleans up CMoS author-date, fixes items w/o author.
adam3smith authored
359 <text term="section" form="short" suffix=" "/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
360 <text variable="section"/>
361 </group>
362 </group>
363 </if>
364 <else-if type="article-journal">
dfd7a5e @adam3smith update handling of journal articles with no volume in all CMoS styles
adam3smith authored
365 <choose>
366 <if variable="volume issue" match="any">
367 <text variable="page" prefix=": "/>
368 </if>
369 <else>
370 <text variable="page" prefix=", "/>
371 </else>
372 </choose>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
373 </else-if>
374 </choose>
375 </macro>
376 <macro name="point-locators">
377 <choose>
378 <if variable="locator">
379 <choose>
380 <if locator="page" match="none">
381 <choose>
b0256fd @fbennett Sort modified attribute value lists alphabetically.
fbennett authored
382 <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
383 <choose>
384 <if variable="volume">
385 <group>
c1bc90d @rmzelle Reindent independents.
rmzelle authored
386 <text term="volume" form="short" suffix=" "/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
387 <number variable="volume" form="numeric"/>
388 <label variable="locator" form="short" prefix=", " suffix=" "/>
389 </group>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
390 </if>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
391 <else>
392 <label variable="locator" form="short" suffix=" "/>
393 </else>
394 </choose>
395 </if>
4aee784 @fbennett Non-page locator labels for all types in Chicago author-date as well, an...
fbennett authored
396 <else>
397 <label variable="locator" form="short" suffix=" "/>
398 </else>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
399 </choose>
400 </if>
b0256fd @fbennett Sort modified attribute value lists alphabetically.
fbennett authored
401 <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
402 <number variable="volume" form="numeric" suffix=":"/>
403 </else-if>
404 </choose>
405 <text variable="locator"/>
406 </if>
407 </choose>
408 </macro>
409 <macro name="container-prefix">
410 <text term="in" text-case="capitalize-first"/>
411 </macro>
412 <macro name="container-title">
413 <choose>
414 <if type="chapter paper-conference" match="any">
415 <text macro="container-prefix" suffix=" "/>
416 </if>
417 </choose>
418 <choose>
419 <if type="legal_case" match="none">
f04b399 @adam3smith add title case to all Chicago styles
adam3smith authored
420 <text variable="container-title" text-case="title" font-style="italic"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
421 </if>
422 </choose>
423 </macro>
424 <macro name="publisher">
425 <group delimiter=": ">
426 <text variable="publisher-place"/>
427 <text variable="publisher"/>
428 </group>
429 </macro>
430 <macro name="date">
9d8cb62 @adam3smith adjust accessed date treatment and add version for computer program to C...
adam3smith authored
431 <choose>
432 <if variable="issued">
2327c1e @adam3smith fix indenting
adam3smith authored
433 <group delimiter=" ">
434 <date variable="original-date" form="text" date-parts="year" prefix="(" suffix=")"/>
435 <date variable="issued">
436 <date-part name="year"/>
437 </date>
438 </group>
9d8cb62 @adam3smith adjust accessed date treatment and add version for computer program to C...
adam3smith authored
439 </if>
440 <else-if variable="accessed">
01e311d @rmzelle Reindent, lowercase Journal of Dairy Science style file name.
rmzelle authored
441 <date variable="accessed">
442 <date-part name="year"/>
443 </date>
9d8cb62 @adam3smith adjust accessed date treatment and add version for computer program to C...
adam3smith authored
444 </else-if>
2327c1e @adam3smith fix indenting
adam3smith authored
445 <else-if variable="status">
446 <text variable="status" text-case="capitalize-first"/>
447 </else-if>
448 <else>
449 <text term="no date" form="short"/>
450 </else>
9d8cb62 @adam3smith adjust accessed date treatment and add version for computer program to C...
adam3smith authored
451 </choose>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
452 </macro>
a83bbf6 @adam3smith add Chicago author-date with original date and status
adam3smith authored
453 <macro name="date-in-text">
454 <choose>
455 <if variable="issued">
2327c1e @adam3smith fix indenting
adam3smith authored
456 <group delimiter=" ">
457 <date variable="original-date" form="text" date-parts="year" prefix="[" suffix="]"/>
458 <date variable="issued">
459 <date-part name="year"/>
460 </date>
461 </group>
a83bbf6 @adam3smith add Chicago author-date with original date and status
adam3smith authored
462 </if>
463 <else-if variable="accessed">
464 <date variable="accessed">
465 <date-part name="year"/>
466 </date>
467 </else-if>
2327c1e @adam3smith fix indenting
adam3smith authored
468 <else-if variable="status">
469 <text variable="status"/>
470 </else-if>
471 <else>
472 <text term="no date" form="short"/>
473 </else>
a83bbf6 @adam3smith add Chicago author-date with original date and status
adam3smith authored
474 </choose>
475 </macro>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
476 <macro name="day-month">
477 <date variable="issued">
478 <date-part name="month"/>
479 <date-part name="day" prefix=" "/>
480 </date>
481 </macro>
482 <macro name="collection-title">
ddc625d @adunning Fix display of journal series.
adunning authored
483 <choose>
484 <if match="none" type="article-journal">
485 <choose>
486 <if match="none" is-numeric="collection-number">
487 <group delimiter=", ">
488 <text variable="collection-title" text-case="title"/>
489 <text variable="collection-number"/>
490 </group>
491 </if>
492 <else>
493 <group delimiter=" ">
494 <text variable="collection-title" text-case="title"/>
495 <text variable="collection-number"/>
496 </group>
497 </else>
498 </choose>
499 </if>
500 </choose>
501 </macro>
502 <macro name="collection-title-journal">
503 <choose>
504 <if type="article-journal">
505 <group delimiter=" ">
506 <text variable="collection-title"/>
507 <text variable="collection-number"/>
508 </group>
509 </if>
510 </choose>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
511 </macro>
512 <macro name="event">
513 <group>
514 <text term="presented at" suffix=" "/>
515 <text variable="event"/>
516 </group>
517 </macro>
518 <macro name="description">
519 <choose>
520 <if type="interview">
521 <group delimiter=". ">
522 <text macro="interviewer"/>
523 <text variable="medium" text-case="capitalize-first"/>
524 </group>
525 </if>
526 <else>
527 <text variable="medium" text-case="capitalize-first" prefix=". "/>
528 </else>
529 </choose>
530 <choose>
531 <if variable="title" match="none"/>
8c9d068 @adam3smith fix presentation date placement for Chicago author-date
adam3smith authored
532 <else-if type="thesis personal_communication speech" match="any"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
533 <else>
d2b0bc4 @adam3smith fix report number and change report title to quotes which better reflect...
adam3smith authored
534 <group delimiter=" " prefix=". ">
dff34a5 @rmzelle Reindent/reorder
rmzelle authored
535 <text variable="genre" text-case="capitalize-first"/>
25a6487 @rmzelle Reindent/reorder.
rmzelle authored
536 <choose>
537 <if type="report">
538 <text variable="number"/>
539 </if>
540 </choose>
541 </group>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
542 </else>
543 </choose>
544 </macro>
545 <macro name="issue">
546 <choose>
2407262 @adam3smith fix page range format and dates for journal articles in Chicago author-d...
adam3smith authored
547 <if type="legal_case">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
548 <text variable="authority" prefix=". "/>
2407262 @adam3smith fix page range format and dates for journal articles in Chicago author-d...
adam3smith authored
549 </if>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
550 <else-if type="speech">
8c9d068 @adam3smith fix presentation date placement for Chicago author-date
adam3smith authored
551 <group prefix=". " delimiter=", ">
552 <group delimiter=" ">
553 <text variable="genre" text-case="capitalize-first"/>
554 <text macro="event"/>
555 </group>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
556 <text variable="event-place"/>
8c9d068 @adam3smith fix presentation date placement for Chicago author-date
adam3smith authored
557 <text macro="day-month"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
558 </group>
559 </else-if>
ab7675a @adam3smith fix letter in Chicago author-date
adam3smith authored
560 <else-if type="article-newspaper article-magazine personal_communication" match="any">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
561 <text macro="day-month" prefix=", "/>
562 </else-if>
563 <else>
564 <group prefix=". " delimiter=", ">
565 <choose>
566 <if type="thesis">
567 <text variable="genre" text-case="capitalize-first"/>
568 </if>
569 </choose>
570 <text macro="publisher"/>
571 </group>
572 </else>
573 </choose>
574 </macro>
575 <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name">
576 <layout prefix="(" suffix=")" delimiter="; ">
577 <group delimiter=", ">
2327c1e @adam3smith fix indenting
adam3smith authored
578 <choose>
579 <if variable="issued accessed" match="any">
580 <group delimiter=" ">
581 <text macro="contributors-short"/>
582 <text macro="date-in-text"/>
583 </group>
584 </if>
585 <!---comma before forthcoming and n.d.-->
586 <else>
587 <group delimiter=", ">
588 <text macro="contributors-short"/>
589 <text macro="date-in-text"/>
590 </group>
591 </else>
592 </choose>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
593 <text macro="point-locators"/>
594 </group>
595 </layout>
596 </citation>
75db5f9 @rmzelle Escape a few more unicode characters.
rmzelle authored
597 <bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="&#8212;&#8212;&#8212;" entry-spacing="0">
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
598 <sort>
599 <key macro="contributors"/>
600 <key variable="issued"/>
9b1a463 @nickbart1980 Same author, same year: sort by title
nickbart1980 authored
601 <key variable="title"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
602 </sort>
603 <layout suffix=".">
d40b12e @adam3smith cleans up CMoS author-date, fixes items w/o author.
adam3smith authored
604 <group delimiter=". ">
c1bc90d @rmzelle Reindent independents.
rmzelle authored
605 <text macro="contributors"/>
606 <text macro="date"/>
607 <text macro="title"/>
d40b12e @adam3smith cleans up CMoS author-date, fixes items w/o author.
adam3smith authored
608 </group>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
609 <text macro="description"/>
610 <text macro="secondary-contributors" prefix=". "/>
611 <text macro="container-title" prefix=". "/>
612 <text macro="container-contributors"/>
b3c648d @adam3smith several small fixes to CMOS author date - change position of edition for...
adam3smith authored
613 <text macro="edition"/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
614 <text macro="locators-chapter"/>
ddc625d @adunning Fix display of journal series.
adunning authored
615 <text macro="collection-title-journal" prefix=", " suffix=", "/>
a94efbc @rmzelle Pretty print a few more styles.
rmzelle authored
616 <text macro="locators"/>
617 <text macro="collection-title" prefix=". "/>
618 <text macro="issue"/>
619 <text macro="locators-article"/>
620 <text macro="access" prefix=". "/>
621 </layout>
622 </bibliography>
623 </style>
Something went wrong with that request. Please try again.