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