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.
- data/lib/citeproc/version.rb +1 -1
- data/lib/csl/nodes.rb +23 -3
- data/lib/plugins/formats/default.rb +1 -1
- data/resource/locale/locales-af-ZA.xml +289 -288
- data/resource/locale/locales-ar-AR.xml +291 -289
- data/resource/locale/locales-bg-BG.xml +289 -288
- data/resource/locale/locales-ca-AD.xml +289 -288
- data/resource/locale/locales-cs-CZ.xml +288 -287
- data/resource/locale/locales-da-DK.xml +289 -288
- data/resource/locale/locales-de-AT.xml +288 -288
- data/resource/locale/locales-de-CH.xml +288 -288
- data/resource/locale/locales-de-DE.xml +314 -314
- data/resource/locale/locales-el-GR.xml +241 -239
- data/resource/locale/locales-en-GB.xml +304 -0
- data/resource/locale/locales-en-US.xml +297 -297
- data/resource/locale/locales-es-ES.xml +289 -288
- data/resource/locale/locales-et-EE.xml +287 -287
- data/resource/locale/locales-eu.xml +305 -0
- data/resource/locale/locales-fa-IR.xml +304 -0
- data/resource/locale/locales-fi-FI.xml +304 -0
- data/resource/locale/locales-fr-CA.xml +306 -0
- data/resource/locale/locales-fr-FR.xml +290 -288
- data/resource/locale/locales-he-IL.xml +288 -288
- data/resource/locale/locales-hu-HU.xml +289 -288
- data/resource/locale/locales-is-IS.xml +288 -288
- data/resource/locale/locales-it-IT.xml +289 -288
- data/resource/locale/locales-ja-JP.xml +289 -288
- data/resource/locale/locales-km-KH.xml +304 -0
- data/resource/locale/locales-ko-KR.xml +289 -288
- data/resource/locale/locales-mn-MN.xml +290 -288
- data/resource/locale/locales-nb-NO.xml +288 -288
- data/resource/locale/locales-nl-NL.xml +288 -288
- data/resource/locale/locales-nn-NO.xml +288 -288
- data/resource/locale/locales-pl-PL.xml +289 -288
- data/resource/locale/locales-pt-BR.xml +288 -288
- data/resource/locale/locales-pt-PT.xml +289 -288
- data/resource/locale/locales-ro-RO.xml +289 -288
- data/resource/locale/locales-ru-RU.xml +290 -288
- data/resource/locale/locales-sk-SK.xml +288 -288
- data/resource/locale/locales-sl-SI.xml +289 -288
- data/resource/locale/locales-sr-RS.xml +289 -288
- data/resource/locale/locales-sv-SE.xml +289 -288
- data/resource/locale/locales-th-TH.xml +288 -288
- data/resource/locale/locales-tr-TR.xml +289 -288
- data/resource/locale/locales-uk-UA.xml +290 -288
- data/resource/locale/locales-vi-VN.xml +289 -288
- data/resource/locale/locales-zh-CN.xml +288 -288
- data/resource/locale/locales-zh-TW.xml +289 -288
- data/resource/style/apa.csl +316 -127
- data/resource/style/{bibtex-x2.csl → bibtex.csl} +7 -5
- data/resource/style/chicago-annotated-bibliography.csl +513 -0
- data/resource/style/chicago-author-date-basque.csl +707 -0
- data/resource/style/chicago-author-date-de.csl +394 -0
- data/resource/style/chicago-author-date.csl +223 -167
- data/resource/style/chicago-dated-note-biblio-no-ibid.csl +472 -0
- data/resource/style/chicago-fullnote-bibliography-delimiter-fixes.csl +972 -0
- data/resource/style/chicago-fullnote-bibliography-no-ibid-delimiter-fixes.csl +963 -0
- data/resource/style/chicago-fullnote-bibliography-no-ibid.csl +785 -0
- data/resource/style/chicago-fullnote-bibliography.csl +429 -321
- data/resource/style/chicago-library-list.csl +511 -0
- data/resource/style/chicago-note-biblio-no-ibid.csl +514 -0
- data/resource/style/chicago-note-bibliography.csl +276 -192
- data/resource/style/chicago-quick-copy.csl +685 -0
- data/resource/style/ieee.csl +296 -126
- data/resource/style/mla-notes.csl +796 -0
- data/resource/style/{mla-x.csl → mla-underline.csl} +14 -17
- data/resource/style/mla-url.csl +214 -0
- data/resource/style/mla.csl +289 -84
- data/resource/style/vancouver-brackets.csl +256 -0
- data/resource/style/vancouver-superscript-bracket-only-year.csl +165 -0
- data/resource/style/vancouver-superscript.csl +256 -0
- data/resource/style/vancouver.csl +256 -0
- data/spec/citeproc/date_spec.rb +7 -3
- data/spec/citeproc/variable_spec.rb +1 -1
- data/spec/csl/style_spec.rb +2 -2
- metadata +48 -48
- data/resource/style/acta-materialia-x.csl +0 -128
- data/resource/style/advanced-engineering-materials-x.csl +0 -121
- data/resource/style/ama.csl +0 -185
- data/resource/style/ama2-x.csl +0 -179
- data/resource/style/apa-x.csl +0 -324
- data/resource/style/apsa-x.csl +0 -163
- data/resource/style/apsa.csl +0 -176
- data/resource/style/asa-x.csl +0 -203
- data/resource/style/asa.csl +0 -216
- data/resource/style/asm-journals-x.csl +0 -131
- data/resource/style/bluebook-demo-x.csl +0 -392
- data/resource/style/bluebook-demo.csl +0 -942
- data/resource/style/greek-chicago-x.csl +0 -1182
- data/resource/style/harvard1-institution-italic.csl +0 -190
- data/resource/style/harvard1.csl +0 -181
- data/resource/style/mhra-x.csl +0 -312
- data/resource/style/mhra.csl +0 -390
- data/resource/style/mhra_note_without_bibliography-x.csl +0 -330
- data/resource/style/mhra_note_without_bibliography.csl +0 -338
- data/resource/style/nature-x.csl +0 -81
- data/resource/style/nature.csl +0 -88
- data/resource/style/nlm.csl +0 -117
data/resource/style/apa-x.csl
DELETED
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
|
|
3
|
-
<info>
|
|
4
|
-
<title>American Psychological Association 6th Edition</title>
|
|
5
|
-
<id>http://www.zotero.org/styles/apa</id>
|
|
6
|
-
<link href="http://www.zotero.org/styles/apa" rel="self"/>
|
|
7
|
-
<link href="http://owl.english.purdue.edu/owl/resource/560/01/" rel="documentation"/>
|
|
8
|
-
<author>
|
|
9
|
-
<name>Simon Kornblith</name>
|
|
10
|
-
<email>simon@simonster.com</email>
|
|
11
|
-
</author>
|
|
12
|
-
<contributor>
|
|
13
|
-
<name>Bruce D'Arcus</name>
|
|
14
|
-
</contributor>
|
|
15
|
-
<contributor>
|
|
16
|
-
<name>Curtis M. Humphrey</name>
|
|
17
|
-
</contributor>
|
|
18
|
-
<contributor>
|
|
19
|
-
<name>Richard Karnesky</name>
|
|
20
|
-
<email>karnesky+zotero@gmail.com</email>
|
|
21
|
-
<uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
|
|
22
|
-
</contributor>
|
|
23
|
-
<contributor>
|
|
24
|
-
<name>Sebastian Karcher</name>
|
|
25
|
-
</contributor>
|
|
26
|
-
<category field="psychology"/>
|
|
27
|
-
<category field="generic-base"/>
|
|
28
|
-
<category citation-format="author-date"/>
|
|
29
|
-
<updated>2010-01-27T20:08:03+00:00</updated>
|
|
30
|
-
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
|
|
31
|
-
</info>
|
|
32
|
-
<macro name="container-contributors">
|
|
33
|
-
<choose>
|
|
34
|
-
<if type="chapter paper-conference" match="any">
|
|
35
|
-
<text term="in" text-case="capitalize-first" suffix=" "/>
|
|
36
|
-
<names variable="editor translator" delimiter=", " suffix=", ">
|
|
37
|
-
<name and="symbol" initialize-with=". " delimiter=", "/>
|
|
38
|
-
<label form="short" prefix=" (" text-case="capitalize-first" suffix=".)" strip-periods="true"/>
|
|
39
|
-
</names>
|
|
40
|
-
</if>
|
|
41
|
-
</choose>
|
|
42
|
-
</macro>
|
|
43
|
-
<macro name="secondary-contributors">
|
|
44
|
-
<choose>
|
|
45
|
-
<if type="chapter paper-conference" match="none">
|
|
46
|
-
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
|
|
47
|
-
<name and="symbol" initialize-with=". " delimiter=", "/>
|
|
48
|
-
<label form="short" prefix=", " text-case="capitalize-first" suffix="." strip-periods="true"/>
|
|
49
|
-
</names>
|
|
50
|
-
</if>
|
|
51
|
-
</choose>
|
|
52
|
-
</macro>
|
|
53
|
-
<macro name="author">
|
|
54
|
-
<names variable="author">
|
|
55
|
-
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
|
|
56
|
-
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
|
|
57
|
-
<substitute>
|
|
58
|
-
<names variable="editor"/>
|
|
59
|
-
<names variable="translator"/>
|
|
60
|
-
<text macro="title"/>
|
|
61
|
-
</substitute>
|
|
62
|
-
</names>
|
|
63
|
-
</macro>
|
|
64
|
-
<macro name="author-short">
|
|
65
|
-
<names variable="author">
|
|
66
|
-
<name form="short" and="symbol" delimiter=", " initialize-with=". "/>
|
|
67
|
-
<substitute>
|
|
68
|
-
<names variable="editor"/>
|
|
69
|
-
<names variable="translator"/>
|
|
70
|
-
<choose>
|
|
71
|
-
<if type="bill book graphic legal_case motion_picture report song" match="any">
|
|
72
|
-
<text variable="title" form="short" font-style="italic"/>
|
|
73
|
-
</if>
|
|
74
|
-
<else>
|
|
75
|
-
<text variable="title" form="short" quotes="true"/>
|
|
76
|
-
</else>
|
|
77
|
-
</choose>
|
|
78
|
-
</substitute>
|
|
79
|
-
</names>
|
|
80
|
-
</macro>
|
|
81
|
-
<macro name="access">
|
|
82
|
-
<choose>
|
|
83
|
-
<if type="thesis">
|
|
84
|
-
<choose>
|
|
85
|
-
<if variable="archive" match="any">
|
|
86
|
-
<group>
|
|
87
|
-
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
|
88
|
-
<text term="from" suffix=" "/>
|
|
89
|
-
<text variable="archive" suffix="."/>
|
|
90
|
-
<text variable="archive_location" prefix=" (" suffix=")"/>
|
|
91
|
-
</group>
|
|
92
|
-
</if>
|
|
93
|
-
<else>
|
|
94
|
-
<group>
|
|
95
|
-
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
|
96
|
-
<text term="from" suffix=" "/>
|
|
97
|
-
<text variable="URL"/>
|
|
98
|
-
</group>
|
|
99
|
-
</else>
|
|
100
|
-
</choose>
|
|
101
|
-
</if>
|
|
102
|
-
<else>
|
|
103
|
-
<choose>
|
|
104
|
-
<if variable="DOI">
|
|
105
|
-
<text variable="DOI" prefix="doi:"/>
|
|
106
|
-
</if>
|
|
107
|
-
<else>
|
|
108
|
-
<choose>
|
|
109
|
-
<if type="webpage">
|
|
110
|
-
<group>
|
|
111
|
-
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
|
112
|
-
<date variable="accessed" suffix=", ">
|
|
113
|
-
<date-part name="month" suffix=" "/>
|
|
114
|
-
<date-part name="day" suffix=", "/>
|
|
115
|
-
<date-part name="year"/>
|
|
116
|
-
</date>
|
|
117
|
-
<group>
|
|
118
|
-
<text term="from" suffix=" "/>
|
|
119
|
-
<text variable="URL"/>
|
|
120
|
-
</group>
|
|
121
|
-
</group>
|
|
122
|
-
</if>
|
|
123
|
-
<else>
|
|
124
|
-
<group>
|
|
125
|
-
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
|
126
|
-
<text term="from" suffix=" "/>
|
|
127
|
-
<text variable="URL"/>
|
|
128
|
-
</group>
|
|
129
|
-
</else>
|
|
130
|
-
</choose>
|
|
131
|
-
</else>
|
|
132
|
-
</choose>
|
|
133
|
-
</else>
|
|
134
|
-
</choose>
|
|
135
|
-
</macro>
|
|
136
|
-
<macro name="title">
|
|
137
|
-
<choose>
|
|
138
|
-
<if type="report thesis" match="any">
|
|
139
|
-
<text variable="title" font-style="italic"/>
|
|
140
|
-
<group prefix=" (" suffix=")">
|
|
141
|
-
<text variable="genre"/>
|
|
142
|
-
<text variable="number" prefix=" No. "/>
|
|
143
|
-
</group>
|
|
144
|
-
</if>
|
|
145
|
-
<else-if type="bill book graphic legal_case motion_picture report song manuscript speech" match="any">
|
|
146
|
-
<text variable="title" font-style="italic"/>
|
|
147
|
-
</else-if>
|
|
148
|
-
<else>
|
|
149
|
-
<text variable="title"/>
|
|
150
|
-
</else>
|
|
151
|
-
</choose>
|
|
152
|
-
</macro>
|
|
153
|
-
<macro name="publisher">
|
|
154
|
-
<choose>
|
|
155
|
-
<if type="report" match="any">
|
|
156
|
-
<group delimiter=": ">
|
|
157
|
-
<text variable="publisher-place"/>
|
|
158
|
-
<text variable="publisher"/>
|
|
159
|
-
</group>
|
|
160
|
-
</if>
|
|
161
|
-
<else-if type="thesis" match="any">
|
|
162
|
-
<group delimiter=", ">
|
|
163
|
-
<text variable="publisher"/>
|
|
164
|
-
<text variable="publisher-place"/>
|
|
165
|
-
</group>
|
|
166
|
-
</else-if>
|
|
167
|
-
<else>
|
|
168
|
-
<choose>
|
|
169
|
-
<if variable="event" match="none">
|
|
170
|
-
<text variable="genre" suffix=", "/>
|
|
171
|
-
</if>
|
|
172
|
-
</choose>
|
|
173
|
-
<group delimiter=": ">
|
|
174
|
-
<text variable="publisher-place"/>
|
|
175
|
-
<text variable="publisher"/>
|
|
176
|
-
</group>
|
|
177
|
-
</else>
|
|
178
|
-
</choose>
|
|
179
|
-
</macro>
|
|
180
|
-
<macro name="event">
|
|
181
|
-
<choose>
|
|
182
|
-
<if variable="event">
|
|
183
|
-
<choose>
|
|
184
|
-
<if variable="genre" match="none">
|
|
185
|
-
<text term="presented at" text-case="capitalize-first" suffix=" "/>
|
|
186
|
-
<text variable="event"/>
|
|
187
|
-
</if>
|
|
188
|
-
<else>
|
|
189
|
-
<group delimiter=" ">
|
|
190
|
-
<text variable="genre" text-case="capitalize-first"/>
|
|
191
|
-
<text term="presented at"/>
|
|
192
|
-
<text variable="event"/>
|
|
193
|
-
</group>
|
|
194
|
-
</else>
|
|
195
|
-
</choose>
|
|
196
|
-
</if>
|
|
197
|
-
</choose>
|
|
198
|
-
</macro>
|
|
199
|
-
<macro name="issued">
|
|
200
|
-
<choose>
|
|
201
|
-
<if variable="issued">
|
|
202
|
-
<group prefix=" (" suffix=").">
|
|
203
|
-
<date variable="issued">
|
|
204
|
-
<date-part name="year"/>
|
|
205
|
-
</date>
|
|
206
|
-
<choose>
|
|
207
|
-
<if type="bill book graphic legal_case motion_picture report song article-journal chapter paper-conference" match="none">
|
|
208
|
-
<date variable="issued">
|
|
209
|
-
<date-part prefix=", " name="month"/>
|
|
210
|
-
<date-part prefix=" " name="day"/>
|
|
211
|
-
</date>
|
|
212
|
-
</if>
|
|
213
|
-
</choose>
|
|
214
|
-
</group>
|
|
215
|
-
</if>
|
|
216
|
-
<else>
|
|
217
|
-
<text prefix=" (" term="no date" suffix=")." form="short"/>
|
|
218
|
-
</else>
|
|
219
|
-
</choose>
|
|
220
|
-
</macro>
|
|
221
|
-
<macro name="issued-year">
|
|
222
|
-
<choose>
|
|
223
|
-
<if variable="issued">
|
|
224
|
-
<date variable="issued">
|
|
225
|
-
<date-part name="year"/>
|
|
226
|
-
</date>
|
|
227
|
-
</if>
|
|
228
|
-
<else>
|
|
229
|
-
<text term="no date" form="short" strip-periods="true"/>
|
|
230
|
-
</else>
|
|
231
|
-
</choose>
|
|
232
|
-
</macro>
|
|
233
|
-
<macro name="edition">
|
|
234
|
-
<choose>
|
|
235
|
-
<if is-numeric="edition">
|
|
236
|
-
<group delimiter=" ">
|
|
237
|
-
<number variable="edition" form="ordinal"/>
|
|
238
|
-
<text term="edition" form="short" suffix="." strip-periods="true"/>
|
|
239
|
-
</group>
|
|
240
|
-
</if>
|
|
241
|
-
<else>
|
|
242
|
-
<text variable="edition" suffix="."/>
|
|
243
|
-
</else>
|
|
244
|
-
</choose>
|
|
245
|
-
</macro>
|
|
246
|
-
<macro name="locators">
|
|
247
|
-
<choose>
|
|
248
|
-
<if type="article-journal article-magazine article-newspaper" match="any">
|
|
249
|
-
<group prefix=", " delimiter=", ">
|
|
250
|
-
<group>
|
|
251
|
-
<text variable="volume" font-style="italic"/>
|
|
252
|
-
<text variable="issue" prefix="(" suffix=")"/>
|
|
253
|
-
</group>
|
|
254
|
-
<text variable="page"/>
|
|
255
|
-
</group>
|
|
256
|
-
</if>
|
|
257
|
-
<else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
|
|
258
|
-
<group prefix=" (" suffix=")" delimiter=", ">
|
|
259
|
-
<text macro="edition"/>
|
|
260
|
-
<group>
|
|
261
|
-
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=". " strip-periods="true"/>
|
|
262
|
-
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
|
|
263
|
-
</group>
|
|
264
|
-
<group>
|
|
265
|
-
<text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
|
|
266
|
-
<number variable="volume" form="numeric"/>
|
|
267
|
-
</group>
|
|
268
|
-
<group>
|
|
269
|
-
<label variable="page" form="short" suffix=" "/>
|
|
270
|
-
<text variable="page"/>
|
|
271
|
-
</group>
|
|
272
|
-
</group>
|
|
273
|
-
</else-if>
|
|
274
|
-
</choose>
|
|
275
|
-
</macro>
|
|
276
|
-
<macro name="citation-locator">
|
|
277
|
-
<group>
|
|
278
|
-
<label variable="locator" form="short"/>
|
|
279
|
-
<text variable="locator" prefix=" "/>
|
|
280
|
-
</group>
|
|
281
|
-
</macro>
|
|
282
|
-
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
|
|
283
|
-
<sort>
|
|
284
|
-
<key macro="author"/>
|
|
285
|
-
<key macro="issued-year"/>
|
|
286
|
-
</sort>
|
|
287
|
-
<layout prefix="(" suffix=")" delimiter="; ">
|
|
288
|
-
<group delimiter=", ">
|
|
289
|
-
<text macro="author-short"/>
|
|
290
|
-
<text macro="issued-year"/>
|
|
291
|
-
<text macro="citation-locator"/>
|
|
292
|
-
</group>
|
|
293
|
-
</layout>
|
|
294
|
-
</citation>
|
|
295
|
-
<bibliography hanging-indent="true" et-al-min="8" et-al-use-first="7" entry-spacing="0" line-spacing="2">
|
|
296
|
-
<sort>
|
|
297
|
-
<key macro="author"/>
|
|
298
|
-
<key macro="issued-year" sort="ascending"/>
|
|
299
|
-
</sort>
|
|
300
|
-
<layout>
|
|
301
|
-
<group suffix=".">
|
|
302
|
-
<text macro="author" suffix="."/>
|
|
303
|
-
<text macro="issued" suffix=" "/>
|
|
304
|
-
<group delimiter=". ">
|
|
305
|
-
<text macro="title"/>
|
|
306
|
-
<group>
|
|
307
|
-
<text macro="container-contributors"/>
|
|
308
|
-
<text macro="secondary-contributors"/>
|
|
309
|
-
<group delimiter=", ">
|
|
310
|
-
<text variable="container-title" font-style="italic"/>
|
|
311
|
-
<text variable="collection-title"/>
|
|
312
|
-
</group>
|
|
313
|
-
</group>
|
|
314
|
-
</group>
|
|
315
|
-
<text macro="locators"/>
|
|
316
|
-
<group delimiter=", " prefix=". ">
|
|
317
|
-
<text macro="event"/>
|
|
318
|
-
<text macro="publisher"/>
|
|
319
|
-
</group>
|
|
320
|
-
</group>
|
|
321
|
-
<text macro="access" prefix=". "/>
|
|
322
|
-
</layout>
|
|
323
|
-
</bibliography>
|
|
324
|
-
</style>
|
data/resource/style/apsa-x.csl
DELETED
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
|
|
3
|
-
<info>
|
|
4
|
-
<title>American Political Science Association</title>
|
|
5
|
-
<id>http://www.zotero.org/styles/apsa</id>
|
|
6
|
-
<link href="http://www.zotero.org/styles/apsa" rel="self"/>
|
|
7
|
-
<author>
|
|
8
|
-
<name>Julian Onions</name>
|
|
9
|
-
<email>julian.onions@gmail.com</email>
|
|
10
|
-
</author>
|
|
11
|
-
<category citation-format="author-date"/>
|
|
12
|
-
<category field="political_science"/>
|
|
13
|
-
<updated>2008-11-22T17:18:47+00:00</updated>
|
|
14
|
-
<summary>The American Political Science Association style.</summary>
|
|
15
|
-
<link href="http://www.ipsonet.org/data/files/APSAStyleManual2006.pdf" rel="documentation"/>
|
|
16
|
-
</info>
|
|
17
|
-
<macro name="editor">
|
|
18
|
-
<names variable="editor" delimiter=", ">
|
|
19
|
-
<label form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
|
|
20
|
-
<name and="text" delimiter=", "/>
|
|
21
|
-
</names>
|
|
22
|
-
</macro>
|
|
23
|
-
<macro name="author">
|
|
24
|
-
<names variable="author">
|
|
25
|
-
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
|
26
|
-
<label form="short" prefix=", " suffix="." text-case="lowercase" strip-periods="true"/>
|
|
27
|
-
<substitute>
|
|
28
|
-
<names variable="editor"/>
|
|
29
|
-
<text variable="title"/>
|
|
30
|
-
</substitute>
|
|
31
|
-
</names>
|
|
32
|
-
</macro>
|
|
33
|
-
<macro name="author-short">
|
|
34
|
-
<names variable="author">
|
|
35
|
-
<name form="short" and="text" delimiter=", " initialize-with=". "/>
|
|
36
|
-
<substitute>
|
|
37
|
-
<names variable="editor"/>
|
|
38
|
-
<names variable="translator"/>
|
|
39
|
-
<text variable="title"/>
|
|
40
|
-
</substitute>
|
|
41
|
-
</names>
|
|
42
|
-
</macro>
|
|
43
|
-
<macro name="access">
|
|
44
|
-
<group delimiter=" ">
|
|
45
|
-
<text value="Available at:"/>
|
|
46
|
-
<text variable="URL"/>
|
|
47
|
-
<group prefix="[" suffix="]">
|
|
48
|
-
<text term="accessed" text-case="capitalize-first" suffix=" "/>
|
|
49
|
-
<date variable="accessed">
|
|
50
|
-
<date-part name="month" suffix=" "/>
|
|
51
|
-
<date-part name="day" suffix=", "/>
|
|
52
|
-
<date-part name="year"/>
|
|
53
|
-
</date>
|
|
54
|
-
</group>
|
|
55
|
-
</group>
|
|
56
|
-
</macro>
|
|
57
|
-
<macro name="title">
|
|
58
|
-
<choose>
|
|
59
|
-
<if type="bill book graphic legal_case motion_picture report song" match="any">
|
|
60
|
-
<text variable="title" font-style="italic"/>
|
|
61
|
-
</if>
|
|
62
|
-
<else>
|
|
63
|
-
<text variable="title"/>
|
|
64
|
-
</else>
|
|
65
|
-
</choose>
|
|
66
|
-
</macro>
|
|
67
|
-
<macro name="publisher">
|
|
68
|
-
<group delimiter=": ">
|
|
69
|
-
<text variable="publisher-place"/>
|
|
70
|
-
<text variable="publisher"/>
|
|
71
|
-
</group>
|
|
72
|
-
</macro>
|
|
73
|
-
<macro name="year-date">
|
|
74
|
-
<group prefix=" ">
|
|
75
|
-
<choose>
|
|
76
|
-
<if variable="issued">
|
|
77
|
-
<date variable="issued">
|
|
78
|
-
<date-part name="year"/>
|
|
79
|
-
</date>
|
|
80
|
-
</if>
|
|
81
|
-
<else>
|
|
82
|
-
<text term="no date" form="short"/>
|
|
83
|
-
</else>
|
|
84
|
-
</choose>
|
|
85
|
-
</group>
|
|
86
|
-
</macro>
|
|
87
|
-
<macro name="edition">
|
|
88
|
-
<choose>
|
|
89
|
-
<if is-numeric="edition">
|
|
90
|
-
<group delimiter=" ">
|
|
91
|
-
<number variable="edition" form="ordinal"/>
|
|
92
|
-
<text term="edition" form="short" suffix="." strip-periods="true"/>
|
|
93
|
-
</group>
|
|
94
|
-
</if>
|
|
95
|
-
<else>
|
|
96
|
-
<text variable="edition" suffix="."/>
|
|
97
|
-
</else>
|
|
98
|
-
</choose>
|
|
99
|
-
</macro>
|
|
100
|
-
<citation et-al-min="4" et-al-use-first="1" et-al-subsequent-min="6" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
|
|
101
|
-
<layout prefix="(" suffix=")" delimiter="; ">
|
|
102
|
-
<group delimiter=", ">
|
|
103
|
-
<group delimiter=" ">
|
|
104
|
-
<text macro="author-short"/>
|
|
105
|
-
<text macro="year-date"/>
|
|
106
|
-
</group>
|
|
107
|
-
<text variable="locator"/>
|
|
108
|
-
</group>
|
|
109
|
-
</layout>
|
|
110
|
-
</citation>
|
|
111
|
-
<bibliography hanging-indent="true" et-al-min="4" et-al-use-first="1">
|
|
112
|
-
<sort>
|
|
113
|
-
<key macro="author"/>
|
|
114
|
-
<key variable="title"/>
|
|
115
|
-
</sort>
|
|
116
|
-
<layout>
|
|
117
|
-
<text macro="author" suffix="."/>
|
|
118
|
-
<date variable="issued" prefix=" " suffix=".">
|
|
119
|
-
<date-part name="year"/>
|
|
120
|
-
</date>
|
|
121
|
-
<choose>
|
|
122
|
-
<if type="bill book graphic legal_case motion_picture report song" match="any">
|
|
123
|
-
<group prefix=" " delimiter=" ">
|
|
124
|
-
<text macro="title" suffix="."/>
|
|
125
|
-
<text macro="edition"/>
|
|
126
|
-
<text macro="editor" suffix="."/>
|
|
127
|
-
</group>
|
|
128
|
-
<text prefix=" " suffix="." macro="publisher"/>
|
|
129
|
-
</if>
|
|
130
|
-
<else-if type="chapter paper-conference" match="any">
|
|
131
|
-
<text macro="title" prefix=" " suffix="." quotes="true"/>
|
|
132
|
-
<group prefix=" " delimiter=" ">
|
|
133
|
-
<text term="in" text-case="capitalize-first"/>
|
|
134
|
-
<text variable="container-title" font-style="italic" suffix=","/>
|
|
135
|
-
<text variable="collection-title" suffix=","/>
|
|
136
|
-
<text macro="editor" suffix="."/>
|
|
137
|
-
<group suffix=".">
|
|
138
|
-
<text macro="publisher"/>
|
|
139
|
-
<group prefix=", ">
|
|
140
|
-
<text variable="page" prefix="p. "/>
|
|
141
|
-
</group>
|
|
142
|
-
</group>
|
|
143
|
-
</group>
|
|
144
|
-
</else-if>
|
|
145
|
-
<else>
|
|
146
|
-
<group prefix=" " delimiter=" " suffix=".">
|
|
147
|
-
<text macro="title" quotes="true"/>
|
|
148
|
-
<text macro="editor"/>
|
|
149
|
-
</group>
|
|
150
|
-
<group prefix=" " suffix=".">
|
|
151
|
-
<text variable="container-title" font-style="italic"/>
|
|
152
|
-
<group prefix=" ">
|
|
153
|
-
<text variable="volume"/>
|
|
154
|
-
<text variable="issue" prefix="(" suffix=")"/>
|
|
155
|
-
</group>
|
|
156
|
-
<text variable="page" prefix=": "/>
|
|
157
|
-
</group>
|
|
158
|
-
</else>
|
|
159
|
-
</choose>
|
|
160
|
-
<text prefix=" " macro="access" suffix="."/>
|
|
161
|
-
</layout>
|
|
162
|
-
</bibliography>
|
|
163
|
-
</style>
|