ebsco-eds 0.0.7.pre → 0.0.8.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2f5c44d4608f6e09bd9742eb79b651d4eb34bc3
4
- data.tar.gz: 92d50beccaef1aff8659f0843a225b2c3c4c38c9
3
+ metadata.gz: 1ac6792bd7ca8208ce31b2c60bdf2c7cae21df68
4
+ data.tar.gz: c1fbb9d0d70558dff6a9e7807f15d0106ff29e13
5
5
  SHA512:
6
- metadata.gz: af3195f29647ba7182a2e31cc7569b543942681689eadd2ea9ed9d3b4c2018fa09c0a0e365af44efefd8a5242ffe03452fb80cb15330918483831cddf3d0275b
7
- data.tar.gz: c67f556bd18164bb666bcdbf0bdafdca4b2e1ca1c48bcd7b993646b82a418380981b7538a1f95b99a8cd2a4ae3166163df5b4bf4a8d3dacaba71e31ff9196cce
6
+ metadata.gz: 83d1bf76b6e010d9d4a1f9f46f5d077fe1290222baf79cee17bf2ed62c1386638e5aa3d27cdafe384b5aca8235e36231fd86ac01aca7bdc19c97838c244b72ad
7
+ data.tar.gz: 27c51b413b8535190e1e10c3b4e897dd7ce01ab35ec900bd152fc39159df6d89c3abb5eb8b24e9db6ed573dc3125988d6ae87d221feb71a8ce1b04454e1c64b0
data/ebsco-eds.gemspec CHANGED
@@ -29,6 +29,8 @@ Gem::Specification.new do |spec|
29
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ['lib']
31
31
 
32
+ spec.required_ruby_version = '>= 1.9.3'
33
+
32
34
  spec.add_dependency 'faraday', '~> 0'
33
35
  spec.add_dependency 'faraday-detailed_logger', '~> 2.0'
34
36
  spec.add_dependency 'faraday_middleware', '~> 0.11'
@@ -37,7 +39,11 @@ Gem::Specification.new do |spec|
37
39
  spec.add_dependency 'climate_control', '~> 0'
38
40
  spec.add_dependency 'require_all', '~> 1.3'
39
41
  spec.add_dependency 'bibtex-ruby', '~> 4.0'
40
- spec.add_dependency 'activesupport', '~> 4.2'
42
+ spec.add_dependency 'citeproc', '>= 1.0.4', '< 2.0'
43
+ spec.add_dependency 'csl', '~> 1.4'
44
+ spec.add_dependency 'citeproc-ruby', '~> 1.0', '>= 1.0.2'
45
+ spec.add_dependency 'csl-styles', '~> 1.0', '>= 1.0.1.5'
46
+ spec.add_dependency 'activesupport', '~> 5.0'
41
47
 
42
48
  spec.add_development_dependency 'bundler', '~> 1.13'
43
49
  spec.add_development_dependency 'rake', '~> 12.0'
@@ -0,0 +1,658 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never">
3
+ <info>
4
+ <title>American Psychological Association 6th edition</title>
5
+ <title-short>APA</title-short>
6
+ <id>http://www.zotero.org/styles/apa</id>
7
+ <link href="http://www.zotero.org/styles/apa" rel="self"/>
8
+ <link href="http://owl.english.purdue.edu/owl/resource/560/01/" rel="documentation"/>
9
+ <author>
10
+ <name>Simon Kornblith</name>
11
+ <email>simon@simonster.com</email>
12
+ </author>
13
+ <contributor>
14
+ <name>Bruce D'Arcus</name>
15
+ </contributor>
16
+ <contributor>
17
+ <name>Curtis M. Humphrey</name>
18
+ </contributor>
19
+ <contributor>
20
+ <name>Richard Karnesky</name>
21
+ <email>karnesky+zotero@gmail.com</email>
22
+ <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
23
+ </contributor>
24
+ <contributor>
25
+ <name>Sebastian Karcher</name>
26
+ </contributor>
27
+ <contributor>
28
+ <name> Brenton M. Wiernik</name>
29
+ <email>zotero@wiernik.org</email>
30
+ </contributor>
31
+ <category citation-format="author-date"/>
32
+ <category field="psychology"/>
33
+ <category field="generic-base"/>
34
+ <updated>2016-09-28T13:09:49+00:00</updated>
35
+ <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
36
+ </info>
37
+ <locale xml:lang="en">
38
+ <terms>
39
+ <term name="editortranslator" form="short">
40
+ <single>ed. &amp; trans.</single>
41
+ <multiple>eds. &amp; trans.</multiple>
42
+ </term>
43
+ <term name="translator" form="short">
44
+ <single>trans.</single>
45
+ <multiple>trans.</multiple>
46
+ </term>
47
+ </terms>
48
+ </locale>
49
+ <macro name="container-contributors">
50
+ <choose>
51
+ <if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
52
+ <group delimiter=", ">
53
+ <names variable="container-author" delimiter=", ">
54
+ <name and="symbol" initialize-with=". " delimiter=", "/>
55
+ <label form="short" prefix=" (" text-case="title" suffix=")"/>
56
+ </names>
57
+ <names variable="editor translator" delimiter=", ">
58
+ <name and="symbol" initialize-with=". " delimiter=", "/>
59
+ <label form="short" prefix=" (" text-case="title" suffix=")"/>
60
+ </names>
61
+ </group>
62
+ </if>
63
+ </choose>
64
+ </macro>
65
+ <macro name="secondary-contributors">
66
+ <choose>
67
+ <if type="article-journal chapter paper-conference entry-dictionary entry-encyclopedia" match="none">
68
+ <group delimiter=", " prefix=" (" suffix=")">
69
+ <names variable="container-author" delimiter=", ">
70
+ <name and="symbol" initialize-with=". " delimiter=", "/>
71
+ <label form="short" prefix=", " text-case="title"/>
72
+ </names>
73
+ <names variable="editor translator" delimiter=", ">
74
+ <name and="symbol" initialize-with=". " delimiter=", "/>
75
+ <label form="short" prefix=", " text-case="title"/>
76
+ </names>
77
+ </group>
78
+ </if>
79
+ </choose>
80
+ </macro>
81
+ <macro name="author">
82
+ <names variable="author">
83
+ <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
84
+ <label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
85
+ <substitute>
86
+ <names variable="editor"/>
87
+ <names variable="translator"/>
88
+ <choose>
89
+ <if type="report">
90
+ <text variable="publisher"/>
91
+ <text macro="title"/>
92
+ </if>
93
+ <else>
94
+ <text macro="title"/>
95
+ </else>
96
+ </choose>
97
+ </substitute>
98
+ </names>
99
+ </macro>
100
+ <macro name="author-short">
101
+ <names variable="author">
102
+ <name form="short" and="symbol" delimiter=", " initialize-with=". "/>
103
+ <substitute>
104
+ <names variable="editor"/>
105
+ <names variable="translator"/>
106
+ <choose>
107
+ <if type="report">
108
+ <text variable="publisher"/>
109
+ <text variable="title" form="short" font-style="italic"/>
110
+ </if>
111
+ <else-if type="legal_case">
112
+ <text variable="title" font-style="italic"/>
113
+ </else-if>
114
+ <else-if type="book graphic motion_picture song" match="any">
115
+ <text variable="title" form="short" font-style="italic"/>
116
+ </else-if>
117
+ <else-if type="bill legislation" match="any">
118
+ <text variable="title" form="short"/>
119
+ </else-if>
120
+ <else-if variable="reviewed-author">
121
+ <choose>
122
+ <if variable="reviewed-title" match="none">
123
+ <text variable="title" form="short" font-style="italic" prefix="Review of "/>
124
+ </if>
125
+ <else>
126
+ <text variable="title" form="short" quotes="true"/>
127
+ </else>
128
+ </choose>
129
+ </else-if>
130
+ <else>
131
+ <text variable="title" form="short" quotes="true"/>
132
+ </else>
133
+ </choose>
134
+ </substitute>
135
+ </names>
136
+ </macro>
137
+ <macro name="access">
138
+ <choose>
139
+ <if type="thesis report" match="any">
140
+ <choose>
141
+ <if variable="DOI" match="any">
142
+ <text variable="DOI" prefix="https://doi.org/"/>
143
+ </if>
144
+ <else-if variable="archive" match="any">
145
+ <group>
146
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
147
+ <text term="from" suffix=" "/>
148
+ <text variable="archive" suffix="."/>
149
+ <text variable="archive_location" prefix=" (" suffix=")"/>
150
+ </group>
151
+ </else-if>
152
+ <else>
153
+ <group>
154
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
155
+ <text term="from" suffix=" "/>
156
+ <text variable="URL"/>
157
+ </group>
158
+ </else>
159
+ </choose>
160
+ </if>
161
+ <else>
162
+ <choose>
163
+ <if variable="DOI">
164
+ <text variable="DOI" prefix="https://doi.org/"/>
165
+ </if>
166
+ <else>
167
+ <choose>
168
+ <if type="webpage">
169
+ <group delimiter=" ">
170
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
171
+ <group>
172
+ <date variable="accessed" form="text" suffix=", "/>
173
+ </group>
174
+ <text term="from"/>
175
+ <text variable="URL"/>
176
+ </group>
177
+ </if>
178
+ <else>
179
+ <group>
180
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
181
+ <text term="from" suffix=" "/>
182
+ <text variable="URL"/>
183
+ </group>
184
+ </else>
185
+ </choose>
186
+ </else>
187
+ </choose>
188
+ </else>
189
+ </choose>
190
+ </macro>
191
+ <macro name="title">
192
+ <choose>
193
+ <if type="book graphic manuscript motion_picture report song speech thesis" match="any">
194
+ <choose>
195
+ <if variable="version" type="book" match="all">
196
+ <!---This is a hack until we have a computer program type -->
197
+ <text variable="title"/>
198
+ </if>
199
+ <else>
200
+ <text variable="title" font-style="italic"/>
201
+ </else>
202
+ </choose>
203
+ </if>
204
+ <else-if variable="reviewed-author">
205
+ <choose>
206
+ <if variable="reviewed-title">
207
+ <group delimiter=" ">
208
+ <text variable="title"/>
209
+ <group delimiter=", " prefix="[" suffix="]">
210
+ <text variable="reviewed-title" font-style="italic" prefix="Review of "/>
211
+ <names variable="reviewed-author" delimiter=", ">
212
+ <label form="verb-short" suffix=" "/>
213
+ <name and="symbol" initialize-with=". " delimiter=", "/>
214
+ </names>
215
+ </group>
216
+ </group>
217
+ </if>
218
+ <else>
219
+ <!-- assume `title` is title of reviewed work -->
220
+ <group delimiter=", " prefix="[" suffix="]">
221
+ <text variable="title" font-style="italic" prefix="Review of "/>
222
+ <names variable="reviewed-author" delimiter=", ">
223
+ <label form="verb-short" suffix=" "/>
224
+ <name and="symbol" initialize-with=". " delimiter=", "/>
225
+ </names>
226
+ </group>
227
+ </else>
228
+ </choose>
229
+ </else-if>
230
+ <else>
231
+ <text variable="title"/>
232
+ </else>
233
+ </choose>
234
+ </macro>
235
+ <macro name="title-plus-extra">
236
+ <text macro="title"/>
237
+ <choose>
238
+ <if type="report thesis" match="any">
239
+ <group prefix=" (" suffix=")" delimiter=", ">
240
+ <group delimiter=" ">
241
+ <choose>
242
+ <if variable="genre" match="any">
243
+ <text variable="genre"/>
244
+ </if>
245
+ <else>
246
+ <text variable="collection-title"/>
247
+ </else>
248
+ </choose>
249
+ <text variable="number" prefix="No. "/>
250
+ </group>
251
+ <group delimiter=" ">
252
+ <text term="version" text-case="capitalize-first"/>
253
+ <text variable="version"/>
254
+ </group>
255
+ <text macro="edition"/>
256
+ </group>
257
+ </if>
258
+ <else-if type="post-weblog webpage" match="any">
259
+ <text variable="genre" prefix=" [" suffix="]"/>
260
+ </else-if>
261
+ <else-if variable="version">
262
+ <group delimiter=" " prefix=" (" suffix=")">
263
+ <text term="version" text-case="capitalize-first"/>
264
+ <text variable="version"/>
265
+ </group>
266
+ </else-if>
267
+ </choose>
268
+ <text macro="format" prefix=" [" suffix="]"/>
269
+ </macro>
270
+ <macro name="format">
271
+ <choose>
272
+ <if match="any" variable="medium">
273
+ <text variable="medium" text-case="capitalize-first"/>
274
+ </if>
275
+ <else-if type="dataset" match="any">
276
+ <text value="Data set"/>
277
+ </else-if>
278
+ </choose>
279
+ </macro>
280
+ <macro name="publisher">
281
+ <choose>
282
+ <if type="report" match="any">
283
+ <group delimiter=": ">
284
+ <text variable="publisher-place"/>
285
+ <text variable="publisher"/>
286
+ </group>
287
+ </if>
288
+ <else-if type="thesis" match="any">
289
+ <group delimiter=", ">
290
+ <text variable="publisher"/>
291
+ <text variable="publisher-place"/>
292
+ </group>
293
+ </else-if>
294
+ <else-if type="post-weblog webpage" match="none">
295
+ <group delimiter=", ">
296
+ <choose>
297
+ <if variable="event version" type="speech motion_picture" match="none">
298
+ <!-- Including version is to avoid printing the programming language for computerProgram /-->
299
+ <text variable="genre"/>
300
+ </if>
301
+ </choose>
302
+ <choose>
303
+ <if type="article-journal article-magazine" match="none">
304
+ <group delimiter=": ">
305
+ <choose>
306
+ <if variable="publisher-place">
307
+ <text variable="publisher-place"/>
308
+ </if>
309
+ <else>
310
+ <text variable="event-place"/>
311
+ </else>
312
+ </choose>
313
+ <text variable="publisher"/>
314
+ </group>
315
+ </if>
316
+ </choose>
317
+ </group>
318
+ </else-if>
319
+ </choose>
320
+ </macro>
321
+ <macro name="event">
322
+ <choose>
323
+ <if variable="container-title" match="none">
324
+ <choose>
325
+ <if variable="event">
326
+ <choose>
327
+ <if variable="genre" match="none">
328
+ <text term="presented at" text-case="capitalize-first" suffix=" "/>
329
+ <text variable="event"/>
330
+ </if>
331
+ <else>
332
+ <group delimiter=" ">
333
+ <text variable="genre" text-case="capitalize-first"/>
334
+ <text term="presented at"/>
335
+ <text variable="event"/>
336
+ </group>
337
+ </else>
338
+ </choose>
339
+ </if>
340
+ <else-if type="speech">
341
+ <text variable="genre" text-case="capitalize-first"/>
342
+ </else-if>
343
+ </choose>
344
+ </if>
345
+ </choose>
346
+ </macro>
347
+ <macro name="issued">
348
+ <choose>
349
+ <if type="bill legal_case legislation" match="none">
350
+ <choose>
351
+ <if variable="issued">
352
+ <group prefix=" (" suffix=")">
353
+ <date variable="issued">
354
+ <date-part name="year"/>
355
+ </date>
356
+ <text variable="year-suffix"/>
357
+ <choose>
358
+ <if type="speech" match="any">
359
+ <date variable="issued">
360
+ <date-part prefix=", " name="month"/>
361
+ </date>
362
+ </if>
363
+ <else-if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song dataset" match="none">
364
+ <date variable="issued">
365
+ <date-part prefix=", " name="month"/>
366
+ <date-part prefix=" " name="day"/>
367
+ </date>
368
+ </else-if>
369
+ </choose>
370
+ </group>
371
+ </if>
372
+ <else-if variable="status">
373
+ <group prefix=" (" suffix=")">
374
+ <text variable="status"/>
375
+ <text variable="year-suffix" prefix="-"/>
376
+ </group>
377
+ </else-if>
378
+ <else>
379
+ <group prefix=" (" suffix=")">
380
+ <text term="no date" form="short"/>
381
+ <text variable="year-suffix" prefix="-"/>
382
+ </group>
383
+ </else>
384
+ </choose>
385
+ </if>
386
+ </choose>
387
+ </macro>
388
+ <macro name="issued-sort">
389
+ <choose>
390
+ <if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song dataset" match="none">
391
+ <date variable="issued">
392
+ <date-part name="year"/>
393
+ <date-part name="month"/>
394
+ <date-part name="day"/>
395
+ </date>
396
+ </if>
397
+ <else>
398
+ <date variable="issued">
399
+ <date-part name="year"/>
400
+ </date>
401
+ </else>
402
+ </choose>
403
+ </macro>
404
+ <macro name="issued-year">
405
+ <choose>
406
+ <if variable="issued">
407
+ <group delimiter="/">
408
+ <date variable="original-date" form="text"/>
409
+ <group>
410
+ <date variable="issued">
411
+ <date-part name="year"/>
412
+ </date>
413
+ <text variable="year-suffix"/>
414
+ </group>
415
+ </group>
416
+ </if>
417
+ <else-if variable="status">
418
+ <text variable="status"/>
419
+ <text variable="year-suffix" prefix="-"/>
420
+ </else-if>
421
+ <else>
422
+ <text term="no date" form="short"/>
423
+ <text variable="year-suffix" prefix="-"/>
424
+ </else>
425
+ </choose>
426
+ </macro>
427
+ <macro name="edition">
428
+ <choose>
429
+ <if is-numeric="edition">
430
+ <group delimiter=" ">
431
+ <number variable="edition" form="ordinal"/>
432
+ <text term="edition" form="short"/>
433
+ </group>
434
+ </if>
435
+ <else>
436
+ <text variable="edition"/>
437
+ </else>
438
+ </choose>
439
+ </macro>
440
+ <macro name="locators">
441
+ <choose>
442
+ <if type="article-journal article-magazine" match="any">
443
+ <group prefix=", " delimiter=", ">
444
+ <group>
445
+ <text variable="volume" font-style="italic"/>
446
+ <text variable="issue" prefix="(" suffix=")"/>
447
+ </group>
448
+ <text variable="page"/>
449
+ </group>
450
+ <choose>
451
+ <!--for advanced online publication-->
452
+ <if variable="issued">
453
+ <choose>
454
+ <if variable="page issue" match="none">
455
+ <text variable="status" prefix=". "/>
456
+ </if>
457
+ </choose>
458
+ </if>
459
+ </choose>
460
+ </if>
461
+ <else-if type="article-newspaper">
462
+ <group delimiter=" " prefix=", ">
463
+ <label variable="page" form="short"/>
464
+ <text variable="page"/>
465
+ </group>
466
+ </else-if>
467
+ <else-if type="book graphic motion_picture report song chapter paper-conference entry-encyclopedia entry-dictionary" match="any">
468
+ <group prefix=" (" suffix=")" delimiter=", ">
469
+ <choose>
470
+ <if type="report" match="none">
471
+ <!-- edition for report is included in title-plus-extra /-->
472
+ <text macro="edition"/>
473
+ </if>
474
+ </choose>
475
+ <choose>
476
+ <if variable="volume" match="any">
477
+ <group>
478
+ <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
479
+ <number variable="volume" form="numeric"/>
480
+ </group>
481
+ </if>
482
+ <else>
483
+ <group>
484
+ <text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=" "/>
485
+ <number variable="number-of-volumes" form="numeric" prefix="1&#8211;"/>
486
+ </group>
487
+ </else>
488
+ </choose>
489
+ <group>
490
+ <label variable="page" form="short" suffix=" "/>
491
+ <text variable="page"/>
492
+ </group>
493
+ </group>
494
+ </else-if>
495
+ <else-if type="legal_case">
496
+ <group prefix=" (" suffix=")" delimiter=" ">
497
+ <text variable="authority"/>
498
+ <choose>
499
+ <if variable="container-title" match="any">
500
+ <!--Only print year for cases published in reporters-->
501
+ <date variable="issued" form="numeric" date-parts="year"/>
502
+ </if>
503
+ <else>
504
+ <date variable="issued" form="text"/>
505
+ </else>
506
+ </choose>
507
+ </group>
508
+ </else-if>
509
+ <else-if type="bill legislation" match="any">
510
+ <date variable="issued" prefix=" (" suffix=")">
511
+ <date-part name="year"/>
512
+ </date>
513
+ </else-if>
514
+ </choose>
515
+ </macro>
516
+ <macro name="citation-locator">
517
+ <group>
518
+ <choose>
519
+ <if locator="chapter">
520
+ <label variable="locator" form="long" text-case="capitalize-first"/>
521
+ </if>
522
+ <else>
523
+ <label variable="locator" form="short"/>
524
+ </else>
525
+ </choose>
526
+ <text variable="locator" prefix=" "/>
527
+ </group>
528
+ </macro>
529
+ <macro name="container">
530
+ <choose>
531
+ <if type="post-weblog webpage" match="none">
532
+ <group>
533
+ <choose>
534
+ <if type="chapter paper-conference entry-encyclopedia" match="any">
535
+ <text term="in" text-case="capitalize-first" suffix=" "/>
536
+ </if>
537
+ </choose>
538
+ <group delimiter=", ">
539
+ <text macro="container-contributors"/>
540
+ <text macro="secondary-contributors"/>
541
+ <text macro="container-title"/>
542
+ </group>
543
+ </group>
544
+ </if>
545
+ </choose>
546
+ </macro>
547
+ <macro name="container-title">
548
+ <choose>
549
+ <if type="article article-journal article-magazine article-newspaper" match="any">
550
+ <text variable="container-title" font-style="italic" text-case="title"/>
551
+ </if>
552
+ <else-if type="bill legal_case legislation" match="none">
553
+ <text variable="container-title" font-style="italic"/>
554
+ </else-if>
555
+ </choose>
556
+ </macro>
557
+ <macro name="legal-cites">
558
+ <choose>
559
+ <if type="legal_case" match="any">
560
+ <group prefix=", " delimiter=" ">
561
+ <choose>
562
+ <if variable="container-title">
563
+ <text variable="volume"/>
564
+ <text variable="container-title"/>
565
+ <group delimiter=" ">
566
+ <!--change to label variable="section" as that becomes available -->
567
+ <text term="section" form="symbol"/>
568
+ <text variable="section"/>
569
+ </group>
570
+ <text variable="page"/>
571
+ </if>
572
+ <else>
573
+ <text variable="number" prefix="No. "/>
574
+ </else>
575
+ </choose>
576
+ </group>
577
+ </if>
578
+ <else-if type="bill legislation" match="any">
579
+ <group delimiter=", " prefix=", ">
580
+ <choose>
581
+ <if variable="number">
582
+ <!--There's a public law number-->
583
+ <text variable="number" prefix="Pub. L. No. "/>
584
+ <group delimiter=" ">
585
+ <!--change to label variable="section" as that becomes available -->
586
+ <text term="section" form="symbol"/>
587
+ <text variable="section"/>
588
+ </group>
589
+ <group delimiter=" ">
590
+ <text variable="volume"/>
591
+ <text variable="container-title"/>
592
+ <text variable="page-first"/>
593
+ </group>
594
+ </if>
595
+ <else>
596
+ <group delimiter=" ">
597
+ <text variable="volume"/>
598
+ <text variable="container-title"/>
599
+ <!--change to label variable="section" as that becomes available -->
600
+ <text term="section" form="symbol"/>
601
+ <text variable="section"/>
602
+ </group>
603
+ </else>
604
+ </choose>
605
+ </group>
606
+ </else-if>
607
+ </choose>
608
+ </macro>
609
+ <macro name="original-date">
610
+ <choose>
611
+ <if variable="original-date">
612
+ <group prefix="(" suffix=")" delimiter=" ">
613
+ <!---This should be localized-->
614
+ <text value="Original work published"/>
615
+ <date variable="original-date" form="text"/>
616
+ </group>
617
+ </if>
618
+ </choose>
619
+ </macro>
620
+ <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" givenname-disambiguation-rule="primary-name">
621
+ <sort>
622
+ <key macro="author"/>
623
+ <key macro="issued-sort"/>
624
+ </sort>
625
+ <layout prefix="(" suffix=")" delimiter="; ">
626
+ <group delimiter=", ">
627
+ <text macro="author-short"/>
628
+ <text macro="issued-year"/>
629
+ <text macro="citation-locator"/>
630
+ </group>
631
+ </layout>
632
+ </citation>
633
+ <bibliography hanging-indent="true" et-al-min="8" et-al-use-first="6" et-al-use-last="true" entry-spacing="0" line-spacing="2">
634
+ <sort>
635
+ <key macro="author"/>
636
+ <key macro="issued-sort" sort="ascending"/>
637
+ <key macro="title"/>
638
+ </sort>
639
+ <layout>
640
+ <group suffix=".">
641
+ <group delimiter=". ">
642
+ <text macro="author"/>
643
+ <text macro="issued"/>
644
+ <text macro="title-plus-extra"/>
645
+ <text macro="container"/>
646
+ </group>
647
+ <text macro="legal-cites"/>
648
+ <text macro="locators"/>
649
+ <group delimiter=", " prefix=". ">
650
+ <text macro="event"/>
651
+ <text macro="publisher"/>
652
+ </group>
653
+ </group>
654
+ <text macro="access" prefix=" "/>
655
+ <text macro="original-date" prefix=" "/>
656
+ </layout>
657
+ </bibliography>
658
+ </style>