git.iko.soy/typeable/pandoc
on master help sign in
Updated chicago-author-date.csl.

The old version did not work properly for edited volumes with no author.

commit5ba1e9244070daa9a2d40aaa6146aaf9d6d5d96e authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 18 Nov 2011, 13:36 (15 years ago) parent1da1d4e
2 files changed+405−359
default.csl+5−12 tests/chicago-author-date.csl+400−347
default.csl+5−12
@@ -13,7 +13,7 @@
1313 </contributor>
1414 <category citation-format="author-date"/>
1515 <category field="generic-base"/>
16− <updated>2010-03-15T01:24:16+00:00</updated>
16+ <updated>2011-11-17T22:01:05+00:00</updated>
1717 <summary>The author-date variant of the Chicago style</summary>
1818 <link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
1919 <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
@@ -77,11 +77,7 @@
7777 </choose>
7878 </macro>
7979 <macro name="anon">
80− <choose>
81− <if variable="author editor translator" match="none">
82− <text term="anonymous" form="short" text-case="capitalize-first" suffix="." strip-periods="true"/>
83− </if>
84− </choose>
80+ <text term="anonymous" form="short" text-case="capitalize-first" suffix="." strip-periods="true"/>
8581 </macro>
8682 <macro name="editor">
8783 <names variable="editor">
@@ -120,9 +116,9 @@
120116 <substitute>
121117 <text macro="editor"/>
122118 <text macro="translator"/>
119+ <text macro="anon"/>
123120 </substitute>
124121 </names>
125− <text macro="anon"/>
126122 <text macro="recipient"/>
127123 </macro>
128124 <macro name="contributors-short">
@@ -131,9 +127,9 @@
131127 <substitute>
132128 <names variable="editor"/>
133129 <names variable="translator"/>
130+ <text macro="anon"/>
134131 </substitute>
135132 </names>
136− <text macro="anon"/>
137133 </macro>
138134 <macro name="interviewer">
139135 <names variable="interviewer" delimiter=", ">
@@ -178,11 +174,8 @@
178174 <else-if type="bill book graphic legal_case motion_picture report song" match="any">
179175 <text variable="title" font-style="italic"/>
180176 </else-if>
181− <else-if type="article-journal article-magazine article-newspaper" match="any">
177+ <else>
182178 <text variable="title" quotes="true"/>
183− </else-if>
184− <else>
185− <text variable="title"/>
186179 </else>
187180 </choose>
188181 </macro>
tests/chicago-author-date.csl+400−347
@@ -1,5 +1,5 @@
11<?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">
2+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
33 <info>
44 <title>Chicago Manual of Style (Author-Date format)</title>
55 <id>http://www.zotero.org/styles/chicago-author-date</id>
@@ -8,362 +8,415 @@
88 <name>Julian Onions</name>
99 <email>julian.onions@gmail.com</email>
1010 </author>
11+ <contributor>
12+ <name>Sebastian Karcher</name>
13+ </contributor>
1114 <category citation-format="author-date"/>
1215 <category field="generic-base"/>
13− <updated>2009-12-04T20:22:16+00:00</updated>
16+ <updated>2011-11-17T22:01:05+00:00</updated>
1417 <summary>The author-date variant of the Chicago style</summary>
1518 <link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
19+ <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
1620 </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>
21+ <macro name="secondary-contributors">
22+ <choose>
23+ <if type="chapter paper-conference" match="none">
24+ <group delimiter=". ">
25+ <choose>
26+ <if variable="author">
27+ <names variable="editor">
28+ <label form="verb-short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
29+ <name and="text" delimiter=", "/>
30+ </names>
31+ </if>
32+ </choose>
33+ <choose>
34+ <if variable="author editor" match="any">
35+ <names variable="translator">
36+ <label form="verb-short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
37+ <name and="text" delimiter=", "/>
38+ </names>
39+ </if>
40+ </choose>
41+ </group>
42+ </if>
43+ </choose>
44+ </macro>
45+ <macro name="container-contributors">
46+ <choose>
47+ <if type="chapter paper-conference" match="any">
48+ <group prefix="," delimiter=", ">
49+ <choose>
50+ <if variable="author">
51+ <names variable="editor">
52+ <label form="verb-short" prefix=" " text-case="lowercase" suffix=". " strip-periods="true"/>
53+ <name and="text" delimiter=", "/>
54+ </names>
55+ <choose>
56+ <if variable="container-author">
57+ <group>
58+ <names variable="container-author">
59+ <label form="verb-short" prefix=" " text-case="lowercase" suffix=" " strip-periods="true"/>
60+ <name and="text" delimiter=", "/>
61+ </names>
62+ </group>
63+ </if>
64+ </choose>
65+ </if>
66+ </choose>
67+ <choose>
68+ <if variable="author editor" match="any">
69+ <names variable="translator">
70+ <label form="verb-short" prefix=" " text-case="lowercase" suffix=". " strip-periods="true"/>
71+ <name and="text" delimiter=", "/>
72+ </names>
73+ </if>
74+ </choose>
75+ </group>
76+ </if>
77+ </choose>
78+ </macro>
79+ <macro name="anon">
80+ <text term="anonymous" form="short" text-case="capitalize-first" suffix="." strip-periods="true"/>
81+ </macro>
82+ <macro name="editor">
83+ <names variable="editor">
84+ <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
85+ <label form="short" prefix=", " suffix="." strip-periods="true"/>
86+ </names>
87+ </macro>
88+ <macro name="translator">
89+ <names variable="translator">
90+ <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
91+ <label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
92+ </names>
93+ </macro>
94+ <macro name="recipient">
95+ <choose>
96+ <if type="personal_communication">
97+ <choose>
98+ <if variable="genre">
99+ <text variable="genre" text-case="capitalize-first"/>
100+ </if>
101+ <else>
102+ <text term="letter" text-case="capitalize-first"/>
103+ </else>
104+ </choose>
105+ </if>
106+ </choose>
107+ <names variable="recipient" delimiter=", ">
108+ <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
109+ <name and="text" delimiter=", "/>
110+ </names>
111+ </macro>
112+ <macro name="contributors">
113+ <names variable="author">
114+ <name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
115+ <label form="verb-short" prefix=", " suffix="." text-case="lowercase" strip-periods="true"/>
116+ <substitute>
117+ <text macro="editor"/>
118+ <text macro="translator"/>
119+ <text macro="anon"/>
120+ </substitute>
121+ </names>
122+ <text macro="recipient"/>
123+ </macro>
124+ <macro name="contributors-short">
125+ <names variable="author">
126+ <name form="short" and="text" delimiter=", " initialize-with=". "/>
127+ <substitute>
128+ <names variable="editor"/>
129+ <names variable="translator"/>
130+ <text macro="anon"/>
131+ </substitute>
132+ </names>
133+ </macro>
134+ <macro name="interviewer">
135+ <names variable="interviewer" delimiter=", ">
136+ <label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
137+ <name and="text" delimiter=", "/>
138+ </names>
139+ </macro>
140+ <macro name="archive">
141+ <group delimiter=". ">
142+ <text variable="archive_location" text-case="capitalize-first"/>
143+ <text variable="archive"/>
144+ <text variable="archive-place"/>
145+ </group>
146+ </macro>
147+ <macro name="access">
148+ <group delimiter=". ">
149+ <choose>
150+ <if type="graphic report" match="any">
151+ <text macro="archive"/>
51152 </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>
153+ <else-if type="bill book graphic legal_case motion_picture report song article-magazine article-newspaper thesis chapter paper-conference" match="none">
154+ <text macro="archive"/>
155+ </else-if>
156+ </choose>
157+ <text variable="DOI" prefix="doi:"/>
158+ <choose>
159+ <if type="legal_case" match="none">
160+ <text variable="URL"/>
59161 </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=". ">
162+ </choose>
163+ </group>
164+ </macro>
165+ <macro name="title">
139166 <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>
167+ <if variable="title" match="none">
168+ <choose>
169+ <if type="personal_communication" match="none">
170+ <text variable="genre" text-case="capitalize-first"/>
171+ </if>
172+ </choose>
173+ </if>
174+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
175+ <text variable="title" font-style="italic"/>
176+ </else-if>
177+ <else>
178+ <text variable="title" quotes="true"/>
179+ </else>
146180 </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" />
181+ </macro>
182+ <macro name="edition">
183+ <choose>
184+ <if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
185+ <choose>
186+ <if is-numeric="edition">
187+ <group delimiter=" ">
188+ <number variable="edition" form="ordinal"/>
189+ <text term="edition" form="short" suffix="." strip-periods="true"/>
190+ </group>
191+ </if>
192+ <else>
193+ <text variable="edition" suffix="."/>
194+ </else>
195+ </choose>
196+ </if>
197+ </choose>
198+ </macro>
199+ <macro name="locators">
200+ <choose>
201+ <if type="article-journal">
202+ <text variable="volume" prefix=" "/>
203+ <text variable="issue" prefix=" (" suffix=")"/>
204+ </if>
205+ <else-if type="legal_case">
206+ <text variable="volume" prefix=", "/>
207+ <text variable="container-title" prefix=" "/>
208+ <text variable="page" prefix=" "/>
209+ </else-if>
210+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
211+ <group prefix=". " delimiter=". ">
212+ <group>
213+ <text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
214+ <number variable="volume" form="numeric"/>
215+ </group>
216+ <group>
217+ <number variable="number-of-volumes" form="numeric"/>
218+ <text term="volume" form="short" prefix=" " suffix="." plural="true" strip-periods="true"/>
219+ </group>
176220 </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>
221+ </else-if>
222+ <else-if type="chapter paper-conference" match="any">
223+ <choose>
224+ <if variable="page" match="none">
225+ <group prefix=". ">
226+ <text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
227+ <number variable="volume" form="numeric"/>
228+ </group>
229+ </if>
230+ </choose>
231+ </else-if>
232+ </choose>
233+ </macro>
234+ <macro name="locators-chapter">
236235 <choose>
237− <if locator="page" match="none">
238− <label form="short" suffix=" " variable="locator" />
239− </if>
236+ <if type="chapter paper-conference" match="any">
237+ <choose>
238+ <if variable="page">
239+ <group prefix=", ">
240+ <text variable="volume" suffix=":"/>
241+ <text variable="page"/>
242+ </group>
243+ </if>
244+ </choose>
245+ </if>
240246 </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" />
247+ </macro>
248+ <macro name="locators-article">
249+ <choose>
250+ <if type="article-newspaper">
251+ <group prefix=", " delimiter=", ">
252+ <group>
253+ <text variable="edition" suffix=" "/>
254+ <text term="edition" prefix=" "/>
255+ </group>
256+ <group>
257+ <text term="section" form="short" suffix=". " strip-periods="true"/>
258+ <text variable="section"/>
259+ </group>
260+ </group>
261+ </if>
262+ <else-if type="article-journal">
263+ <text variable="page" prefix=": "/>
264+ </else-if>
265+ </choose>
266+ </macro>
267+ <macro name="point-locators">
268+ <choose>
269+ <if variable="locator">
270+ <choose>
271+ <if locator="page" match="none">
272+ <choose>
273+ <if type="bill book graphic legal_case motion_picture report song" match="any">
274+ <choose>
275+ <if variable="volume">
276+ <group>
277+ <text term="volume" form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
278+ <number variable="volume" form="numeric"/>
279+ <label variable="locator" form="short" prefix=", " suffix=" "/>
280+ </group>
281+ </if>
282+ <else>
283+ <label variable="locator" form="short" suffix=" "/>
284+ </else>
285+ </choose>
286+ </if>
287+ </choose>
288+ </if>
289+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
290+ <number variable="volume" form="numeric" suffix=":"/>
291+ </else-if>
292+ </choose>
293+ <text variable="locator"/>
294+ </if>
295+ </choose>
296+ </macro>
297+ <macro name="container-prefix">
298+ <text term="in" text-case="capitalize-first"/>
299+ </macro>
300+ <macro name="container-title">
301+ <choose>
302+ <if type="chapter paper-conference" match="any">
303+ <text macro="container-prefix" suffix=" "/>
304+ </if>
305+ </choose>
306+ <choose>
307+ <if type="legal_case" match="none">
308+ <text variable="container-title" font-style="italic"/>
309+ </if>
310+ </choose>
311+ </macro>
312+ <macro name="publisher">
313+ <group delimiter=": ">
314+ <text variable="publisher-place"/>
315+ <text variable="publisher"/>
338316 </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>
317+ </macro>
318+ <macro name="date">
319+ <date variable="issued">
320+ <date-part name="year"/>
321+ </date>
322+ </macro>
323+ <macro name="day-month">
324+ <date variable="issued">
325+ <date-part name="month"/>
326+ <date-part name="day" prefix=" "/>
327+ </date>
328+ </macro>
329+ <macro name="collection-title">
330+ <text variable="collection-title"/>
331+ <text variable="collection-number" prefix=" "/>
332+ </macro>
333+ <macro name="event">
334+ <group>
335+ <text term="presented at" suffix=" "/>
336+ <text variable="event"/>
337+ </group>
338+ </macro>
339+ <macro name="description">
340+ <choose>
341+ <if type="interview">
342+ <group delimiter=". ">
343+ <text macro="interviewer"/>
344+ <text variable="medium" text-case="capitalize-first"/>
345+ </group>
346+ </if>
347+ <else>
348+ <text variable="medium" text-case="capitalize-first" prefix=". "/>
349+ </else>
350+ </choose>
351+ <choose>
352+ <if variable="title" match="none"/>
353+ <else-if type="thesis"/>
354+ <else>
355+ <text variable="genre" text-case="capitalize-first" prefix=". "/>
356+ </else>
357+ </choose>
358+ </macro>
359+ <macro name="issue">
360+ <choose>
361+ <if type="article-journal">
362+ <text macro="day-month" prefix=" (" suffix=")"/>
363+ </if>
364+ <else-if type="legal_case">
365+ <text variable="authority" prefix=". "/>
366+ </else-if>
367+ <else-if type="speech">
368+ <group prefix=" " delimiter=", ">
369+ <text macro="event"/>
370+ <text macro="day-month"/>
371+ <text variable="event-place"/>
372+ </group>
373+ </else-if>
374+ <else-if type="article-newspaper article-magazine" match="any">
375+ <text macro="day-month" prefix=", "/>
376+ </else-if>
377+ <else>
378+ <group prefix=". " delimiter=", ">
379+ <choose>
380+ <if type="thesis">
381+ <text variable="genre" text-case="capitalize-first"/>
382+ </if>
383+ </choose>
384+ <text macro="publisher"/>
385+ </group>
386+ </else>
387+ </choose>
388+ </macro>
389+ <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">
390+ <layout prefix="(" suffix=")" delimiter="; ">
391+ <group delimiter=", ">
392+ <group delimiter=" ">
393+ <text macro="contributors-short"/>
394+ <text macro="date"/>
395+ </group>
396+ <text macro="point-locators"/>
397+ </group>
398+ </layout>
399+ </citation>
400+ <bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="———" entry-spacing="0">
401+ <sort>
402+ <key macro="contributors"/>
403+ <key variable="issued"/>
404+ </sort>
405+ <layout suffix=".">
406+ <text macro="contributors" suffix=". "/>
407+ <text macro="date" suffix=". "/>
408+ <text macro="title"/>
409+ <text macro="description"/>
410+ <text macro="secondary-contributors" prefix=". "/>
411+ <text macro="container-title" prefix=". "/>
412+ <text macro="container-contributors"/>
413+ <text macro="locators-chapter"/>
414+ <text macro="edition" prefix=". "/>
415+ <text macro="locators"/>
416+ <text macro="collection-title" prefix=". "/>
417+ <text macro="issue"/>
418+ <text macro="locators-article"/>
419+ <text macro="access" prefix=". "/>
420+ </layout>
421+ </bibliography>
422+</style>