citeproc-rb 0.0.1
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/README +93 -0
- data/Rakefile +73 -0
- data/TODO +25 -0
- data/VERSION +1 -0
- data/data/locales/locales_en.xml +89 -0
- data/data/locales/locales_nl.xml +96 -0
- data/data/styles/ama.csl +184 -0
- data/data/styles/apa.csl +230 -0
- data/data/styles/apsa.csl +175 -0
- data/data/styles/asa.csl +215 -0
- data/data/styles/chicago-author-date.csl +361 -0
- data/data/styles/chicago-fullnote-bibliography.csl +665 -0
- data/data/styles/chicago-note-bibliography.csl +437 -0
- data/data/styles/chicago-note.csl +383 -0
- data/data/styles/harvard.csl +185 -0
- data/data/styles/ieee.csl +111 -0
- data/data/styles/mhra.csl +317 -0
- data/data/styles/mla.csl +173 -0
- data/data/styles/nature.csl +87 -0
- data/data/styles/nlm.csl +118 -0
- data/examples/citeproc_driver.rb +174 -0
- data/lib/citeproc.rb +28 -0
- data/lib/citeproc/csl.rb +647 -0
- data/lib/citeproc/csl_parser.rb +479 -0
- data/lib/citeproc/csl_processor.rb +485 -0
- data/lib/citeproc/csl_reference.rb +228 -0
- data/lib/citeproc/filters/bibo/bibo.rb +635 -0
- data/lib/citeproc/filters/bibo/bibo_input_filter.rb +242 -0
- data/lib/citeproc/filters/bibo/bibo_utils.rb +75 -0
- data/lib/citeproc/filters/csl_citation/csl_citation.rb +137 -0
- data/lib/citeproc/filters/csl_citation/csl_citation_input_filter.rb +274 -0
- data/lib/citeproc/formatters/base_formatter.rb +115 -0
- data/lib/citeproc/formatters/xhtml_formatter.rb +144 -0
- data/lib/citeproc/input_filter.rb +97 -0
- data/test/fixtures/bibo_test_data.n3 +191 -0
- data/test/fixtures/bibo_test_data.yaml +96 -0
- data/test/fixtures/bibo_test_how_to_cook.n3 +63 -0
- data/test/fixtures/bibo_test_zotero.rdf +129 -0
- data/test/fixtures/csl_test_data.json +62 -0
- data/test/fixtures/csl_test_data.yaml +8 -0
- data/test/fixtures/locales/test_locale_en.xml +89 -0
- data/test/fixtures/styles/test_csl_parse.csl +230 -0
- data/test/fixtures/styles/test_groups.csl +32 -0
- data/test/fixtures/styles/test_names.csl +46 -0
- data/test/fixtures/styles/test_sort.csl +125 -0
- data/test/fixtures/styles/test_text_terms.csl +40 -0
- data/test/test_all.rb +14 -0
- data/test/test_bibo.rb +20 -0
- data/test/test_csl.rb +136 -0
- data/test/test_csl_parser.rb +222 -0
- data/test/test_sample_bibo.rb +82 -0
- metadata +101 -0
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
|
|
3
|
+
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en">
|
|
4
|
+
<info>
|
|
5
|
+
<title>Chicago Manual of Style (Note with Bibliography)</title>
|
|
6
|
+
<id>http://www.zotero.org/styles/chicago-note-bibliography</id>
|
|
7
|
+
<link href="http://www.zotero.org/styles/chicago-note-bibliography"/>
|
|
8
|
+
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
|
|
9
|
+
<author>
|
|
10
|
+
<name>Julian Onions</name>
|
|
11
|
+
<email>julian.onions@gmail.com</email>
|
|
12
|
+
</author>
|
|
13
|
+
<contributor>
|
|
14
|
+
<name>Simon Kornblith</name>
|
|
15
|
+
<email>simon@simonster.com</email>
|
|
16
|
+
</contributor>
|
|
17
|
+
<contributor>
|
|
18
|
+
<name>Elena Razlogova</name>
|
|
19
|
+
<email>elena.razlogova@gmail.com</email>
|
|
20
|
+
</contributor>
|
|
21
|
+
<summary>Chicago format with short notes and full bibliography</summary>
|
|
22
|
+
<category term="generic-base"/>
|
|
23
|
+
<category term="numeric"/>
|
|
24
|
+
<updated>2008-05-13T12:42:52+00:00</updated>
|
|
25
|
+
</info>
|
|
26
|
+
<macro name="secondary-contributors">
|
|
27
|
+
<choose>
|
|
28
|
+
<if type="chapter" match="none">
|
|
29
|
+
<group delimiter=". ">
|
|
30
|
+
<names variable="editor" delimiter=". ">
|
|
31
|
+
<label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
|
|
32
|
+
<name and="text" delimiter=", "/>
|
|
33
|
+
</names>
|
|
34
|
+
<choose>
|
|
35
|
+
<if variable="author editor" match="any">
|
|
36
|
+
<names variable="translator" delimiter=". ">
|
|
37
|
+
<label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
|
|
38
|
+
<name and="text" delimiter=", "/>
|
|
39
|
+
</names>
|
|
40
|
+
</if>
|
|
41
|
+
</choose>
|
|
42
|
+
</group>
|
|
43
|
+
</if>
|
|
44
|
+
</choose>
|
|
45
|
+
</macro>
|
|
46
|
+
<macro name="container-contributors">
|
|
47
|
+
<choose>
|
|
48
|
+
<if type="chapter">
|
|
49
|
+
<group delimiter=", ">
|
|
50
|
+
<names variable="editor" delimiter=", ">
|
|
51
|
+
<label form="verb" text-case="lowercase" suffix=" "/>
|
|
52
|
+
<name and="text" delimiter=", "/>
|
|
53
|
+
</names>
|
|
54
|
+
<choose>
|
|
55
|
+
<if variable="author editor" match="any">
|
|
56
|
+
<names variable="translator" delimiter=", ">
|
|
57
|
+
<label form="verb" text-case="lowercase" suffix=" "/>
|
|
58
|
+
<name and="text" delimiter=", "/>
|
|
59
|
+
</names>
|
|
60
|
+
</if>
|
|
61
|
+
</choose>
|
|
62
|
+
</group>
|
|
63
|
+
</if>
|
|
64
|
+
</choose>
|
|
65
|
+
</macro>
|
|
66
|
+
<macro name="editor">
|
|
67
|
+
<names variable="editor">
|
|
68
|
+
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
|
69
|
+
<label form="short" prefix=", " suffix="."/>
|
|
70
|
+
</names>
|
|
71
|
+
</macro>
|
|
72
|
+
<macro name="translator">
|
|
73
|
+
<names variable="translator">
|
|
74
|
+
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
|
75
|
+
<label form="verb-short" prefix=", " suffix="."/>
|
|
76
|
+
</names>
|
|
77
|
+
</macro>
|
|
78
|
+
<macro name="recipient-note">
|
|
79
|
+
<names variable="recipient" delimiter=", ">
|
|
80
|
+
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
|
|
81
|
+
<name and="text" delimiter=", "/>
|
|
82
|
+
</names>
|
|
83
|
+
</macro>
|
|
84
|
+
<macro name="recipient">
|
|
85
|
+
<choose>
|
|
86
|
+
<if type="personal_communication">
|
|
87
|
+
<choose>
|
|
88
|
+
<if variable="genre">
|
|
89
|
+
<text variable="genre" text-case="capitalize-first"/>
|
|
90
|
+
</if>
|
|
91
|
+
<else>
|
|
92
|
+
<text term="letter" text-case="capitalize-first"/>
|
|
93
|
+
</else>
|
|
94
|
+
</choose>
|
|
95
|
+
</if>
|
|
96
|
+
</choose>
|
|
97
|
+
<text macro="recipient-note" prefix=" "/>
|
|
98
|
+
</macro>
|
|
99
|
+
<macro name="contributors">
|
|
100
|
+
<names variable="author">
|
|
101
|
+
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
|
102
|
+
<substitute>
|
|
103
|
+
<text macro="editor"/>
|
|
104
|
+
<text macro="translator"/>
|
|
105
|
+
</substitute>
|
|
106
|
+
</names>
|
|
107
|
+
<text macro="recipient" prefix=". "/>
|
|
108
|
+
</macro>
|
|
109
|
+
<macro name="recipient-short">
|
|
110
|
+
<names variable="recipient">
|
|
111
|
+
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
|
|
112
|
+
<name form="short" and="text" delimiter=", " />
|
|
113
|
+
</names>
|
|
114
|
+
</macro>
|
|
115
|
+
<macro name="contributors-short">
|
|
116
|
+
<names variable="author">
|
|
117
|
+
<name form="short" and="text" delimiter=", " />
|
|
118
|
+
<substitute>
|
|
119
|
+
<names variable="editor"/>
|
|
120
|
+
<names variable="translator"/>
|
|
121
|
+
</substitute>
|
|
122
|
+
</names>
|
|
123
|
+
<text macro="recipient-short"/>
|
|
124
|
+
</macro>
|
|
125
|
+
<macro name="contributors-sort">
|
|
126
|
+
<names variable="author">
|
|
127
|
+
<name name-as-sort-order="all" and="text" sort-separator=", "
|
|
128
|
+
delimiter=", " delimiter-precedes-last="always"/>
|
|
129
|
+
<label form="verb-short" prefix=", " suffix="."/>
|
|
130
|
+
<substitute>
|
|
131
|
+
<names variable="editor"/>
|
|
132
|
+
<names variable="translator"/>
|
|
133
|
+
</substitute>
|
|
134
|
+
</names>
|
|
135
|
+
</macro>
|
|
136
|
+
<macro name="interviewer">
|
|
137
|
+
<names variable="interviewer" delimiter=", ">
|
|
138
|
+
<label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
|
|
139
|
+
<name and="text" delimiter=", "/>
|
|
140
|
+
</names>
|
|
141
|
+
</macro>
|
|
142
|
+
<macro name="title">
|
|
143
|
+
<choose>
|
|
144
|
+
<if variable="title" match="none">
|
|
145
|
+
<choose>
|
|
146
|
+
<if type="personal_communication" match="none">
|
|
147
|
+
<text variable="genre" text-case="capitalize-first"/>
|
|
148
|
+
</if>
|
|
149
|
+
</choose>
|
|
150
|
+
</if>
|
|
151
|
+
<else-if type="book">
|
|
152
|
+
<text variable="title" font-style="italic"/>
|
|
153
|
+
</else-if>
|
|
154
|
+
<else>
|
|
155
|
+
<text variable="title" quotes="true"/>
|
|
156
|
+
</else>
|
|
157
|
+
</choose>
|
|
158
|
+
</macro>
|
|
159
|
+
<macro name="title-short">
|
|
160
|
+
<choose>
|
|
161
|
+
<if variable="title" match="none">
|
|
162
|
+
<choose>
|
|
163
|
+
<if type="interview">
|
|
164
|
+
<text term="interview" text-case="lowercase"/>
|
|
165
|
+
</if>
|
|
166
|
+
<else-if type="manuscript speech" match="any">
|
|
167
|
+
<text variable="genre" form="short"/>
|
|
168
|
+
</else-if>
|
|
169
|
+
<else-if type="personal_communication">
|
|
170
|
+
<text macro="issued"/>
|
|
171
|
+
</else-if>
|
|
172
|
+
</choose>
|
|
173
|
+
</if>
|
|
174
|
+
<else-if type="book">
|
|
175
|
+
<text variable="title" form="short" font-style="italic"/>
|
|
176
|
+
</else-if>
|
|
177
|
+
<else>
|
|
178
|
+
<text variable="title" form="short" quotes="true"/>
|
|
179
|
+
</else>
|
|
180
|
+
</choose>
|
|
181
|
+
</macro>
|
|
182
|
+
<macro name="description">
|
|
183
|
+
<group delimiter=", ">
|
|
184
|
+
<group delimiter=". ">
|
|
185
|
+
<text macro="interviewer"/>
|
|
186
|
+
<text variable="medium" text-case="capitalize-first"/>
|
|
187
|
+
</group>
|
|
188
|
+
<choose>
|
|
189
|
+
<if variable="title" match="none"> </if>
|
|
190
|
+
<else-if type="thesis speech" match="any"> </else-if>
|
|
191
|
+
<else>
|
|
192
|
+
<text variable="genre" text-case="capitalize-first"/>
|
|
193
|
+
</else>
|
|
194
|
+
</choose>
|
|
195
|
+
</group>
|
|
196
|
+
</macro>
|
|
197
|
+
<macro name="container-title">
|
|
198
|
+
<choose>
|
|
199
|
+
<if type="chapter">
|
|
200
|
+
<text term="in" text-case="capitalize-first" suffix=" "/>
|
|
201
|
+
</if>
|
|
202
|
+
</choose>
|
|
203
|
+
<text variable="container-title" font-style="italic"/>
|
|
204
|
+
</macro>
|
|
205
|
+
<macro name="edition">
|
|
206
|
+
<choose>
|
|
207
|
+
<if type="book chapter" match="any">
|
|
208
|
+
<choose>
|
|
209
|
+
<if is-numeric="edition">
|
|
210
|
+
<group delimiter=" ">
|
|
211
|
+
<number variable="edition" form="ordinal"/>
|
|
212
|
+
<text term="edition" form="short" suffix="."/>
|
|
213
|
+
</group>
|
|
214
|
+
</if>
|
|
215
|
+
<else>
|
|
216
|
+
<text variable="edition" text-case="capitalize-first" suffix="."/>
|
|
217
|
+
</else>
|
|
218
|
+
</choose>
|
|
219
|
+
</if>
|
|
220
|
+
</choose>
|
|
221
|
+
</macro>
|
|
222
|
+
<macro name="collection-title">
|
|
223
|
+
<text variable="collection-title"/>
|
|
224
|
+
<text variable="collection-number" prefix=" "/>
|
|
225
|
+
</macro>
|
|
226
|
+
<macro name="locators">
|
|
227
|
+
<choose>
|
|
228
|
+
<if type="article-journal">
|
|
229
|
+
<text variable="volume" prefix=" "/>
|
|
230
|
+
<text variable="issue" prefix=", no. "/>
|
|
231
|
+
</if>
|
|
232
|
+
<else-if type="book">
|
|
233
|
+
<group prefix=". " delimiter=". ">
|
|
234
|
+
<group>
|
|
235
|
+
<text term="volume" form="short" text-case="capitalize-first" suffix=". "/>
|
|
236
|
+
<number variable="volume" form="numeric"/>
|
|
237
|
+
</group>
|
|
238
|
+
<group>
|
|
239
|
+
<number variable="number-of-volumes" form="numeric"/>
|
|
240
|
+
<text term="volume" form="short" prefix=" " suffix="." plural="true"/>
|
|
241
|
+
</group>
|
|
242
|
+
<text macro="edition"/>
|
|
243
|
+
</group>
|
|
244
|
+
</else-if>
|
|
245
|
+
</choose>
|
|
246
|
+
</macro>
|
|
247
|
+
<macro name="locators-newspaper">
|
|
248
|
+
<choose>
|
|
249
|
+
<if type="article-newspaper">
|
|
250
|
+
<group delimiter=", ">
|
|
251
|
+
<group>
|
|
252
|
+
<text variable="edition" suffix=" "/>
|
|
253
|
+
<text term="edition" prefix=" "/>
|
|
254
|
+
</group>
|
|
255
|
+
<group>
|
|
256
|
+
<text term="section" form="short" suffix=". "/>
|
|
257
|
+
<text variable="section"/>
|
|
258
|
+
</group>
|
|
259
|
+
</group>
|
|
260
|
+
</if>
|
|
261
|
+
</choose>
|
|
262
|
+
</macro>
|
|
263
|
+
<macro name="event">
|
|
264
|
+
<group>
|
|
265
|
+
<text term="presented at" suffix=" "/>
|
|
266
|
+
<text variable="event"/>
|
|
267
|
+
</group>
|
|
268
|
+
</macro>
|
|
269
|
+
<macro name="publisher">
|
|
270
|
+
<group delimiter=": ">
|
|
271
|
+
<text variable="publisher-place"/>
|
|
272
|
+
<text variable="publisher"/>
|
|
273
|
+
</group>
|
|
274
|
+
</macro>
|
|
275
|
+
<macro name="issued">
|
|
276
|
+
<choose>
|
|
277
|
+
<if type="graphic report" match="any">
|
|
278
|
+
<date variable="issued">
|
|
279
|
+
<date-part name="month" suffix=" "/>
|
|
280
|
+
<date-part name="day" suffix=", "/>
|
|
281
|
+
<date-part name="year"/>
|
|
282
|
+
</date>
|
|
283
|
+
</if>
|
|
284
|
+
<else-if type="book chapter thesis" match="any">
|
|
285
|
+
<date variable="issued">
|
|
286
|
+
<date-part name="year"/>
|
|
287
|
+
</date>
|
|
288
|
+
</else-if>
|
|
289
|
+
<else>
|
|
290
|
+
<date variable="issued">
|
|
291
|
+
<date-part name="month" suffix=" "/>
|
|
292
|
+
<date-part name="day" suffix=", "/>
|
|
293
|
+
<date-part name="year"/>
|
|
294
|
+
</date>
|
|
295
|
+
</else>
|
|
296
|
+
</choose>
|
|
297
|
+
</macro>
|
|
298
|
+
<macro name="pages-chapter">
|
|
299
|
+
<choose>
|
|
300
|
+
<if type="chapter">
|
|
301
|
+
<text variable="volume" suffix=":"/>
|
|
302
|
+
<text variable="page"/>
|
|
303
|
+
</if>
|
|
304
|
+
</choose>
|
|
305
|
+
</macro>
|
|
306
|
+
<macro name="pages-article">
|
|
307
|
+
<choose>
|
|
308
|
+
<if type="article-journal">
|
|
309
|
+
<text variable="page" prefix=": "/>
|
|
310
|
+
</if>
|
|
311
|
+
</choose>
|
|
312
|
+
</macro>
|
|
313
|
+
<macro name="point-locators-subsequent">
|
|
314
|
+
<group>
|
|
315
|
+
<choose>
|
|
316
|
+
<if locator="page" match="none">
|
|
317
|
+
<label variable="locator" form="short" include-period="true" suffix=" "/>
|
|
318
|
+
</if>
|
|
319
|
+
</choose>
|
|
320
|
+
<text variable="locator"/>
|
|
321
|
+
</group>
|
|
322
|
+
</macro>
|
|
323
|
+
<macro name="archive">
|
|
324
|
+
<group delimiter=". ">
|
|
325
|
+
<text variable="archive_location" text-case="capitalize-first"/>
|
|
326
|
+
<text variable="archive"/>
|
|
327
|
+
<text variable="archive-place"/>
|
|
328
|
+
</group>
|
|
329
|
+
</macro>
|
|
330
|
+
<macro name="issue">
|
|
331
|
+
<choose>
|
|
332
|
+
<if type="article-journal">
|
|
333
|
+
<text macro="issued" prefix=" (" suffix=")"/>
|
|
334
|
+
</if>
|
|
335
|
+
<else-if type="speech">
|
|
336
|
+
<choose>
|
|
337
|
+
<if variable="title" match="none"> </if>
|
|
338
|
+
<else>
|
|
339
|
+
<text variable="genre" text-case="capitalize-first" prefix=". "/>
|
|
340
|
+
</else>
|
|
341
|
+
</choose>
|
|
342
|
+
<text macro="event" prefix=" "/>
|
|
343
|
+
<text variable="event-place" prefix=", "/>
|
|
344
|
+
<text macro="issued" prefix=", "/>
|
|
345
|
+
</else-if>
|
|
346
|
+
<else-if variable="publisher-place publisher" match="any">
|
|
347
|
+
<group prefix=". " delimiter=", ">
|
|
348
|
+
<choose>
|
|
349
|
+
<if type="thesis">
|
|
350
|
+
<text variable="genre" text-case="capitalize-first"/>
|
|
351
|
+
</if>
|
|
352
|
+
</choose>
|
|
353
|
+
<text macro="publisher"/>
|
|
354
|
+
<text macro="issued"/>
|
|
355
|
+
</group>
|
|
356
|
+
</else-if>
|
|
357
|
+
<else>
|
|
358
|
+
<text macro="issued" prefix=", "/>
|
|
359
|
+
</else>
|
|
360
|
+
</choose>
|
|
361
|
+
</macro>
|
|
362
|
+
<macro name="access">
|
|
363
|
+
<group delimiter=". ">
|
|
364
|
+
<choose>
|
|
365
|
+
<if type="graphic report" match="any">
|
|
366
|
+
<text macro="archive"/>
|
|
367
|
+
</if>
|
|
368
|
+
<else-if type="book thesis chapter article-journal article-newspaper article-magazine" match="none">
|
|
369
|
+
<text macro="archive"/>
|
|
370
|
+
</else-if>
|
|
371
|
+
</choose>
|
|
372
|
+
<text variable="DOI" prefix="doi:"/>
|
|
373
|
+
<text variable="URL"/>
|
|
374
|
+
</group>
|
|
375
|
+
</macro>
|
|
376
|
+
<macro name="sort-key">
|
|
377
|
+
<text macro="contributors-sort" suffix=" "/>
|
|
378
|
+
<text variable="title" suffix=" "/>
|
|
379
|
+
<text variable="genre"/>
|
|
380
|
+
</macro>
|
|
381
|
+
<citation>
|
|
382
|
+
<option name="et-al-min" value="4"/>
|
|
383
|
+
<option name="et-al-use-first" value="1"/>
|
|
384
|
+
<option name="et-al-subsequent-min" value="4"/>
|
|
385
|
+
<option name="et-al-subsequent-use-first" value="1"/>
|
|
386
|
+
<option name="disambiguate-add-names" value="true"/>
|
|
387
|
+
<layout prefix="" suffix="." delimiter="; ">
|
|
388
|
+
<choose>
|
|
389
|
+
<if position="ibid-with-locator">
|
|
390
|
+
<group delimiter=", ">
|
|
391
|
+
<text term="ibid" text-case="capitalize-first" suffix="."/>
|
|
392
|
+
<text macro="point-locators-subsequent"/>
|
|
393
|
+
</group>
|
|
394
|
+
</if>
|
|
395
|
+
<else-if position="ibid">
|
|
396
|
+
<text term="ibid" text-case="capitalize-first" suffix="."/>
|
|
397
|
+
</else-if>
|
|
398
|
+
<else>
|
|
399
|
+
<group delimiter=", ">
|
|
400
|
+
<text macro="contributors-short"/>
|
|
401
|
+
<text macro="title-short"/>
|
|
402
|
+
<text macro="point-locators-subsequent"/>
|
|
403
|
+
</group>
|
|
404
|
+
</else>
|
|
405
|
+
</choose>
|
|
406
|
+
</layout>
|
|
407
|
+
</citation>
|
|
408
|
+
<bibliography>
|
|
409
|
+
<option name="hanging-indent" value="true"/>
|
|
410
|
+
<option name="et-al-min" value="6"/>
|
|
411
|
+
<option name="et-al-use-first" value="6"/>
|
|
412
|
+
<option name="subsequent-author-substitute" value="---"/>
|
|
413
|
+
<option name="entry-spacing" value="0"/>
|
|
414
|
+
<sort>
|
|
415
|
+
<key macro="sort-key"/>
|
|
416
|
+
</sort>
|
|
417
|
+
<layout suffix=".">
|
|
418
|
+
<group delimiter=". ">
|
|
419
|
+
<text macro="contributors"/>
|
|
420
|
+
<text macro="title"/>
|
|
421
|
+
<text macro="description"/>
|
|
422
|
+
<text macro="secondary-contributors"/>
|
|
423
|
+
<group delimiter=", ">
|
|
424
|
+
<text macro="container-title"/>
|
|
425
|
+
<text macro="container-contributors"/>
|
|
426
|
+
<text macro="pages-chapter"/>
|
|
427
|
+
</group>
|
|
428
|
+
</group>
|
|
429
|
+
<text macro="locators"/>
|
|
430
|
+
<text macro="collection-title" prefix=". "/>
|
|
431
|
+
<text macro="issue"/>
|
|
432
|
+
<text macro="locators-newspaper" prefix=", "/>
|
|
433
|
+
<text macro="pages-article"/>
|
|
434
|
+
<text macro="access" prefix=". "/>
|
|
435
|
+
</layout>
|
|
436
|
+
</bibliography>
|
|
437
|
+
</style>
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
|
|
3
|
+
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en">
|
|
4
|
+
<info>
|
|
5
|
+
<title>Chicago Manual of Style (Note without Bibliography)</title>
|
|
6
|
+
<id>http://www.zotero.org/styles/chicago-note</id>
|
|
7
|
+
<link href="http://www.zotero.org/styles/chicago-note"/>
|
|
8
|
+
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
|
|
9
|
+
<author>
|
|
10
|
+
<name>Julian Onions</name>
|
|
11
|
+
<email>julian.onions@gmail.com</email>
|
|
12
|
+
</author>
|
|
13
|
+
<contributor>
|
|
14
|
+
<name>Simon Kornblith</name>
|
|
15
|
+
<email>simon@simonster.com</email>
|
|
16
|
+
</contributor>
|
|
17
|
+
<contributor>
|
|
18
|
+
<name>Elena Razlogova</name>
|
|
19
|
+
<email>elena.razlogova@gmail.com</email>
|
|
20
|
+
</contributor>
|
|
21
|
+
<summary>Chicago format with full notes and no bibliography</summary>
|
|
22
|
+
<category term="generic-base"/>
|
|
23
|
+
<category term="note"/>
|
|
24
|
+
<updated>2008-05-13T12:42:52+00:00</updated>
|
|
25
|
+
</info>
|
|
26
|
+
<macro name="editor-translator">
|
|
27
|
+
<group delimiter=", ">
|
|
28
|
+
<names variable="editor" delimiter=", ">
|
|
29
|
+
<label form="verb-short" text-case="lowercase" suffix=". "/>
|
|
30
|
+
<name and="text" delimiter=", "/>
|
|
31
|
+
</names>
|
|
32
|
+
<choose>
|
|
33
|
+
<if variable="author editor" match="any">
|
|
34
|
+
<names variable="translator" delimiter=", ">
|
|
35
|
+
<label form="verb-short" text-case="lowercase" suffix=". "/>
|
|
36
|
+
<name and="text" delimiter=", "/>
|
|
37
|
+
</names>
|
|
38
|
+
</if>
|
|
39
|
+
</choose>
|
|
40
|
+
</group>
|
|
41
|
+
</macro>
|
|
42
|
+
<macro name="secondary-contributors-note">
|
|
43
|
+
<choose>
|
|
44
|
+
<if type="chapter" match="none">
|
|
45
|
+
<text macro="editor-translator"/>
|
|
46
|
+
</if>
|
|
47
|
+
</choose>
|
|
48
|
+
</macro>
|
|
49
|
+
<macro name="container-contributors-note">
|
|
50
|
+
<choose>
|
|
51
|
+
<if type="chapter">
|
|
52
|
+
<text macro="editor-translator"/>
|
|
53
|
+
</if>
|
|
54
|
+
</choose>
|
|
55
|
+
</macro>
|
|
56
|
+
<macro name="editor-note">
|
|
57
|
+
<names variable="editor">
|
|
58
|
+
<name and="text" sort-separator=", " delimiter=", "/>
|
|
59
|
+
<label form="short" prefix=", " suffix="."/>
|
|
60
|
+
</names>
|
|
61
|
+
</macro>
|
|
62
|
+
<macro name="translator-note">
|
|
63
|
+
<names variable="translator">
|
|
64
|
+
<name and="text" sort-separator=", " delimiter=", "/>
|
|
65
|
+
<label form="verb-short" prefix=", " suffix="."/>
|
|
66
|
+
</names>
|
|
67
|
+
</macro>
|
|
68
|
+
<macro name="recipient-note">
|
|
69
|
+
<names variable="recipient" delimiter=", ">
|
|
70
|
+
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
|
|
71
|
+
<name and="text" delimiter=", "/>
|
|
72
|
+
</names>
|
|
73
|
+
</macro>
|
|
74
|
+
<macro name="contributors-note">
|
|
75
|
+
<names variable="author">
|
|
76
|
+
<name and="text" sort-separator=", " delimiter=", "/>
|
|
77
|
+
<substitute>
|
|
78
|
+
<text macro="editor-note"/>
|
|
79
|
+
<text macro="translator-note"/>
|
|
80
|
+
</substitute>
|
|
81
|
+
</names>
|
|
82
|
+
<text macro="recipient-note"/>
|
|
83
|
+
</macro>
|
|
84
|
+
<macro name="recipient-short">
|
|
85
|
+
<names variable="recipient">
|
|
86
|
+
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
|
|
87
|
+
<name form="short" and="text" delimiter=", "/>
|
|
88
|
+
</names>
|
|
89
|
+
</macro>
|
|
90
|
+
<macro name="contributors-short">
|
|
91
|
+
<names variable="author">
|
|
92
|
+
<name form="short" and="text" delimiter=", "/>
|
|
93
|
+
<substitute>
|
|
94
|
+
<names variable="editor"/>
|
|
95
|
+
<names variable="translator"/>
|
|
96
|
+
</substitute>
|
|
97
|
+
</names>
|
|
98
|
+
<text macro="recipient-short"/>
|
|
99
|
+
</macro>
|
|
100
|
+
<macro name="interviewer-note">
|
|
101
|
+
<names variable="interviewer" delimiter=", ">
|
|
102
|
+
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
|
|
103
|
+
<name and="text" delimiter=", "/>
|
|
104
|
+
</names>
|
|
105
|
+
</macro>
|
|
106
|
+
<macro name="title-note">
|
|
107
|
+
<choose>
|
|
108
|
+
<if variable="title" match="none">
|
|
109
|
+
<text variable="genre"/>
|
|
110
|
+
</if>
|
|
111
|
+
<else-if type="book">
|
|
112
|
+
<text variable="title" font-style="italic"/>
|
|
113
|
+
</else-if>
|
|
114
|
+
<else>
|
|
115
|
+
<text variable="title" quotes="true"/>
|
|
116
|
+
</else>
|
|
117
|
+
</choose>
|
|
118
|
+
</macro>
|
|
119
|
+
<macro name="title-short">
|
|
120
|
+
<choose>
|
|
121
|
+
<if variable="title" match="none">
|
|
122
|
+
<choose>
|
|
123
|
+
<if type="interview">
|
|
124
|
+
<text term="interview" text-case="lowercase"/>
|
|
125
|
+
</if>
|
|
126
|
+
<else-if type="manuscript speech" match="any">
|
|
127
|
+
<text variable="genre" form="short"/>
|
|
128
|
+
</else-if>
|
|
129
|
+
<else-if type="personal_communication">
|
|
130
|
+
<text macro="issued"/>
|
|
131
|
+
</else-if>
|
|
132
|
+
</choose>
|
|
133
|
+
</if>
|
|
134
|
+
<else-if type="book">
|
|
135
|
+
<text variable="title" form="short" font-style="italic"/>
|
|
136
|
+
</else-if>
|
|
137
|
+
<else>
|
|
138
|
+
<text variable="title" form="short" quotes="true"/>
|
|
139
|
+
</else>
|
|
140
|
+
</choose>
|
|
141
|
+
</macro>
|
|
142
|
+
<macro name="description-note">
|
|
143
|
+
<group delimiter=", ">
|
|
144
|
+
<text macro="interviewer-note"/>
|
|
145
|
+
<text variable="medium"/>
|
|
146
|
+
<choose>
|
|
147
|
+
<if variable="title" match="none"> </if>
|
|
148
|
+
<else-if type="thesis speech" match="any"> </else-if>
|
|
149
|
+
<else>
|
|
150
|
+
<text variable="genre"/>
|
|
151
|
+
</else>
|
|
152
|
+
</choose>
|
|
153
|
+
</group>
|
|
154
|
+
</macro>
|
|
155
|
+
<macro name="container-title-note">
|
|
156
|
+
<choose>
|
|
157
|
+
<if type="chapter">
|
|
158
|
+
<text term="in" text-case="lowercase" suffix=" "/>
|
|
159
|
+
</if>
|
|
160
|
+
</choose>
|
|
161
|
+
<text variable="container-title" font-style="italic"/>
|
|
162
|
+
</macro>
|
|
163
|
+
<macro name="edition-note">
|
|
164
|
+
<choose>
|
|
165
|
+
<if type="book chapter" match="any">
|
|
166
|
+
<choose>
|
|
167
|
+
<if is-numeric="edition">
|
|
168
|
+
<group delimiter=" ">
|
|
169
|
+
<number variable="edition" form="ordinal"/>
|
|
170
|
+
<text term="edition" form="short" suffix="."/>
|
|
171
|
+
</group>
|
|
172
|
+
</if>
|
|
173
|
+
<else>
|
|
174
|
+
<text variable="edition" suffix="."/>
|
|
175
|
+
</else>
|
|
176
|
+
</choose>
|
|
177
|
+
</if>
|
|
178
|
+
</choose>
|
|
179
|
+
</macro>
|
|
180
|
+
<macro name="collection-title">
|
|
181
|
+
<text variable="collection-title"/>
|
|
182
|
+
<text variable="collection-number" prefix=" "/>
|
|
183
|
+
</macro>
|
|
184
|
+
<macro name="locators-note">
|
|
185
|
+
<choose>
|
|
186
|
+
<if type="article-journal">
|
|
187
|
+
<text variable="volume" prefix=" "/>
|
|
188
|
+
<text variable="issue" prefix=", no. "/>
|
|
189
|
+
</if>
|
|
190
|
+
<else-if type="book chapter" match="any">
|
|
191
|
+
<group prefix=", " delimiter=", ">
|
|
192
|
+
<group>
|
|
193
|
+
<text term="volume" form="short" suffix=". "/>
|
|
194
|
+
<number variable="volume" form="numeric"/>
|
|
195
|
+
</group>
|
|
196
|
+
<choose>
|
|
197
|
+
<if variable="locator" match="none">
|
|
198
|
+
<group>
|
|
199
|
+
<number variable="number-of-volumes" form="numeric"/>
|
|
200
|
+
<text term="volume" form="short" prefix=" " suffix="." plural="true"/>
|
|
201
|
+
</group>
|
|
202
|
+
</if>
|
|
203
|
+
</choose>
|
|
204
|
+
<text macro="edition-note"/>
|
|
205
|
+
</group>
|
|
206
|
+
</else-if>
|
|
207
|
+
</choose>
|
|
208
|
+
</macro>
|
|
209
|
+
<macro name="locators-newspaper">
|
|
210
|
+
<choose>
|
|
211
|
+
<if type="article-newspaper">
|
|
212
|
+
<group delimiter=", ">
|
|
213
|
+
<group>
|
|
214
|
+
<text variable="edition" suffix=" "/>
|
|
215
|
+
<text term="edition" prefix=" "/>
|
|
216
|
+
</group>
|
|
217
|
+
<group>
|
|
218
|
+
<text term="section" form="short" suffix=". "/>
|
|
219
|
+
<text variable="section"/>
|
|
220
|
+
</group>
|
|
221
|
+
</group>
|
|
222
|
+
</if>
|
|
223
|
+
</choose>
|
|
224
|
+
</macro>
|
|
225
|
+
<macro name="event">
|
|
226
|
+
<group>
|
|
227
|
+
<text term="presented at" suffix=" "/>
|
|
228
|
+
<text variable="event"/>
|
|
229
|
+
</group>
|
|
230
|
+
</macro>
|
|
231
|
+
<macro name="publisher">
|
|
232
|
+
<group delimiter=": ">
|
|
233
|
+
<text variable="publisher-place"/>
|
|
234
|
+
<text variable="publisher"/>
|
|
235
|
+
</group>
|
|
236
|
+
</macro>
|
|
237
|
+
<macro name="issued">
|
|
238
|
+
<choose>
|
|
239
|
+
<if type="graphic report" match="any">
|
|
240
|
+
<date variable="issued">
|
|
241
|
+
<date-part name="month" suffix=" "/>
|
|
242
|
+
<date-part name="day" suffix=", "/>
|
|
243
|
+
<date-part name="year"/>
|
|
244
|
+
</date>
|
|
245
|
+
</if>
|
|
246
|
+
<else-if type="book chapter thesis" match="any">
|
|
247
|
+
<date variable="issued">
|
|
248
|
+
<date-part name="year"/>
|
|
249
|
+
</date>
|
|
250
|
+
</else-if>
|
|
251
|
+
<else>
|
|
252
|
+
<date variable="issued">
|
|
253
|
+
<date-part name="month" suffix=" "/>
|
|
254
|
+
<date-part name="day" suffix=", "/>
|
|
255
|
+
<date-part name="year"/>
|
|
256
|
+
</date>
|
|
257
|
+
</else>
|
|
258
|
+
</choose>
|
|
259
|
+
</macro>
|
|
260
|
+
<macro name="pages">
|
|
261
|
+
<choose>
|
|
262
|
+
<if type="article-journal">
|
|
263
|
+
<text variable="page" prefix=": "/>
|
|
264
|
+
</if>
|
|
265
|
+
<else-if type="chapter">
|
|
266
|
+
<text variable="page" prefix=", "/>
|
|
267
|
+
</else-if>
|
|
268
|
+
</choose>
|
|
269
|
+
</macro>
|
|
270
|
+
<macro name="point-locators-subsequent">
|
|
271
|
+
<group>
|
|
272
|
+
<choose>
|
|
273
|
+
<if locator="page" match="none">
|
|
274
|
+
<label variable="locator" form="short" include-period="true" suffix=" "/>
|
|
275
|
+
</if>
|
|
276
|
+
</choose>
|
|
277
|
+
<text variable="locator"/>
|
|
278
|
+
</group>
|
|
279
|
+
</macro>
|
|
280
|
+
<macro name="point-locators">
|
|
281
|
+
<choose>
|
|
282
|
+
<if variable="locator" match="none">
|
|
283
|
+
<text macro="pages"/>
|
|
284
|
+
</if>
|
|
285
|
+
<else-if type="article-journal">
|
|
286
|
+
<text variable="locator" prefix=": "/>
|
|
287
|
+
</else-if>
|
|
288
|
+
<else>
|
|
289
|
+
<text macro="point-locators-subsequent" prefix=", "/>
|
|
290
|
+
</else>
|
|
291
|
+
</choose>
|
|
292
|
+
</macro>
|
|
293
|
+
<macro name="archive-note">
|
|
294
|
+
<group delimiter=", ">
|
|
295
|
+
<text variable="archive_location"/>
|
|
296
|
+
<text variable="archive"/>
|
|
297
|
+
<text variable="archive-place"/>
|
|
298
|
+
</group>
|
|
299
|
+
</macro>
|
|
300
|
+
<macro name="issue-note">
|
|
301
|
+
<choose>
|
|
302
|
+
<if type="article-journal">
|
|
303
|
+
<text macro="issued" prefix=" (" suffix=")"/>
|
|
304
|
+
</if>
|
|
305
|
+
<else-if variable="publisher-place publisher" match="any">
|
|
306
|
+
<group prefix=" (" suffix=")" delimiter=", ">
|
|
307
|
+
<group delimiter=" ">
|
|
308
|
+
<choose>
|
|
309
|
+
<if variable="title" match="none"> </if>
|
|
310
|
+
<else-if type="thesis speech" match="any">
|
|
311
|
+
<text variable="genre"/>
|
|
312
|
+
</else-if>
|
|
313
|
+
</choose>
|
|
314
|
+
<text macro="event"/>
|
|
315
|
+
</group>
|
|
316
|
+
<text macro="publisher"/>
|
|
317
|
+
<text macro="issued"/>
|
|
318
|
+
</group>
|
|
319
|
+
</else-if>
|
|
320
|
+
<else>
|
|
321
|
+
<text macro="issued" prefix=", "/>
|
|
322
|
+
</else>
|
|
323
|
+
</choose>
|
|
324
|
+
</macro>
|
|
325
|
+
<macro name="access-note">
|
|
326
|
+
<group delimiter=", ">
|
|
327
|
+
<choose>
|
|
328
|
+
<if type="graphic report" match="any">
|
|
329
|
+
<text macro="archive-note"/>
|
|
330
|
+
</if>
|
|
331
|
+
<else-if type="book thesis chapter article-journal article-newspaper article-magazine" match="none">
|
|
332
|
+
<text macro="archive-note"/>
|
|
333
|
+
</else-if>
|
|
334
|
+
</choose>
|
|
335
|
+
<text variable="DOI" prefix="doi:"/>
|
|
336
|
+
<text variable="URL"/>
|
|
337
|
+
</group>
|
|
338
|
+
</macro>
|
|
339
|
+
<citation>
|
|
340
|
+
<option name="et-al-min" value="4"/>
|
|
341
|
+
<option name="et-al-use-first" value="1"/>
|
|
342
|
+
<option name="et-al-subsequent-min" value="4"/>
|
|
343
|
+
<option name="et-al-subsequent-use-first" value="1"/>
|
|
344
|
+
<option name="disambiguate-add-names" value="true"/>
|
|
345
|
+
<option name="disambiguate-add-givenname" value="true"/>
|
|
346
|
+
<layout prefix="" suffix="." delimiter="; ">
|
|
347
|
+
<choose>
|
|
348
|
+
<if position="ibid-with-locator">
|
|
349
|
+
<group delimiter=", ">
|
|
350
|
+
<text term="ibid" text-case="capitalize-first" suffix="."/>
|
|
351
|
+
<text macro="point-locators-subsequent"/>
|
|
352
|
+
</group>
|
|
353
|
+
</if>
|
|
354
|
+
<else-if position="ibid">
|
|
355
|
+
<text term="ibid" text-case="capitalize-first" suffix="."/>
|
|
356
|
+
</else-if>
|
|
357
|
+
<else-if position="subsequent">
|
|
358
|
+
<group delimiter=", ">
|
|
359
|
+
<text macro="contributors-short"/>
|
|
360
|
+
<text macro="title-short"/>
|
|
361
|
+
<text macro="point-locators-subsequent"/>
|
|
362
|
+
</group>
|
|
363
|
+
</else-if>
|
|
364
|
+
<else>
|
|
365
|
+
<group delimiter=", ">
|
|
366
|
+
<text macro="contributors-note"/>
|
|
367
|
+
<text macro="title-note"/>
|
|
368
|
+
<text macro="description-note"/>
|
|
369
|
+
<text macro="secondary-contributors-note"/>
|
|
370
|
+
<text macro="container-title-note"/>
|
|
371
|
+
<text macro="container-contributors-note"/>
|
|
372
|
+
</group>
|
|
373
|
+
<text macro="locators-note"/>
|
|
374
|
+
<text macro="collection-title" prefix=", "/>
|
|
375
|
+
<text macro="issue-note"/>
|
|
376
|
+
<text macro="locators-newspaper" prefix=", "/>
|
|
377
|
+
<text macro="point-locators"/>
|
|
378
|
+
<text macro="access-note" prefix=", "/>
|
|
379
|
+
</else>
|
|
380
|
+
</choose>
|
|
381
|
+
</layout>
|
|
382
|
+
</citation>
|
|
383
|
+
</style>
|