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
@@ -0,0 +1,785 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only">
3
+ <info>
4
+ <title>Chicago Manual of Style (full note, no Ibid.)</title>
5
+ <id>http://www.zotero.org/styles/chicago-fullnote-bibliography-no-ibid</id>
6
+ <link href="http://www.zotero.org/styles/chicago-fullnote-bibliography-no-ibid" 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>Simon Kornblith</name>
14
+ <email>simon@simonster.com</email>
15
+ </contributor>
16
+ <contributor>
17
+ <name>Elena Razlogova</name>
18
+ <email>elena.razlogova@gmail.com</email>
19
+ </contributor>
20
+ <summary>Chicago format with full notes and bibliography</summary>
21
+ <category field="generic-base"/>
22
+ <category citation-format="numeric"/>
23
+ <updated>2009-12-04T20:22:16+00:00</updated>
24
+ <rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
25
+ </info>
26
+ <macro name="editor-translator">
27
+ <group delimiter=", ">
28
+ <choose>
29
+ <if variable="author">
30
+ <names variable="editor" delimiter=", ">
31
+ <label form="verb-short" text-case="lowercase" suffix=". " strip-periods="true"/>
32
+ <name and="text" delimiter=", "/>
33
+ </names>
34
+ <choose>
35
+ <if variable="container-author">
36
+ <group>
37
+ <names variable="container-author">
38
+ <label form="verb-short" prefix=" " text-case="lowercase" suffix=" " strip-periods="true"/>
39
+ <name and="text" delimiter=", "/>
40
+ </names>
41
+ </group>
42
+ </if>
43
+ </choose>
44
+ </if>
45
+ </choose>
46
+ <choose>
47
+ <if variable="author editor" match="any">
48
+ <names variable="translator" delimiter=", ">
49
+ <label form="verb-short" text-case="lowercase" suffix=". " strip-periods="true"/>
50
+ <name and="text" delimiter=", "/>
51
+ </names>
52
+ </if>
53
+ </choose>
54
+ </group>
55
+ </macro>
56
+ <macro name="secondary-contributors-note">
57
+ <choose>
58
+ <if type="chapter paper-conference" match="none">
59
+ <text macro="editor-translator"/>
60
+ </if>
61
+ </choose>
62
+ </macro>
63
+ <macro name="container-contributors-note">
64
+ <choose>
65
+ <if type="chapter paper-conference" match="any">
66
+ <text macro="editor-translator"/>
67
+ </if>
68
+ </choose>
69
+ </macro>
70
+ <macro name="secondary-contributors">
71
+ <choose>
72
+ <if type="chapter paper-conference" match="none">
73
+ <group delimiter=". ">
74
+ <choose>
75
+ <if variable="author">
76
+ <names variable="editor" delimiter=". ">
77
+ <label form="verb" text-case="capitalize-first" suffix=" "/>
78
+ <name and="text" delimiter=", "/>
79
+ </names>
80
+ </if>
81
+ </choose>
82
+ <choose>
83
+ <if variable="author editor" match="any">
84
+ <names variable="translator" delimiter=". ">
85
+ <label form="verb" text-case="capitalize-first" suffix=" "/>
86
+ <name and="text" delimiter=", "/>
87
+ </names>
88
+ </if>
89
+ </choose>
90
+ </group>
91
+ </if>
92
+ </choose>
93
+ </macro>
94
+ <macro name="container-contributors">
95
+ <choose>
96
+ <if type="chapter paper-conference" match="any">
97
+ <group delimiter=", ">
98
+ <choose>
99
+ <if variable="author">
100
+ <names variable="editor" delimiter=", ">
101
+ <label form="verb" text-case="lowercase" suffix=" "/>
102
+ <name and="text" delimiter=", "/>
103
+ </names>
104
+ <choose>
105
+ <if variable="container-author">
106
+ <group>
107
+ <names variable="container-author">
108
+ <label form="verb-short" prefix=" " text-case="lowercase" suffix=" " strip-periods="true"/>
109
+ <name and="text" delimiter=", "/>
110
+ </names>
111
+ </group>
112
+ </if>
113
+ </choose>
114
+ </if>
115
+ </choose>
116
+ <choose>
117
+ <if variable="author editor" match="any">
118
+ <names variable="translator" delimiter=", ">
119
+ <label form="verb" text-case="lowercase" suffix=" "/>
120
+ <name and="text" delimiter=", "/>
121
+ </names>
122
+ </if>
123
+ </choose>
124
+ </group>
125
+ </if>
126
+ </choose>
127
+ </macro>
128
+ <macro name="editor-note">
129
+ <names variable="editor">
130
+ <name and="text" sort-separator=", " delimiter=", "/>
131
+ <label form="short" prefix=", " suffix="." strip-periods="true"/>
132
+ </names>
133
+ </macro>
134
+ <macro name="translator-note">
135
+ <names variable="translator">
136
+ <name and="text" sort-separator=", " delimiter=", "/>
137
+ <label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
138
+ </names>
139
+ </macro>
140
+ <macro name="recipient-note">
141
+ <names variable="recipient" delimiter=", ">
142
+ <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
143
+ <name and="text" delimiter=", "/>
144
+ </names>
145
+ </macro>
146
+ <macro name="contributors-note">
147
+ <names variable="author">
148
+ <name and="text" sort-separator=", " delimiter=", "/>
149
+ <substitute>
150
+ <text macro="editor-note"/>
151
+ <text macro="translator-note"/>
152
+ </substitute>
153
+ </names>
154
+ <text macro="recipient-note"/>
155
+ </macro>
156
+ <macro name="editor">
157
+ <names variable="editor">
158
+ <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
159
+ <label form="short" prefix=", " suffix="." strip-periods="true"/>
160
+ </names>
161
+ </macro>
162
+ <macro name="translator">
163
+ <names variable="translator">
164
+ <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
165
+ <label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
166
+ </names>
167
+ </macro>
168
+ <macro name="recipient">
169
+ <choose>
170
+ <if type="personal_communication">
171
+ <choose>
172
+ <if variable="genre">
173
+ <text variable="genre" text-case="capitalize-first"/>
174
+ </if>
175
+ <else>
176
+ <text term="letter" text-case="capitalize-first"/>
177
+ </else>
178
+ </choose>
179
+ </if>
180
+ </choose>
181
+ <text macro="recipient-note" prefix=" "/>
182
+ </macro>
183
+ <macro name="contributors">
184
+ <names variable="author">
185
+ <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
186
+ <substitute>
187
+ <text macro="editor"/>
188
+ <text macro="translator"/>
189
+ </substitute>
190
+ </names>
191
+ <text macro="recipient" prefix=". "/>
192
+ </macro>
193
+ <macro name="recipient-short">
194
+ <names variable="recipient">
195
+ <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
196
+ <name form="short" and="text" delimiter=", "/>
197
+ </names>
198
+ </macro>
199
+ <macro name="contributors-short">
200
+ <names variable="author">
201
+ <name form="short" and="text" delimiter=", "/>
202
+ <substitute>
203
+ <names variable="editor"/>
204
+ <names variable="translator"/>
205
+ </substitute>
206
+ </names>
207
+ <text macro="recipient-short"/>
208
+ </macro>
209
+ <macro name="contributors-sort">
210
+ <names variable="author">
211
+ <name name-as-sort-order="all" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
212
+ <label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
213
+ <substitute>
214
+ <names variable="editor"/>
215
+ <names variable="translator"/>
216
+ </substitute>
217
+ </names>
218
+ </macro>
219
+ <macro name="interviewer-note">
220
+ <names variable="interviewer" delimiter=", ">
221
+ <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
222
+ <name and="text" delimiter=", "/>
223
+ </names>
224
+ </macro>
225
+ <macro name="interviewer">
226
+ <names variable="interviewer" delimiter=", ">
227
+ <label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
228
+ <name and="text" delimiter=", "/>
229
+ </names>
230
+ </macro>
231
+ <macro name="title-note">
232
+ <choose>
233
+ <if variable="title" match="none">
234
+ <text variable="genre"/>
235
+ </if>
236
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
237
+ <text variable="title" text-case="title" font-style="italic"/>
238
+ </else-if>
239
+ <else>
240
+ <text variable="title" text-case="title" quotes="true"/>
241
+ </else>
242
+ </choose>
243
+ </macro>
244
+ <macro name="title">
245
+ <choose>
246
+ <if variable="title" match="none">
247
+ <choose>
248
+ <if type="personal_communication" match="none">
249
+ <text variable="genre" text-case="capitalize-first"/>
250
+ </if>
251
+ </choose>
252
+ </if>
253
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
254
+ <text variable="title" text-case="title" font-style="italic"/>
255
+ </else-if>
256
+ <else>
257
+ <text variable="title" text-case="title" quotes="true"/>
258
+ </else>
259
+ </choose>
260
+ </macro>
261
+ <macro name="title-short">
262
+ <choose>
263
+ <if variable="title" match="none">
264
+ <choose>
265
+ <if type="interview">
266
+ <text term="interview" text-case="lowercase"/>
267
+ </if>
268
+ <else-if type="manuscript speech" match="any">
269
+ <text variable="genre" form="short"/>
270
+ </else-if>
271
+ <else-if type="personal_communication">
272
+ <text macro="issued"/>
273
+ </else-if>
274
+ </choose>
275
+ </if>
276
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
277
+ <text variable="title" text-case="title" form="short" font-style="italic"/>
278
+ </else-if>
279
+ <else>
280
+ <text variable="title" text-case="title" form="short" quotes="true"/>
281
+ </else>
282
+ </choose>
283
+ </macro>
284
+ <macro name="description-note">
285
+ <group delimiter=", ">
286
+ <text macro="interviewer-note"/>
287
+ <text variable="medium"/>
288
+ <choose>
289
+ <if variable="title" match="none"/>
290
+ <else-if type="thesis speech" match="any"/>
291
+ <else>
292
+ <text variable="genre"/>
293
+ </else>
294
+ </choose>
295
+ </group>
296
+ </macro>
297
+ <macro name="description">
298
+ <group delimiter=", ">
299
+ <group delimiter=". ">
300
+ <text macro="interviewer"/>
301
+ <text variable="medium" text-case="capitalize-first"/>
302
+ </group>
303
+ <choose>
304
+ <if variable="title" match="none"/>
305
+ <else-if type="thesis speech" match="any"/>
306
+ <else>
307
+ <text variable="genre" text-case="capitalize-first"/>
308
+ </else>
309
+ </choose>
310
+ </group>
311
+ </macro>
312
+ <macro name="container-title-note">
313
+ <choose>
314
+ <if type="chapter paper-conference" match="any">
315
+ <text term="in" text-case="lowercase" suffix=" "/>
316
+ </if>
317
+ </choose>
318
+ <choose>
319
+ <if type="legal_case" match="none">
320
+ <text variable="container-title" text-case="title" font-style="italic"/>
321
+ </if>
322
+ </choose>
323
+ </macro>
324
+ <macro name="container-title">
325
+ <choose>
326
+ <if type="chapter paper-conference" match="any">
327
+ <text term="in" text-case="capitalize-first" suffix=" "/>
328
+ </if>
329
+ </choose>
330
+ <choose>
331
+ <if type="legal_case" match="none">
332
+ <text variable="container-title" text-case="title" font-style="italic"/>
333
+ </if>
334
+ </choose>
335
+ </macro>
336
+ <macro name="collection-title">
337
+ <text variable="collection-title" text-case="title"/>
338
+ <text variable="collection-number" prefix=" "/>
339
+ </macro>
340
+ <macro name="edition-note">
341
+ <choose>
342
+ <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
343
+ <choose>
344
+ <if is-numeric="edition">
345
+ <group delimiter=" ">
346
+ <number variable="edition" form="ordinal"/>
347
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
348
+ </group>
349
+ </if>
350
+ <else>
351
+ <text variable="edition" suffix="."/>
352
+ </else>
353
+ </choose>
354
+ </if>
355
+ </choose>
356
+ </macro>
357
+ <macro name="edition">
358
+ <choose>
359
+ <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
360
+ <choose>
361
+ <if is-numeric="edition">
362
+ <group delimiter=" ">
363
+ <number variable="edition" form="ordinal"/>
364
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
365
+ </group>
366
+ </if>
367
+ <else>
368
+ <text variable="edition" text-case="capitalize-first" suffix="."/>
369
+ </else>
370
+ </choose>
371
+ </if>
372
+ </choose>
373
+ </macro>
374
+ <macro name="locators-note">
375
+ <choose>
376
+ <if type="article-journal">
377
+ <text variable="volume" prefix=" "/>
378
+ <group prefix=", ">
379
+ <text term="issue" form="short" suffix=". " strip-periods="true"/>
380
+ <number variable="issue"/>
381
+ </group>
382
+ </if>
383
+ <else-if type="legal_case">
384
+ <text variable="volume" prefix=", "/>
385
+ <text variable="container-title" prefix=" "/>
386
+ <text variable="page" prefix=" "/>
387
+ <text variable="locator" prefix=", "/>
388
+ </else-if>
389
+ <else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
390
+ <group prefix=", " delimiter=", ">
391
+ <group>
392
+ <text term="volume" form="short" suffix=". " strip-periods="true"/>
393
+ <number variable="volume" form="numeric"/>
394
+ </group>
395
+ <choose>
396
+ <if variable="locator" match="none">
397
+ <group>
398
+ <number variable="number-of-volumes" form="numeric"/>
399
+ <text term="volume" form="short" prefix=" " suffix="." plural="true" strip-periods="true"/>
400
+ </group>
401
+ </if>
402
+ </choose>
403
+ <text macro="edition-note"/>
404
+ </group>
405
+ </else-if>
406
+ </choose>
407
+ </macro>
408
+ <macro name="locators">
409
+ <choose>
410
+ <if type="article-journal">
411
+ <text variable="volume" prefix=" "/>
412
+ <group prefix=", ">
413
+ <text term="issue" form="short" suffix=". " strip-periods="true"/>
414
+ <number variable="issue"/>
415
+ </group>
416
+ </if>
417
+ <else-if type="legal_case">
418
+ <text variable="volume" prefix=", "/>
419
+ <text variable="container-title" prefix=" "/>
420
+ <text variable="page" prefix=" "/>
421
+ </else-if>
422
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
423
+ <group prefix=". " delimiter=". ">
424
+ <group>
425
+ <text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
426
+ <number variable="volume" form="numeric"/>
427
+ </group>
428
+ <group>
429
+ <number variable="number-of-volumes" form="numeric"/>
430
+ <text term="volume" form="short" prefix=" " suffix="." plural="true" strip-periods="true"/>
431
+ </group>
432
+ <text macro="edition"/>
433
+ </group>
434
+ </else-if>
435
+ <else-if type="chapter paper-conference" match="any">
436
+ <group prefix=". " delimiter=". ">
437
+ <choose>
438
+ <if variable="page" match="none">
439
+ <group>
440
+ <text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
441
+ <number variable="volume" form="numeric"/>
442
+ </group>
443
+ </if>
444
+ </choose>
445
+ <text macro="edition"/>
446
+ </group>
447
+ </else-if>
448
+ </choose>
449
+ </macro>
450
+ <macro name="locators-newspaper">
451
+ <choose>
452
+ <if type="article-newspaper">
453
+ <group delimiter=", ">
454
+ <group>
455
+ <text variable="edition" suffix=" "/>
456
+ <text term="edition" prefix=" "/>
457
+ </group>
458
+ <group>
459
+ <text term="section" form="short" suffix=". " strip-periods="true"/>
460
+ <text variable="section"/>
461
+ </group>
462
+ </group>
463
+ </if>
464
+ </choose>
465
+ </macro>
466
+ <macro name="event">
467
+ <group>
468
+ <text term="presented at" suffix=" "/>
469
+ <text variable="event"/>
470
+ </group>
471
+ </macro>
472
+ <macro name="publisher">
473
+ <choose>
474
+ <if type="thesis">
475
+ <text variable="publisher"/>
476
+ </if>
477
+ <else>
478
+ <group delimiter=": ">
479
+ <text variable="publisher-place"/>
480
+ <text variable="publisher"/>
481
+ </group>
482
+ </else>
483
+ </choose>
484
+ </macro>
485
+ <macro name="issued">
486
+ <choose>
487
+ <if variable="issued">
488
+ <choose>
489
+ <if type="graphic report" match="any">
490
+ <date variable="issued">
491
+ <date-part name="month" suffix=" "/>
492
+ <date-part name="day" suffix=", "/>
493
+ <date-part name="year"/>
494
+ </date>
495
+ </if>
496
+ <else-if type="legal_case">
497
+ <text variable="authority" suffix=" "/>
498
+ <date variable="issued">
499
+ <date-part name="year"/>
500
+ </date>
501
+ </else-if>
502
+ <else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="any">
503
+ <date variable="issued">
504
+ <date-part name="year"/>
505
+ </date>
506
+ </else-if>
507
+ <else>
508
+ <date variable="issued">
509
+ <date-part name="month" suffix=" "/>
510
+ <date-part name="day" suffix=", "/>
511
+ <date-part name="year"/>
512
+ </date>
513
+ </else>
514
+ </choose>
515
+ </if>
516
+ <else>
517
+ <text term="no date" form="short"/>
518
+ </else>
519
+ </choose>
520
+ </macro>
521
+ <macro name="point-locators-subsequent">
522
+ <choose>
523
+ <if variable="locator">
524
+ <choose>
525
+ <if locator="page" match="none">
526
+ <choose>
527
+ <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
528
+ <choose>
529
+ <if variable="volume">
530
+ <group>
531
+ <text term="volume" form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
532
+ <number variable="volume" form="numeric"/>
533
+ <label variable="locator" form="short" prefix=", " suffix=" "/>
534
+ </group>
535
+ </if>
536
+ <else>
537
+ <label variable="locator" form="short" suffix=" "/>
538
+ </else>
539
+ </choose>
540
+ </if>
541
+ </choose>
542
+ </if>
543
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
544
+ <number variable="volume" form="numeric" suffix=":"/>
545
+ </else-if>
546
+ </choose>
547
+ <text variable="locator"/>
548
+ </if>
549
+ </choose>
550
+ </macro>
551
+ <macro name="point-locators">
552
+ <choose>
553
+ <if variable="locator" match="none">
554
+ <text macro="pages"/>
555
+ </if>
556
+ <else-if type="article-journal">
557
+ <text variable="locator" prefix=": "/>
558
+ </else-if>
559
+ <else-if type="legal_case"/>
560
+ <else>
561
+ <group prefix=", ">
562
+ <choose>
563
+ <if locator="page" match="none">
564
+ <label variable="locator" form="short" suffix=" "/>
565
+ </if>
566
+ </choose>
567
+ <text variable="locator"/>
568
+ </group>
569
+ </else>
570
+ </choose>
571
+ </macro>
572
+ <macro name="pages">
573
+ <choose>
574
+ <if type="article-journal">
575
+ <text variable="page" prefix=": "/>
576
+ </if>
577
+ <else-if type="chapter paper-conference" match="any">
578
+ <text variable="page" prefix=", "/>
579
+ </else-if>
580
+ </choose>
581
+ </macro>
582
+ <macro name="locators-chapter">
583
+ <choose>
584
+ <if type="chapter paper-conference" match="any">
585
+ <choose>
586
+ <if variable="page">
587
+ <text variable="volume" suffix=":"/>
588
+ <text variable="page"/>
589
+ </if>
590
+ </choose>
591
+ </if>
592
+ </choose>
593
+ </macro>
594
+ <macro name="locators-journal">
595
+ <choose>
596
+ <if type="article-journal">
597
+ <text variable="page" prefix=": "/>
598
+ </if>
599
+ </choose>
600
+ </macro>
601
+ <macro name="archive-note">
602
+ <choose>
603
+ <if type="thesis">
604
+ <group delimiter=" ">
605
+ <text variable="archive"/>
606
+ <text variable="archive_location" prefix="(" suffix=")"/>
607
+ </group>
608
+ </if>
609
+ <else>
610
+ <group delimiter=", ">
611
+ <text variable="archive_location"/>
612
+ <text variable="archive"/>
613
+ <text variable="archive-place"/>
614
+ </group>
615
+ </else>
616
+ </choose>
617
+ </macro>
618
+ <macro name="archive">
619
+ <choose>
620
+ <if type="thesis">
621
+ <group delimiter=" ">
622
+ <text variable="archive"/>
623
+ <text variable="archive_location" prefix="(" suffix=")"/>
624
+ </group>
625
+ </if>
626
+ <else>
627
+ <group delimiter=". ">
628
+ <text variable="archive_location" text-case="capitalize-first"/>
629
+ <text variable="archive"/>
630
+ <text variable="archive-place"/>
631
+ </group>
632
+ </else>
633
+ </choose>
634
+ </macro>
635
+ <macro name="issue-note">
636
+ <choose>
637
+ <if type="article-journal legal_case" match="any">
638
+ <text macro="issued" prefix=" (" suffix=")"/>
639
+ </if>
640
+ <else-if variable="publisher-place publisher" match="any">
641
+ <group prefix=" (" suffix=")" delimiter=", ">
642
+ <group delimiter=" ">
643
+ <choose>
644
+ <if variable="title" match="none"/>
645
+ <else-if type="thesis speech" match="any">
646
+ <text variable="genre"/>
647
+ </else-if>
648
+ </choose>
649
+ <text macro="event"/>
650
+ </group>
651
+ <text macro="publisher"/>
652
+ <text macro="issued"/>
653
+ </group>
654
+ </else-if>
655
+ <else>
656
+ <text macro="issued" prefix=", "/>
657
+ </else>
658
+ </choose>
659
+ </macro>
660
+ <macro name="issue">
661
+ <choose>
662
+ <if type="article-journal legal_case" match="any">
663
+ <text macro="issued" prefix=" (" suffix=")"/>
664
+ </if>
665
+ <else-if type="speech">
666
+ <choose>
667
+ <if variable="title" match="none"/>
668
+ <else>
669
+ <text variable="genre" text-case="capitalize-first" prefix=". "/>
670
+ </else>
671
+ </choose>
672
+ <text macro="event" prefix=" "/>
673
+ <text variable="event-place" prefix=", "/>
674
+ <text macro="issued" prefix=", "/>
675
+ </else-if>
676
+ <else-if variable="publisher-place publisher" match="any">
677
+ <group prefix=". " delimiter=", ">
678
+ <choose>
679
+ <if type="thesis">
680
+ <text variable="genre" text-case="capitalize-first"/>
681
+ </if>
682
+ </choose>
683
+ <text macro="publisher"/>
684
+ <text macro="issued"/>
685
+ </group>
686
+ </else-if>
687
+ <else>
688
+ <text macro="issued" prefix=", "/>
689
+ </else>
690
+ </choose>
691
+ </macro>
692
+ <macro name="access-note">
693
+ <group delimiter=", ">
694
+ <choose>
695
+ <if type="graphic report" match="any">
696
+ <text macro="archive-note"/>
697
+ </if>
698
+ <else-if type="article-journal article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
699
+ <text macro="archive-note"/>
700
+ </else-if>
701
+ </choose>
702
+ <choose>
703
+ <if type="legal_case" match="none">
704
+ <text variable="URL"/>
705
+ </if>
706
+ </choose>
707
+ </group>
708
+ </macro>
709
+ <macro name="access">
710
+ <group delimiter=". ">
711
+ <choose>
712
+ <if type="graphic report" match="any">
713
+ <text macro="archive"/>
714
+ </if>
715
+ <else-if type="article-journal article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
716
+ <text macro="archive"/>
717
+ </else-if>
718
+ </choose>
719
+ <choose>
720
+ <if type="legal_case" match="none">
721
+ <text variable="URL"/>
722
+ </if>
723
+ </choose>
724
+ </group>
725
+ </macro>
726
+ <macro name="sort-key">
727
+ <text macro="contributors-sort" suffix=" "/>
728
+ <text variable="title" suffix=" "/>
729
+ <text variable="genre"/>
730
+ </macro>
731
+ <citation et-al-min="4" et-al-use-first="1" disambiguate-add-names="true">
732
+ <layout prefix="" suffix="." delimiter="; ">
733
+ <choose>
734
+ <if position="subsequent">
735
+ <group delimiter=", ">
736
+ <text macro="contributors-short"/>
737
+ <text macro="title-short"/>
738
+ <text macro="point-locators-subsequent"/>
739
+ </group>
740
+ </if>
741
+ <else>
742
+ <group delimiter=", ">
743
+ <text macro="contributors-note"/>
744
+ <text macro="title-note"/>
745
+ <text macro="description-note"/>
746
+ <text macro="secondary-contributors-note"/>
747
+ <text macro="container-title-note"/>
748
+ <text macro="container-contributors-note"/>
749
+ </group>
750
+ <text macro="locators-note"/>
751
+ <text macro="collection-title" prefix=", "/>
752
+ <text macro="issue-note"/>
753
+ <text macro="locators-newspaper" prefix=", "/>
754
+ <text macro="point-locators"/>
755
+ <text macro="access-note" prefix=", "/>
756
+ </else>
757
+ </choose>
758
+ </layout>
759
+ </citation>
760
+ <bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="———" entry-spacing="0">
761
+ <sort>
762
+ <key macro="sort-key"/>
763
+ <key variable="issued"/>
764
+ </sort>
765
+ <layout suffix=".">
766
+ <group delimiter=". ">
767
+ <text macro="contributors"/>
768
+ <text macro="title"/>
769
+ <text macro="description"/>
770
+ <text macro="secondary-contributors"/>
771
+ <group delimiter=", ">
772
+ <text macro="container-title"/>
773
+ <text macro="container-contributors"/>
774
+ <text macro="locators-chapter"/>
775
+ </group>
776
+ </group>
777
+ <text macro="locators"/>
778
+ <text macro="collection-title" prefix=". "/>
779
+ <text macro="issue"/>
780
+ <text macro="locators-newspaper" prefix=", "/>
781
+ <text macro="locators-journal"/>
782
+ <text macro="access" prefix=". "/>
783
+ </layout>
784
+ </bibliography>
785
+ </style>