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,685 @@
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 (quick copy)</title>
5
+ <id>http://www.zotero.org/styles/chicago-quick-copy</id>
6
+ <link href="http://www.zotero.org/styles/chicago-quick-copy" 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 for quick copy function in Zotero</summary>
21
+ <category field="generic-base"/>
22
+ <category citation-format="numeric"/>
23
+ <updated>2012-01-01T00:00:00+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" 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-newspaper">
409
+ <choose>
410
+ <if type="article-newspaper">
411
+ <group delimiter=", ">
412
+ <group>
413
+ <text variable="edition" suffix=" "/>
414
+ <text term="edition" prefix=" "/>
415
+ </group>
416
+ <group>
417
+ <text term="section" form="short" suffix=". " strip-periods="true"/>
418
+ <text variable="section"/>
419
+ </group>
420
+ </group>
421
+ </if>
422
+ </choose>
423
+ </macro>
424
+ <macro name="event">
425
+ <group>
426
+ <text term="presented at" suffix=" "/>
427
+ <text variable="event"/>
428
+ </group>
429
+ </macro>
430
+ <macro name="publisher">
431
+ <group delimiter=": ">
432
+ <text variable="publisher-place"/>
433
+ <text variable="publisher"/>
434
+ </group>
435
+ </macro>
436
+ <macro name="issued">
437
+ <choose>
438
+ <if variable="issued">
439
+ <choose>
440
+ <if type="graphic report" match="any">
441
+ <date variable="issued">
442
+ <date-part name="month" suffix=" "/>
443
+ <date-part name="day" suffix=", "/>
444
+ <date-part name="year"/>
445
+ </date>
446
+ </if>
447
+ <else-if type="legal_case">
448
+ <text variable="authority" suffix=" "/>
449
+ <date variable="issued">
450
+ <date-part name="year"/>
451
+ </date>
452
+ </else-if>
453
+ <else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="any">
454
+ <date variable="issued">
455
+ <date-part name="year"/>
456
+ </date>
457
+ </else-if>
458
+ <else>
459
+ <date variable="issued">
460
+ <date-part name="month" suffix=" "/>
461
+ <date-part name="day" suffix=", "/>
462
+ <date-part name="year"/>
463
+ </date>
464
+ </else>
465
+ </choose>
466
+ </if>
467
+ <else>
468
+ <text term="no date" form="short"/>
469
+ </else>
470
+ </choose>
471
+ </macro>
472
+ <macro name="point-locators-subsequent">
473
+ <choose>
474
+ <if variable="locator">
475
+ <choose>
476
+ <if locator="page" match="none">
477
+ <choose>
478
+ <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
479
+ <choose>
480
+ <if variable="volume">
481
+ <group>
482
+ <text term="volume" form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
483
+ <number variable="volume" form="numeric"/>
484
+ <label variable="locator" form="short" prefix=", " suffix=" "/>
485
+ </group>
486
+ </if>
487
+ <else>
488
+ <label variable="locator" form="short" suffix=" "/>
489
+ </else>
490
+ </choose>
491
+ </if>
492
+ </choose>
493
+ </if>
494
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
495
+ <number variable="volume" form="numeric" suffix=":"/>
496
+ </else-if>
497
+ </choose>
498
+ <text variable="locator"/>
499
+ </if>
500
+ </choose>
501
+ </macro>
502
+ <macro name="point-locators">
503
+ <choose>
504
+ <if variable="locator" match="none">
505
+ <text macro="pages"/>
506
+ </if>
507
+ <else-if type="article-journal">
508
+ <text variable="locator" prefix=": "/>
509
+ </else-if>
510
+ <else-if type="legal_case"/>
511
+ <else>
512
+ <group prefix=", ">
513
+ <choose>
514
+ <if locator="page" match="none">
515
+ <label variable="locator" form="short" suffix=" "/>
516
+ </if>
517
+ </choose>
518
+ <text variable="locator"/>
519
+ </group>
520
+ </else>
521
+ </choose>
522
+ </macro>
523
+ <macro name="pages">
524
+ <choose>
525
+ <if type="article-journal">
526
+ <text variable="page" prefix=": "/>
527
+ </if>
528
+ <else-if type="chapter paper-conference" match="any">
529
+ <text variable="page" prefix=", "/>
530
+ </else-if>
531
+ </choose>
532
+ </macro>
533
+ <macro name="locators-chapter">
534
+ <choose>
535
+ <if type="chapter paper-conference" match="any">
536
+ <text variable="volume" suffix=":"/>
537
+ <text variable="page"/>
538
+ </if>
539
+ </choose>
540
+ </macro>
541
+ <macro name="locators-journal">
542
+ <choose>
543
+ <if type="article-journal">
544
+ <text variable="page" prefix=": "/>
545
+ </if>
546
+ </choose>
547
+ </macro>
548
+ <macro name="archive-note">
549
+ <group delimiter=", ">
550
+ <text variable="archive_location"/>
551
+ <text variable="archive"/>
552
+ <text variable="archive-place"/>
553
+ </group>
554
+ </macro>
555
+ <macro name="archive">
556
+ <group delimiter=". ">
557
+ <text variable="archive_location" text-case="capitalize-first"/>
558
+ <text variable="archive"/>
559
+ <text variable="archive-place"/>
560
+ </group>
561
+ </macro>
562
+ <macro name="issue-note">
563
+ <choose>
564
+ <if type="article-journal legal_case" match="any">
565
+ <text macro="issued" prefix=" (" suffix=")"/>
566
+ </if>
567
+ <else-if variable="publisher-place publisher" match="any">
568
+ <group prefix=" (" suffix=")" delimiter=", ">
569
+ <group delimiter=" ">
570
+ <choose>
571
+ <if variable="title" match="none"/>
572
+ <else-if type="thesis speech" match="any">
573
+ <text variable="genre"/>
574
+ </else-if>
575
+ </choose>
576
+ <text macro="event"/>
577
+ </group>
578
+ <text macro="publisher"/>
579
+ <text macro="issued"/>
580
+ </group>
581
+ </else-if>
582
+ <else>
583
+ <text macro="issued" prefix=", "/>
584
+ </else>
585
+ </choose>
586
+ </macro>
587
+ <macro name="issue">
588
+ <choose>
589
+ <if type="article-journal legal_case" match="any">
590
+ <text macro="issued" prefix=" (" suffix=")"/>
591
+ </if>
592
+ <else-if type="speech">
593
+ <choose>
594
+ <if variable="title" match="none"/>
595
+ <else>
596
+ <text variable="genre" text-case="capitalize-first" prefix=". "/>
597
+ </else>
598
+ </choose>
599
+ <text macro="event" prefix=" "/>
600
+ <text variable="event-place" prefix=", "/>
601
+ <text macro="issued" prefix=", "/>
602
+ </else-if>
603
+ <else-if variable="publisher-place publisher" match="any">
604
+ <group prefix=". " delimiter=", ">
605
+ <choose>
606
+ <if type="thesis">
607
+ <text variable="genre" text-case="capitalize-first"/>
608
+ </if>
609
+ </choose>
610
+ <text macro="publisher"/>
611
+ <text macro="issued"/>
612
+ </group>
613
+ </else-if>
614
+ <else>
615
+ <text macro="issued" prefix=", "/>
616
+ </else>
617
+ </choose>
618
+ </macro>
619
+ <macro name="access-note">
620
+ <group delimiter=", ">
621
+ <choose>
622
+ <if type="graphic report" match="any">
623
+ <text macro="archive-note"/>
624
+ </if>
625
+ <else-if type="article-journal article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="none">
626
+ <text macro="archive-note"/>
627
+ </else-if>
628
+ </choose>
629
+ <choose>
630
+ <if type="legal_case" match="none">
631
+ <text variable="URL"/>
632
+ </if>
633
+ </choose>
634
+ </group>
635
+ </macro>
636
+ <macro name="access">
637
+ <group delimiter=". ">
638
+ <choose>
639
+ <if type="graphic report" match="any">
640
+ <text macro="archive"/>
641
+ </if>
642
+ <else-if type="article-journal article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="none">
643
+ <text macro="archive"/>
644
+ </else-if>
645
+ </choose>
646
+ <choose>
647
+ <if type="legal_case" match="none">
648
+ <text variable="URL"/>
649
+ </if>
650
+ </choose>
651
+ </group>
652
+ </macro>
653
+ <macro name="sort-key">
654
+ <text macro="contributors-sort" suffix=" "/>
655
+ <text variable="title" suffix=" "/>
656
+ <text variable="genre"/>
657
+ </macro>
658
+ <citation et-al-min="4" et-al-use-first="1" et-al-subsequent-min="4" et-al-subsequent-use-first="1" disambiguate-add-names="true">
659
+ <layout prefix="" suffix="." delimiter="; ">
660
+ <group delimiter=", ">
661
+ <text macro="contributors-short"/>
662
+ <text macro="title-short"/>
663
+ <text macro="point-locators-subsequent"/>
664
+ </group>
665
+ </layout>
666
+ </citation>
667
+ <bibliography et-al-min="4" et-al-use-first="1">
668
+ <layout suffix=".">
669
+ <group delimiter=", ">
670
+ <text macro="contributors-note"/>
671
+ <text macro="title-note"/>
672
+ <text macro="description-note"/>
673
+ <text macro="secondary-contributors-note"/>
674
+ <text macro="container-title-note"/>
675
+ <text macro="container-contributors-note"/>
676
+ </group>
677
+ <text macro="locators-note"/>
678
+ <text macro="collection-title" prefix=", "/>
679
+ <text macro="issue-note"/>
680
+ <text macro="locators-newspaper" prefix=", "/>
681
+ <text macro="point-locators"/>
682
+ <text macro="access-note" prefix=", "/>
683
+ </layout>
684
+ </bibliography>
685
+ </style>