Initial import
[jpf-core.git] / doc / papers / chicago-author-date.csl
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="never" page-range-format="chicago">
3   <info>
4     <title>Chicago Manual of Style 16th edition (author-date)</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     <link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
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>
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>
20     <contributor>
21       <name>Andrew Dunning</name>
22       <email>andrew.dunning@utoronto.ca</email>
23     </contributor>
24     <category citation-format="author-date"/>
25     <category field="generic-base"/>
26     <summary>The author-date variant of the Chicago style</summary>
27     <updated>2014-05-23T03:53:32+00:00</updated>
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>
29   </info>
30   <locale xml:lang="en">
31     <terms>
32       <term name="editor" form="verb-short">ed.</term>
33       <term name="container-author" form="verb">by</term>
34       <term name="translator" form="verb-short">trans.</term>
35       <term name="editortranslator" form="verb">
36         <single>edited and translated by</single>
37         <multiple>edited and translated by</multiple>
38       </term>
39       <term name="translator" form="short">trans.</term>
40     </terms>
41   </locale>
42   <macro name="secondary-contributors">
43     <choose>
44       <if type="chapter paper-conference" match="none">
45         <names variable="editor translator" delimiter=". ">
46           <label form="verb" text-case="capitalize-first" suffix=" "/>
47           <name and="text" delimiter=", "/>
48         </names>
49       </if>
50     </choose>
51   </macro>
52   <macro name="container-contributors">
53     <choose>
54       <if type="chapter paper-conference" match="any">
55         <group prefix=", " delimiter=", ">
56           <names variable="container-author" delimiter=", ">
57             <label form="verb" suffix=" "/>
58             <name and="text" delimiter=", "/>
59           </names>
60           <names variable="editor translator" delimiter=", ">
61             <label form="verb" suffix=" "/>
62             <name and="text" delimiter=", "/>
63           </names>
64         </group>
65       </if>
66     </choose>
67   </macro>
68   <macro name="editor">
69     <names variable="editor">
70       <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
71       <label form="short" prefix=", "/>
72     </names>
73   </macro>
74   <macro name="translator">
75     <names variable="translator">
76       <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
77       <label form="short" prefix=", "/>
78     </names>
79   </macro>
80   <macro name="recipient">
81     <choose>
82       <if type="personal_communication">
83         <choose>
84           <if variable="genre">
85             <text variable="genre" text-case="capitalize-first"/>
86           </if>
87           <else>
88             <text term="letter" text-case="capitalize-first"/>
89           </else>
90         </choose>
91       </if>
92     </choose>
93     <names variable="recipient" delimiter=", ">
94       <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
95       <name and="text" delimiter=", "/>
96     </names>
97   </macro>
98   <macro name="substitute-title">
99     <choose>
100       <if type="article-journal article-magazine article-newspaper review review-book" match="any">
101         <text macro="container-title"/>
102       </if>
103     </choose>
104   </macro>
105   <macro name="contributors">
106     <group delimiter=". ">
107       <names variable="author">
108         <name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
109         <label form="short" prefix=", "/>
110         <substitute>
111           <names variable="editor"/>
112           <names variable="translator"/>
113           <text macro="substitute-title"/>
114           <text macro="title"/>
115         </substitute>
116       </names>
117       <text macro="recipient"/>
118     </group>
119   </macro>
120   <macro name="contributors-short">
121     <names variable="author">
122       <name form="short" and="text" delimiter=", " initialize-with=". "/>
123       <substitute>
124         <names variable="editor"/>
125         <names variable="translator"/>
126         <text macro="substitute-title"/>
127         <text macro="title"/>
128       </substitute>
129     </names>
130   </macro>
131   <macro name="interviewer">
132     <names variable="interviewer" delimiter=", ">
133       <label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
134       <name and="text" delimiter=", "/>
135     </names>
136   </macro>
137   <macro name="archive">
138     <group delimiter=". ">
139       <text variable="archive_location" text-case="capitalize-first"/>
140       <text variable="archive"/>
141       <text variable="archive-place"/>
142     </group>
143   </macro>
144   <macro name="access">
145     <group delimiter=". ">
146       <choose>
147         <if type="graphic report" match="any">
148           <text macro="archive"/>
149         </if>
150         <else-if type="article-journal bill book chapter legal_case legislation motion_picture paper-conference" match="none">
151           <text macro="archive"/>
152         </else-if>
153       </choose>
154       <choose>
155         <if variable="issued" match="none">
156           <group delimiter=" ">
157             <text term="accessed" text-case="capitalize-first"/>
158             <date variable="accessed" delimiter=" ">
159               <date-part name="month"/>
160               <date-part name="day"/>
161             </date>
162           </group>
163         </if>
164       </choose>
165       <choose>
166         <if type="legal_case" match="none">
167           <choose>
168             <if variable="DOI">
169               <text variable="DOI" prefix="doi:"/>
170             </if>
171             <else>
172               <text variable="URL"/>
173             </else>
174           </choose>
175         </if>
176       </choose>
177     </group>
178   </macro>
179   <macro name="title">
180     <choose>
181       <if variable="title" match="none">
182         <choose>
183           <if type="personal_communication" match="none">
184             <text variable="genre" text-case="capitalize-first"/>
185           </if>
186         </choose>
187       </if>
188       <else-if type="bill book graphic legislation motion_picture report song" match="any">
189         <text variable="title" text-case="title" font-style="italic"/>
190         <group prefix=" (" suffix=")" delimiter=" ">
191           <text term="version"/>
192           <text variable="version"/>
193         </group>
194       </else-if>
195       <else-if variable="reviewed-author">
196         <group delimiter=", ">
197           <text variable="title" font-style="italic" prefix="Review of "/>
198           <names variable="reviewed-author">
199             <label form="verb-short" text-case="lowercase" suffix=" "/>
200             <name and="text" delimiter=", "/>
201           </names>
202         </group>
203       </else-if>
204       <else-if type="legal_case interview" match="any">
205         <text variable="title"/>
206       </else-if>
207       <else>
208         <text variable="title" text-case="title" quotes="true"/>
209       </else>
210     </choose>
211   </macro>
212   <macro name="edition">
213     <choose>
214       <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
215         <choose>
216           <if is-numeric="edition">
217             <group delimiter=" " prefix=". ">
218               <number variable="edition" form="ordinal"/>
219               <text term="edition" form="short" strip-periods="true"/>
220             </group>
221           </if>
222           <else>
223             <text variable="edition" prefix=". "/>
224           </else>
225         </choose>
226       </if>
227       <else-if type="chapter  paper-conference" match="any">
228         <choose>
229           <if is-numeric="edition">
230             <group delimiter=" " prefix=", ">
231               <number variable="edition" form="ordinal"/>
232               <text term="edition" form="short"/>
233             </group>
234           </if>
235           <else>
236             <text variable="edition" prefix=", "/>
237           </else>
238         </choose>
239       </else-if>
240     </choose>
241   </macro>
242   <macro name="locators">
243     <choose>
244       <if type="article-journal">
245         <choose>
246           <if variable="volume">
247             <text variable="volume" prefix=" "/>
248             <group prefix=" (" suffix=")">
249               <choose>
250                 <if variable="issue">
251                   <text variable="issue"/>
252                 </if>
253                 <else>
254                   <date variable="issued">
255                     <date-part name="month"/>
256                   </date>
257                 </else>
258               </choose>
259             </group>
260           </if>
261           <else-if variable="issue">
262             <group delimiter=" " prefix=", ">
263               <text term="issue" form="short"/>
264               <text variable="issue"/>
265               <date variable="issued" prefix="(" suffix=")">
266                 <date-part name="month"/>
267               </date>
268             </group>
269           </else-if>
270           <else>
271             <date variable="issued" prefix=", ">
272               <date-part name="month"/>
273             </date>
274           </else>
275         </choose>
276       </if>
277       <else-if type="legal_case">
278         <text variable="volume" prefix=", "/>
279         <text variable="container-title" prefix=" "/>
280         <text variable="page" prefix=" "/>
281       </else-if>
282       <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
283         <group prefix=". " delimiter=". ">
284           <group>
285             <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
286             <number variable="volume" form="numeric"/>
287           </group>
288           <group>
289             <number variable="number-of-volumes" form="numeric"/>
290             <text term="volume" form="short" prefix=" " plural="true"/>
291           </group>
292         </group>
293       </else-if>
294       <else-if type="chapter paper-conference" match="any">
295         <choose>
296           <if variable="page" match="none">
297             <group prefix=". ">
298               <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
299               <number variable="volume" form="numeric"/>
300             </group>
301           </if>
302         </choose>
303       </else-if>
304     </choose>
305   </macro>
306   <macro name="locators-chapter">
307     <choose>
308       <if type="chapter paper-conference" match="any">
309         <choose>
310           <if variable="page">
311             <group prefix=", ">
312               <text variable="volume" suffix=":"/>
313               <text variable="page"/>
314             </group>
315           </if>
316         </choose>
317       </if>
318     </choose>
319   </macro>
320   <macro name="locators-article">
321     <choose>
322       <if type="article-newspaper">
323         <group prefix=", " delimiter=", ">
324           <group>
325             <text variable="edition" suffix=" "/>
326             <text term="edition" prefix=" "/>
327           </group>
328           <group>
329             <text term="section" form="short" suffix=" "/>
330             <text variable="section"/>
331           </group>
332         </group>
333       </if>
334       <else-if type="article-journal">
335         <choose>
336           <if variable="volume issue" match="any">
337             <text variable="page" prefix=": "/>
338           </if>
339           <else>
340             <text variable="page" prefix=", "/>
341           </else>
342         </choose>
343       </else-if>
344     </choose>
345   </macro>
346   <macro name="point-locators">
347     <choose>
348       <if variable="locator">
349         <choose>
350           <if locator="page" match="none">
351             <choose>
352               <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
353                 <choose>
354                   <if variable="volume">
355                     <group>
356                       <text term="volume" form="short" suffix=" "/>
357                       <number variable="volume" form="numeric"/>
358                       <label variable="locator" form="short" prefix=", " suffix=" "/>
359                     </group>
360                   </if>
361                   <else>
362                     <label variable="locator" form="short" suffix=" "/>
363                   </else>
364                 </choose>
365               </if>
366               <else>
367                 <label variable="locator" form="short" suffix=" "/>
368               </else>
369             </choose>
370           </if>
371           <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
372             <number variable="volume" form="numeric" suffix=":"/>
373           </else-if>
374         </choose>
375         <text variable="locator"/>
376       </if>
377     </choose>
378   </macro>
379   <macro name="container-prefix">
380     <text term="in" text-case="capitalize-first"/>
381   </macro>
382   <macro name="container-title">
383     <choose>
384       <if type="chapter paper-conference" match="any">
385         <text macro="container-prefix" suffix=" "/>
386       </if>
387     </choose>
388     <choose>
389       <if type="legal_case" match="none">
390         <text variable="container-title" text-case="title" font-style="italic"/>
391       </if>
392     </choose>
393   </macro>
394   <macro name="publisher">
395     <group delimiter=": ">
396       <text variable="publisher-place"/>
397       <text variable="publisher"/>
398     </group>
399   </macro>
400   <macro name="date">
401     <choose>
402       <if variable="issued">
403         <date variable="issued">
404           <date-part name="year"/>
405         </date>
406       </if>
407       <else-if variable="accessed">
408         <date variable="accessed">
409           <date-part name="year"/>
410         </date>
411       </else-if>
412     </choose>
413   </macro>
414   <macro name="day-month">
415     <date variable="issued">
416       <date-part name="month"/>
417       <date-part name="day" prefix=" "/>
418     </date>
419   </macro>
420   <macro name="collection-title">
421     <choose>
422       <if match="none" type="article-journal">
423         <choose>
424           <if match="none" is-numeric="collection-number">
425             <group delimiter=", ">
426               <text variable="collection-title" text-case="title"/>
427               <text variable="collection-number"/>
428             </group>
429           </if>
430           <else>
431             <group delimiter=" ">
432               <text variable="collection-title" text-case="title"/>
433               <text variable="collection-number"/>
434             </group>
435           </else>
436         </choose>
437       </if>
438     </choose>
439   </macro>
440   <macro name="collection-title-journal">
441     <choose>
442       <if type="article-journal">
443         <group delimiter=" ">
444           <text variable="collection-title"/>
445           <text variable="collection-number"/>
446         </group>
447       </if>
448     </choose>
449   </macro>
450   <macro name="event">
451     <group>
452       <text term="presented at" suffix=" "/>
453       <text variable="event"/>
454     </group>
455   </macro>
456   <macro name="description">
457     <choose>
458       <if type="interview">
459         <group delimiter=". ">
460           <text macro="interviewer"/>
461           <text variable="medium" text-case="capitalize-first"/>
462         </group>
463       </if>
464       <else>
465         <text variable="medium" text-case="capitalize-first" prefix=". "/>
466       </else>
467     </choose>
468     <choose>
469       <if variable="title" match="none"/>
470       <else-if type="thesis personal_communication speech" match="any"/>
471       <else>
472         <group delimiter=" " prefix=". ">
473           <text variable="genre" text-case="capitalize-first"/>
474           <choose>
475             <if type="report">
476               <text variable="number"/>
477             </if>
478           </choose>
479         </group>
480       </else>
481     </choose>
482   </macro>
483   <macro name="issue">
484     <choose>
485       <if type="legal_case">
486         <text variable="authority" prefix=". "/>
487       </if>
488       <else-if type="speech">
489         <group prefix=". " delimiter=", ">
490           <group delimiter=" ">
491             <text variable="genre" text-case="capitalize-first"/>
492             <text macro="event"/>
493           </group>
494           <text variable="event-place"/>
495           <text macro="day-month"/>
496         </group>
497       </else-if>
498       <else-if type="article-newspaper article-magazine personal_communication" match="any">
499         <text macro="day-month" prefix=", "/>
500       </else-if>
501       <else>
502         <group prefix=". " delimiter=", ">
503           <choose>
504             <if type="thesis">
505               <text variable="genre" text-case="capitalize-first"/>
506             </if>
507           </choose>
508           <text macro="publisher"/>
509         </group>
510       </else>
511     </choose>
512   </macro>
513   <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">
514     <layout prefix="(" suffix=")" delimiter="; ">
515       <group delimiter=", ">
516         <group delimiter=" ">
517           <text macro="contributors-short"/>
518           <text macro="date"/>
519         </group>
520         <text macro="point-locators"/>
521       </group>
522     </layout>
523   </citation>
524   <bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="&#8212;&#8212;&#8212;" entry-spacing="0">
525     <sort>
526       <key macro="contributors"/>
527       <key variable="issued"/>
528     </sort>
529     <layout suffix=".">
530       <group delimiter=". ">
531         <text macro="contributors"/>
532         <text macro="date"/>
533         <text macro="title"/>
534       </group>
535       <text macro="description"/>
536       <text macro="secondary-contributors" prefix=". "/>
537       <text macro="container-title" prefix=". "/>
538       <text macro="container-contributors"/>
539       <text macro="edition"/>
540       <text macro="locators-chapter"/>
541       <text macro="collection-title-journal" prefix=", " suffix=", "/>
542       <text macro="locators"/>
543       <text macro="collection-title" prefix=". "/>
544       <text macro="issue"/>
545       <text macro="locators-article"/>
546       <text macro="access" prefix=". "/>
547     </layout>
548   </bibliography>
549 </style>