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,390 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0">
3
- <info>
4
- <title>Modern Humanities Research Association (Note with Bibliography)</title>
5
- <id>http://www.zotero.org/styles/mhra</id>
6
- <link href="http://www.zotero.org/styles/mhra" rel="self"/>
7
- <link href="http://www.mhra.org.uk/Publications/Books/StyleGuide/download.shtml" rel="documentation"/>
8
- <author>
9
- <name>Rintze Zelle</name>
10
- <uri>http://forums.zotero.org/account/831/</uri>
11
- </author>
12
- <contributor>
13
- <name>Sebastian Karcher</name>
14
- </contributor>
15
- <summary>MHRA format with full notes and bibliography</summary>
16
- <category field="generic-base"/>
17
- <category citation-format="note"/>
18
- <updated>2009-12-15T12:42:52+00:00</updated>
19
- </info>
20
- <locale xml:lang="en">
21
- <terms>
22
- <term name="et-al">and others</term>
23
- <term name="editor" form="verb-short">ed. by</term>
24
- <term name="edition" form="short">edn</term>
25
- <term name="translator" form="verb-short">trans. by</term>
26
- </terms>
27
- </locale>
28
- <macro name="author">
29
- <names variable="author">
30
- <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
31
- <label form="short" prefix=", " suffix="." strip-periods="true"/>
32
- <substitute>
33
- <names variable="editor"/>
34
- <names variable="translator"/>
35
- <text macro="title-note"/>
36
- </substitute>
37
- </names>
38
- </macro>
39
- <macro name="contributors-note">
40
- <names variable="author">
41
- <name and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
42
- </names>
43
- <text macro="recipient-note"/>
44
- </macro>
45
- <macro name="title-note">
46
- <choose>
47
- <if type="bill book graphic legal_case motion_picture report song" match="any">
48
- <text variable="title" font-style="italic"/>
49
- </if>
50
- <else>
51
- <text variable="title" prefix="‘" suffix="’"/>
52
- </else>
53
- </choose>
54
- </macro>
55
- <macro name="editor-translator">
56
- <group delimiter=", ">
57
- <names variable="editor" delimiter=", ">
58
- <label form="verb-short" text-case="lowercase" suffix=" " strip-periods="true"/>
59
- <name and="text" delimiter=", " delimiter-precedes-last="never"/>
60
- </names>
61
- <choose>
62
- <if variable="author editor" match="any">
63
- <names variable="translator" delimiter=", ">
64
- <label form="verb-short" text-case="lowercase" suffix=" " strip-periods="true"/>
65
- <name and="text" delimiter=", " delimiter-precedes-last="never"/>
66
- </names>
67
- </if>
68
- </choose>
69
- </group>
70
- </macro>
71
- <macro name="collection-title">
72
- <text variable="collection-title"/>
73
- <text variable="collection-number" prefix=", "/>
74
- </macro>
75
- <macro name="locators-note">
76
- <choose>
77
- <if type="article-journal">
78
- <text variable="volume"/>
79
- </if>
80
- <else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
81
- <group delimiter=", ">
82
- <text macro="edition-note"/>
83
- <group>
84
- <number variable="number-of-volumes" form="numeric"/>
85
- <text term="volume" form="short" prefix=" " plural="true" strip-periods="true"/>
86
- </group>
87
- </group>
88
- </else-if>
89
- </choose>
90
- </macro>
91
- <macro name="volume">
92
- <choose>
93
- <if type="article-journal">
94
- <text variable="volume"/>
95
- </if>
96
- <else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
97
- <group delimiter=", ">
98
- <text macro="edition-note"/>
99
- <group>
100
- <number variable="number-of-volumes" form="numeric"/>
101
- <text term="volume" form="short" prefix=" " plural="true" strip-periods="true"/>
102
- </group>
103
- </group>
104
- </else-if>
105
- </choose>
106
- </macro>
107
- <macro name="issue-note">
108
- <choose>
109
- <if type="article-journal">
110
- <choose>
111
- <if variable="volume">
112
- <text macro="issued" prefix=" (" suffix=")"/>
113
- </if>
114
- <else>
115
- <text macro="issued" prefix=", "/>
116
- </else>
117
- </choose>
118
- </if>
119
- <else-if variable="publisher-place publisher" match="any">
120
- <group prefix=" (" suffix=")" delimiter=", ">
121
- <group delimiter=" ">
122
- <choose>
123
- <if variable="title" match="none"/>
124
- <else-if type="thesis speech" match="any">
125
- <text variable="genre" prefix="unpublished "/>
126
- </else-if>
127
- </choose>
128
- <text macro="event"/>
129
- </group>
130
- <text macro="publisher"/>
131
- <text macro="issued"/>
132
- </group>
133
- </else-if>
134
- <else>
135
- <text macro="issued" prefix=", "/>
136
- </else>
137
- </choose>
138
- </macro>
139
- <macro name="locators-specific-note">
140
- <choose>
141
- <if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
142
- <choose>
143
- <if is-numeric="volume">
144
- <number variable="volume" form="roman" font-variant="small-caps"/>
145
- </if>
146
- </choose>
147
- </if>
148
- </choose>
149
- </macro>
150
- <macro name="container-title-note">
151
- <choose>
152
- <if type="chapter paper-conference" match="any">
153
- <text term="in" text-case="lowercase" suffix=" "/>
154
- </if>
155
- </choose>
156
- <text variable="container-title" font-style="italic"/>
157
- </macro>
158
- <macro name="edition-note">
159
- <choose>
160
- <if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
161
- <choose>
162
- <if is-numeric="edition">
163
- <group delimiter=" ">
164
- <number variable="edition" form="ordinal"/>
165
- <text term="edition" form="short" strip-periods="true"/>
166
- </group>
167
- </if>
168
- <else>
169
- <text variable="edition"/>
170
- </else>
171
- </choose>
172
- </if>
173
- </choose>
174
- </macro>
175
- <macro name="editor-note">
176
- <names variable="editor">
177
- <name and="text" sort-separator=", " delimiter=", "/>
178
- <label form="short" prefix=", " suffix="." strip-periods="true"/>
179
- </names>
180
- </macro>
181
- <macro name="translator-note">
182
- <names variable="translator">
183
- <name and="text" sort-separator=", " delimiter=", "/>
184
- <label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
185
- </names>
186
- </macro>
187
- <macro name="recipient-note">
188
- <names variable="recipient" delimiter=", ">
189
- <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
190
- <name and="text" delimiter=", "/>
191
- </names>
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" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
202
- <substitute>
203
- <names variable="editor"/>
204
- <names variable="translator"/>
205
- </substitute>
206
- </names>
207
- <text macro="recipient-short"/>
208
- </macro>
209
- <macro name="interviewer-note">
210
- <names variable="interviewer" delimiter=", ">
211
- <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
212
- <name and="text" delimiter=", "/>
213
- </names>
214
- </macro>
215
- <macro name="locators-newspaper">
216
- <choose>
217
- <if type="article-newspaper">
218
- <group delimiter=", ">
219
- <group>
220
- <text variable="edition" suffix=" "/>
221
- <text term="edition" prefix=" "/>
222
- </group>
223
- <group>
224
- <text term="section" suffix=" "/>
225
- <text variable="section"/>
226
- </group>
227
- </group>
228
- </if>
229
- </choose>
230
- </macro>
231
- <macro name="event">
232
- <group>
233
- <text term="presented at" suffix=" "/>
234
- <text variable="event"/>
235
- </group>
236
- </macro>
237
- <macro name="publisher">
238
- <group delimiter=": ">
239
- <text variable="publisher-place"/>
240
- <text variable="publisher"/>
241
- </group>
242
- </macro>
243
- <macro name="issued">
244
- <choose>
245
- <if type="graphic report article-newspaper" match="any">
246
- <date variable="issued">
247
- <date-part name="day" suffix=" "/>
248
- <date-part name="month" suffix=" "/>
249
- <date-part name="year"/>
250
- </date>
251
- </if>
252
- <else-if type="bill book graphic legal_case motion_picture report song thesis chapter paper-conference" match="any">
253
- <date variable="issued">
254
- <date-part name="year"/>
255
- </date>
256
- </else-if>
257
- <else>
258
- <date variable="issued">
259
- <date-part name="year"/>
260
- </date>
261
- </else>
262
- </choose>
263
- </macro>
264
- <macro name="pages">
265
- <choose>
266
- <if type="article-journal">
267
- <text variable="page" prefix=", "/>
268
- </if>
269
- <else>
270
- <choose>
271
- <if variable="volume">
272
- <text variable="page" prefix=", "/>
273
- </if>
274
- <else>
275
- <label variable="page" form="short" prefix=", " suffix=" "/>
276
- <text variable="page"/>
277
- </else>
278
- </choose>
279
- </else>
280
- </choose>
281
- </macro>
282
- <macro name="point-locators">
283
- <text macro="pages"/>
284
- <choose>
285
- <if variable="page">
286
- <group prefix=" (" suffix=")">
287
- <label variable="locator" form="short" suffix=" "/>
288
- <text variable="locator"/>
289
- </group>
290
- </if>
291
- <else>
292
- <label variable="locator" form="short" prefix=", " suffix=" "/>
293
- <text variable="locator"/>
294
- </else>
295
- </choose>
296
- </macro>
297
- <macro name="archive-note">
298
- <group delimiter=", ">
299
- <text variable="archive_location"/>
300
- <text variable="archive"/>
301
- <text variable="archive-place"/>
302
- </group>
303
- </macro>
304
- <macro name="access-note">
305
- <group delimiter=", ">
306
- <choose>
307
- <if type="graphic report" match="any">
308
- <text macro="archive-note" prefix=", "/>
309
- </if>
310
- <else-if type="bill book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis chapter paper-conference" match="none">
311
- <text macro="archive-note" prefix=", "/>
312
- </else-if>
313
- </choose>
314
- </group>
315
- <choose>
316
- <if variable="DOI">
317
- <text variable="DOI" prefix=" &lt;doi:" suffix="&gt;"/>
318
- </if>
319
- <else>
320
- <text variable="URL" prefix=" &lt;" suffix="&gt;"/>
321
- <choose>
322
- <if variable="accessed">
323
- <group prefix=" [" suffix="]">
324
- <text term="accessed" text-case="lowercase"/>
325
- <date variable="accessed">
326
- <date-part name="day" prefix=" "/>
327
- <date-part name="month" prefix=" "/>
328
- <date-part name="year" prefix=" "/>
329
- </date>
330
- </group>
331
- </if>
332
- </choose>
333
- </else>
334
- </choose>
335
- </macro>
336
- <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" disambiguate-add-givenname="true" givenname-disambiguation-rule="by-cite">
337
- <layout prefix="" suffix="." delimiter="; ">
338
- <choose>
339
- <if position="subsequent">
340
- <group delimiter=", ">
341
- <text macro="contributors-short"/>
342
- <choose>
343
- <if disambiguate="true">
344
- <text variable="title" form="short"/>
345
- </if>
346
- </choose>
347
- </group>
348
- <text macro="locators-specific-note" prefix=", "/>
349
- <text macro="point-locators"/>
350
- </if>
351
- <else>
352
- <group delimiter=", ">
353
- <text macro="contributors-note"/>
354
- <text macro="title-note"/>
355
- <text macro="container-title-note"/>
356
- <text macro="editor-translator"/>
357
- <text macro="collection-title"/>
358
- <text macro="locators-note"/>
359
- </group>
360
- <text macro="issue-note"/>
361
- <text macro="locators-specific-note" prefix=", "/>
362
- <text macro="locators-newspaper" prefix=", "/>
363
- <text macro="point-locators"/>
364
- <text macro="access-note"/>
365
- </else>
366
- </choose>
367
- </layout>
368
- </citation>
369
- <bibliography hanging-indent="true" et-al-min="6" et-al-use-first="6" subsequent-author-substitute="---">
370
- <sort>
371
- <key macro="author"/>
372
- <key variable="title"/>
373
- </sort>
374
- <layout suffix=".">
375
- <group delimiter=", ">
376
- <text macro="author"/>
377
- <text macro="title-note"/>
378
- <text macro="container-title-note"/>
379
- <text macro="editor-translator"/>
380
- <text macro="collection-title"/>
381
- <text macro="volume"/>
382
- </group>
383
- <text macro="issue-note"/>
384
- <text macro="locators-specific-note" prefix=", "/>
385
- <text macro="locators-newspaper" prefix=", "/>
386
- <text macro="pages"/>
387
- <text macro="access-note"/>
388
- </layout>
389
- </bibliography>
390
- </style>
@@ -1,330 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0">
3
- <info>
4
- <title>Modern Humanities Research Association (Note without Bibliography)</title>
5
- <id>http://www.zotero.org/styles/mhra_note_without_bibliography</id>
6
- <link href="http://www.zotero.org/styles/mhra_note_without_bibliography" rel="self"/>
7
- <link href="http://www.mhra.org.uk/Publications/Books/StyleGuide/download.shtml" rel="documentation"/>
8
- <author>
9
- <name>Rintze Zelle</name>
10
- <uri>http://forums.zotero.org/account/831/</uri>
11
- </author>
12
- <summary>MHRA format with full notes and no bibliography</summary>
13
- <category field="generic-base"/>
14
- <category citation-format="note"/>
15
- <updated>2008-10-28T21:36:13+00:00</updated>
16
- </info>
17
- <locale xml:lang="en">
18
- <terms>
19
- <term name="et-al">and others</term>
20
- <term name="editor" form="verb-short">ed. by</term>
21
- <term name="edition" form="short">edn</term>
22
- <term name="translator" form="verb-short">trans. by</term>
23
- </terms>
24
- </locale>
25
- <macro name="contributors-note">
26
- <names variable="author">
27
- <name and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
28
- </names>
29
- <text macro="recipient-note"/>
30
- </macro>
31
- <macro name="title-note">
32
- <choose>
33
- <if type="bill book graphic legal_case motion_picture report song" match="any">
34
- <text variable="title" font-style="italic"/>
35
- </if>
36
- <else>
37
- <text variable="title" prefix="‘" suffix="’"/>
38
- </else>
39
- </choose>
40
- </macro>
41
- <macro name="editor-translator">
42
- <group delimiter=", ">
43
- <names variable="editor" delimiter=", ">
44
- <label form="verb-short" text-case="lowercase" suffix=" " strip-periods="true"/>
45
- <name and="text" delimiter=", " delimiter-precedes-last="never"/>
46
- </names>
47
- <choose>
48
- <if variable="author editor" match="any">
49
- <names variable="translator" delimiter=", ">
50
- <label form="verb-short" text-case="lowercase" suffix=" " strip-periods="true"/>
51
- <name and="text" delimiter=", " delimiter-precedes-last="never"/>
52
- </names>
53
- </if>
54
- </choose>
55
- </group>
56
- </macro>
57
- <macro name="collection-title">
58
- <text variable="collection-title"/>
59
- <text variable="collection-number" prefix=", "/>
60
- </macro>
61
- <macro name="locators-note">
62
- <choose>
63
- <if type="article-journal">
64
- <text variable="volume"/>
65
- </if>
66
- <else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
67
- <group delimiter=", ">
68
- <text macro="edition-note"/>
69
- <choose>
70
- <if variable="locator" match="none">
71
- <group>
72
- <number variable="number-of-volumes" form="numeric"/>
73
- <text term="volume" form="short" prefix=" " plural="true" strip-periods="true"/>
74
- </group>
75
- </if>
76
- </choose>
77
- </group>
78
- </else-if>
79
- </choose>
80
- </macro>
81
- <macro name="issue-note">
82
- <choose>
83
- <if type="article-journal">
84
- <choose>
85
- <if variable="volume">
86
- <text macro="issued" prefix=" (" suffix=")"/>
87
- </if>
88
- <else>
89
- <text macro="issued" prefix=", "/>
90
- </else>
91
- </choose>
92
- </if>
93
- <else-if variable="publisher-place publisher" match="any">
94
- <group prefix=" (" suffix=")" delimiter=", ">
95
- <group delimiter=" ">
96
- <choose>
97
- <if variable="title" match="none"/>
98
- <else-if type="thesis speech" match="any">
99
- <text variable="genre" prefix="unpublished "/>
100
- </else-if>
101
- </choose>
102
- <text macro="event"/>
103
- </group>
104
- <text macro="publisher"/>
105
- <text macro="issued"/>
106
- </group>
107
- </else-if>
108
- <else>
109
- <text macro="issued" prefix=", "/>
110
- </else>
111
- </choose>
112
- </macro>
113
- <macro name="locators-specific-note">
114
- <choose>
115
- <if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
116
- <choose>
117
- <if is-numeric="volume">
118
- <number variable="volume" form="roman" font-variant="small-caps"/>
119
- </if>
120
- </choose>
121
- </if>
122
- </choose>
123
- </macro>
124
- <macro name="container-title-note">
125
- <choose>
126
- <if type="chapter paper-conference" match="any">
127
- <text term="in" text-case="lowercase" suffix=" "/>
128
- </if>
129
- </choose>
130
- <text variable="container-title" font-style="italic"/>
131
- </macro>
132
- <macro name="edition-note">
133
- <choose>
134
- <if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
135
- <choose>
136
- <if is-numeric="edition">
137
- <group delimiter=" ">
138
- <number variable="edition" form="ordinal"/>
139
- <text term="edition" form="short" strip-periods="true"/>
140
- </group>
141
- </if>
142
- <else>
143
- <text variable="edition"/>
144
- </else>
145
- </choose>
146
- </if>
147
- </choose>
148
- </macro>
149
- <macro name="editor-note">
150
- <names variable="editor">
151
- <name and="text" sort-separator=", " delimiter=", "/>
152
- <label form="short" prefix=", " suffix="." strip-periods="true"/>
153
- </names>
154
- </macro>
155
- <macro name="translator-note">
156
- <names variable="translator">
157
- <name and="text" sort-separator=", " delimiter=", "/>
158
- <label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
159
- </names>
160
- </macro>
161
- <macro name="recipient-note">
162
- <names variable="recipient" delimiter=", ">
163
- <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
164
- <name and="text" delimiter=", "/>
165
- </names>
166
- </macro>
167
- <macro name="recipient-short">
168
- <names variable="recipient">
169
- <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
170
- <name form="short" and="text" delimiter=", "/>
171
- </names>
172
- </macro>
173
- <macro name="contributors-short">
174
- <names variable="author">
175
- <name form="short" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
176
- <substitute>
177
- <names variable="editor"/>
178
- <names variable="translator"/>
179
- </substitute>
180
- </names>
181
- <text macro="recipient-short"/>
182
- </macro>
183
- <macro name="interviewer-note">
184
- <names variable="interviewer" delimiter=", ">
185
- <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
186
- <name and="text" delimiter=", "/>
187
- </names>
188
- </macro>
189
- <macro name="locators-newspaper">
190
- <choose>
191
- <if type="article-newspaper">
192
- <group delimiter=", ">
193
- <group>
194
- <text variable="edition" suffix=" "/>
195
- <text term="edition" prefix=" "/>
196
- </group>
197
- <group>
198
- <text term="section" suffix=" "/>
199
- <text variable="section"/>
200
- </group>
201
- </group>
202
- </if>
203
- </choose>
204
- </macro>
205
- <macro name="event">
206
- <group>
207
- <text term="presented at" suffix=" "/>
208
- <text variable="event"/>
209
- </group>
210
- </macro>
211
- <macro name="publisher">
212
- <group delimiter=": ">
213
- <text variable="publisher-place"/>
214
- <text variable="publisher"/>
215
- </group>
216
- </macro>
217
- <macro name="issued">
218
- <choose>
219
- <if type="graphic report article-newspaper" match="any">
220
- <date variable="issued">
221
- <date-part name="day" suffix=" "/>
222
- <date-part name="month" suffix=" "/>
223
- <date-part name="year"/>
224
- </date>
225
- </if>
226
- <else-if type="bill book graphic legal_case motion_picture report song thesis chapter paper-conference" match="any">
227
- <date variable="issued">
228
- <date-part name="year"/>
229
- </date>
230
- </else-if>
231
- <else>
232
- <date variable="issued">
233
- <date-part name="year"/>
234
- </date>
235
- </else>
236
- </choose>
237
- </macro>
238
- <macro name="pages">
239
- <choose>
240
- <if type="article-journal">
241
- <text variable="page" prefix=", "/>
242
- </if>
243
- <else-if type="bill book graphic legal_case motion_picture report song article-newspaper thesis chapter paper-conference" match="any">
244
- <label variable="page" form="short" prefix=", " suffix=" "/>
245
- <text variable="page"/>
246
- </else-if>
247
- </choose>
248
- </macro>
249
- <macro name="point-locators">
250
- <choose>
251
- <if variable="locator" match="none">
252
- <text macro="pages"/>
253
- </if>
254
- <else-if type="article-journal">
255
- <text variable="locator" prefix=": "/>
256
- </else-if>
257
- <else>
258
- <group prefix=", ">
259
- <choose>
260
- <if locator="page" match="none">
261
- <label variable="locator" form="short" suffix=" "/>
262
- </if>
263
- </choose>
264
- <text variable="locator"/>
265
- </group>
266
- </else>
267
- </choose>
268
- </macro>
269
- <macro name="archive-note">
270
- <group delimiter=", ">
271
- <text variable="archive_location"/>
272
- <text variable="archive"/>
273
- <text variable="archive-place"/>
274
- </group>
275
- </macro>
276
- <macro name="access-note">
277
- <group delimiter=", ">
278
- <choose>
279
- <if type="graphic report" match="any">
280
- <text macro="archive-note" prefix=", "/>
281
- </if>
282
- <else-if type="bill book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis chapter paper-conference" match="none">
283
- <text macro="archive-note" prefix=", "/>
284
- </else-if>
285
- </choose>
286
- </group>
287
- <choose>
288
- <if variable="DOI">
289
- <text variable="DOI" prefix=" &lt;doi:" suffix="&gt;"/>
290
- </if>
291
- <else>
292
- <text variable="URL" prefix=" &lt;" suffix="&gt;"/>
293
- <group prefix=" [" suffix="]">
294
- <text term="accessed" text-case="lowercase"/>
295
- <date variable="accessed">
296
- <date-part name="day" prefix=" "/>
297
- <date-part name="month" prefix=" "/>
298
- <date-part name="year" prefix=" "/>
299
- </date>
300
- </group>
301
- </else>
302
- </choose>
303
- </macro>
304
- <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" disambiguate-add-givenname="true">
305
- <layout prefix="" suffix="." delimiter="; ">
306
- <choose>
307
- <if position="subsequent">
308
- <text macro="contributors-short"/>
309
- <text macro="locators-specific-note" prefix=", "/>
310
- <text macro="point-locators"/>
311
- </if>
312
- <else>
313
- <group delimiter=", ">
314
- <text macro="contributors-note"/>
315
- <text macro="title-note"/>
316
- <text macro="container-title-note"/>
317
- <text macro="editor-translator"/>
318
- <text macro="collection-title"/>
319
- <text macro="locators-note"/>
320
- </group>
321
- <text macro="issue-note"/>
322
- <text macro="locators-specific-note" prefix=", "/>
323
- <text macro="locators-newspaper" prefix=", "/>
324
- <text macro="point-locators"/>
325
- <text macro="access-note"/>
326
- </else>
327
- </choose>
328
- </layout>
329
- </citation>
330
- </style>