citeproc-ruby 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. data/lib/citeproc/version.rb +1 -1
  2. data/lib/csl/nodes.rb +23 -3
  3. data/lib/plugins/formats/default.rb +1 -1
  4. data/resource/locale/locales-af-ZA.xml +289 -288
  5. data/resource/locale/locales-ar-AR.xml +291 -289
  6. data/resource/locale/locales-bg-BG.xml +289 -288
  7. data/resource/locale/locales-ca-AD.xml +289 -288
  8. data/resource/locale/locales-cs-CZ.xml +288 -287
  9. data/resource/locale/locales-da-DK.xml +289 -288
  10. data/resource/locale/locales-de-AT.xml +288 -288
  11. data/resource/locale/locales-de-CH.xml +288 -288
  12. data/resource/locale/locales-de-DE.xml +314 -314
  13. data/resource/locale/locales-el-GR.xml +241 -239
  14. data/resource/locale/locales-en-GB.xml +304 -0
  15. data/resource/locale/locales-en-US.xml +297 -297
  16. data/resource/locale/locales-es-ES.xml +289 -288
  17. data/resource/locale/locales-et-EE.xml +287 -287
  18. data/resource/locale/locales-eu.xml +305 -0
  19. data/resource/locale/locales-fa-IR.xml +304 -0
  20. data/resource/locale/locales-fi-FI.xml +304 -0
  21. data/resource/locale/locales-fr-CA.xml +306 -0
  22. data/resource/locale/locales-fr-FR.xml +290 -288
  23. data/resource/locale/locales-he-IL.xml +288 -288
  24. data/resource/locale/locales-hu-HU.xml +289 -288
  25. data/resource/locale/locales-is-IS.xml +288 -288
  26. data/resource/locale/locales-it-IT.xml +289 -288
  27. data/resource/locale/locales-ja-JP.xml +289 -288
  28. data/resource/locale/locales-km-KH.xml +304 -0
  29. data/resource/locale/locales-ko-KR.xml +289 -288
  30. data/resource/locale/locales-mn-MN.xml +290 -288
  31. data/resource/locale/locales-nb-NO.xml +288 -288
  32. data/resource/locale/locales-nl-NL.xml +288 -288
  33. data/resource/locale/locales-nn-NO.xml +288 -288
  34. data/resource/locale/locales-pl-PL.xml +289 -288
  35. data/resource/locale/locales-pt-BR.xml +288 -288
  36. data/resource/locale/locales-pt-PT.xml +289 -288
  37. data/resource/locale/locales-ro-RO.xml +289 -288
  38. data/resource/locale/locales-ru-RU.xml +290 -288
  39. data/resource/locale/locales-sk-SK.xml +288 -288
  40. data/resource/locale/locales-sl-SI.xml +289 -288
  41. data/resource/locale/locales-sr-RS.xml +289 -288
  42. data/resource/locale/locales-sv-SE.xml +289 -288
  43. data/resource/locale/locales-th-TH.xml +288 -288
  44. data/resource/locale/locales-tr-TR.xml +289 -288
  45. data/resource/locale/locales-uk-UA.xml +290 -288
  46. data/resource/locale/locales-vi-VN.xml +289 -288
  47. data/resource/locale/locales-zh-CN.xml +288 -288
  48. data/resource/locale/locales-zh-TW.xml +289 -288
  49. data/resource/style/apa.csl +316 -127
  50. data/resource/style/{bibtex-x2.csl → bibtex.csl} +7 -5
  51. data/resource/style/chicago-annotated-bibliography.csl +513 -0
  52. data/resource/style/chicago-author-date-basque.csl +707 -0
  53. data/resource/style/chicago-author-date-de.csl +394 -0
  54. data/resource/style/chicago-author-date.csl +223 -167
  55. data/resource/style/chicago-dated-note-biblio-no-ibid.csl +472 -0
  56. data/resource/style/chicago-fullnote-bibliography-delimiter-fixes.csl +972 -0
  57. data/resource/style/chicago-fullnote-bibliography-no-ibid-delimiter-fixes.csl +963 -0
  58. data/resource/style/chicago-fullnote-bibliography-no-ibid.csl +785 -0
  59. data/resource/style/chicago-fullnote-bibliography.csl +429 -321
  60. data/resource/style/chicago-library-list.csl +511 -0
  61. data/resource/style/chicago-note-biblio-no-ibid.csl +514 -0
  62. data/resource/style/chicago-note-bibliography.csl +276 -192
  63. data/resource/style/chicago-quick-copy.csl +685 -0
  64. data/resource/style/ieee.csl +296 -126
  65. data/resource/style/mla-notes.csl +796 -0
  66. data/resource/style/{mla-x.csl → mla-underline.csl} +14 -17
  67. data/resource/style/mla-url.csl +214 -0
  68. data/resource/style/mla.csl +289 -84
  69. data/resource/style/vancouver-brackets.csl +256 -0
  70. data/resource/style/vancouver-superscript-bracket-only-year.csl +165 -0
  71. data/resource/style/vancouver-superscript.csl +256 -0
  72. data/resource/style/vancouver.csl +256 -0
  73. data/spec/citeproc/date_spec.rb +7 -3
  74. data/spec/citeproc/variable_spec.rb +1 -1
  75. data/spec/csl/style_spec.rb +2 -2
  76. metadata +48 -48
  77. data/resource/style/acta-materialia-x.csl +0 -128
  78. data/resource/style/advanced-engineering-materials-x.csl +0 -121
  79. data/resource/style/ama.csl +0 -185
  80. data/resource/style/ama2-x.csl +0 -179
  81. data/resource/style/apa-x.csl +0 -324
  82. data/resource/style/apsa-x.csl +0 -163
  83. data/resource/style/apsa.csl +0 -176
  84. data/resource/style/asa-x.csl +0 -203
  85. data/resource/style/asa.csl +0 -216
  86. data/resource/style/asm-journals-x.csl +0 -131
  87. data/resource/style/bluebook-demo-x.csl +0 -392
  88. data/resource/style/bluebook-demo.csl +0 -942
  89. data/resource/style/greek-chicago-x.csl +0 -1182
  90. data/resource/style/harvard1-institution-italic.csl +0 -190
  91. data/resource/style/harvard1.csl +0 -181
  92. data/resource/style/mhra-x.csl +0 -312
  93. data/resource/style/mhra.csl +0 -390
  94. data/resource/style/mhra_note_without_bibliography-x.csl +0 -330
  95. data/resource/style/mhra_note_without_bibliography.csl +0 -338
  96. data/resource/style/nature-x.csl +0 -81
  97. data/resource/style/nature.csl +0 -88
  98. data/resource/style/nlm.csl +0 -117
@@ -1,11 +1,10 @@
1
- <style
2
- xmlns="http://purl.org/net/xbiblio/csl"
3
- class="in-text"
4
- xml:lang="en">
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">
5
3
  <info>
6
- <title>American Psychological Association</title>
4
+ <title>American Psychological Association 6th Edition</title>
7
5
  <id>http://www.zotero.org/styles/apa</id>
8
- <link href="http://www.zotero.org/styles/apa" />
6
+ <link href="http://www.zotero.org/styles/apa" rel="self"/>
7
+ <link href="http://owl.english.purdue.edu/owl/resource/560/01/" rel="documentation"/>
9
8
  <author>
10
9
  <name>Simon Kornblith</name>
11
10
  <email>simon@simonster.com</email>
@@ -21,55 +20,85 @@
21
20
  <email>karnesky+zotero@gmail.com</email>
22
21
  <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
23
22
  </contributor>
24
- <category term="psychology" />
25
- <category term="generic-base" />
26
- <category term="author-date" />
27
- <updated />
23
+ <contributor>
24
+ <name>Sebastian Karcher</name>
25
+ </contributor>
26
+ <category field="psychology"/>
27
+ <category field="generic-base"/>
28
+ <category citation-format="author-date"/>
29
+ <updated>2010-01-27T20:08:03+00:00</updated>
30
+ <rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
28
31
  </info>
32
+ <locale xml:lang="en">
33
+ <terms>
34
+ <term name="translator" form="short">
35
+ <single>trans.</single>
36
+ <multiple>trans.</multiple>
37
+ </term>
38
+ </terms>
39
+ </locale>
29
40
  <macro name="container-contributors">
30
41
  <choose>
31
- <if type="chapter">
32
- <text suffix=" " term="in" text-case="capitalize-first" />
33
- <names delimiter=", " suffix=", " variable="editor translator">
34
- <name and="symbol" delimiter=", " initialize-with=". " />
35
- <label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" />
42
+ <if type="chapter paper-conference" match="any">
43
+ <text term="in" text-case="capitalize-first" suffix=" "/>
44
+ <names variable="editor" delimiter=", " suffix=", ">
45
+ <name and="symbol" initialize-with=". " delimiter=", "/>
46
+ <label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
47
+ <substitute>
48
+ <names variable="translator"/>
49
+ </substitute>
36
50
  </names>
37
51
  </if>
38
52
  </choose>
39
53
  </macro>
40
54
  <macro name="secondary-contributors">
41
55
  <choose>
42
- <if match="none" type="chapter">
43
- <names delimiter=", " prefix=" (" suffix=")" variable="editor translator">
44
- <name and="symbol" delimiter=", " initialize-with=". " />
45
- <label form="short" prefix=", " suffix="." text-case="capitalize-first" />
56
+ <if type="chapter paper-conference" match="none">
57
+ <names variable="translator" delimiter=", " prefix=" (" suffix=") ">
58
+ <name and="symbol" initialize-with=". " delimiter=", "/>
59
+ <label form="short" prefix=", " text-case="capitalize-first" suffix=""/>
60
+ <substitute>
61
+ <names variable="editor"/>
62
+ </substitute>
46
63
  </names>
47
64
  </if>
48
65
  </choose>
49
66
  </macro>
50
67
  <macro name="author">
51
68
  <names variable="author">
52
- <name and="symbol" delimiter=", " delimiter-precedes-last="always" initialize-with=". " name-as-sort-order="all" sort-separator=", " />
53
- <label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" />
69
+ <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
70
+ <label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
54
71
  <substitute>
55
- <names variable="editor" />
56
- <names variable="translator" />
57
- <text macro="title" />
72
+ <names variable="editor"/>
73
+ <names variable="translator"/>
74
+ <choose>
75
+ <if type="report">
76
+ <text variable="publisher"/>
77
+ <text macro="title"/>
78
+ </if>
79
+ <else>
80
+ <text macro="title"/>
81
+ </else>
82
+ </choose>
58
83
  </substitute>
59
84
  </names>
60
85
  </macro>
61
86
  <macro name="author-short">
62
87
  <names variable="author">
63
- <name and="symbol" delimiter=", " form="short" initialize-with=". " />
88
+ <name form="short" and="symbol" delimiter=", " initialize-with=". "/>
64
89
  <substitute>
65
- <names variable="editor" />
66
- <names variable="translator" />
90
+ <names variable="editor"/>
91
+ <names variable="translator"/>
67
92
  <choose>
68
- <if type="book">
69
- <text font-style="italic" form="short" variable="title" />
93
+ <if type="report">
94
+ <text variable="publisher"/>
95
+ <text variable="title" form="short" font-style="italic"/>
70
96
  </if>
97
+ <else-if type="bill book graphic legal_case legislation motion_picture song" match="any">
98
+ <text variable="title" form="short" font-style="italic"/>
99
+ </else-if>
71
100
  <else>
72
- <text form="short" quotes="true" variable="title" />
101
+ <text variable="title" form="short" quotes="true"/>
73
102
  </else>
74
103
  </choose>
75
104
  </substitute>
@@ -77,65 +106,171 @@
77
106
  </macro>
78
107
  <macro name="access">
79
108
  <choose>
80
- <if variable="DOI">
81
- <text prefix="doi: " variable="DOI" />
109
+ <if type="thesis">
110
+ <choose>
111
+ <if variable="archive" match="any">
112
+ <group>
113
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
114
+ <text term="from" suffix=" "/>
115
+ <text variable="archive" suffix="."/>
116
+ <text variable="archive_location" prefix=" (" suffix=")"/>
117
+ </group>
118
+ </if>
119
+ <else>
120
+ <group>
121
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
122
+ <text term="from" suffix=" "/>
123
+ <text variable="URL"/>
124
+ </group>
125
+ </else>
126
+ </choose>
82
127
  </if>
83
128
  <else>
84
- <group>
85
- <text suffix=" " term="retrieved" text-case="capitalize-first" />
86
- <date suffix=", " variable="accessed">
87
- <date-part name="month" suffix=" " />
88
- <date-part name="day" suffix=", " />
89
- <date-part name="year" />
90
- </date>
91
- <group>
92
- <text suffix=" " term="from" />
93
- <text variable="URL" />
94
- </group>
95
- </group>
129
+ <choose>
130
+ <if variable="DOI">
131
+ <text variable="DOI" prefix="doi:"/>
132
+ </if>
133
+ <else>
134
+ <choose>
135
+ <if type="webpage">
136
+ <group delimiter=" ">
137
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
138
+ <group>
139
+ <date variable="accessed" suffix=", ">
140
+ <date-part name="month" suffix=" "/>
141
+ <date-part name="day" suffix=", "/>
142
+ <date-part name="year"/>
143
+ </date>
144
+ </group>
145
+ <text term="from"/>
146
+ <text variable="URL"/>
147
+ </group>
148
+ </if>
149
+ <else>
150
+ <group>
151
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
152
+ <text term="from" suffix=" "/>
153
+ <text variable="URL"/>
154
+ </group>
155
+ </else>
156
+ </choose>
157
+ </else>
158
+ </choose>
96
159
  </else>
97
160
  </choose>
98
161
  </macro>
99
162
  <macro name="title">
100
163
  <choose>
101
- <if match="any" type="book thesis">
102
- <text font-style="italic" variable="title" />
164
+ <if type="report thesis" match="any">
165
+ <text variable="title" font-style="italic"/>
166
+ <group prefix=" (" suffix=")">
167
+ <text variable="genre"/>
168
+ <text variable="number" prefix=" No. "/>
169
+ </group>
103
170
  </if>
171
+ <else-if type="book graphic motion_picture report song manuscript speech" match="any">
172
+ <text variable="title" font-style="italic"/>
173
+ </else-if>
104
174
  <else>
105
- <text variable="title" />
175
+ <text variable="title"/>
106
176
  </else>
107
177
  </choose>
108
178
  </macro>
109
179
  <macro name="publisher">
110
- <text suffix=", " variable="genre" />
111
- <group delimiter=": ">
112
- <text variable="publisher-place" />
113
- <text variable="publisher" />
114
- </group>
180
+ <choose>
181
+ <if type="report" match="any">
182
+ <group delimiter=": ">
183
+ <text variable="publisher-place"/>
184
+ <text variable="publisher"/>
185
+ </group>
186
+ </if>
187
+ <else-if type="thesis" match="any">
188
+ <group delimiter=", ">
189
+ <text variable="publisher"/>
190
+ <text variable="publisher-place"/>
191
+ </group>
192
+ </else-if>
193
+ <else>
194
+ <group delimiter=", ">
195
+ <choose>
196
+ <if variable="event" match="none">
197
+ <text variable="genre"/>
198
+ </if>
199
+ </choose>
200
+ <choose>
201
+ <if type="article-journal article-magazine" match="none">
202
+ <group delimiter=": ">
203
+ <text variable="publisher-place"/>
204
+ <text variable="publisher"/>
205
+ </group>
206
+ </if>
207
+ </choose>
208
+ </group>
209
+ </else>
210
+ </choose>
115
211
  </macro>
116
212
  <macro name="event">
117
- <text variable="event" />
118
- <text prefix=", " variable="event-place" />
213
+ <choose>
214
+ <if variable="event">
215
+ <choose>
216
+ <if variable="genre" match="none">
217
+ <text term="presented at" text-case="capitalize-first" suffix=" "/>
218
+ <text variable="event"/>
219
+ </if>
220
+ <else>
221
+ <group delimiter=" ">
222
+ <text variable="genre" text-case="capitalize-first"/>
223
+ <text term="presented at"/>
224
+ <text variable="event"/>
225
+ </group>
226
+ </else>
227
+ </choose>
228
+ </if>
229
+ </choose>
119
230
  </macro>
120
231
  <macro name="issued">
121
232
  <choose>
122
- <if variable="issued">
123
- <group prefix=" (" suffix=").">
124
- <date variable="issued">
125
- <date-part name="year" />
126
- </date>
127
- <choose>
128
- <if match="none" type="book chapter article-journal">
233
+ <if type="bill legal_case legislation" match="none">
234
+ <choose>
235
+ <if variable="issued">
236
+ <group prefix=" (" suffix=").">
129
237
  <date variable="issued">
130
- <date-part name="month" prefix=", " />
131
- <date-part name="day" prefix=" " />
238
+ <date-part name="year"/>
132
239
  </date>
133
- </if>
134
- </choose>
135
- </group>
240
+ <text variable="year-suffix"/>
241
+ <choose>
242
+ <if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
243
+ <date variable="issued">
244
+ <date-part prefix=", " name="month"/>
245
+ <date-part prefix=" " name="day"/>
246
+ </date>
247
+ </if>
248
+ </choose>
249
+ </group>
250
+ </if>
251
+ <else>
252
+ <group prefix=" (" suffix=").">
253
+ <text term="no date" form="short"/>
254
+ <text variable="year-suffix" prefix="-"/>
255
+ </group>
256
+ </else>
257
+ </choose>
258
+ </if>
259
+ </choose>
260
+ </macro>
261
+ <macro name="issued-sort">
262
+ <choose>
263
+ <if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
264
+ <date variable="issued">
265
+ <date-part name="year"/>
266
+ <date-part prefix=", " name="month"/>
267
+ <date-part prefix=" " name="day"/>
268
+ </date>
136
269
  </if>
137
270
  <else>
138
- <text prefix=" (" suffix=")." term="no date" />
271
+ <date variable="issued">
272
+ <date-part name="year"/>
273
+ </date>
139
274
  </else>
140
275
  </choose>
141
276
  </macro>
@@ -143,11 +278,13 @@
143
278
  <choose>
144
279
  <if variable="issued">
145
280
  <date variable="issued">
146
- <date-part name="year" />
281
+ <date-part name="year"/>
147
282
  </date>
283
+ <text variable="year-suffix"/>
148
284
  </if>
149
285
  <else>
150
- <text form="short" term="no date" />
286
+ <text term="no date" form="short"/>
287
+ <text variable="year-suffix" prefix="-"/>
151
288
  </else>
152
289
  </choose>
153
290
  </macro>
@@ -155,100 +292,152 @@
155
292
  <choose>
156
293
  <if is-numeric="edition">
157
294
  <group delimiter=" ">
158
- <number form="ordinal" variable="edition" />
159
- <text form="short" suffix="." term="edition" />
295
+ <number variable="edition" form="ordinal"/>
296
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
160
297
  </group>
161
298
  </if>
162
299
  <else>
163
- <text suffix="." variable="edition" />
300
+ <text variable="edition" suffix="."/>
164
301
  </else>
165
302
  </choose>
166
303
  </macro>
167
304
  <macro name="locators">
168
305
  <choose>
169
- <if match="any" type="article-journal article-magazine article-newspaper">
170
- <group delimiter=", " prefix=", ">
306
+ <if type="article-journal article-magazine" match="any">
307
+ <group prefix=", " delimiter=", ">
171
308
  <group>
172
- <text font-style="italic" variable="volume" />
173
- <text prefix="(" suffix=")" variable="issue" />
309
+ <text variable="volume" font-style="italic"/>
310
+ <text variable="issue" prefix="(" suffix=")"/>
174
311
  </group>
175
- <text variable="page" />
312
+ <text variable="page"/>
176
313
  </group>
177
314
  </if>
178
- <else-if match="any" type="book chapter">
179
- <group delimiter=", " prefix=" (" suffix=")">
180
- <text macro="edition" />
315
+ <else-if type="article-newspaper">
316
+ <group delimiter=" " prefix=", ">
317
+ <label variable="page" form="short"/>
318
+ <text variable="page"/>
319
+ </group>
320
+ </else-if>
321
+ <else-if type="book graphic motion_picture report song chapter paper-conference" match="any">
322
+ <group prefix=" (" suffix=")" delimiter=", ">
323
+ <text macro="edition"/>
181
324
  <group>
182
- <text form="short" plural="true" suffix=". " term="volume" text-case="capitalize-first" />
183
- <number form="numeric" prefix="1-" variable="number-of-volumes" />
325
+ <text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=". " strip-periods="true"/>
326
+ <number variable="number-of-volumes" form="numeric" prefix="1-"/>
184
327
  </group>
185
328
  <group>
186
- <text form="short" suffix=". " term="volume" text-case="capitalize-first" />
187
- <number form="numeric" variable="volume" />
329
+ <text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
330
+ <number variable="volume" form="numeric"/>
188
331
  </group>
189
332
  <group>
190
- <label form="short" strip-periods="false" suffix=" " variable="page" />
191
- <text variable="page" />
333
+ <label variable="page" form="short" suffix=" "/>
334
+ <text variable="page"/>
192
335
  </group>
193
336
  </group>
194
337
  </else-if>
338
+ <else-if type="legal_case">
339
+ <group prefix=" (" suffix=")" delimiter=" ">
340
+ <text variable="authority"/>
341
+ <date variable="issued" delimiter=" ">
342
+ <date-part name="month" form="short"/>
343
+ <date-part name="day" suffix=","/>
344
+ <date-part name="year"/>
345
+ </date>
346
+ </group>
347
+ </else-if>
348
+ <else-if type="bill legislation">
349
+ <date variable="issued" prefix=" (" suffix=")">
350
+ <date-part name="year"/>
351
+ </date>
352
+ </else-if>
195
353
  </choose>
196
354
  </macro>
197
355
  <macro name="citation-locator">
198
356
  <group>
199
- <label form="short" strip-periods="false" variable="locator" />
200
- <text prefix=" " variable="locator" />
357
+ <label variable="locator" form="short"/>
358
+ <text variable="locator" prefix=" "/>
201
359
  </group>
202
360
  </macro>
203
- <citation
204
- collapse="year"
205
- disambiguate-add-givenname="true"
206
- disambiguate-add-names="true"
207
- disambiguate-add-year-suffix="true"
208
- et-al-min="6"
209
- et-al-subsequent-min="3"
210
- et-al-subsequent-use-first="1"
211
- et-al-use-first="1">
361
+ <macro name="container">
362
+ <choose>
363
+ <if type="bill legal_case legislation" match="none">
364
+ <text variable="container-title" font-style="italic"/>
365
+ </if>
366
+ <else>
367
+ <group delimiter=" " prefix=", ">
368
+ <choose>
369
+ <if variable="container-title">
370
+ <text variable="volume"/>
371
+ <text variable="container-title"/>
372
+ <group delimiter=" ">
373
+ <!--change to label variable="section" as that becomes available -->
374
+ <text term="section" form="symbol"/>
375
+ <text variable="section"/>
376
+ </group>
377
+ <text variable="page"/>
378
+ </if>
379
+ <else>
380
+ <choose>
381
+ <if type="legal_case">
382
+ <text variable="number" prefix="No. "/>
383
+ </if>
384
+ <else>
385
+ <text variable="number" prefix="Pub. L. No. "/>
386
+ <group delimiter=" ">
387
+ <!--change to label variable="section" as that becomes available -->
388
+ <text term="section" form="symbol"/>
389
+ <text variable="section"/>
390
+ </group>
391
+ </else>
392
+ </choose>
393
+ </else>
394
+ </choose>
395
+ </group>
396
+ </else>
397
+ </choose>
398
+ </macro>
399
+ <citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year" givenname-disambiguation-rule="primary-name">
212
400
  <sort>
213
- <key macro="author" />
214
- <key variable="issued" />
401
+ <key macro="author"/>
402
+ <key macro="issued-sort"/>
215
403
  </sort>
216
- <layout delimiter="; " prefix="(" suffix=")">
404
+ <layout prefix="(" suffix=")" delimiter="; ">
217
405
  <group delimiter=", ">
218
- <text macro="author-short" />
219
- <text macro="issued-year" />
220
- <text macro="citation-locator" />
406
+ <text macro="author-short"/>
407
+ <text macro="issued-year"/>
408
+ <text macro="citation-locator"/>
221
409
  </group>
222
410
  </layout>
223
411
  </citation>
224
- <bibliography
225
- entry-spacing="0"
226
- et-al-min="6"
227
- et-al-use-first="6"
228
- hanging-indent="true">
412
+ <bibliography hanging-indent="true" et-al-min="8" et-al-use-first="7" entry-spacing="0" line-spacing="2">
229
413
  <sort>
230
- <key macro="author" />
231
- <key variable="issued" />
414
+ <key macro="author"/>
415
+ <key macro="issued-sort" sort="ascending"/>
232
416
  </sort>
233
- <layout suffix=".">
234
- <text macro="author" suffix="." />
235
- <text macro="issued" suffix=" " />
236
- <group delimiter=". ">
237
- <text macro="title" />
238
- <group>
239
- <text macro="container-contributors" />
240
- <text macro="secondary-contributors" />
241
- <group delimiter=", ">
242
- <text font-style="italic" variable="container-title" />
243
- <text variable="collection-title" />
417
+ <layout>
418
+ <group suffix=".">
419
+ <group delimiter=". ">
420
+ <text macro="author"/>
421
+ <text macro="issued"/>
422
+ </group>
423
+ <group delimiter=". ">
424
+ <text macro="title" prefix=" "/>
425
+ <group>
426
+ <text macro="container-contributors"/>
427
+ <text macro="secondary-contributors"/>
428
+ <group delimiter=", ">
429
+ <text macro="container"/>
430
+ <text variable="collection-title"/>
431
+ </group>
244
432
  </group>
245
433
  </group>
434
+ <text macro="locators"/>
435
+ <group delimiter=", " prefix=". ">
436
+ <text macro="event"/>
437
+ <text macro="publisher"/>
438
+ </group>
246
439
  </group>
247
- <text macro="locators" />
248
- <group delimiter=". " prefix=". ">
249
- <text macro="publisher" />
250
- <text macro="access" />
251
- </group>
440
+ <text macro="access" prefix=" "/>
252
441
  </layout>
253
442
  </bibliography>
254
- </style>
443
+ </style>