csl 1.0.0.pre3 → 1.0.0.pre4
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/csl/info.rb +145 -30
- data/lib/csl/node.rb +55 -48
- data/lib/csl/style.rb +91 -35
- data/lib/csl/treelike.rb +83 -84
- data/lib/csl/version.rb +1 -1
- data/spec/csl/info_spec.rb +2 -2
- data/spec/csl/style_spec.rb +56 -13
- data/spec/fixtures/locales/locales-de-DE.xml +304 -0
- data/spec/fixtures/locales/locales-en-GB.xml +304 -0
- data/spec/fixtures/locales/locales-en-US.xml +304 -0
- data/spec/fixtures/styles/apa.csl +443 -0
- data/spec/spec_helper.rb +11 -0
- metadata +16 -8
data/lib/csl/version.rb
CHANGED
data/spec/csl/info_spec.rb
CHANGED
data/spec/csl/style_spec.rb
CHANGED
@@ -3,54 +3,97 @@ require 'spec_helper'
|
|
3
3
|
module CSL
|
4
4
|
describe Style do
|
5
5
|
let(:style) { Style.new }
|
6
|
-
|
6
|
+
|
7
7
|
it 'has a 1.x version by default' do
|
8
|
-
Style.new[:version].should match(/1\.\d+(\.\d+)?/)
|
8
|
+
Style.new[:version].should match(/1\.\d+(\.\d+)?/)
|
9
9
|
end
|
10
|
-
|
10
|
+
|
11
11
|
describe '#to_xml' do
|
12
12
|
it 'returns an empty style' do
|
13
13
|
Style.new.to_xml.should match(/<style[^>]*\/>/)
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
16
|
it 'supports round-trip for apa style' do
|
17
17
|
Style.parse(Style.load(:apa).to_xml).should be_a(Style)
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
21
|
describe '#children' do
|
22
|
-
|
22
|
+
|
23
23
|
it { should_not have_info }
|
24
24
|
it { should_not have_locale }
|
25
25
|
it { should_not have_macro }
|
26
26
|
it { should_not have_citation }
|
27
27
|
it { should_not have_bibliography }
|
28
|
-
|
28
|
+
|
29
29
|
describe 'when it has a title' do
|
30
30
|
before(:all) { style.title = 'foo' }
|
31
|
-
|
31
|
+
|
32
32
|
it { style.should have_info }
|
33
|
-
|
33
|
+
|
34
34
|
it 'info.title is a text node' do
|
35
35
|
style.info.title.should be_a(TextNode)
|
36
36
|
end
|
37
|
-
|
37
|
+
|
38
38
|
it '#title returns the title as a string' do
|
39
39
|
style.title.should be_a(String)
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
43
|
-
|
43
|
+
|
44
44
|
describe '#id accessor' do
|
45
|
-
|
46
45
|
it 'returns nil by default' do
|
47
46
|
Style.new.id.should be_nil
|
48
47
|
end
|
49
|
-
|
48
|
+
|
50
49
|
it 'writer sets the id to the passed-in string' do
|
51
50
|
expect { style.id = 'foobar' }.to change { style.id }.from(nil).to('foobar')
|
52
51
|
end
|
53
52
|
end
|
54
|
-
|
53
|
+
|
54
|
+
describe 'independent and dependent styles' do
|
55
|
+
it 'styles are independent by default' do
|
56
|
+
Style.new.should be_independent
|
57
|
+
end
|
58
|
+
|
59
|
+
it 'styles do not have independent-parent links by default' do
|
60
|
+
Style.new.should_not have_independent_parent_link
|
61
|
+
end
|
62
|
+
|
63
|
+
it 'when setting an independet-parent link a style becomes dependent' do
|
64
|
+
expect { style.independent_parent_link = 'foo' }.to change { style.independent? }
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'macros' do
|
69
|
+
it 'has no macros by default' do
|
70
|
+
Style.new.should_not have_macros
|
71
|
+
end
|
72
|
+
|
73
|
+
it 'raises a validation error when adding a macro without name' do
|
74
|
+
expect { Style.new << Style::Macro.new }.to raise_error(ValidationError)
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'when it has an "author" macro' do
|
78
|
+
before(:all) { style << Style::Macro.new(:name => 'author') }
|
79
|
+
|
80
|
+
it 'has macros' do
|
81
|
+
style.should have_macros
|
82
|
+
end
|
83
|
+
|
84
|
+
it 'the macro is registered in the macros hash' do
|
85
|
+
style.macros.should have_key('author')
|
86
|
+
style.macros['author'].should be_a(Style::Macro)
|
87
|
+
end
|
88
|
+
|
89
|
+
it 'raises a validation error when adding a macro with a duplicate name' do
|
90
|
+
expect { style << Style::Macro.new(:name => 'author') }.to raise_error(ValidationError)
|
91
|
+
end
|
92
|
+
|
93
|
+
it 'unregisters the macro when it is deleted' do
|
94
|
+
expect { style.delete style.macros['author'] }.to change { style.macros.length }
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
55
98
|
end
|
56
99
|
end
|
@@ -0,0 +1,304 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<locale xmlns="http://purl.org/net/xbiblio/csl" version="1.0" xml:lang="de-DE">
|
3
|
+
<style-options punctuation-in-quote="false"/>
|
4
|
+
<date form="text">
|
5
|
+
<date-part name="day" suffix=". "/>
|
6
|
+
<date-part name="month" suffix=" "/>
|
7
|
+
<date-part name="year"/>
|
8
|
+
</date>
|
9
|
+
<date form="numeric">
|
10
|
+
<date-part name="day" form="numeric-leading-zeros" suffix="."/>
|
11
|
+
<date-part name="month" form="numeric-leading-zeros" suffix="."/>
|
12
|
+
<date-part name="year"/>
|
13
|
+
</date>
|
14
|
+
<terms>
|
15
|
+
<term name="accessed">zugegriffen</term>
|
16
|
+
<term name="and">und</term>
|
17
|
+
<term name="and others">und andere</term>
|
18
|
+
<term name="anonymous">ohne Autor</term>
|
19
|
+
<term name="anonymous" form="short">o. A.</term>
|
20
|
+
<term name="at">auf</term>
|
21
|
+
<term name="by">von</term>
|
22
|
+
<term name="circa">circa</term>
|
23
|
+
<term name="circa" form="short">ca.</term>
|
24
|
+
<term name="cited">zitiert</term>
|
25
|
+
<term name="edition">
|
26
|
+
<single>Auflage</single>
|
27
|
+
<multiple>Auflagen</multiple>
|
28
|
+
</term>
|
29
|
+
<term name="edition" form="short">Aufl.</term>
|
30
|
+
<term name="et-al">u. a.</term>
|
31
|
+
<term name="forthcoming">i. E.</term>
|
32
|
+
<term name="from">von</term>
|
33
|
+
<term name="ibid">ebd.</term>
|
34
|
+
<term name="in">in</term>
|
35
|
+
<term name="in press">im Druck</term>
|
36
|
+
<term name="internet">Internet</term>
|
37
|
+
<term name="interview">Interview</term>
|
38
|
+
<term name="letter">Brief</term>
|
39
|
+
<term name="no date">ohne Datum</term>
|
40
|
+
<term name="no date" form="short">o. J.</term>
|
41
|
+
<term name="online">online</term>
|
42
|
+
<term name="presented at">gehalten auf der</term>
|
43
|
+
<term name="reference">
|
44
|
+
<single>Referenz</single>
|
45
|
+
<multiple>Referenzen</multiple>
|
46
|
+
</term>
|
47
|
+
<term name="reference" form="short">
|
48
|
+
<single>Ref.</single>
|
49
|
+
<multiple>Ref.</multiple>
|
50
|
+
</term>
|
51
|
+
<term name="retrieved">abgerufen</term>
|
52
|
+
|
53
|
+
<!-- ANNO DOMINI; BEFORE CHRIST -->
|
54
|
+
<term name="ad">n. Chr.</term>
|
55
|
+
<term name="bc">v. Chr.</term>
|
56
|
+
|
57
|
+
<!-- QUOTES -->
|
58
|
+
<term name="open-quote">„</term>
|
59
|
+
<term name="close-quote">“</term>
|
60
|
+
<term name="open-inner-quote">‚</term>
|
61
|
+
<term name="close-inner-quote">‘</term>
|
62
|
+
|
63
|
+
<!-- ORDINALS -->
|
64
|
+
<term name="ordinal-01">.</term>
|
65
|
+
<term name="ordinal-02">.</term>
|
66
|
+
<term name="ordinal-03">.</term>
|
67
|
+
<term name="ordinal-04">.</term>
|
68
|
+
|
69
|
+
<!-- LONG ORDINALS -->
|
70
|
+
<term name="long-ordinal-01">erster</term>
|
71
|
+
<term name="long-ordinal-02">zweiter</term>
|
72
|
+
<term name="long-ordinal-03">dritter</term>
|
73
|
+
<term name="long-ordinal-04">vierter</term>
|
74
|
+
<term name="long-ordinal-05">fünfter</term>
|
75
|
+
<term name="long-ordinal-06">sechster</term>
|
76
|
+
<term name="long-ordinal-07">siebter</term>
|
77
|
+
<term name="long-ordinal-08">achter</term>
|
78
|
+
<term name="long-ordinal-09">neunter</term>
|
79
|
+
<term name="long-ordinal-10">zehnter</term>
|
80
|
+
|
81
|
+
<!-- CATEGORIES -->
|
82
|
+
<term name="anthropology">Anthropologie</term>
|
83
|
+
<term name="astronomy">Astronomie</term>
|
84
|
+
<term name="biology">Biologie</term>
|
85
|
+
<term name="botany">Botanik</term>
|
86
|
+
<term name="chemistry">Chemie</term>
|
87
|
+
<term name="engineering">Ingenieurswissenschaften</term>
|
88
|
+
<term name="generic-base">generischer Stil</term>
|
89
|
+
<term name="geography">Geographie</term>
|
90
|
+
<term name="geology">Geologie</term>
|
91
|
+
<term name="history">Geschichte</term>
|
92
|
+
<term name="humanities">Geisteswissenschaften</term>
|
93
|
+
<term name="linguistics">Linguistik</term>
|
94
|
+
<term name="literature">Literatur</term>
|
95
|
+
<term name="math">Mathematik</term>
|
96
|
+
<term name="medicine">Medizin</term>
|
97
|
+
<term name="philosophy">Philosophie</term>
|
98
|
+
<term name="physics">Physik</term>
|
99
|
+
<term name="psychology">Psychologie</term>
|
100
|
+
<term name="sociology">Soziologie</term>
|
101
|
+
<term name="science">Naturwissenschaften</term>
|
102
|
+
<term name="political_science">Politikwissenschaft</term>
|
103
|
+
<term name="social_science">Sozialwissenschaften</term>
|
104
|
+
<term name="theology">Theologie</term>
|
105
|
+
<term name="zoology">Zoologie</term>
|
106
|
+
|
107
|
+
<!-- LONG LOCATOR FORMS -->
|
108
|
+
<term name="book">
|
109
|
+
<single>Buch</single>
|
110
|
+
<multiple>Bücher</multiple>
|
111
|
+
</term>
|
112
|
+
<term name="chapter">
|
113
|
+
<single>Kapitel</single>
|
114
|
+
<multiple>Kapitel</multiple>
|
115
|
+
</term>
|
116
|
+
<term name="column">
|
117
|
+
<single>Spalte</single>
|
118
|
+
<multiple>Spalten</multiple>
|
119
|
+
</term>
|
120
|
+
<term name="figure">
|
121
|
+
<single>Abbildung</single>
|
122
|
+
<multiple>Abbildungen</multiple>
|
123
|
+
</term>
|
124
|
+
<term name="folio">
|
125
|
+
<single>Blatt</single>
|
126
|
+
<multiple>Blätter</multiple>
|
127
|
+
</term>
|
128
|
+
<term name="issue">
|
129
|
+
<single>Nummer</single>
|
130
|
+
<multiple>Nummern</multiple>
|
131
|
+
</term>
|
132
|
+
<term name="line">
|
133
|
+
<single>Zeile</single>
|
134
|
+
<multiple>Zeilen</multiple>
|
135
|
+
</term>
|
136
|
+
<term name="note">
|
137
|
+
<single>Note</single>
|
138
|
+
<multiple>Noten</multiple>
|
139
|
+
</term>
|
140
|
+
<term name="opus">
|
141
|
+
<single>Opus</single>
|
142
|
+
<multiple>Opera</multiple>
|
143
|
+
</term>
|
144
|
+
<term name="page">
|
145
|
+
<single>Seite</single>
|
146
|
+
<multiple>Seiten</multiple>
|
147
|
+
</term>
|
148
|
+
<term name="paragraph">
|
149
|
+
<single>Absatz</single>
|
150
|
+
<multiple>Absätze</multiple>
|
151
|
+
</term>
|
152
|
+
<term name="part">
|
153
|
+
<single>Teil</single>
|
154
|
+
<multiple>Teile</multiple>
|
155
|
+
</term>
|
156
|
+
<term name="section">
|
157
|
+
<single>Abschnitt</single>
|
158
|
+
<multiple>Abschnitte</multiple>
|
159
|
+
</term>
|
160
|
+
<term name="sub verbo">
|
161
|
+
<single>sub verbo</single>
|
162
|
+
<multiple>sub verbis</multiple>
|
163
|
+
</term>
|
164
|
+
<term name="verse">
|
165
|
+
<single>Vers</single>
|
166
|
+
<multiple>Verse</multiple>
|
167
|
+
</term>
|
168
|
+
<term name="volume">
|
169
|
+
<single>Band</single>
|
170
|
+
<multiple>Bände</multiple>
|
171
|
+
</term>
|
172
|
+
|
173
|
+
<!-- SHORT LOCATOR FORMS -->
|
174
|
+
<term name="book" form="short">B.</term>
|
175
|
+
<term name="chapter" form="short">Kap.</term>
|
176
|
+
<term name="column" form="short">Sp.</term>
|
177
|
+
<term name="figure" form="short">Abb.</term>
|
178
|
+
<term name="folio" form="short">Fol.</term>
|
179
|
+
<term name="issue" form="short">Nr.</term>
|
180
|
+
<term name="opus" form="short">op.</term>
|
181
|
+
<term name="page" form="short">
|
182
|
+
<single>S.</single>
|
183
|
+
<multiple>S.</multiple>
|
184
|
+
</term>
|
185
|
+
<term name="paragraph" form="short">Abs.</term>
|
186
|
+
<term name="part" form="short">Teil</term>
|
187
|
+
<term name="section" form="short">Abschn.</term>
|
188
|
+
<term name="sub verbo" form="short">
|
189
|
+
<single>s.v.</single>
|
190
|
+
<multiple>s.vv.</multiple>
|
191
|
+
</term>
|
192
|
+
<term name="verse" form="short">
|
193
|
+
<single>V.</single>
|
194
|
+
<multiple>V.</multiple>
|
195
|
+
</term>
|
196
|
+
<term name="volume" form="short">
|
197
|
+
<single>Bd.</single>
|
198
|
+
<multiple>Bd.</multiple>
|
199
|
+
</term>
|
200
|
+
|
201
|
+
<!-- SYMBOL LOCATOR FORMS -->
|
202
|
+
<term name="paragraph" form="symbol">
|
203
|
+
<single>¶</single>
|
204
|
+
<multiple>¶¶</multiple>
|
205
|
+
</term>
|
206
|
+
<term name="section" form="symbol">
|
207
|
+
<single>§</single>
|
208
|
+
<multiple>§§</multiple>
|
209
|
+
</term>
|
210
|
+
|
211
|
+
<!-- LONG ROLE FORMS -->
|
212
|
+
<term name="author">
|
213
|
+
<single/>
|
214
|
+
<multiple/>
|
215
|
+
</term>
|
216
|
+
<term name="editor">
|
217
|
+
<single>Herausgeber</single>
|
218
|
+
<multiple>Herausgeber</multiple>
|
219
|
+
</term>
|
220
|
+
<term name="editorial-director">
|
221
|
+
<single>Herausgeber</single>
|
222
|
+
<multiple>Herausgeber</multiple>
|
223
|
+
</term>
|
224
|
+
<term name="translator">
|
225
|
+
<single>Übersetzer</single>
|
226
|
+
<multiple>Übersetzer</multiple>
|
227
|
+
</term>
|
228
|
+
<term name="editortranslator">
|
229
|
+
<single>Herausgeber & Übersetzer</single>
|
230
|
+
<multiple>Herausgeber & Übersetzer</multiple>
|
231
|
+
</term>
|
232
|
+
|
233
|
+
<!-- SHORT ROLE FORMS -->
|
234
|
+
<term name="author" form="short">
|
235
|
+
<single/>
|
236
|
+
<multiple/>
|
237
|
+
</term>
|
238
|
+
<term name="editor" form="short">
|
239
|
+
<single>Hrsg.</single>
|
240
|
+
<multiple>Hrsg.</multiple>
|
241
|
+
</term>
|
242
|
+
<term name="editorial-director" form="short">
|
243
|
+
<single>Hrsg.</single>
|
244
|
+
<multiple>Hrsg.</multiple>
|
245
|
+
</term>
|
246
|
+
<term name="translator" form="short">
|
247
|
+
<single>Übers.</single>
|
248
|
+
<multiple>Übers.</multiple>
|
249
|
+
</term>
|
250
|
+
<term name="editortranslator" form="short">
|
251
|
+
<single>Hrsg. & Übers.</single>
|
252
|
+
<multiple>Hrsg. & Übers</multiple>
|
253
|
+
</term>
|
254
|
+
|
255
|
+
<!-- VERB ROLE FORMS -->
|
256
|
+
<term name="editor" form="verb">herausgegeben von</term>
|
257
|
+
<term name="editorial-director" form="verb">herausgegeben von</term>
|
258
|
+
<term name="translator" form="verb">übersetzt von</term>
|
259
|
+
<term name="editortranslator" form="verb">herausgegeben und übersetzt von</term>
|
260
|
+
<term name="recipient" form="verb">an</term>
|
261
|
+
<term name="interviewer" form="verb">interviewt von</term>
|
262
|
+
|
263
|
+
<!-- SHORT VERB ROLE FORMS -->
|
264
|
+
<term name="container-author" form="verb-short">von</term>
|
265
|
+
<term name="editor" form="verb-short">hg. von</term>
|
266
|
+
<term name="editorial-director" form="verb-short">hg. von</term>
|
267
|
+
<term name="translator" form="verb-short">übers. von</term>
|
268
|
+
<term name="editortranslator" form="verb-short">hg. & übers. von</term>
|
269
|
+
|
270
|
+
<!-- LONG MONTH FORMS -->
|
271
|
+
<term name="month-01">Januar</term>
|
272
|
+
<term name="month-02">Februar</term>
|
273
|
+
<term name="month-03">März</term>
|
274
|
+
<term name="month-04">April</term>
|
275
|
+
<term name="month-05">Mai</term>
|
276
|
+
<term name="month-06">Juni</term>
|
277
|
+
<term name="month-07">Juli</term>
|
278
|
+
<term name="month-08">August</term>
|
279
|
+
<term name="month-09">September</term>
|
280
|
+
<term name="month-10">Oktober</term>
|
281
|
+
<term name="month-11">November</term>
|
282
|
+
<term name="month-12">Dezember</term>
|
283
|
+
|
284
|
+
<!-- SHORT MONTH FORMS -->
|
285
|
+
<term name="month-01" form="short">Jan.</term>
|
286
|
+
<term name="month-02" form="short">Feb.</term>
|
287
|
+
<term name="month-03" form="short">März</term>
|
288
|
+
<term name="month-04" form="short">Apr.</term>
|
289
|
+
<term name="month-05" form="short">Mai</term>
|
290
|
+
<term name="month-06" form="short">Juni</term>
|
291
|
+
<term name="month-07" form="short">Juli</term>
|
292
|
+
<term name="month-08" form="short">Aug.</term>
|
293
|
+
<term name="month-09" form="short">Sep.</term>
|
294
|
+
<term name="month-10" form="short">Okt.</term>
|
295
|
+
<term name="month-11" form="short">Nov.</term>
|
296
|
+
<term name="month-12" form="short">Dez.</term>
|
297
|
+
|
298
|
+
<!-- SEASONS -->
|
299
|
+
<term name="season-01">Frühjahr</term>
|
300
|
+
<term name="season-02">Sommer</term>
|
301
|
+
<term name="season-03">Herbst</term>
|
302
|
+
<term name="season-04">Winter</term>
|
303
|
+
</terms>
|
304
|
+
</locale>
|
@@ -0,0 +1,304 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<locale xmlns="http://purl.org/net/xbiblio/csl" version="1.0" xml:lang="en-GB">
|
3
|
+
<style-options punctuation-in-quote="false"/>
|
4
|
+
<date form="text">
|
5
|
+
<date-part name="day" suffix=" "/>
|
6
|
+
<date-part name="month" suffix=" "/>
|
7
|
+
<date-part name="year"/>
|
8
|
+
</date>
|
9
|
+
<date form="numeric">
|
10
|
+
<date-part name="day" form="numeric-leading-zeros" suffix="/"/>
|
11
|
+
<date-part name="month" form="numeric-leading-zeros" suffix="/"/>
|
12
|
+
<date-part name="year"/>
|
13
|
+
</date>
|
14
|
+
<terms>
|
15
|
+
<term name="accessed">accessed</term>
|
16
|
+
<term name="and">and</term>
|
17
|
+
<term name="and others">and others</term>
|
18
|
+
<term name="anonymous">anonymous</term>
|
19
|
+
<term name="anonymous" form="short">anon.</term>
|
20
|
+
<term name="at">at</term>
|
21
|
+
<term name="by">by</term>
|
22
|
+
<term name="circa">circa</term>
|
23
|
+
<term name="circa" form="short">c.</term>
|
24
|
+
<term name="cited">cited</term>
|
25
|
+
<term name="edition">
|
26
|
+
<single>edition</single>
|
27
|
+
<multiple>editions</multiple>
|
28
|
+
</term>
|
29
|
+
<term name="edition" form="short">ed.</term>
|
30
|
+
<term name="et-al">et al.</term>
|
31
|
+
<term name="forthcoming">forthcoming</term>
|
32
|
+
<term name="from">from</term>
|
33
|
+
<term name="ibid">ibid.</term>
|
34
|
+
<term name="in">in</term>
|
35
|
+
<term name="in press">in press</term>
|
36
|
+
<term name="internet">internet</term>
|
37
|
+
<term name="interview">interview</term>
|
38
|
+
<term name="letter">letter</term>
|
39
|
+
<term name="no date">no date</term>
|
40
|
+
<term name="no date" form="short">n.d.</term>
|
41
|
+
<term name="online">online</term>
|
42
|
+
<term name="presented at">presented at the</term>
|
43
|
+
<term name="reference">
|
44
|
+
<single>reference</single>
|
45
|
+
<multiple>references</multiple>
|
46
|
+
</term>
|
47
|
+
<term name="reference" form="short">
|
48
|
+
<single>ref.</single>
|
49
|
+
<multiple>refs.</multiple>
|
50
|
+
</term>
|
51
|
+
<term name="retrieved">retrieved</term>
|
52
|
+
|
53
|
+
<!-- ANNO DOMINI; BEFORE CHRIST -->
|
54
|
+
<term name="ad">AD</term>
|
55
|
+
<term name="bc">BC</term>
|
56
|
+
|
57
|
+
<!-- QUOTES -->
|
58
|
+
<term name="open-quote">‘</term>
|
59
|
+
<term name="close-quote">’</term>
|
60
|
+
<term name="open-inner-quote">“</term>
|
61
|
+
<term name="close-inner-quote">”</term>
|
62
|
+
|
63
|
+
<!-- ORDINALS -->
|
64
|
+
<term name="ordinal-01">st</term>
|
65
|
+
<term name="ordinal-02">nd</term>
|
66
|
+
<term name="ordinal-03">rd</term>
|
67
|
+
<term name="ordinal-04">th</term>
|
68
|
+
|
69
|
+
<!-- LONG ORDINALS -->
|
70
|
+
<term name="long-ordinal-01">first</term>
|
71
|
+
<term name="long-ordinal-02">second</term>
|
72
|
+
<term name="long-ordinal-03">third</term>
|
73
|
+
<term name="long-ordinal-04">fourth</term>
|
74
|
+
<term name="long-ordinal-05">fifth</term>
|
75
|
+
<term name="long-ordinal-06">sixth</term>
|
76
|
+
<term name="long-ordinal-07">seventh</term>
|
77
|
+
<term name="long-ordinal-08">eighth</term>
|
78
|
+
<term name="long-ordinal-09">ninth</term>
|
79
|
+
<term name="long-ordinal-10">tenth</term>
|
80
|
+
|
81
|
+
<!-- CATEGORIES -->
|
82
|
+
<term name="anthropology">anthropology</term>
|
83
|
+
<term name="astronomy">astronomy</term>
|
84
|
+
<term name="biology">biology</term>
|
85
|
+
<term name="botany">botany</term>
|
86
|
+
<term name="chemistry">chemistry</term>
|
87
|
+
<term name="engineering">engineering</term>
|
88
|
+
<term name="generic-base">generic base</term>
|
89
|
+
<term name="geography">geography</term>
|
90
|
+
<term name="geology">geology</term>
|
91
|
+
<term name="history">history</term>
|
92
|
+
<term name="humanities">humanities</term>
|
93
|
+
<term name="linguistics">linguistics</term>
|
94
|
+
<term name="literature">literature</term>
|
95
|
+
<term name="math">math</term>
|
96
|
+
<term name="medicine">medicine</term>
|
97
|
+
<term name="philosophy">philosophy</term>
|
98
|
+
<term name="physics">physics</term>
|
99
|
+
<term name="psychology">psychology</term>
|
100
|
+
<term name="sociology">sociology</term>
|
101
|
+
<term name="science">science</term>
|
102
|
+
<term name="political_science">political science</term>
|
103
|
+
<term name="social_science">social science</term>
|
104
|
+
<term name="theology">theology</term>
|
105
|
+
<term name="zoology">zoology</term>
|
106
|
+
|
107
|
+
<!-- LONG LOCATOR FORMS -->
|
108
|
+
<term name="book">
|
109
|
+
<single>book</single>
|
110
|
+
<multiple>books</multiple>
|
111
|
+
</term>
|
112
|
+
<term name="chapter">
|
113
|
+
<single>chapter</single>
|
114
|
+
<multiple>chapters</multiple>
|
115
|
+
</term>
|
116
|
+
<term name="column">
|
117
|
+
<single>column</single>
|
118
|
+
<multiple>columns</multiple>
|
119
|
+
</term>
|
120
|
+
<term name="figure">
|
121
|
+
<single>figure</single>
|
122
|
+
<multiple>figures</multiple>
|
123
|
+
</term>
|
124
|
+
<term name="folio">
|
125
|
+
<single>folio</single>
|
126
|
+
<multiple>folios</multiple>
|
127
|
+
</term>
|
128
|
+
<term name="issue">
|
129
|
+
<single>number</single>
|
130
|
+
<multiple>numbers</multiple>
|
131
|
+
</term>
|
132
|
+
<term name="line">
|
133
|
+
<single>line</single>
|
134
|
+
<multiple>lines</multiple>
|
135
|
+
</term>
|
136
|
+
<term name="note">
|
137
|
+
<single>note</single>
|
138
|
+
<multiple>notes</multiple>
|
139
|
+
</term>
|
140
|
+
<term name="opus">
|
141
|
+
<single>opus</single>
|
142
|
+
<multiple>opera</multiple>
|
143
|
+
</term>
|
144
|
+
<term name="page">
|
145
|
+
<single>page</single>
|
146
|
+
<multiple>pages</multiple>
|
147
|
+
</term>
|
148
|
+
<term name="paragraph">
|
149
|
+
<single>paragraph</single>
|
150
|
+
<multiple>paragraph</multiple>
|
151
|
+
</term>
|
152
|
+
<term name="part">
|
153
|
+
<single>part</single>
|
154
|
+
<multiple>parts</multiple>
|
155
|
+
</term>
|
156
|
+
<term name="section">
|
157
|
+
<single>section</single>
|
158
|
+
<multiple>sections</multiple>
|
159
|
+
</term>
|
160
|
+
<term name="sub verbo">
|
161
|
+
<single>sub verbo</single>
|
162
|
+
<multiple>sub verbis</multiple>
|
163
|
+
</term>
|
164
|
+
<term name="verse">
|
165
|
+
<single>verse</single>
|
166
|
+
<multiple>verses</multiple>
|
167
|
+
</term>
|
168
|
+
<term name="volume">
|
169
|
+
<single>volume</single>
|
170
|
+
<multiple>volumes</multiple>
|
171
|
+
</term>
|
172
|
+
|
173
|
+
<!-- SHORT LOCATOR FORMS -->
|
174
|
+
<term name="book" form="short">bk.</term>
|
175
|
+
<term name="chapter" form="short">chap.</term>
|
176
|
+
<term name="column" form="short">col.</term>
|
177
|
+
<term name="figure" form="short">fig.</term>
|
178
|
+
<term name="folio" form="short">f.</term>
|
179
|
+
<term name="issue" form="short">no.</term>
|
180
|
+
<term name="opus" form="short">op.</term>
|
181
|
+
<term name="page" form="short">
|
182
|
+
<single>p.</single>
|
183
|
+
<multiple>pp.</multiple>
|
184
|
+
</term>
|
185
|
+
<term name="paragraph" form="short">para.</term>
|
186
|
+
<term name="part" form="short">pt.</term>
|
187
|
+
<term name="section" form="short">sec.</term>
|
188
|
+
<term name="sub verbo" form="short">
|
189
|
+
<single>s.v.</single>
|
190
|
+
<multiple>s.vv.</multiple>
|
191
|
+
</term>
|
192
|
+
<term name="verse" form="short">
|
193
|
+
<single>v.</single>
|
194
|
+
<multiple>vv.</multiple>
|
195
|
+
</term>
|
196
|
+
<term name="volume" form="short">
|
197
|
+
<single>vol.</single>
|
198
|
+
<multiple>vols.</multiple>
|
199
|
+
</term>
|
200
|
+
|
201
|
+
<!-- SYMBOL LOCATOR FORMS -->
|
202
|
+
<term name="paragraph" form="symbol">
|
203
|
+
<single>¶</single>
|
204
|
+
<multiple>¶¶</multiple>
|
205
|
+
</term>
|
206
|
+
<term name="section" form="symbol">
|
207
|
+
<single>§</single>
|
208
|
+
<multiple>§§</multiple>
|
209
|
+
</term>
|
210
|
+
|
211
|
+
<!-- LONG ROLE FORMS -->
|
212
|
+
<term name="author">
|
213
|
+
<single/>
|
214
|
+
<multiple/>
|
215
|
+
</term>
|
216
|
+
<term name="editor">
|
217
|
+
<single>editor</single>
|
218
|
+
<multiple>editors</multiple>
|
219
|
+
</term>
|
220
|
+
<term name="editorial-director">
|
221
|
+
<single>editor</single>
|
222
|
+
<multiple>editors</multiple>
|
223
|
+
</term>
|
224
|
+
<term name="translator">
|
225
|
+
<single>translator</single>
|
226
|
+
<multiple>translators</multiple>
|
227
|
+
</term>
|
228
|
+
<term name="editortranslator">
|
229
|
+
<single>editor & translator</single>
|
230
|
+
<multiple>editors & translators</multiple>
|
231
|
+
</term>
|
232
|
+
|
233
|
+
<!-- SHORT ROLE FORMS -->
|
234
|
+
<term name="author" form="short">
|
235
|
+
<single/>
|
236
|
+
<multiple/>
|
237
|
+
</term>
|
238
|
+
<term name="editor" form="short">
|
239
|
+
<single>ed.</single>
|
240
|
+
<multiple>eds.</multiple>
|
241
|
+
</term>
|
242
|
+
<term name="editorial-director" form="short">
|
243
|
+
<single>ed.</single>
|
244
|
+
<multiple>eds.</multiple>
|
245
|
+
</term>
|
246
|
+
<term name="translator" form="short">
|
247
|
+
<single>tran.</single>
|
248
|
+
<multiple>trans.</multiple>
|
249
|
+
</term>
|
250
|
+
<term name="editortranslator" form="short">
|
251
|
+
<single>ed. & tran.</single>
|
252
|
+
<multiple>eds. & trans.</multiple>
|
253
|
+
</term>
|
254
|
+
|
255
|
+
<!-- VERB ROLE FORMS -->
|
256
|
+
<term name="editor" form="verb">edited by</term>
|
257
|
+
<term name="editorial-director" form="verb">edited by</term>
|
258
|
+
<term name="translator" form="verb">translated by</term>
|
259
|
+
<term name="editortranslator" form="verb">edited & translated by</term>
|
260
|
+
<term name="recipient" form="verb">to</term>
|
261
|
+
<term name="interviewer" form="verb">interview by</term>
|
262
|
+
|
263
|
+
<!-- SHORT VERB ROLE FORMS -->
|
264
|
+
<term name="container-author" form="verb-short">by</term>
|
265
|
+
<term name="editor" form="verb-short">ed.</term>
|
266
|
+
<term name="editorial-director" form="verb-short">ed.</term>
|
267
|
+
<term name="translator" form="verb-short">trans.</term>
|
268
|
+
<term name="editortranslator" form="verb-short">ed. & trans. by</term>
|
269
|
+
|
270
|
+
<!-- LONG MONTH FORMS -->
|
271
|
+
<term name="month-01">January</term>
|
272
|
+
<term name="month-02">February</term>
|
273
|
+
<term name="month-03">March</term>
|
274
|
+
<term name="month-04">April</term>
|
275
|
+
<term name="month-05">May</term>
|
276
|
+
<term name="month-06">June</term>
|
277
|
+
<term name="month-07">July</term>
|
278
|
+
<term name="month-08">August</term>
|
279
|
+
<term name="month-09">September</term>
|
280
|
+
<term name="month-10">October</term>
|
281
|
+
<term name="month-11">November</term>
|
282
|
+
<term name="month-12">December</term>
|
283
|
+
|
284
|
+
<!-- SHORT MONTH FORMS -->
|
285
|
+
<term name="month-01" form="short">Jan.</term>
|
286
|
+
<term name="month-02" form="short">Feb.</term>
|
287
|
+
<term name="month-03" form="short">Mar.</term>
|
288
|
+
<term name="month-04" form="short">Apr.</term>
|
289
|
+
<term name="month-05" form="short">May</term>
|
290
|
+
<term name="month-06" form="short">Jun.</term>
|
291
|
+
<term name="month-07" form="short">Jul.</term>
|
292
|
+
<term name="month-08" form="short">Aug.</term>
|
293
|
+
<term name="month-09" form="short">Sep.</term>
|
294
|
+
<term name="month-10" form="short">Oct.</term>
|
295
|
+
<term name="month-11" form="short">Nov.</term>
|
296
|
+
<term name="month-12" form="short">Dec.</term>
|
297
|
+
|
298
|
+
<!-- SEASONS -->
|
299
|
+
<term name="season-01">Spring</term>
|
300
|
+
<term name="season-02">Summer</term>
|
301
|
+
<term name="season-03">Autumn</term>
|
302
|
+
<term name="season-04">Winter</term>
|
303
|
+
</terms>
|
304
|
+
</locale>
|