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.
Files changed (52) hide show
  1. data/README +93 -0
  2. data/Rakefile +73 -0
  3. data/TODO +25 -0
  4. data/VERSION +1 -0
  5. data/data/locales/locales_en.xml +89 -0
  6. data/data/locales/locales_nl.xml +96 -0
  7. data/data/styles/ama.csl +184 -0
  8. data/data/styles/apa.csl +230 -0
  9. data/data/styles/apsa.csl +175 -0
  10. data/data/styles/asa.csl +215 -0
  11. data/data/styles/chicago-author-date.csl +361 -0
  12. data/data/styles/chicago-fullnote-bibliography.csl +665 -0
  13. data/data/styles/chicago-note-bibliography.csl +437 -0
  14. data/data/styles/chicago-note.csl +383 -0
  15. data/data/styles/harvard.csl +185 -0
  16. data/data/styles/ieee.csl +111 -0
  17. data/data/styles/mhra.csl +317 -0
  18. data/data/styles/mla.csl +173 -0
  19. data/data/styles/nature.csl +87 -0
  20. data/data/styles/nlm.csl +118 -0
  21. data/examples/citeproc_driver.rb +174 -0
  22. data/lib/citeproc.rb +28 -0
  23. data/lib/citeproc/csl.rb +647 -0
  24. data/lib/citeproc/csl_parser.rb +479 -0
  25. data/lib/citeproc/csl_processor.rb +485 -0
  26. data/lib/citeproc/csl_reference.rb +228 -0
  27. data/lib/citeproc/filters/bibo/bibo.rb +635 -0
  28. data/lib/citeproc/filters/bibo/bibo_input_filter.rb +242 -0
  29. data/lib/citeproc/filters/bibo/bibo_utils.rb +75 -0
  30. data/lib/citeproc/filters/csl_citation/csl_citation.rb +137 -0
  31. data/lib/citeproc/filters/csl_citation/csl_citation_input_filter.rb +274 -0
  32. data/lib/citeproc/formatters/base_formatter.rb +115 -0
  33. data/lib/citeproc/formatters/xhtml_formatter.rb +144 -0
  34. data/lib/citeproc/input_filter.rb +97 -0
  35. data/test/fixtures/bibo_test_data.n3 +191 -0
  36. data/test/fixtures/bibo_test_data.yaml +96 -0
  37. data/test/fixtures/bibo_test_how_to_cook.n3 +63 -0
  38. data/test/fixtures/bibo_test_zotero.rdf +129 -0
  39. data/test/fixtures/csl_test_data.json +62 -0
  40. data/test/fixtures/csl_test_data.yaml +8 -0
  41. data/test/fixtures/locales/test_locale_en.xml +89 -0
  42. data/test/fixtures/styles/test_csl_parse.csl +230 -0
  43. data/test/fixtures/styles/test_groups.csl +32 -0
  44. data/test/fixtures/styles/test_names.csl +46 -0
  45. data/test/fixtures/styles/test_sort.csl +125 -0
  46. data/test/fixtures/styles/test_text_terms.csl +40 -0
  47. data/test/test_all.rb +14 -0
  48. data/test/test_bibo.rb +20 -0
  49. data/test/test_csl.rb +136 -0
  50. data/test/test_csl_parser.rb +222 -0
  51. data/test/test_sample_bibo.rb +82 -0
  52. metadata +101 -0
@@ -0,0 +1,129 @@
1
+ <?xml version="1.0"?>
2
+ <rdf:RDF xmlns:z="http://www.zotero.org/namespaces/export#"
3
+ xmlns:link="http://purl.org/rss/1.0/modules/link/"
4
+ xmlns:vcard="http://nwalsh.com/rdf/vCard#"
5
+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
6
+ xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/"
7
+ xmlns:dcterms="http://purl.org/dc/terms/"
8
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
9
+ xmlns:bib="http://purl.org/net/biblio#"
10
+ xmlns:NC="http://home.netscape.com/NC-rdf#"
11
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
12
+ xmlns:bibo="http://purl.org/ontology/bibo/"
13
+ >
14
+
15
+ <bibo:Book rdf:about="http://www.zotero.org/services/urn/isbn/026256212X"
16
+ dcterms:title="Spinning the Semantic Web: Bringing the World Wide Web to Its Full Potential"
17
+ bibo:shortTitle="Spinning the Semantic Web"
18
+ bibo:editionName="New Ed"
19
+ dcterms:date="2005-03-01"
20
+ bibo:pageNumber="503"
21
+ bibo:isbn="026256212X"
22
+ >
23
+
24
+ <dcterms:relation >
25
+ <bibo:Document rdf:about="http://www.amazon.com/dp/026256212X">
26
+ <bibo:uri>http://www.amazon.com/dp/026256212X</bibo:uri>
27
+ </bibo:Document>
28
+ </dcterms:relation>
29
+
30
+ <dcterms:relation >
31
+ <bibo:Document rdf:about="http://www.alibris.com/search/search.cfm?wtit=Spinning%20the%20Semantic%20Web">
32
+ <bibo:uri>http://www.alibris.com/search/search.cfm?wtit=Spinning%20the%20Semantic%20Web</bibo:uri>
33
+ </bibo:Document>
34
+ </dcterms:relation>
35
+
36
+
37
+ <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1" />
38
+ <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/2" />
39
+ <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/3" />
40
+ <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/4" />
41
+
42
+ <dcterms:contributor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/5" />
43
+ <dcterms:publisher rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6" />
44
+
45
+ <bibo:contributorList>
46
+ <rdf:Seq>
47
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1" />
48
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/2" />
49
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/3" />
50
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/4" />
51
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/5" />
52
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6" />
53
+ </rdf:Seq>
54
+ </bibo:contributorList>
55
+
56
+ <dcterms:hasPart rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X_4" />
57
+
58
+ </bibo:Book>
59
+
60
+ <foaf:Organization rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6"
61
+ foaf:name="The MIT Press" />
62
+
63
+ <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1"
64
+ foaf:surname="Fensel"
65
+ foaf:givenname="Dieter" />
66
+ <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/2"
67
+ foaf:surname="Hendler"
68
+ foaf:givenname="James A." />
69
+ <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/3"
70
+ foaf:surname="Lieberman"
71
+ foaf:givenname="Henry" />
72
+ <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/4"
73
+ foaf:surname="Wahlster"
74
+ foaf:givenname="Wolfgang" />
75
+ <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/5"
76
+ foaf:surname="Berners-Lee"
77
+ foaf:givenname="Tim" />
78
+
79
+
80
+ <!-- this is a part of the book described above. However, this part has been written by other people
81
+ than the editors of the book -->
82
+
83
+ <bibo:Part rdf:about="http://www.zotero.org/services/urn/isbn/026256212X_4"
84
+ dcterms:title="Ontologies and Schema Languages on the Web"
85
+ bibo:pageNumber="44"
86
+ bibo:startPage="95"
87
+ bibo:endPage="139"
88
+ bibo:chapter="4"
89
+ >
90
+
91
+ <dcterms:isPartOf rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X" />
92
+
93
+
94
+ <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6" />
95
+ <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/7" />
96
+ <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1" />
97
+ <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/8" />
98
+ <bibo:editor rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/9" />
99
+
100
+ <bibo:contributorList>
101
+ <rdf:Seq>
102
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6" />
103
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/7" />
104
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/1" />
105
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/8" />
106
+ <rdf:li rdf:resource="http://www.zotero.org/services/urn/isbn/026256212X/contributor/9" />
107
+ </rdf:Seq>
108
+ </bibo:contributorList>
109
+
110
+
111
+ </bibo:Part>
112
+
113
+ <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/6"
114
+ foaf:surname="Klein"
115
+ foaf:givenname="Michel" />
116
+ <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/7"
117
+ foaf:surname="Broekstra"
118
+ foaf:givenname="Jeen" />
119
+ <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/8"
120
+ foaf:surname="van Hermelen"
121
+ foaf:givenname="Frank" />
122
+ <foaf:Person rdf:about="http://www.zotero.org/services/urn/isbn/026256212X/contributor/9"
123
+ foaf:surname="Horrocks"
124
+ foaf:givenname="Ian" />
125
+
126
+
127
+
128
+ </rdf:RDF>
129
+
@@ -0,0 +1,62 @@
1
+ {
2
+ "a": {
3
+ "type": "newspaperArticle",
4
+ "dateIssued": "2007-01-01",
5
+ "title": "Some Title",
6
+ "containerTitle": "Journal News",
7
+ "pages": "A5",
8
+ "url": "http://ex.net/1",
9
+ "dateAccessed": "2007-11-12"
10
+ },
11
+ "b": {
12
+ "type": "book",
13
+ "dateIssued": "2000",
14
+ "title": "Splitting the Difference",
15
+ "publisher": "University of Chicago Press",
16
+ "publisherPlace": "Chicago",
17
+ "authors": [
18
+ { "name": "Doniger, Wendy" }
19
+ ]
20
+ },
21
+ "c": {
22
+ "type": "book",
23
+ "dateIssued": "1994",
24
+ "title": "The social organization of sexuality: Sexual practices in the United States",
25
+ "publisher": "University of Chicago Press",
26
+ "publisherPlace": "Chicago",
27
+ "authors": [
28
+ { "name": "Laumann, Edward O." },
29
+ { "name": "Gagnon, John H." },
30
+ { "name": "Michael, Robert T." },
31
+ { "name": "Michaels, Stuart" }
32
+ ]
33
+ },
34
+ "d": {
35
+ "type": "journalArticle",
36
+ "dateIssued": "1998",
37
+ "title": "The origin of altruism",
38
+ "containerTitle": "Nature",
39
+ "issue": "393",
40
+ "pages": "639–640",
41
+ "authors": [
42
+ { "name": "Smith, John Maynard" }
43
+ ]
44
+ },
45
+ "e": {
46
+ "type": "chapter",
47
+ "dateIssued": "2000",
48
+ "title": "Introduction: A Chapter Title",
49
+ "containerTitle": "Edited Book Title",
50
+ "collectionTitle": "Series Title",
51
+ "publisher": "ABC Books",
52
+ "publisherPlace": "New York",
53
+ "authors": [
54
+ { "name": "Doe, Jane" },
55
+ { "name": "Smith, John" }
56
+ ],
57
+ "editors": [
58
+ { "name": "Doe, Jane" },
59
+ { "name": "Smith, John" }
60
+ ]
61
+ }
62
+ }
@@ -0,0 +1,8 @@
1
+ a:
2
+ type: "newspaperArticle"
3
+ dateIssued: "2007-01-01"
4
+ title: "Some Title"
5
+ containerTitle: "Journal News"
6
+ pages: "A5"
7
+ URL: "http://ex.net/1"
8
+ dateAccessed: "2007-11-12"
@@ -0,0 +1,89 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <terms xmlns="http://purl.org/net/xbiblio/csl">
3
+ <locale xml:lang="en">
4
+ <term name="in">in</term>
5
+ <term name="ibid">ibid</term>
6
+ <term name="accessed">accessed</term>
7
+ <term name="forthcoming">forthcoming</term>
8
+ <term name="references">References</term>
9
+ <term name="no date">nd</term>
10
+ <term name="and">and</term>
11
+ <term name="et-al">et al.</term>
12
+
13
+ <!-- LONG LOCATOR FORMS -->
14
+ <term name="page">
15
+ <single>page</single>
16
+ <multiple>pages</multiple>
17
+ </term>
18
+ <term name="paragraph">
19
+ <single>paragraph</single>
20
+ <multiple>paragraph</multiple>
21
+ </term>
22
+ <term name="volume">volume</term>
23
+ <term name="issue">number</term>
24
+
25
+ <!-- SHORT LOCATOR FORMS -->
26
+ <term name="page" form="short">
27
+ <single>p</single>
28
+ <multiple>pp</multiple>
29
+ </term>
30
+ <term name="paragraph" form="short">
31
+ <single>¶</single>
32
+ <multiple>¶¶</multiple>
33
+ </term>
34
+ <term name="volume" form="short">vol</term>
35
+ <term name="issue" form="short">no</term>
36
+
37
+ <!-- LONG ROLE FORMS -->
38
+ <term name="editor">
39
+ <single>editor</single>
40
+ <multiple>editors</multiple>
41
+ </term>
42
+ <term name="translator">
43
+ <single>translator</single>
44
+ <multiple>translators</multiple>
45
+ </term>
46
+
47
+ <!-- SHORT ROLE FORMS -->
48
+ <term name="editor" form="short">
49
+ <single>ed</single>
50
+ <multiple>eds</multiple>
51
+ </term>
52
+ <term name="translator" form="short">
53
+ <single>tran</single>
54
+ <multiple>trans</multiple>
55
+ </term>
56
+
57
+ <!-- VERB ROLE FORMS -->
58
+ <term name="editor" form="verb">edited by</term>
59
+ <term name="translator" form="verb">translated by</term>
60
+
61
+ <!-- LONG MONTH FORMS -->
62
+ <term name="month-01">January</term>
63
+ <term name="month-02">February</term>
64
+ <term name="month-03">March</term>
65
+ <term name="month-04">April</term>
66
+ <term name="month-05">May</term>
67
+ <term name="month-06">June</term>
68
+ <term name="month-07">July</term>
69
+ <term name="month-08">August</term>
70
+ <term name="month-09">September</term>
71
+ <term name="month-10">October</term>
72
+ <term name="month-11">November</term>
73
+ <term name="month-12">December</term>
74
+
75
+ <!-- SHORT MONTH FORMS -->
76
+ <term name="month-01" form="short">Jan</term>
77
+ <term name="month-02" form="short">Feb</term>
78
+ <term name="month-03" form="short">Mar</term>
79
+ <term name="month-04" form="short">Apr</term>
80
+ <term name="month-05" form="short">May</term>
81
+ <term name="month-06" form="short">Jun</term>
82
+ <term name="month-07" form="short">Jul</term>
83
+ <term name="month-08" form="short">Aug</term>
84
+ <term name="month-09" form="short">Sep</term>
85
+ <term name="month-10" form="short">Oct</term>
86
+ <term name="month-11" form="short">Nov</term>
87
+ <term name="month-12" form="short">Dec</term>
88
+ </locale>
89
+ </terms>
@@ -0,0 +1,230 @@
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="in-text" xml:lang="en">
4
+ <info>
5
+ <title>American Psychological Association</title>
6
+ <id>http://www.zotero.org/styles/apa</id>
7
+ <link href="http://www.zotero.org/styles/apa"/>
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
+ <category term="psychology"/>
16
+ <category term="generic-base"/>
17
+ <category term="author-date"/>
18
+ <updated>2008-05-07T12:08:52+00:00</updated>
19
+ </info>
20
+ <macro name="container-contributors">
21
+ <choose>
22
+ <if type="chapter">
23
+ <text term="in" text-case="capitalize-first" suffix=" "/>
24
+ <names variable="editor translator" delimiter=", " suffix=", ">
25
+ <name and="symbol" initialize-with=". " delimiter=", "/>
26
+ <label form="short" prefix=" (" text-case="capitalize-first" suffix=".)"/>
27
+ </names>
28
+ </if>
29
+ </choose>
30
+ </macro>
31
+ <macro name="secondary-contributors">
32
+ <choose>
33
+ <if type="chapter" match="none">
34
+ <names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
35
+ <name and="symbol" initialize-with=". " delimiter=", "/>
36
+ <label form="short" prefix=", " text-case="capitalize-first" suffix="."/>
37
+ </names>
38
+ </if>
39
+ </choose>
40
+ </macro>
41
+ <macro name="author">
42
+ <names variable="author">
43
+ <name name-as-sort-order="all" and="symbol" sort-separator=", "
44
+ initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
45
+ <label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
46
+ <substitute>
47
+ <names variable="editor"/>
48
+ <names variable="translator"/>
49
+ <text macro="title"/>
50
+ </substitute>
51
+ </names>
52
+ </macro>
53
+ <macro name="author-short">
54
+ <names variable="author">
55
+ <name form="short" and="symbol" delimiter=", " initialize-with=". "/>
56
+ <substitute>
57
+ <names variable="editor"/>
58
+ <names variable="translator"/>
59
+ <choose>
60
+ <if type="book">
61
+ <text variable="title" form="short" font-style="italic"/>
62
+ </if>
63
+ <else>
64
+ <text variable="title" form="short" quotes="true"/>
65
+ </else>
66
+ </choose>
67
+ </substitute>
68
+ </names>
69
+ </macro>
70
+ <macro name="access">
71
+ <choose>
72
+ <if variable="DOI">
73
+ <text variable="DOI" prefix="doi: "/>
74
+ </if>
75
+ <else>
76
+ <group>
77
+ <text term="retrieved" text-case="capitalize-first" suffix=" "/>
78
+ <date variable="accessed" suffix=", ">
79
+ <date-part name="month" suffix=" "/>
80
+ <date-part name="day" suffix=", "/>
81
+ <date-part name="year"/>
82
+ </date>
83
+ <group>
84
+ <text term="from" suffix=" "/>
85
+ <text variable="URL"/>
86
+ </group>
87
+ </group>
88
+ </else>
89
+ </choose>
90
+ </macro>
91
+ <macro name="title">
92
+ <choose>
93
+ <if type="book thesis" match="any">
94
+ <text variable="title" font-style="italic"/>
95
+ </if>
96
+ <else>
97
+ <text variable="title" suffix=". "/>
98
+ </else>
99
+ </choose>
100
+ </macro>
101
+ <macro name="publisher">
102
+ <text variable="genre" suffix=", "/>
103
+ <group delimiter=": ">
104
+ <text variable="publisher-place"/>
105
+ <text variable="publisher"/>
106
+ </group>
107
+ </macro>
108
+ <macro name="event">
109
+ <text variable="event"/>
110
+ <text variable="event-place" prefix=", "/>
111
+ </macro>
112
+ <macro name="issued">
113
+ <group prefix=" (" suffix=").">
114
+ <date variable="issued">
115
+ <date-part name="year"/>
116
+ </date>
117
+ <choose>
118
+ <if type="book chapter article-journal" match="none">
119
+ <date variable="issued">
120
+ <date-part prefix=", " name="month"/>
121
+ <date-part prefix=" " name="day"/>
122
+ </date>
123
+ </if>
124
+ </choose>
125
+ </group>
126
+ </macro>
127
+ <macro name="issued-year">
128
+ <date variable="issued">
129
+ <date-part name="year"/>
130
+ </date>
131
+ </macro>
132
+ <macro name="edition">
133
+ <choose>
134
+ <if type="book chapter" match="any">
135
+ <choose>
136
+ <if is-numeric="edition">
137
+ <group delimiter=" ">
138
+ <number variable="edition" form="ordinal"/>
139
+ <text term="edition" form="short" suffix="."/>
140
+ </group>
141
+ </if>
142
+ <else>
143
+ <text variable="edition" suffix="."/>
144
+ </else>
145
+ </choose>
146
+ </if>
147
+ </choose>
148
+ </macro>
149
+ <macro name="locators">
150
+ <choose>
151
+ <if type="article-journal article-magazine article-newspaper" match="any">
152
+ <group prefix=", " delimiter=", ">
153
+ <group>
154
+ <text variable="volume" font-style="italic"/>
155
+ <text variable="issue" prefix="(" suffix=")"/>
156
+ </group>
157
+ <text variable="page"/>
158
+ </group>
159
+ </if>
160
+ <else-if type="book chapter" match="any">
161
+ <group prefix=" (" suffix=")" delimiter=", ">
162
+ <text macro="edition"/>
163
+ <group>
164
+ <text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=". "/>
165
+ <number variable="number-of-volumes" form="numeric" prefix="1-"/>
166
+ </group>
167
+ <group>
168
+ <text term="volume" form="short" text-case="capitalize-first" suffix=". "/>
169
+ <number variable="volume" form="numeric"/>
170
+ </group>
171
+ <group>
172
+ <label variable="page" form="short" include-period="true" suffix=" "/>
173
+ <text variable="page"/>
174
+ </group>
175
+ </group>
176
+ </else-if>
177
+ </choose>
178
+ </macro>
179
+ <macro name="citation-locator">
180
+ <group>
181
+ <label variable="locator" include-period="true" form="short"/>
182
+ <text variable="locator" prefix=" "/>
183
+ </group>
184
+ </macro>
185
+ <citation>
186
+ <option name="et-al-min" value="6"/>
187
+ <option name="et-al-use-first" value="1"/>
188
+ <option name="et-al-subsequent-min" value="3"/>
189
+ <option name="et-al-subsequent-use-first" value="1"/>
190
+ <option name="disambiguate-add-year-suffix" value="true"/>
191
+ <option name="disambiguate-add-names" value="true"/>
192
+ <option name="disambiguate-add-givenname" value="true"/>
193
+ <option name="collapse" value="year"/>
194
+ <sort>
195
+ <key macro="author"/>
196
+ <key variable="issued"/>
197
+ </sort>
198
+ <layout prefix="(" suffix=")" delimiter="; ">
199
+ <group delimiter=", ">
200
+ <text macro="author-short"/>
201
+ <text macro="issued-year"/>
202
+ <text macro="citation-locator"/>
203
+ </group>
204
+ </layout>
205
+ </citation>
206
+ <bibliography>
207
+ <option name="hanging-indent" value="true"/>
208
+ <option name="et-al-min" value="6"/>
209
+ <option name="et-al-use-first" value="6"/>
210
+ <option name="entry-spacing" value="0"/>
211
+ <sort>
212
+ <key macro="author"/>
213
+ <key variable="issued"/>
214
+ </sort>
215
+ <layout suffix=".">
216
+ <text macro="author" suffix="."/>
217
+ <text macro="issued"/>
218
+ <text macro="title" prefix=" "/>
219
+ <text macro="container-contributors"/>
220
+ <text macro="secondary-contributors"/>
221
+ <text variable="container-title" font-style="italic"/>
222
+ <text variable="collection-title" prefix=", " suffix="."/>
223
+ <text macro="locators"/>
224
+ <group delimiter=". " prefix=". ">
225
+ <text macro="publisher"/>
226
+ <text macro="access"/>
227
+ </group>
228
+ </layout>
229
+ </bibliography>
230
+ </style>