citeproc-ruby 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,707 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <style xmlns="http://purl.org/net/xbiblio/csl" default-locale="eu" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
3
+ <info>
4
+ <title>Chicago Manual of Style (author-date, Basque)</title>
5
+ <id>http://www.zotero.org/styles/chicago-author-date-basque</id>
6
+ <link href="http://www.zotero.org/styles/chicago-author-date-basque" rel="self"/>
7
+ <link href="http://www.zotero.org/styles/chicago-author-date" rel="template"/>
8
+ <author>
9
+ <name>amaraun</name>
10
+ <email>amaraun@gmail.com</email>
11
+ </author>
12
+ <category citation-format="author-date"/>
13
+ <category field="generic-base"/>
14
+ <updated>2011-12-23T01:16:03+00:00</updated>
15
+ <summary>Modification for Basque language of the Chicago Manual</summary>
16
+ <rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
17
+ </info>
18
+ <locale>
19
+ <style-options punctuation-in-quote="false"/>
20
+ <date form="text">
21
+ <date-part name="year" suffix="(e)ko "/>
22
+ <date-part name="month" suffix="aren "/>
23
+ <date-part name="day" suffix="a"/>
24
+ </date>
25
+ <date form="numeric">
26
+ <date-part name="year" suffix="/"/>
27
+ <date-part name="month" form="numeric-leading-zeros" suffix="/"/>
28
+ <date-part name="day" form="numeric-leading-zeros"/>
29
+ </date>
30
+ <terms>
31
+ <term name="accessed">eskuratua</term>
32
+ <term name="and">eta</term>
33
+ <term name="and others">eta beste</term>
34
+ <term name="anonymous">ezezaguna</term>
35
+ <term name="anonymous" form="short">ezez.</term>
36
+ <term name="at">-(e)n</term>
37
+ <term name="by">-(e)k egina</term>
38
+ <term name="circa">inguru</term>
39
+ <term name="circa" form="short">ing.</term>
40
+ <term name="cited">aipatua</term>
41
+ <term name="edition">
42
+ <single>argitalpena</single>
43
+ <multiple>argitalpenak</multiple>
44
+ </term>
45
+ <term name="edition" form="short">arg.</term>
46
+ <term name="et-al">et al.</term>
47
+ <term name="forthcoming">bidean</term>
48
+ <term name="from">-(e)tik</term>
49
+ <term name="ibid">ibíd.</term>
50
+ <term name="in">in</term>
51
+ <term name="in press">moldiztegian</term>
52
+ <term name="internet">internet</term>
53
+ <term name="interview">elkarrizketa</term>
54
+ <term name="letter">gutuna</term>
55
+ <term name="no date">datarik gabe</term>
56
+ <term name="no date" form="short">d. g.</term>
57
+ <term name="online">sarean</term>
58
+ <term name="presented at">-(e)n aurkeztua</term>
59
+ <term name="reference">
60
+ <single>aipamena</single>
61
+ <multiple>aipamenak</multiple>
62
+ </term>
63
+ <term name="reference" form="short">
64
+ <single>aip.</single>
65
+ <multiple>aip.</multiple>
66
+ </term>
67
+ <term name="retrieved">berreskuratua</term>
68
+ <!-- ANNO DOMINI; BEFORE CHRIST -->
69
+ <term name="ad">K.a.</term>
70
+ <term name="bc">K.o.</term>
71
+ <!-- QUOTES -->
72
+ <!-- Source: http://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks -->
73
+ <term name="open-quote">«</term>
74
+ <term name="close-quote">»</term>
75
+ <term name="open-inner-quote">“</term>
76
+ <term name="close-inner-quote">”</term>
77
+ <!-- ORDINALS -->
78
+ <term name="ordinal-01">.</term>
79
+ <term name="ordinal-02">.</term>
80
+ <term name="ordinal-03">.</term>
81
+ <term name="ordinal-04">.</term>
82
+ <!-- LONG ORDINALS -->
83
+ <term name="long-ordinal-01">lehengo</term>
84
+ <term name="long-ordinal-02">bigarren</term>
85
+ <term name="long-ordinal-03">hirugarren</term>
86
+ <term name="long-ordinal-04">laugarren</term>
87
+ <term name="long-ordinal-05">bosgarren</term>
88
+ <term name="long-ordinal-06">seigarren</term>
89
+ <term name="long-ordinal-07">zazpigarren</term>
90
+ <term name="long-ordinal-08">zortzigarren</term>
91
+ <term name="long-ordinal-09">bederatzigarren</term>
92
+ <term name="long-ordinal-10">hamargarren</term>
93
+ <!-- CATEGORIES -->
94
+ <term name="anthropology">antropologia</term>
95
+ <term name="astronomy">astronomia</term>
96
+ <term name="biology">biologia</term>
97
+ <term name="botany">botanika</term>
98
+ <term name="chemistry">kimika</term>
99
+ <term name="engineering">ingenieritza</term>
100
+ <term name="generic-base">oinarri orokorra</term>
101
+ <term name="geography">geografia</term>
102
+ <term name="geology">geologia</term>
103
+ <term name="history">historia</term>
104
+ <term name="humanities">giza-gaiak</term>
105
+ <term name="linguistics">hizkuntzalaritza</term>
106
+ <term name="literature">literatura</term>
107
+ <term name="math">matematika</term>
108
+ <term name="medicine">medikuntza</term>
109
+ <term name="philosophy">filosofia</term>
110
+ <term name="physics">fiska</term>
111
+ <term name="psychology">psicologia</term>
112
+ <term name="sociology">soziologia</term>
113
+ <term name="science">zientziak</term>
114
+ <term name="political_science">politika zientziak</term>
115
+ <term name="social_science">gizarte zientziak</term>
116
+ <term name="theology">teologia</term>
117
+ <term name="zoology">zoologia</term>
118
+ <!-- LONG LOCATOR FORMS -->
119
+ <term name="book">
120
+ <single>liburua</single>
121
+ <multiple>liburuak</multiple>
122
+ </term>
123
+ <term name="chapter">
124
+ <single>kapitulua</single>
125
+ <multiple>kapituluak</multiple>
126
+ </term>
127
+ <term name="column">
128
+ <single>zutabea</single>
129
+ <multiple>zutabeak</multiple>
130
+ </term>
131
+ <term name="figure">
132
+ <single>irudia</single>
133
+ <multiple>irudiak</multiple>
134
+ </term>
135
+ <term name="folio">
136
+ <single>orria</single>
137
+ <multiple>orriak</multiple>
138
+ </term>
139
+ <term name="issue">
140
+ <single>zenbakia</single>
141
+ <multiple>zenbakiak</multiple>
142
+ </term>
143
+ <term name="line">
144
+ <single>lerroa</single>
145
+ <multiple>lerroak</multiple>
146
+ </term>
147
+ <term name="note">
148
+ <single>oharra</single>
149
+ <multiple>oharrak</multiple>
150
+ </term>
151
+ <term name="opus">
152
+ <single>obra</single>
153
+ <multiple>obrak</multiple>
154
+ </term>
155
+ <term name="page">
156
+ <single>orrialdea</single>
157
+ <multiple>orrialdeak</multiple>
158
+ </term>
159
+ <term name="paragraph">
160
+ <single>paragrafoa</single>
161
+ <multiple>paragrafoak</multiple>
162
+ </term>
163
+ <term name="part">
164
+ <single>zatia</single>
165
+ <multiple>zatiak</multiple>
166
+ </term>
167
+ <term name="section">
168
+ <single>atala</single>
169
+ <multiple>atalak</multiple>
170
+ </term>
171
+ <term name="sub verbo">
172
+ <single>sub voce</single>
173
+ <multiple>sub vocem</multiple>
174
+ </term>
175
+ <term name="verse">
176
+ <single>bertsoa</single>
177
+ <multiple>bertsoak</multiple>
178
+ </term>
179
+ <term name="volume">
180
+ <single>luburikia</single>
181
+ <multiple>luburukiak</multiple>
182
+ </term>
183
+ <!-- SHORT LOCATOR FORMS -->
184
+ <term name="book" form="short">lib.</term>
185
+ <term name="chapter" form="short">kap.</term>
186
+ <term name="column" form="short">zut.</term>
187
+ <term name="figure" form="short">iru.</term>
188
+ <term name="folio" form="short">or.</term>
189
+ <term name="issue" form="short">zenb.</term>
190
+ <term name="opus" form="short">op.</term>
191
+ <term name="page" form="short">
192
+ <single>or.</single>
193
+ <multiple>or.</multiple>
194
+ </term>
195
+ <term name="paragraph" form="short">par.</term>
196
+ <term name="part" form="short">zt.</term>
197
+ <term name="section" form="short">atal.</term>
198
+ <term name="sub verbo" form="short">
199
+ <single>s.v.</single>
200
+ <multiple>s.v.</multiple>
201
+ </term>
202
+ <term name="verse" form="short">
203
+ <single>b.</single>
204
+ <multiple>bb.</multiple>
205
+ </term>
206
+ <term name="volume" form="short">
207
+ <single>libk.</single>
208
+ <multiple>libk.</multiple>
209
+ </term>
210
+ <!-- SYMBOL LOCATOR FORMS -->
211
+ <term name="paragraph" form="symbol">
212
+ <single>¶</single>
213
+ <multiple>¶¶</multiple>
214
+ </term>
215
+ <term name="section" form="symbol">
216
+ <single>§</single>
217
+ <multiple>§</multiple>
218
+ </term>
219
+ <!-- LONG ROLE FORMS -->
220
+ <term name="author">
221
+ <single/>
222
+ <multiple/>
223
+ </term>
224
+ <term name="editor">
225
+ <single>argitaratzailea</single>
226
+ <multiple>argitaratzaileak</multiple>
227
+ </term>
228
+ <term name="editorial-director">
229
+ <single>argitaratzailea</single>
230
+ <multiple>argitaratzaileak</multiple>
231
+ </term>
232
+ <term name="translator">
233
+ <single>itzultzailea</single>
234
+ <multiple>itzultzaileak</multiple>
235
+ </term>
236
+ <term name="editortranslator">
237
+ <single>argitaratzaile eta itzultzailea</single>
238
+ <multiple>argitaratzaile eta itzultzaileak</multiple>
239
+ </term>
240
+ <!-- SHORT ROLE FORMS -->
241
+ <term name="author" form="short">
242
+ <single/>
243
+ <multiple/>
244
+ </term>
245
+ <term name="editor" form="short">
246
+ <single>arg.</single>
247
+ <multiple>arg.</multiple>
248
+ </term>
249
+ <term name="editorial-director" form="short">
250
+ <single>arg.</single>
251
+ <multiple>arg.</multiple>
252
+ </term>
253
+ <term name="translator" form="short">
254
+ <single>itzul.</single>
255
+ <multiple>itzul.</multiple>
256
+ </term>
257
+ <term name="editortranslator" form="short">
258
+ <single>arg. eta itzul.</single>
259
+ <multiple>arg. eta itzul.</multiple>
260
+ </term>
261
+ <!-- VERB ROLE FORMS -->
262
+ <term name="editor" form="verb">-(e)k argitaratua</term>
263
+ <term name="editorial-director" form="verb">-(e)k argitaratua</term>
264
+ <term name="translator" form="verb">-(e)k itzulia</term>
265
+ <term name="editortranslator" form="verb">-(e)k argitaratu eta itzulia</term>
266
+ <term name="recipient" form="verb">-(r)entzat</term>
267
+ <term name="interviewer" form="verb">-(e)k elkarrizketatua</term>
268
+ <!-- SHORT VERB ROLE FORMS -->
269
+ <term name="container-author" form="verb-short"/>
270
+ <term name="editor" form="verb-short">arg.</term>
271
+ <term name="editorial-director" form="verb-short">arg.</term>
272
+ <term name="translator" form="verb-short">itzul.</term>
273
+ <term name="editortranslator" form="verb-short">-(e)k arg. eta itzul.</term>
274
+ <!-- LONG MONTH FORMS -->
275
+ <term name="month-01">urtarrilak</term>
276
+ <term name="month-02">otsailak</term>
277
+ <term name="month-03">martxoak</term>
278
+ <term name="month-04">apirilak</term>
279
+ <term name="month-05">maiatzak</term>
280
+ <term name="month-06">ekainak</term>
281
+ <term name="month-07">uztailak</term>
282
+ <term name="month-08">abuztuak</term>
283
+ <term name="month-09">irailak</term>
284
+ <term name="month-10">urriak</term>
285
+ <term name="month-11">azaroak</term>
286
+ <term name="month-12">abenduak</term>
287
+ <!-- SHORT MONTH FORMS -->
288
+ <term name="month-01" form="short">urt.</term>
289
+ <term name="month-02" form="short">ots.</term>
290
+ <term name="month-03" form="short">martx.</term>
291
+ <term name="month-04" form="short">apr.</term>
292
+ <term name="month-05" form="short">mai.</term>
293
+ <term name="month-06" form="short">eka.</term>
294
+ <term name="month-07" form="short">uzt.</term>
295
+ <term name="month-08" form="short">abz.</term>
296
+ <term name="month-09" form="short">ira.</term>
297
+ <term name="month-10" form="short">urr.</term>
298
+ <term name="month-11" form="short">aza.</term>
299
+ <term name="month-12" form="short">abe.</term>
300
+ <!-- SEASONS -->
301
+ <term name="season-01">udaberria</term>
302
+ <term name="season-02">uda</term>
303
+ <term name="season-03">udazkena</term>
304
+ <term name="season-04">negua</term>
305
+ </terms>
306
+ </locale>
307
+ <macro name="secondary-contributors">
308
+ <choose>
309
+ <if type="chapter paper-conference" match="none">
310
+ <group delimiter=". ">
311
+ <choose>
312
+ <if variable="author">
313
+ <names variable="editor">
314
+ <name and="symbol" delimiter="; " name-as-sort-order="all"/>
315
+ <label form="verb-short" text-case="capitalize-first" prefix=" (" suffix=".)" strip-periods="true"/>
316
+ </names>
317
+ </if>
318
+ </choose>
319
+ <choose>
320
+ <if variable="author editor" match="any">
321
+ <names variable="translator">
322
+ <name and="symbol" delimiter="; " name-as-sort-order="all"/>
323
+ <label form="verb-short" text-case="capitalize-first" prefix=" (" suffix=".)" strip-periods="true"/>
324
+ </names>
325
+ </if>
326
+ </choose>
327
+ </group>
328
+ </if>
329
+ </choose>
330
+ </macro>
331
+ <macro name="container-prefix">
332
+ <text term="in"/>
333
+ </macro>
334
+ <macro name="container-contributors">
335
+ <choose>
336
+ <if type="chapter paper-conference" match="any">
337
+ <text macro="container-prefix" prefix=" " suffix=" "/>
338
+ </if>
339
+ </choose>
340
+ <choose>
341
+ <if type="chapter paper-conference" match="any">
342
+ <group delimiter="; ">
343
+ <choose>
344
+ <if variable="author">
345
+ <choose>
346
+ <if variable="container-author">
347
+ <group>
348
+ <names variable="container-author">
349
+ <name name-as-sort-order="all" delimiter="; " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1"/>
350
+ </names>
351
+ </group>
352
+ </if>
353
+ </choose>
354
+ <names variable="editor">
355
+ <name and="symbol" name-as-sort-order="all" delimiter="; " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1"/>
356
+ <label form="verb-short" prefix=" (" text-case="lowercase" suffix=".)" strip-periods="true"/>
357
+ </names>
358
+ </if>
359
+ </choose>
360
+ <choose>
361
+ <if variable="author editor" match="any">
362
+ <names variable="translator">
363
+ <name and="symbol" name-as-sort-order="all" delimiter="; " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1"/>
364
+ <label form="verb-short" prefix=" (" text-case="lowercase" suffix=".)" strip-periods="true"/>
365
+ </names>
366
+ </if>
367
+ </choose>
368
+ </group>
369
+ </if>
370
+ </choose>
371
+ </macro>
372
+ <macro name="anon">
373
+ <text term="anonymous" form="short" text-case="capitalize-first" suffix="." strip-periods="true"/>
374
+ </macro>
375
+ <macro name="editor">
376
+ <names variable="editor">
377
+ <name name-as-sort-order="all" and="symbol" sort-separator=", " delimiter="; " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1"/>
378
+ <label form="short" prefix=" (" suffix=".)" strip-periods="true"/>
379
+ </names>
380
+ </macro>
381
+ <macro name="translator">
382
+ <names variable="translator">
383
+ <name name-as-sort-order="all" and="symbol" sort-separator=", " delimiter="; " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1"/>
384
+ <label form="verb-short" prefix=" (" suffix=".)" strip-periods="true"/>
385
+ </names>
386
+ </macro>
387
+ <macro name="recipient">
388
+ <choose>
389
+ <if type="personal_communication">
390
+ <choose>
391
+ <if variable="genre">
392
+ <text variable="genre" text-case="capitalize-first"/>
393
+ </if>
394
+ <else>
395
+ <text term="letter" text-case="capitalize-first"/>
396
+ </else>
397
+ </choose>
398
+ </if>
399
+ </choose>
400
+ <names variable="recipient" delimiter=", ">
401
+ <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
402
+ <name and="symbol" delimiter="; "/>
403
+ </names>
404
+ </macro>
405
+ <macro name="contributors">
406
+ <names variable="author">
407
+ <name and="symbol" name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="never"/>
408
+ <label form="verb-short" prefix=", " suffix="." text-case="lowercase" strip-periods="true"/>
409
+ <substitute>
410
+ <text macro="editor"/>
411
+ <text macro="translator"/>
412
+ <text macro="anon"/>
413
+ </substitute>
414
+ </names>
415
+ <text macro="recipient"/>
416
+ </macro>
417
+ <macro name="contributors-short">
418
+ <names variable="author">
419
+ <name form="short" and="symbol" delimiter="; " initialize-with=". "/>
420
+ <substitute>
421
+ <names variable="editor"/>
422
+ <names variable="translator"/>
423
+ <text macro="anon"/>
424
+ </substitute>
425
+ </names>
426
+ </macro>
427
+ <macro name="interviewer">
428
+ <names variable="interviewer" delimiter=", ">
429
+ <label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
430
+ <name and="symbol" delimiter="; "/>
431
+ </names>
432
+ </macro>
433
+ <macro name="archive">
434
+ <group delimiter=". ">
435
+ <text variable="archive_location" text-case="capitalize-first"/>
436
+ <text variable="archive"/>
437
+ <text variable="archive-place"/>
438
+ </group>
439
+ </macro>
440
+ <macro name="access">
441
+ <group delimiter=". ">
442
+ <choose>
443
+ <if type="graphic report" match="any">
444
+ <text macro="archive"/>
445
+ </if>
446
+ <else-if type="article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="none">
447
+ <text macro="archive"/>
448
+ </else-if>
449
+ </choose>
450
+ <text variable="DOI" prefix="doi:"/>
451
+ <choose>
452
+ <if type="legal_case" match="none">
453
+ <text variable="URL"/>
454
+ </if>
455
+ </choose>
456
+ </group>
457
+ </macro>
458
+ <macro name="title">
459
+ <choose>
460
+ <if variable="title" match="none">
461
+ <choose>
462
+ <if type="personal_communication" match="none">
463
+ <text variable="genre" text-case="capitalize-first"/>
464
+ </if>
465
+ </choose>
466
+ </if>
467
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
468
+ <text variable="title" font-style="italic"/>
469
+ </else-if>
470
+ <else>
471
+ <text variable="title" quotes="true"/>
472
+ </else>
473
+ </choose>
474
+ </macro>
475
+ <macro name="edition">
476
+ <choose>
477
+ <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
478
+ <choose>
479
+ <if is-numeric="edition">
480
+ <group delimiter=" ">
481
+ <number variable="edition" form="ordinal"/>
482
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
483
+ </group>
484
+ </if>
485
+ <else>
486
+ <text variable="edition" suffix="."/>
487
+ </else>
488
+ </choose>
489
+ </if>
490
+ </choose>
491
+ </macro>
492
+ <macro name="locators">
493
+ <choose>
494
+ <if type="article-journal">
495
+ <text variable="volume" prefix=" "/>
496
+ <text variable="issue" prefix=" (" suffix=")"/>
497
+ </if>
498
+ <else-if type="legal_case">
499
+ <text variable="volume" prefix=", "/>
500
+ <text variable="container-title" prefix=" "/>
501
+ <text variable="page" prefix=" "/>
502
+ </else-if>
503
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
504
+ <group prefix=". " delimiter=". ">
505
+ <group>
506
+ <text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
507
+ <number variable="volume" form="numeric"/>
508
+ </group>
509
+ <group>
510
+ <number variable="number-of-volumes" form="numeric"/>
511
+ <text term="volume" form="short" prefix=" " suffix="." plural="true" strip-periods="true"/>
512
+ </group>
513
+ </group>
514
+ </else-if>
515
+ <else-if type="chapter paper-conference" match="any">
516
+ <choose>
517
+ <if variable="page" match="none">
518
+ <group prefix=". ">
519
+ <text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
520
+ <number variable="volume" form="numeric"/>
521
+ </group>
522
+ </if>
523
+ </choose>
524
+ </else-if>
525
+ </choose>
526
+ </macro>
527
+ <macro name="locators-chapter">
528
+ <choose>
529
+ <if type="chapter paper-conference" match="any">
530
+ <choose>
531
+ <if variable="page">
532
+ <group prefix=", ">
533
+ <text variable="volume" suffix=":"/>
534
+ <text variable="page"/>
535
+ </group>
536
+ </if>
537
+ </choose>
538
+ </if>
539
+ </choose>
540
+ </macro>
541
+ <macro name="locators-article">
542
+ <choose>
543
+ <if type="article-newspaper">
544
+ <group prefix=", " delimiter=", ">
545
+ <group>
546
+ <text variable="edition" suffix=" "/>
547
+ <text term="edition" prefix=" "/>
548
+ </group>
549
+ <group>
550
+ <text term="section" form="short" suffix=". " strip-periods="true"/>
551
+ <text variable="section"/>
552
+ </group>
553
+ </group>
554
+ </if>
555
+ <else-if type="article-journal">
556
+ <text variable="page" prefix=": "/>
557
+ </else-if>
558
+ </choose>
559
+ </macro>
560
+ <macro name="point-locators">
561
+ <choose>
562
+ <if variable="locator">
563
+ <choose>
564
+ <if locator="page" match="none">
565
+ <choose>
566
+ <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
567
+ <choose>
568
+ <if variable="volume">
569
+ <group>
570
+ <text term="volume" form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
571
+ <number variable="volume" form="numeric"/>
572
+ <label variable="locator" form="short" prefix=", " suffix=" "/>
573
+ </group>
574
+ </if>
575
+ <else>
576
+ <label variable="locator" form="short" suffix=" "/>
577
+ </else>
578
+ </choose>
579
+ </if>
580
+ </choose>
581
+ </if>
582
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
583
+ <number variable="volume" form="numeric" suffix=":"/>
584
+ </else-if>
585
+ </choose>
586
+ <text variable="locator"/>
587
+ </if>
588
+ </choose>
589
+ </macro>
590
+ <macro name="container-title">
591
+ <choose>
592
+ <if type="legal_case" match="none">
593
+ <text variable="container-title" font-style="italic"/>
594
+ </if>
595
+ </choose>
596
+ </macro>
597
+ <macro name="publisher">
598
+ <group delimiter=": ">
599
+ <text variable="publisher-place"/>
600
+ <text variable="publisher"/>
601
+ </group>
602
+ </macro>
603
+ <macro name="date">
604
+ <date variable="issued">
605
+ <date-part name="year"/>
606
+ </date>
607
+ </macro>
608
+ <macro name="day-month">
609
+ <date variable="issued">
610
+ <date-part name="month"/>
611
+ <date-part name="day" prefix=" "/>
612
+ </date>
613
+ </macro>
614
+ <macro name="collection-title">
615
+ <text variable="collection-title"/>
616
+ <text variable="collection-number" prefix=" "/>
617
+ </macro>
618
+ <macro name="event">
619
+ <group>
620
+ <text term="presented at" suffix=" "/>
621
+ <text variable="event"/>
622
+ </group>
623
+ </macro>
624
+ <macro name="description">
625
+ <choose>
626
+ <if type="interview">
627
+ <group delimiter=". ">
628
+ <text macro="interviewer"/>
629
+ <text variable="medium" text-case="capitalize-first"/>
630
+ </group>
631
+ </if>
632
+ <else>
633
+ <text variable="medium" text-case="capitalize-first" prefix=". "/>
634
+ </else>
635
+ </choose>
636
+ <choose>
637
+ <if variable="title" match="none"/>
638
+ <else-if type="thesis"/>
639
+ <else>
640
+ <text variable="genre" text-case="capitalize-first" prefix=". "/>
641
+ </else>
642
+ </choose>
643
+ </macro>
644
+ <macro name="issue">
645
+ <choose>
646
+ <if type="article-journal">
647
+ <text macro="day-month" prefix=" (" suffix=")"/>
648
+ </if>
649
+ <else-if type="legal_case">
650
+ <text variable="authority" prefix=". "/>
651
+ </else-if>
652
+ <else-if type="speech">
653
+ <group prefix=" " delimiter=", ">
654
+ <text macro="event"/>
655
+ <text macro="day-month"/>
656
+ <text variable="event-place"/>
657
+ </group>
658
+ </else-if>
659
+ <else-if type="article-newspaper article-magazine" match="any">
660
+ <text macro="day-month" prefix=", "/>
661
+ </else-if>
662
+ <else>
663
+ <group prefix=". " delimiter=", ">
664
+ <choose>
665
+ <if type="thesis">
666
+ <text variable="genre" text-case="capitalize-first"/>
667
+ </if>
668
+ </choose>
669
+ <text macro="publisher"/>
670
+ </group>
671
+ </else>
672
+ </choose>
673
+ </macro>
674
+ <citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name">
675
+ <layout prefix="(" suffix=")" delimiter="; ">
676
+ <group delimiter=", ">
677
+ <group delimiter=" ">
678
+ <text macro="contributors-short"/>
679
+ <text macro="date"/>
680
+ </group>
681
+ <text macro="point-locators"/>
682
+ </group>
683
+ </layout>
684
+ </citation>
685
+ <bibliography hanging-indent="true" et-al-min="4" et-al-use-first="1" subsequent-author-substitute="———" entry-spacing="0">
686
+ <sort>
687
+ <key macro="contributors"/>
688
+ <key variable="issued"/>
689
+ </sort>
690
+ <layout suffix=".">
691
+ <text macro="contributors" suffix=". "/>
692
+ <text macro="date" suffix=". "/>
693
+ <text macro="title"/>
694
+ <text macro="description"/>
695
+ <text macro="secondary-contributors" prefix=". "/>
696
+ <text macro="container-contributors"/>
697
+ <text macro="container-title" prefix=". "/>
698
+ <text macro="locators-chapter"/>
699
+ <text macro="edition" prefix=". "/>
700
+ <text macro="locators"/>
701
+ <text macro="collection-title" prefix=". "/>
702
+ <text macro="issue"/>
703
+ <text macro="locators-article"/>
704
+ <text macro="access" prefix=". "/>
705
+ </layout>
706
+ </bibliography>
707
+ </style>