citeproc-ruby 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/README.md +78 -0
  2. data/lib/citeproc.rb +100 -0
  3. data/lib/citeproc/bibliography.rb +57 -0
  4. data/lib/citeproc/data.rb +149 -0
  5. data/lib/citeproc/date.rb +133 -0
  6. data/lib/citeproc/formatter.rb +38 -0
  7. data/lib/citeproc/item.rb +53 -0
  8. data/lib/citeproc/name.rb +284 -0
  9. data/lib/citeproc/processor.rb +166 -0
  10. data/lib/citeproc/selector.rb +61 -0
  11. data/lib/citeproc/variable.rb +82 -0
  12. data/lib/citeproc/version.rb +3 -0
  13. data/lib/csl/locale.rb +223 -0
  14. data/lib/csl/node.rb +72 -0
  15. data/lib/csl/nodes.rb +1364 -0
  16. data/lib/csl/renderer.rb +88 -0
  17. data/lib/csl/sort.rb +53 -0
  18. data/lib/csl/style.rb +110 -0
  19. data/lib/csl/term.rb +124 -0
  20. data/lib/extensions/core.rb +43 -0
  21. data/lib/plugins/filters/bibtex.rb +12 -0
  22. data/lib/plugins/formats/default.rb +134 -0
  23. data/lib/plugins/formats/html.rb +67 -0
  24. data/lib/support/attributes.rb +99 -0
  25. data/lib/support/tree.rb +80 -0
  26. data/resource/locale/locales-af-ZA.xml +304 -0
  27. data/resource/locale/locales-ar-AR.xml +304 -0
  28. data/resource/locale/locales-bg-BG.xml +304 -0
  29. data/resource/locale/locales-ca-AD.xml +304 -0
  30. data/resource/locale/locales-cs-CZ.xml +304 -0
  31. data/resource/locale/locales-da-DK.xml +304 -0
  32. data/resource/locale/locales-de-AT.xml +304 -0
  33. data/resource/locale/locales-de-CH.xml +304 -0
  34. data/resource/locale/locales-de-DE.xml +332 -0
  35. data/resource/locale/locales-el-GR.xml +303 -0
  36. data/resource/locale/locales-en-US.xml +313 -0
  37. data/resource/locale/locales-es-ES.xml +304 -0
  38. data/resource/locale/locales-et-EE.xml +304 -0
  39. data/resource/locale/locales-fr-FR.xml +304 -0
  40. data/resource/locale/locales-he-IL.xml +304 -0
  41. data/resource/locale/locales-hu-HU.xml +304 -0
  42. data/resource/locale/locales-is-IS.xml +304 -0
  43. data/resource/locale/locales-it-IT.xml +304 -0
  44. data/resource/locale/locales-ja-JP.xml +304 -0
  45. data/resource/locale/locales-kh-KH.xml +303 -0
  46. data/resource/locale/locales-ko-KR.xml +304 -0
  47. data/resource/locale/locales-mn-MN.xml +304 -0
  48. data/resource/locale/locales-nb-NO.xml +304 -0
  49. data/resource/locale/locales-nl-NL.xml +304 -0
  50. data/resource/locale/locales-nn-NO.xml +304 -0
  51. data/resource/locale/locales-pl-PL.xml +304 -0
  52. data/resource/locale/locales-pt-BR.xml +304 -0
  53. data/resource/locale/locales-pt-PT.xml +304 -0
  54. data/resource/locale/locales-ro-RO.xml +304 -0
  55. data/resource/locale/locales-ru-RU.xml +304 -0
  56. data/resource/locale/locales-sk-SK.xml +304 -0
  57. data/resource/locale/locales-sl-SI.xml +304 -0
  58. data/resource/locale/locales-sr-RS.xml +304 -0
  59. data/resource/locale/locales-sv-SE.xml +304 -0
  60. data/resource/locale/locales-th-TH.xml +304 -0
  61. data/resource/locale/locales-tr-TR.xml +304 -0
  62. data/resource/locale/locales-uk-UA.xml +304 -0
  63. data/resource/locale/locales-vi-VN.xml +304 -0
  64. data/resource/locale/locales-zh-CN.xml +304 -0
  65. data/resource/locale/locales-zh-TW.xml +304 -0
  66. data/resource/schema/csl-categories.rnc +39 -0
  67. data/resource/schema/csl-data.rnc +98 -0
  68. data/resource/schema/csl-terms.rnc +106 -0
  69. data/resource/schema/csl-types.rnc +39 -0
  70. data/resource/schema/csl-variables.rnc +182 -0
  71. data/resource/schema/csl.rnc +941 -0
  72. data/resource/style/acta-materialia-x.csl +128 -0
  73. data/resource/style/advanced-engineering-materials-x.csl +121 -0
  74. data/resource/style/ama.csl +185 -0
  75. data/resource/style/ama2-x.csl +179 -0
  76. data/resource/style/apa-x.csl +324 -0
  77. data/resource/style/apa.csl +254 -0
  78. data/resource/style/apsa-x.csl +163 -0
  79. data/resource/style/apsa.csl +176 -0
  80. data/resource/style/asa-x.csl +203 -0
  81. data/resource/style/asa.csl +216 -0
  82. data/resource/style/asm-journals-x.csl +131 -0
  83. data/resource/style/bibtex-x2.csl +175 -0
  84. data/resource/style/bluebook-demo-x.csl +392 -0
  85. data/resource/style/bluebook-demo.csl +942 -0
  86. data/resource/style/chicago-author-date-listing.csl +434 -0
  87. data/resource/style/chicago-author-date.csl +369 -0
  88. data/resource/style/chicago-fullnote-bibliography-bb.csl +928 -0
  89. data/resource/style/chicago-fullnote-bibliography.csl +695 -0
  90. data/resource/style/chicago-note-bibliography.csl +446 -0
  91. data/resource/style/chicago-note.csl +388 -0
  92. data/resource/style/greek-chicago-x.csl +1182 -0
  93. data/resource/style/harvard1-institution-italic.csl +190 -0
  94. data/resource/style/harvard1.csl +181 -0
  95. data/resource/style/ieee.csl +129 -0
  96. data/resource/style/mhra-x.csl +312 -0
  97. data/resource/style/mhra.csl +390 -0
  98. data/resource/style/mhra_note_without_bibliography-x.csl +330 -0
  99. data/resource/style/mhra_note_without_bibliography.csl +338 -0
  100. data/resource/style/mla-x.csl +178 -0
  101. data/resource/style/mla.csl +189 -0
  102. data/resource/style/nature-x.csl +81 -0
  103. data/resource/style/nature.csl +88 -0
  104. data/resource/style/nlm.csl +117 -0
  105. data/spec/citeproc/bibliography_spec.rb +45 -0
  106. data/spec/citeproc/citeproc_spec.rb +76 -0
  107. data/spec/citeproc/date_spec.rb +85 -0
  108. data/spec/citeproc/formatter_spec.rb +101 -0
  109. data/spec/citeproc/item_spec.rb +71 -0
  110. data/spec/citeproc/name_spec.rb +30 -0
  111. data/spec/citeproc/processor_spec.rb +61 -0
  112. data/spec/citeproc/selector_spec.rb +82 -0
  113. data/spec/citeproc/variable_spec.rb +69 -0
  114. data/spec/csl/locale_spec.rb +208 -0
  115. data/spec/csl/node_spec.rb +25 -0
  116. data/spec/csl/nodes_spec.rb +140 -0
  117. data/spec/csl/style_spec.rb +62 -0
  118. data/spec/csl/term_spec.rb +56 -0
  119. data/spec/fixtures/dates.yaml +80 -0
  120. data/spec/fixtures/names.yaml +115 -0
  121. data/spec/fixtures/nodes.yaml +245 -0
  122. data/spec/spec_helper.rb +18 -0
  123. data/spec/support/attributes_spec.rb +39 -0
  124. data/spec/support/tree_spec.rb +163 -0
  125. metadata +264 -0
@@ -0,0 +1,1182 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="el" version="1.0">
3
+ <info>
4
+ <title>Greek (Full Note with Bibliography) g2</title>
5
+ <id>http://www.zotero.org/styles/gr2</id>
6
+ <link href="http://www.zotero.org/styles/gr2" rel="self"/>
7
+ <author>
8
+ <name>A.D.</name>
9
+ </author>
10
+ <summary>Greek based on Chicago format with full notes and bibliography</summary>
11
+ <category field="generic-base"/>
12
+ <category citation-format="note"/>
13
+ <updated>2010-11-04T20:22:16+00:00</updated>
14
+ </info>
15
+ <locale xml:lang="el">
16
+ <terms>
17
+ <term name="accessed">ημερομηνία πρόσβασης</term>
18
+ <term name="and">και</term>
19
+ <term name="and others">και άλλοι</term>
20
+ <term name="anonymous">ανώνυμο</term>
21
+ <term name="anonymous" form="short">ανών</term>
22
+ <term name="at">εφ</term>
23
+ <term name="by">του</term>
24
+ <term name="circa">περίπου</term>
25
+ <term name="circa" form="short">περ</term>
26
+ <term name="cited">παρατίθεται</term>
27
+ <term name="edition">
28
+ <single>έκδοση</single>
29
+ <multiple>εκδόσεις</multiple>
30
+ </term>
31
+ <term name="edition" form="short">έκδ</term>
32
+ <term name="et-al">κ.ά.</term>
33
+ <term name="forthcoming">προσεχές</term>
34
+ <term name="from">από</term>
35
+ <term name="ibid">Στο ίδιο</term>
36
+ <term name="in">στο</term>
37
+ <term name="in press">υπό έκδοση</term>
38
+ <term name="internet">διαδίκτυο</term>
39
+ <term name="interview">συνέντευξη</term>
40
+ <term name="letter">επιστολή</term>
41
+ <term name="no date">χωρίς χρονολογία</term>
42
+ <term name="no date" form="short">χ.χ.</term>
43
+ <term name="online">έκδοση σε ψηφιακή μορφή</term>
44
+ <term name="presented at">παρουσιάστηκε στο</term>
45
+ <term name="reference">
46
+ <single>αναφορά</single>
47
+ <multiple>αναφορές</multiple>
48
+ </term>
49
+ <term name="reference" form="short">
50
+ <single>αναφ</single>
51
+ <multiple>αναφ</multiple>
52
+ </term>
53
+ <term name="retrieved">ανακτήθηκε</term>
54
+ <term name="ad">μ.Χ.</term>
55
+ <term name="bc">π.Χ.</term>
56
+ <term name="open-quote"/>
57
+ <term name="close-quote"/>
58
+ <term name="open-inner-quote"/>
59
+ <term name="close-inner-quote"/>
60
+ <term name="ordinal-01">ος</term>
61
+ <term name="ordinal-02">ος</term>
62
+ <term name="ordinal-03">ος</term>
63
+ <term name="ordinal-04">ος</term>
64
+ <term name="long-ordinal-01">πρώτος</term>
65
+ <term name="long-ordinal-02">δεύτερος</term>
66
+ <term name="long-ordinal-03">τρίτος</term>
67
+ <term name="long-ordinal-04">τέταρτος</term>
68
+ <term name="long-ordinal-05">πέμπτος</term>
69
+ <term name="long-ordinal-06">έκτος</term>
70
+ <term name="long-ordinal-07">έβδομος</term>
71
+ <term name="long-ordinal-08">όγδοος</term>
72
+ <term name="long-ordinal-09">ένατος</term>
73
+ <term name="long-ordinal-10">δέκατος</term>
74
+ <term name="anthropology">ανθρωπολογία</term>
75
+ <term name="astronomy">αστρονομία</term>
76
+ <term name="biology">βιολογία</term>
77
+ <term name="botany">βοτανική</term>
78
+ <term name="chemistry">χημεία</term>
79
+ <term name="engineering">μηχανική</term>
80
+ <term name="generic-base">γενική βάση</term>
81
+ <term name="geography">γεωγραφία</term>
82
+ <term name="geology">γεωλογία</term>
83
+ <term name="history">ιστορία</term>
84
+ <term name="humanities">ανθρωπιστικές σπουδές</term>
85
+ <term name="literature">λογοτεχνία</term>
86
+ <term name="math">μαθηματικά</term>
87
+ <term name="medicine">ιατρική</term>
88
+ <term name="philosophy">φιλοσοφία</term>
89
+ <term name="physics">φυσική</term>
90
+ <term name="psychology">ψυχολογία</term>
91
+ <term name="sociology">κοινωνιολογία</term>
92
+ <term name="science">θετικές επιστήμες</term>
93
+ <term name="political_science">πολιτικές επιστήμες</term>
94
+ <term name="social_science">κοινωνικές επιστήμες</term>
95
+ <term name="theology">θεολογία</term>
96
+ <term name="zoology">ζωολογία</term>
97
+ <term name="book">
98
+ <single>βιβλίο</single>
99
+ <multiple>βιβλίο</multiple>
100
+ </term>
101
+ <term name="chapter">
102
+ <single>κεφάλαιο</single>
103
+ <multiple>κεφάλαια</multiple>
104
+ </term>
105
+ <term name="column">
106
+ <single>στήλη</single>
107
+ <multiple>στήλες</multiple>
108
+ </term>
109
+ <term name="figure">
110
+ <single>εικόνα</single>
111
+ <multiple>εικόνες</multiple>
112
+ </term>
113
+ <term name="folio">
114
+ <single>φάκελος</single>
115
+ <multiple>φάκελοι</multiple>
116
+ </term>
117
+ <term name="issue">
118
+ <single>τεύχος</single>
119
+ <multiple>τεύχη</multiple>
120
+ </term>
121
+ <term name="line">
122
+ <single>σειρά</single>
123
+ <multiple>σειρές</multiple>
124
+ </term>
125
+ <term name="note">
126
+ <single>σημείωση</single>
127
+ <multiple>σημειώσεις</multiple>
128
+ </term>
129
+ <term name="opus">
130
+ <single>έργο</single>
131
+ <multiple>έργα</multiple>
132
+ </term>
133
+ <term name="page">
134
+ <single>σελίδα</single>
135
+ <multiple>σελίδες</multiple>
136
+ </term>
137
+ <term name="paragraph">
138
+ <single>παράγραφος</single>
139
+ <multiple>παράγραφοι</multiple>
140
+ </term>
141
+ <term name="part">
142
+ <single>μέρος</single>
143
+ <multiple>μέρη</multiple>
144
+ </term>
145
+ <term name="section">
146
+ <single>τμήμα</single>
147
+ <multiple>τμήματα</multiple>
148
+ </term>
149
+ <term name="sub verbo">
150
+ <single>λήμμα</single>
151
+ <multiple>λήμματα</multiple>
152
+ </term>
153
+ <term name="verse">
154
+ <single>στίχος</single>
155
+ <multiple>στίχοι</multiple>
156
+ </term>
157
+ <term name="volume">
158
+ <single>τόμος</single>
159
+ <multiple>τόμοι</multiple>
160
+ </term>
161
+ <term name="book" form="short">βιβ</term>
162
+ <term name="chapter" form="short">κεφ</term>
163
+ <term name="column" form="short">στ</term>
164
+ <term name="figure" form="short">εικ</term>
165
+ <term name="folio" form="short">φακ</term>
166
+ <term name="issue" form="short">τχ</term>
167
+ <term name="opus" form="short">έργ</term>
168
+ <term name="page" form="short">
169
+ <single>σ</single>
170
+ <multiple>σσ</multiple>
171
+ </term>
172
+ <term name="paragraph" form="short">παρ</term>
173
+ <term name="part" form="short">μερ</term>
174
+ <term name="section" form="short">τμ</term>
175
+ <term name="sub verbo" form="short">
176
+ <single>λήμ</single>
177
+ <multiple>λήμ</multiple>
178
+ </term>
179
+ <term name="verse" form="short">
180
+ <single>στ</single>
181
+ <multiple>στ</multiple>
182
+ </term>
183
+ <term name="volume" form="short">
184
+ <single>τμ</single>
185
+ <multiple>τμ</multiple>
186
+ </term>
187
+ <term name="paragraph" form="symbol">
188
+ <single>ΒΆ</single>
189
+ <multiple>ΒΆΒΆ</multiple>
190
+ </term>
191
+ <term name="section" form="symbol">
192
+ <single/>
193
+ <multiple/>
194
+ </term>
195
+ <term name="author">
196
+ <single/>
197
+ <multiple/>
198
+ </term>
199
+ <term name="editor">
200
+ <single>επιμελητής</single>
201
+ <multiple>επιμελητές</multiple>
202
+ </term>
203
+ <term name="editorial-director">
204
+ <single>γενική εποπτεία</single>
205
+ <multiple>γενική εποπτεία</multiple>
206
+ </term>
207
+ <term name="translator">
208
+ <single>μεταφραστής</single>
209
+ <multiple>μεταφραστές</multiple>
210
+ </term>
211
+ <term name="editortranslator">
212
+ <single>μετάφραση και επιμέλεια</single>
213
+ <multiple>μετάφραση και επιμέλεια</multiple>
214
+ </term>
215
+ <term name="author" form="short">
216
+ <single/>
217
+ <multiple/>
218
+ </term>
219
+ <term name="editor" form="short">
220
+ <single>επιμ</single>
221
+ <multiple>επιμ</multiple>
222
+ </term>
223
+ <term name="editorial-director" form="short">
224
+ <single>γεν. επ</single>
225
+ <multiple>γεν. επ</multiple>
226
+ </term>
227
+ <term name="translator" form="short">
228
+ <single>μτφ</single>
229
+ <multiple>μτφ</multiple>
230
+ </term>
231
+ <term name="editortranslator" form="short">
232
+ <single>μτφ. και επιμ</single>
233
+ <multiple>μτφ. και επιμ</multiple>
234
+ </term>
235
+ <term name="editor" form="verb">επιμ</term>
236
+ <term name="editorial-director" form="verb">γεν επ</term>
237
+ <term name="translator" form="verb">μτφ</term>
238
+ <term name="editortranslator" form="verb">μτφ. και επιμ</term>
239
+ <term name="recipient" form="verb">στο</term>
240
+ <term name="interviewer" form="verb">συνέντευξη</term>
241
+ <term name="container-author" form="verb-short"></term>
242
+ <term name="editor" form="verb-short">επιμ</term>
243
+ <term name="editorial-director" form="verb-short">γεν. επ</term>
244
+ <term name="translator" form="verb-short">μτφ</term>
245
+ <term name="editortranslator" form="verb-short">μτφ. και επιμ</term>
246
+ <term name="month-01">Ιανουάριος</term>
247
+ <term name="month-02">Φεβρουάριος</term>
248
+ <term name="month-03">Μάρτιος</term>
249
+ <term name="month-04">Απρίλιος</term>
250
+ <term name="month-05">Μάιος</term>
251
+ <term name="month-06">Ιούνιος</term>
252
+ <term name="month-07">Ιούλιος</term>
253
+ <term name="month-08">Αύγουστος</term>
254
+ <term name="month-09">Σεπτέμβριος</term>
255
+ <term name="month-10">Οκτώβριος</term>
256
+ <term name="month-11">Νοέμβριος</term>
257
+ <term name="month-12">Δεκέμβριος</term>
258
+ <term name="month-01" form="short">Ιανουαρίου</term>
259
+ <term name="month-02" form="short">Φεβρουαρίου</term>
260
+ <term name="month-03" form="short">Μαρτίου</term>
261
+ <term name="month-04" form="short">Απριλίου</term>
262
+ <term name="month-05" form="short">Μαΐου</term>
263
+ <term name="month-06" form="short">Ιουνίου</term>
264
+ <term name="month-07" form="short">Ιουλίου</term>
265
+ <term name="month-08" form="short">Αυγούστου</term>
266
+ <term name="month-09" form="short">Σεπτεμβρίου</term>
267
+ <term name="month-10" form="short">Οκτωβρίου</term>
268
+ <term name="month-11" form="short">Νοεμβρίου</term>
269
+ <term name="month-12" form="short">Δεκεμβρίου</term>
270
+ <term name="season-01">Άνοιξη</term>
271
+ <term name="season-02">Καλοκαίρι</term>
272
+ <term name="season-03">Φθινόπωρο</term>
273
+ <term name="season-04">Χειμώνας</term>
274
+ </terms>
275
+ <date form="text">
276
+ <date-part name="day" suffix=" "/>
277
+ <date-part name="month" suffix=" "/>
278
+ <date-part name="year"/>
279
+ </date>
280
+ <date form="numeric">
281
+ <date-part name="day" form="numeric-leading-zeros" suffix="/"/>
282
+ <date-part name="month" form="numeric-leading-zeros" suffix="/"/>
283
+ <date-part name="year"/>
284
+ </date>
285
+ </locale>
286
+ <macro name="editor-translator">
287
+ <group delimiter=", ">
288
+ <choose>
289
+ <if variable="container-author" match="any">
290
+ <names variable="translator" delimiter=", ">
291
+ <label form="verb-short" text-case="lowercase" suffix=". " strip-periods="true"/>
292
+ <name and="text" delimiter=", "/>
293
+ </names>
294
+ </if>
295
+ <else-if variable="author">
296
+ <names variable="translator" delimiter=", ">
297
+ <label form="verb-short" text-case="lowercase" suffix=". " strip-periods="true"/>
298
+ <name and="text" delimiter=", "/>
299
+ </names>
300
+ </else-if>
301
+ </choose>
302
+ <choose>
303
+ <if variable="container-author" match="none"/>
304
+ <else-if variable="author" match="any">
305
+ <names variable="editor" delimiter=", ">
306
+ <label form="verb-short" text-case="lowercase" suffix=". " strip-periods="true"/>
307
+ <name and="text" delimiter=", "/>
308
+ </names>
309
+ </else-if>
310
+ </choose>
311
+ </group>
312
+ </macro>
313
+ <macro name="secondary-contributors-note">
314
+ <choose>
315
+ <if type="chapter paper-conference" match="none">
316
+ <group delimiter=", ">
317
+ <choose>
318
+ <if variable="author">
319
+ <names variable="translator" delimiter=". ">
320
+ <label form="verb" text-case="lowercase" suffix=" "/>
321
+ <name and="text" delimiter=", "/>
322
+ </names>
323
+ </if>
324
+ </choose>
325
+ <choose>
326
+ <if variable="author translator" match="any">
327
+ <names variable="editor" delimiter=". ">
328
+ <label form="verb-short" text-case="lowercase" suffix=". " strip-periods="true"/>
329
+ <name and="text" delimiter=", "/>
330
+ </names>
331
+ </if>
332
+ </choose>
333
+ </group>
334
+ </if>
335
+ </choose>
336
+ </macro>
337
+ <macro name="container-contributors-note">
338
+ <choose>
339
+ <if type="chapter paper-conference" match="any">
340
+ <text macro="editor-translator"/>
341
+ </if>
342
+ </choose>
343
+ </macro>
344
+ <macro name="secondary-contributors">
345
+ <choose>
346
+ <if type="chapter paper-conference" match="none">
347
+ <group delimiter=", ">
348
+ <choose>
349
+ <if variable="author">
350
+ <names variable="translator" delimiter=". ">
351
+ <label form="verb" text-case="lowercase" suffix=" "/>
352
+ <name and="text" delimiter=", "/>
353
+ </names>
354
+ </if>
355
+ </choose>
356
+ <choose>
357
+ <if variable="author translator" match="any">
358
+ <names variable="editor" delimiter=". ">
359
+ <label form="verb-short" text-case="lowercase" suffix=". " strip-periods="true"/>
360
+ <name and="text" delimiter=", "/>
361
+ </names>
362
+ </if>
363
+ </choose>
364
+ </group>
365
+ </if>
366
+ </choose>
367
+ </macro>
368
+ <macro name="container-contributors">
369
+ <choose>
370
+ <if type="chapter paper-conference" match="any">
371
+ <text macro="editor-translator"/>
372
+ </if>
373
+ </choose>
374
+ </macro>
375
+ <macro name="editor-note">
376
+ <names variable="editor">
377
+ <name and="text" sort-separator=", " delimiter=", "/>
378
+ <label form="verb-short" prefix=" (" suffix=".)" strip-periods="true"/>
379
+ </names>
380
+ </macro>
381
+ <macro name="translator-note">
382
+ <names variable="translator">
383
+ <name and="text" sort-separator=", " delimiter=", "/>
384
+ <label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
385
+ </names>
386
+ </macro>
387
+ <macro name="recipient-note">
388
+ <names variable="recipient" delimiter=", ">
389
+ <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
390
+ <name and="text" delimiter=", "/>
391
+ </names>
392
+ </macro>
393
+ <macro name="contributors-note">
394
+ <names variable="author">
395
+ <name and="text" sort-separator=", " delimiter=", "/>
396
+ <substitute>
397
+ <text macro="editor-note"/>
398
+ <text macro="translator-note"/>
399
+ </substitute>
400
+ </names>
401
+ <text macro="recipient-note"/>
402
+ </macro>
403
+ <macro name="editor">
404
+ <names variable="editor">
405
+ <name name-as-sort-order="first" and="text" sort-separator=" " delimiter=", " delimiter-precedes-last="never"/>
406
+ <label form="verb-short" prefix=" (" suffix=".)" strip-periods="true"/>
407
+ </names>
408
+ </macro>
409
+ <macro name="translator">
410
+ <names variable="translator">
411
+ <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
412
+ <label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
413
+ </names>
414
+ </macro>
415
+ <macro name="recipient">
416
+ <choose>
417
+ <if type="personal_communication">
418
+ <choose>
419
+ <if variable="genre">
420
+ <text variable="genre" text-case="lowercase"/>
421
+ </if>
422
+ <else>
423
+ <text term="letter" text-case="lowercase"/>
424
+ </else>
425
+ </choose>
426
+ </if>
427
+ </choose>
428
+ <text macro="recipient-note" prefix=" "/>
429
+ </macro>
430
+ <macro name="contributors">
431
+ <names variable="author">
432
+ <name name-as-sort-order="first" and="text" sort-separator=" " delimiter=", " delimiter-precedes-last="never"/>
433
+ <substitute>
434
+ <text macro="editor"/>
435
+ <text macro="translator"/>
436
+ </substitute>
437
+ </names>
438
+ <text macro="recipient" prefix=". "/>
439
+ </macro>
440
+ <macro name="recipient-short">
441
+ <names variable="recipient">
442
+ <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
443
+ <name form="short" and="text" delimiter=", "/>
444
+ </names>
445
+ </macro>
446
+ <macro name="contributors-short">
447
+ <names variable="author">
448
+ <name form="short" and="text" delimiter=", "/>
449
+ <substitute>
450
+ <names variable="editor"/>
451
+ <names variable="translator"/>
452
+ </substitute>
453
+ </names>
454
+ <text macro="recipient-short"/>
455
+ </macro>
456
+ <macro name="contributors-sort">
457
+ <names variable="author">
458
+ <name name-as-sort-order="all" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
459
+ <label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
460
+ <substitute>
461
+ <names variable="editor"/>
462
+ <names variable="translator"/>
463
+ </substitute>
464
+ </names>
465
+ </macro>
466
+ <macro name="interviewer-note">
467
+ <names variable="interviewer" delimiter=", ">
468
+ <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
469
+ <name and="text" delimiter=", "/>
470
+ </names>
471
+ </macro>
472
+ <macro name="interviewer">
473
+ <names variable="interviewer" delimiter=", ">
474
+ <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
475
+ <name and="text" delimiter=", "/>
476
+ </names>
477
+ </macro>
478
+ <macro name="title-note">
479
+ <choose>
480
+ <if variable="title" match="none">
481
+ <text variable="genre"/>
482
+ </if>
483
+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
484
+ <text variable="title" font-style="italic"/>
485
+ </else-if>
486
+ <else-if type="entry-encyclopedia">
487
+ <choose>
488
+ <if variable="author">
489
+ <text variable="title" prefix="«" suffix="»"/>
490
+ <text term="sub verbo" text-case="lowercase" prefix=" (" suffix=")"/>
491
+ </if>
492
+ <else>
493
+ <text variable="title" prefix="«" suffix="»"/>
494
+ <text term="sub verbo" text-case="lowercase" prefix=" (" suffix=")"/>
495
+ </else>
496
+ </choose>
497
+ </else-if>
498
+ <else-if type="entry-dictionary">
499
+ <choose>
500
+ <if variable="author">
501
+ <text variable="title" prefix="«" suffix="»"/>
502
+ <text term="sub verbo" text-case="lowercase" prefix=" (" suffix=")"/>
503
+ </if>
504
+ <else>
505
+ <text variable="title" prefix="«" suffix="»"/>
506
+ <text term="sub verbo" text-case="lowercase" prefix=" (" suffix=")"/>
507
+ </else>
508
+ </choose>
509
+ </else-if>
510
+ <else>
511
+ <text variable="title" prefix="«" suffix="»"/>
512
+ </else>
513
+ </choose>
514
+ </macro>
515
+ <macro name="title">
516
+ <choose>
517
+ <if variable="title" match="none">
518
+ <choose>
519
+ <if type="personal_communication" match="none">
520
+ <text variable="genre" text-case="lowercase"/>
521
+ </if>
522
+ </choose>
523
+ </if>
524
+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
525
+ <text variable="title" font-style="italic"/>
526
+ </else-if>
527
+ <else-if type="entry-encyclopedia">
528
+ <choose>
529
+ <if variable="author">
530
+ <text variable="title" prefix="«" suffix="»"/>
531
+ <text term="sub verbo" text-case="lowercase" prefix=" (" suffix=")"/>
532
+ </if>
533
+ <else>
534
+ <text variable="title" prefix="«" suffix="»"/>
535
+ <text term="sub verbo" text-case="lowercase" prefix=" (" suffix=")"/>
536
+ </else>
537
+ </choose>
538
+ </else-if>
539
+ <else-if type="entry-dictionary">
540
+ <choose>
541
+ <if variable="author">
542
+ <text variable="title" prefix="«" suffix="»"/>
543
+ <text term="sub verbo" text-case="lowercase" prefix=" (" suffix=")"/>
544
+ </if>
545
+ <else>
546
+ <text variable="title" prefix="«" suffix="»"/>
547
+ <text term="sub verbo" text-case="lowercase" prefix=" (" suffix=")"/>
548
+ </else>
549
+ </choose>
550
+ </else-if>
551
+ <else>
552
+ <text variable="title" prefix="«" suffix="»"/>
553
+ </else>
554
+ </choose>
555
+ </macro>
556
+ <macro name="title-short">
557
+ <choose>
558
+ <if variable="title" match="none">
559
+ <choose>
560
+ <if type="interview">
561
+ <text term="interview" text-case="lowercase"/>
562
+ </if>
563
+ <else-if type="manuscript speech" match="any">
564
+ <text variable="genre" form="short"/>
565
+ </else-if>
566
+ <else-if type="personal_communication">
567
+ <text macro="issued"/>
568
+ </else-if>
569
+ </choose>
570
+ </if>
571
+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
572
+ <text variable="title" form="short" font-style="italic"/>
573
+ </else-if>
574
+ <else>
575
+ <text variable="title" form="short" prefix="" suffix=""/>
576
+ </else>
577
+ </choose>
578
+ </macro>
579
+ <macro name="description-note">
580
+ <group delimiter=", ">
581
+ <text macro="interviewer-note"/>
582
+ <text variable="medium"/>
583
+ <choose>
584
+ <if variable="title" match="none"/>
585
+ <else-if type="thesis speech" match="any"/>
586
+ <else>
587
+ <text variable="genre"/>
588
+ </else>
589
+ </choose>
590
+ </group>
591
+ </macro>
592
+ <macro name="description">
593
+ <group delimiter=", ">
594
+ <group delimiter=". ">
595
+ <text macro="interviewer"/>
596
+ <text variable="medium" text-case="lowercase"/>
597
+ </group>
598
+ <choose>
599
+ <if variable="title" match="none"/>
600
+ <else-if type="thesis speech" match="any"/>
601
+ <else>
602
+ <text variable="genre" text-case="lowercase"/>
603
+ </else>
604
+ </choose>
605
+ </group>
606
+ </macro>
607
+ <macro name="container-title-note">
608
+ <choose>
609
+ <if type="article-newspaper">
610
+ <text term="at" text-case="lowercase" suffix=". "/>
611
+ </if>
612
+ </choose>
613
+ <choose>
614
+ <if variable="container-author">
615
+ <text term="in" text-case="lowercase" suffix=": "/>
616
+ <group suffix=", ">
617
+ <names variable="container-author">
618
+ <label form="verb-short" prefix=" " text-case="lowercase" suffix=" " strip-periods="true"/>
619
+ <name and="text" delimiter=", "/>
620
+ </names>
621
+ </group>
622
+ </if>
623
+ <else-if type="entry-encyclopedia" match="any">
624
+ </else-if>
625
+ <else-if type="entry-dictionary" match="any">
626
+ </else-if>
627
+ <else-if type="chapter paper-conference" match="any">
628
+ <text term="in" suffix=": "/>
629
+ <names variable="editor" delimiter=", " suffix=", ">
630
+ <name and="text" delimiter=", "/>
631
+ <label form="short" prefix=" (" suffix=".)" strip-periods="true"/>
632
+ </names>
633
+ </else-if>
634
+ </choose>
635
+ <choose>
636
+ <if type="legal_case" match="none">
637
+ <text variable="container-title" font-style="italic"/>
638
+ </if>
639
+ </choose>
640
+ </macro>
641
+ <macro name="container-title">
642
+ <choose>
643
+ <if type="article-newspaper">
644
+ <text term="at" text-case="lowercase" suffix=". "/>
645
+ </if>
646
+ </choose>
647
+ <choose>
648
+ <if variable="container-author">
649
+ <text term="in" text-case="lowercase" suffix=": "/>
650
+ <group suffix=", ">
651
+ <names variable="container-author">
652
+ <label form="verb-short" prefix=" " text-case="lowercase" suffix=" " strip-periods="true"/>
653
+ <name and="text" delimiter=", "/>
654
+ </names>
655
+ </group>
656
+ </if>
657
+ <else-if type="entry-encyclopedia" match="any">
658
+ </else-if>
659
+ <else-if type="entry-dictionary" match="any">
660
+ </else-if>
661
+ <else-if type="chapter paper-conference" match="any">
662
+ <text term="in" suffix=": "/>
663
+ <names variable="editor" delimiter=", " suffix=", ">
664
+ <name and="text" delimiter=", "/>
665
+ <label form="short" prefix=" (" suffix=".)" strip-periods="true"/>
666
+ </names>
667
+ </else-if>
668
+ </choose>
669
+ <choose>
670
+ <if type="legal_case" match="none">
671
+ <text variable="container-title" font-style="italic"/>
672
+ </if>
673
+ </choose>
674
+ </macro>
675
+ <macro name="collection-title">
676
+ <text variable="collection-title"/>
677
+ <text variable="collection-number" prefix=" "/>
678
+ </macro>
679
+ <macro name="edition-note">
680
+ <choose>
681
+ <if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
682
+ <choose>
683
+ <if is-numeric="edition">
684
+ <group delimiter=" ">
685
+ <text variable="edition"/>
686
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
687
+ </group>
688
+ </if>
689
+ <else>
690
+ <text variable="edition" suffix="."/>
691
+ </else>
692
+ </choose>
693
+ </if>
694
+ </choose>
695
+ </macro>
696
+ <macro name="edition">
697
+ <choose>
698
+ <if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
699
+ <choose>
700
+ <if is-numeric="edition">
701
+ <group delimiter=" ">
702
+ <text variable="edition"/>
703
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
704
+ </group>
705
+ </if>
706
+ <else>
707
+ <text variable="edition" text-case="lowercase" suffix="."/>
708
+ </else>
709
+ </choose>
710
+ </if>
711
+ </choose>
712
+ </macro>
713
+ <macro name="locators-note">
714
+ <choose>
715
+ <if type="article-journal">
716
+ <group prefix=", ">
717
+ <text term="volume" form="short" suffix=". " strip-periods="true"/>
718
+ <text variable="volume" prefix=""/>
719
+ </group>
720
+ <group prefix=", ">
721
+ <text term="issue" form="short" suffix=". " strip-periods="true"/>
722
+ <text variable="issue"/>
723
+ </group>
724
+ </if>
725
+ </choose>
726
+ <choose>
727
+ <if type="article-magazine">
728
+ <group prefix=", ">
729
+ <text term="volume" form="short" suffix=". " strip-periods="true"/>
730
+ <text variable="volume" prefix=""/>
731
+ </group>
732
+ <group prefix=", ">
733
+ <text term="issue" form="short" suffix=". " strip-periods="true"/>
734
+ <text variable="issue"/>
735
+ </group>
736
+ </if>
737
+ </choose>
738
+ <choose>
739
+ <if type="legal_case">
740
+ <text variable="volume" prefix=", "/>
741
+ <text variable="container-title" prefix=" "/>
742
+ <text macro="pages"/>
743
+ <text variable="locator" prefix=", "/>
744
+ </if>
745
+ </choose>
746
+ <choose>
747
+ <if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
748
+ <group prefix=", " delimiter=", ">
749
+ <group>
750
+ <text term="volume" form="short" suffix=". " strip-periods="true"/>
751
+ <text variable="volume"/>
752
+ </group>
753
+ <group>
754
+ <text variable="number-of-volumes"/>
755
+ <text term="volume" form="verb-short" prefix=" " suffix="" strip-periods="true"/>
756
+ </group>
757
+ <text macro="edition-note"/>
758
+ </group>
759
+ </if>
760
+ </choose>
761
+ </macro>
762
+ <macro name="locators">
763
+ <choose>
764
+ <if type="article-journal">
765
+ <group prefix=", ">
766
+ <text term="volume" form="short" suffix=". " strip-periods="true"/>
767
+ <text variable="volume" prefix=""/>
768
+ </group>
769
+ <group prefix=", ">
770
+ <text term="issue" form="short" suffix=". " strip-periods="true"/>
771
+ <text variable="issue"/>
772
+ </group>
773
+ </if>
774
+ </choose>
775
+ <choose>
776
+ <if type="article-magazine">
777
+ <group prefix=", ">
778
+ <text term="volume" form="short" suffix=". " strip-periods="true"/>
779
+ <text variable="volume" prefix=""/>
780
+ </group>
781
+ <group prefix=", ">
782
+ <text term="issue" form="short" suffix=". " strip-periods="true"/>
783
+ <text variable="issue"/>
784
+ </group>
785
+ </if>
786
+ <else-if type="legal_case">
787
+ <text variable="volume" prefix=", "/>
788
+ <text variable="container-title" prefix=" "/>
789
+ <text macro="pages"/>
790
+ </else-if>
791
+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
792
+ <group prefix=", " delimiter=", ">
793
+ <group>
794
+ <text term="volume" form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
795
+ <text variable="volume"/>
796
+ </group>
797
+ <group>
798
+ <text variable="number-of-volumes"/>
799
+ <text term="volume" form="verb-short" prefix=" " suffix="" strip-periods="true"/>
800
+ </group>
801
+ <text macro="edition"/>
802
+ </group>
803
+ </else-if>
804
+ <else-if type="chapter paper-conference" match="any">
805
+ <group prefix=", " delimiter=", ">
806
+ <group>
807
+ <text term="volume" form="short" suffix=". " strip-periods="true"/>
808
+ <text variable="volume"/>
809
+ </group>
810
+ <group>
811
+ <text variable="number-of-volumes"/>
812
+ <text term="volume" form="verb-short" prefix=" " suffix="" strip-periods="true"/>
813
+ </group>
814
+ <text macro="edition-note"/>
815
+ </group>
816
+ </else-if>
817
+ </choose>
818
+ </macro>
819
+ <macro name="locators-newspaper">
820
+ <choose>
821
+ <if type="article-newspaper">
822
+ <group delimiter=", ">
823
+ <group>
824
+ <text variable="edition" suffix=" "/>
825
+ <text term="edition" prefix=" "/>
826
+ </group>
827
+ <group>
828
+ <text term="section" form="short" suffix=". " strip-periods="true"/>
829
+ <text variable="section"/>
830
+ </group>
831
+ </group>
832
+ </if>
833
+ </choose>
834
+ </macro>
835
+ <macro name="event">
836
+ <group>
837
+ <text term="presented at" suffix=" "/>
838
+ <text variable="event"/>
839
+ </group>
840
+ </macro>
841
+ <macro name="publisher">
842
+ <group prefix=", " delimiter=", ">
843
+ <text variable="publisher"/>
844
+ <text variable="publisher-place"/>
845
+ </group>
846
+ </macro>
847
+ <macro name="issued">
848
+ <choose>
849
+ <if variable="issued">
850
+ <choose>
851
+ <if type="article-journal" match="any">
852
+ <group prefix="(" suffix=")">
853
+ <date variable="issued">
854
+ <date-part name="day" suffix=" "/>
855
+ <date-part name="month" suffix=" "/>
856
+ <date-part name="year"/>
857
+ </date>
858
+ </group>
859
+ </if>
860
+ <else-if type="graphic report" match="any">
861
+ <date variable="issued">
862
+ <date-part name="day" suffix=" "/>
863
+ <date-part name="month" form="short" suffix=" " strip-periods="true"/>
864
+ <date-part name="year"/>
865
+ </date>
866
+ </else-if>
867
+ <else-if type="legal_case">
868
+ <text variable="authority" suffix=" "/>
869
+ <date variable="issued">
870
+ <date-part name="year"/>
871
+ </date>
872
+ </else-if>
873
+ <else-if type="bill book graphic legal_case motion_picture report song thesis chapter paper-conference" match="any">
874
+ <date variable="issued">
875
+ <date-part name="year"/>
876
+ </date>
877
+ </else-if>
878
+ <else>
879
+ <date variable="issued">
880
+ <date-part name="day" suffix=" "/>
881
+ <date-part name="month" form="short" suffix=" " strip-periods="true"/>
882
+ <date-part name="year"/>
883
+ </date>
884
+ </else>
885
+ </choose>
886
+ </if>
887
+ <else>
888
+ <text term="no date"/>
889
+ </else>
890
+ </choose>
891
+ </macro>
892
+ <macro name="point-locators-subsequent">
893
+ <group>
894
+ <choose>
895
+ <if locator="page" match="all">
896
+ <choose>
897
+ <if type="bill book graphic legal_case motion_picture report song" match="any">
898
+ <choose>
899
+ <if variable="volume">
900
+ <group>
901
+ <text term="volume" form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
902
+ <text variable="volume" suffix=", "/>
903
+ </group>
904
+ </if>
905
+ </choose>
906
+ </if>
907
+ </choose>
908
+ </if>
909
+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
910
+ <group>
911
+ <text term="volume" form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
912
+ <text variable="volume" suffix="."/>
913
+ </group>
914
+ </else-if>
915
+ </choose>
916
+ <group>
917
+ <label variable="locator" form="short" suffix=" "/>
918
+ <text variable="locator"/>
919
+ </group>
920
+ </group>
921
+ </macro>
922
+ <macro name="point-locators">
923
+ <choose>
924
+ <if variable="locator" match="none">
925
+ <text macro="pages"/>
926
+ </if>
927
+ <else-if type="article-journal">
928
+ <text variable="locator" prefix=": "/>
929
+ </else-if>
930
+ <else-if type="legal_case"/>
931
+ <else>
932
+ <group prefix=", ">
933
+ <choose>
934
+ <if locator="page" match="all">
935
+ <label variable="locator" form="short" suffix=" "/>
936
+ </if>
937
+ </choose>
938
+ <text variable="locator"/>
939
+ </group>
940
+ </else>
941
+ </choose>
942
+ </macro>
943
+ <macro name="pages">
944
+ <label variable="page" form="short" prefix=", " suffix=" "/>
945
+ <text variable="page"/>
946
+ </macro>
947
+ <macro name="locators-chapter">
948
+ <choose>
949
+ <if type="chapter paper-conference" match="any">
950
+ <choose>
951
+ <if variable="page">
952
+ <text macro="pages"/>
953
+ </if>
954
+ </choose>
955
+ </if>
956
+ </choose>
957
+ </macro>
958
+ <macro name="locators-journal">
959
+ <choose>
960
+ <if type="article-journal">
961
+ <text macro="pages"/>
962
+ </if>
963
+ </choose>
964
+ <choose>
965
+ <if type="article-newspaper">
966
+ <text macro="pages"/>
967
+ </if>
968
+ </choose>
969
+ <choose>
970
+ <if type="article-magazine">
971
+ <text macro="pages"/>
972
+ </if>
973
+ </choose>
974
+ </macro>
975
+ <macro name="archive-note">
976
+ <group delimiter=", ">
977
+ <text variable="archive_location"/>
978
+ <text variable="archive"/>
979
+ <text variable="archive-place"/>
980
+ </group>
981
+ </macro>
982
+ <macro name="archive">
983
+ <group delimiter=". ">
984
+ <text variable="archive_location" text-case="lowercase"/>
985
+ <text variable="archive"/>
986
+ <text variable="archive-place"/>
987
+ </group>
988
+ </macro>
989
+ <macro name="issue-note">
990
+ <choose>
991
+ <if type="article-journal legal_case" match="any">
992
+ <text macro="issued" prefix=" " suffix=""/>
993
+ </if>
994
+ </choose>
995
+ <choose>
996
+ <if type="article-newspaper" match="any">
997
+ <text variable="publisher-place" prefix=" " suffix=""/>
998
+ <text macro="issued" prefix=", " suffix=""/>
999
+ </if>
1000
+ <else-if variable="publisher-place publisher" match="any">
1001
+ <group prefix="" suffix="" delimiter="">
1002
+ <group delimiter=" ">
1003
+ <choose>
1004
+ <if variable="title" match="none"/>
1005
+ <else-if type="thesis speech" match="any">
1006
+ <text variable="genre" prefix=", "/>
1007
+ </else-if>
1008
+ </choose>
1009
+ <text macro="event"/>
1010
+ </group>
1011
+ <text macro="publisher"/>
1012
+ <text macro="issued" prefix=" " suffix=""/>
1013
+ </group>
1014
+ </else-if>
1015
+ <else>
1016
+ <text macro="issued" prefix=", "/>
1017
+ </else>
1018
+ </choose>
1019
+ </macro>
1020
+ <macro name="issue">
1021
+ <choose>
1022
+ <if type="article-journal legal_case" match="any">
1023
+ <text macro="issued" prefix=" " suffix=""/>
1024
+ </if>
1025
+ </choose>
1026
+ <choose>
1027
+ <if type="article-newspaper" match="any">
1028
+ <text variable="publisher-place" prefix=" " suffix=""/>
1029
+ <text macro="issued" prefix=", " suffix=""/>
1030
+ </if>
1031
+ <else-if type="speech">
1032
+ <choose>
1033
+ <if variable="title" match="none"/>
1034
+ <else>
1035
+ <text variable="genre" text-case="lowercase" prefix=". "/>
1036
+ </else>
1037
+ </choose>
1038
+ <text macro="event" prefix=" "/>
1039
+ <text variable="event-place" prefix=", "/>
1040
+ <text macro="issued" prefix=", "/>
1041
+ </else-if>
1042
+ <else-if variable="publisher-place publisher" match="any">
1043
+ <group prefix="" delimiter="">
1044
+ <choose>
1045
+ <if type="thesis">
1046
+ <text variable="genre" prefix=", "/>
1047
+ </if>
1048
+ </choose>
1049
+ <text macro="publisher" suffix=" "/>
1050
+ <text macro="issued" suffix=""/>
1051
+ </group>
1052
+ </else-if>
1053
+ <else>
1054
+ <text macro="issued" prefix=", "/>
1055
+ </else>
1056
+ </choose>
1057
+ </macro>
1058
+ <macro name="access-note">
1059
+ <group delimiter=", ">
1060
+ <choose>
1061
+ <if type="graphic report" match="any">
1062
+ <text macro="archive-note" prefix=", "/>
1063
+ </if>
1064
+ <else-if type="bill book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis chapter paper-conference" match="none">
1065
+ <text macro="archive-note" prefix=", "/>
1066
+ </else-if>
1067
+ </choose>
1068
+ </group>
1069
+ <choose>
1070
+ <if variable="DOI">
1071
+ <text variable="DOI" prefix=" &lt;doi:" suffix="&gt;"/>
1072
+ </if>
1073
+ <else>
1074
+ <group prefix=" [" suffix="]">
1075
+ <text term="online"/>
1076
+ <text variable="URL" prefix=": "/>
1077
+ <date variable="accessed">
1078
+ <date-part name="day" prefix=" ("/>
1079
+ <date-part name="month" form="numeric" prefix="/"/>
1080
+ <date-part name="year" prefix="/" suffix=")"/>
1081
+ </date>
1082
+ </group>
1083
+ </else>
1084
+ </choose>
1085
+ </macro>
1086
+ <macro name="access">
1087
+ <group delimiter=", ">
1088
+ <choose>
1089
+ <if type="graphic report" match="any">
1090
+ <text macro="archive-note" prefix=", "/>
1091
+ </if>
1092
+ <else-if type="bill book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis chapter paper-conference" match="none">
1093
+ <text macro="archive-note" prefix=", "/>
1094
+ </else-if>
1095
+ </choose>
1096
+ </group>
1097
+ <choose>
1098
+ <if variable="DOI">
1099
+ <text variable="DOI" prefix=" &lt;doi:" suffix="&gt;"/>
1100
+ </if>
1101
+ <else>
1102
+ <group prefix=" [" suffix="]">
1103
+ <text term="online"/>
1104
+ <text variable="URL" prefix=": "/>
1105
+ <date variable="accessed">
1106
+ <date-part name="day" prefix=" ("/>
1107
+ <date-part name="month" form="numeric" prefix="/"/>
1108
+ <date-part name="year" prefix="/" suffix=")"/>
1109
+ </date>
1110
+ </group>
1111
+ </else>
1112
+ </choose>
1113
+ </macro>
1114
+ <macro name="sort-key">
1115
+ <text macro="contributors-sort" suffix=" "/>
1116
+ <text variable="title" suffix=" "/>
1117
+ <text variable="genre"/>
1118
+ </macro>
1119
+ <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">
1120
+ <layout prefix="" suffix="." delimiter=". ">
1121
+ <choose>
1122
+ <if position="ibid-with-locator">
1123
+ <group delimiter=", ">
1124
+ <text term="ibid"/>
1125
+ <text macro="point-locators-subsequent"/>
1126
+ </group>
1127
+ </if>
1128
+ <else-if position="ibid">
1129
+ <text term="ibid"/>
1130
+ </else-if>
1131
+ <else-if position="subsequent">
1132
+ <group delimiter=", ">
1133
+ <text macro="contributors-short"/>
1134
+ <text macro="title-short"/>
1135
+ <text macro="point-locators-subsequent"/>
1136
+ </group>
1137
+ </else-if>
1138
+ <else>
1139
+ <group delimiter=", ">
1140
+ <text macro="contributors-note"/>
1141
+ <text macro="title-note"/>
1142
+ <text macro="description-note"/>
1143
+ <text macro="secondary-contributors-note"/>
1144
+ <text macro="container-title-note"/>
1145
+ <text macro="container-contributors-note"/>
1146
+ </group>
1147
+ <text macro="locators-note"/>
1148
+ <text macro="collection-title" prefix=", "/>
1149
+ <text macro="issue-note"/>
1150
+ <text macro="locators-newspaper" prefix=", "/>
1151
+ <text macro="point-locators"/>
1152
+ <text macro="access-note"/>
1153
+ </else>
1154
+ </choose>
1155
+ </layout>
1156
+ </citation>
1157
+ <bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="���" entry-spacing="0">
1158
+ <sort>
1159
+ <key macro="sort-key"/>
1160
+ <key variable="issued"/>
1161
+ </sort>
1162
+ <layout suffix=".">
1163
+ <group delimiter=", ">
1164
+ <text macro="contributors"/>
1165
+ <text macro="title"/>
1166
+ <text macro="description"/>
1167
+ <text macro="secondary-contributors"/>
1168
+ <group delimiter=", ">
1169
+ <text macro="container-title"/>
1170
+ <text macro="container-contributors"/>
1171
+ </group>
1172
+ </group>
1173
+ <text macro="locators"/>
1174
+ <text macro="collection-title" prefix=". "/>
1175
+ <text macro="issue"/>
1176
+ <text macro="locators-chapter"/>
1177
+ <text macro="locators-newspaper" prefix=", "/>
1178
+ <text macro="locators-journal"/>
1179
+ <text macro="access"/>
1180
+ </layout>
1181
+ </bibliography>
1182
+ </style>