citeproc-ruby 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. data/lib/citeproc/version.rb +1 -1
  2. data/lib/csl/nodes.rb +23 -3
  3. data/lib/plugins/formats/default.rb +1 -1
  4. data/resource/locale/locales-af-ZA.xml +289 -288
  5. data/resource/locale/locales-ar-AR.xml +291 -289
  6. data/resource/locale/locales-bg-BG.xml +289 -288
  7. data/resource/locale/locales-ca-AD.xml +289 -288
  8. data/resource/locale/locales-cs-CZ.xml +288 -287
  9. data/resource/locale/locales-da-DK.xml +289 -288
  10. data/resource/locale/locales-de-AT.xml +288 -288
  11. data/resource/locale/locales-de-CH.xml +288 -288
  12. data/resource/locale/locales-de-DE.xml +314 -314
  13. data/resource/locale/locales-el-GR.xml +241 -239
  14. data/resource/locale/locales-en-GB.xml +304 -0
  15. data/resource/locale/locales-en-US.xml +297 -297
  16. data/resource/locale/locales-es-ES.xml +289 -288
  17. data/resource/locale/locales-et-EE.xml +287 -287
  18. data/resource/locale/locales-eu.xml +305 -0
  19. data/resource/locale/locales-fa-IR.xml +304 -0
  20. data/resource/locale/locales-fi-FI.xml +304 -0
  21. data/resource/locale/locales-fr-CA.xml +306 -0
  22. data/resource/locale/locales-fr-FR.xml +290 -288
  23. data/resource/locale/locales-he-IL.xml +288 -288
  24. data/resource/locale/locales-hu-HU.xml +289 -288
  25. data/resource/locale/locales-is-IS.xml +288 -288
  26. data/resource/locale/locales-it-IT.xml +289 -288
  27. data/resource/locale/locales-ja-JP.xml +289 -288
  28. data/resource/locale/locales-km-KH.xml +304 -0
  29. data/resource/locale/locales-ko-KR.xml +289 -288
  30. data/resource/locale/locales-mn-MN.xml +290 -288
  31. data/resource/locale/locales-nb-NO.xml +288 -288
  32. data/resource/locale/locales-nl-NL.xml +288 -288
  33. data/resource/locale/locales-nn-NO.xml +288 -288
  34. data/resource/locale/locales-pl-PL.xml +289 -288
  35. data/resource/locale/locales-pt-BR.xml +288 -288
  36. data/resource/locale/locales-pt-PT.xml +289 -288
  37. data/resource/locale/locales-ro-RO.xml +289 -288
  38. data/resource/locale/locales-ru-RU.xml +290 -288
  39. data/resource/locale/locales-sk-SK.xml +288 -288
  40. data/resource/locale/locales-sl-SI.xml +289 -288
  41. data/resource/locale/locales-sr-RS.xml +289 -288
  42. data/resource/locale/locales-sv-SE.xml +289 -288
  43. data/resource/locale/locales-th-TH.xml +288 -288
  44. data/resource/locale/locales-tr-TR.xml +289 -288
  45. data/resource/locale/locales-uk-UA.xml +290 -288
  46. data/resource/locale/locales-vi-VN.xml +289 -288
  47. data/resource/locale/locales-zh-CN.xml +288 -288
  48. data/resource/locale/locales-zh-TW.xml +289 -288
  49. data/resource/style/apa.csl +316 -127
  50. data/resource/style/{bibtex-x2.csl → bibtex.csl} +7 -5
  51. data/resource/style/chicago-annotated-bibliography.csl +513 -0
  52. data/resource/style/chicago-author-date-basque.csl +707 -0
  53. data/resource/style/chicago-author-date-de.csl +394 -0
  54. data/resource/style/chicago-author-date.csl +223 -167
  55. data/resource/style/chicago-dated-note-biblio-no-ibid.csl +472 -0
  56. data/resource/style/chicago-fullnote-bibliography-delimiter-fixes.csl +972 -0
  57. data/resource/style/chicago-fullnote-bibliography-no-ibid-delimiter-fixes.csl +963 -0
  58. data/resource/style/chicago-fullnote-bibliography-no-ibid.csl +785 -0
  59. data/resource/style/chicago-fullnote-bibliography.csl +429 -321
  60. data/resource/style/chicago-library-list.csl +511 -0
  61. data/resource/style/chicago-note-biblio-no-ibid.csl +514 -0
  62. data/resource/style/chicago-note-bibliography.csl +276 -192
  63. data/resource/style/chicago-quick-copy.csl +685 -0
  64. data/resource/style/ieee.csl +296 -126
  65. data/resource/style/mla-notes.csl +796 -0
  66. data/resource/style/{mla-x.csl → mla-underline.csl} +14 -17
  67. data/resource/style/mla-url.csl +214 -0
  68. data/resource/style/mla.csl +289 -84
  69. data/resource/style/vancouver-brackets.csl +256 -0
  70. data/resource/style/vancouver-superscript-bracket-only-year.csl +165 -0
  71. data/resource/style/vancouver-superscript.csl +256 -0
  72. data/resource/style/vancouver.csl +256 -0
  73. data/spec/citeproc/date_spec.rb +7 -3
  74. data/spec/citeproc/variable_spec.rb +1 -1
  75. data/spec/csl/style_spec.rb +2 -2
  76. metadata +48 -48
  77. data/resource/style/acta-materialia-x.csl +0 -128
  78. data/resource/style/advanced-engineering-materials-x.csl +0 -121
  79. data/resource/style/ama.csl +0 -185
  80. data/resource/style/ama2-x.csl +0 -179
  81. data/resource/style/apa-x.csl +0 -324
  82. data/resource/style/apsa-x.csl +0 -163
  83. data/resource/style/apsa.csl +0 -176
  84. data/resource/style/asa-x.csl +0 -203
  85. data/resource/style/asa.csl +0 -216
  86. data/resource/style/asm-journals-x.csl +0 -131
  87. data/resource/style/bluebook-demo-x.csl +0 -392
  88. data/resource/style/bluebook-demo.csl +0 -942
  89. data/resource/style/greek-chicago-x.csl +0 -1182
  90. data/resource/style/harvard1-institution-italic.csl +0 -190
  91. data/resource/style/harvard1.csl +0 -181
  92. data/resource/style/mhra-x.csl +0 -312
  93. data/resource/style/mhra.csl +0 -390
  94. data/resource/style/mhra_note_without_bibliography-x.csl +0 -330
  95. data/resource/style/mhra_note_without_bibliography.csl +0 -338
  96. data/resource/style/nature-x.csl +0 -81
  97. data/resource/style/nature.csl +0 -88
  98. data/resource/style/nlm.csl +0 -117
@@ -1,176 +0,0 @@
1
- <style
2
- xmlns="http://purl.org/net/xbiblio/csl"
3
- class="in-text"
4
- xml:lang="en">
5
- <info>
6
- <title>American Political Science Association</title>
7
- <id>http://www.zotero.org/styles/apsa</id>
8
- <link href="http://www.zotero.org/styles/apsa" />
9
- <author>
10
- <name>Julian Onions</name>
11
- <email>julian.onions@gmail.com</email>
12
- </author>
13
- <category term="author-date" />
14
- <category term="political_science" />
15
- <updated />
16
- <summary>The American Political Science Association style.</summary>
17
- <link href="http://www.ipsonet.org/data/files/APSAStyleManual2006.pdf" rel="documentation" />
18
- </info>
19
- <macro name="editor">
20
- <names delimiter=", " variable="editor">
21
- <label form="short" suffix=". " text-case="lowercase" />
22
- <name and="text" delimiter=", " />
23
- </names>
24
- </macro>
25
- <macro name="author">
26
- <names variable="author">
27
- <name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
28
- <label form="short" prefix=", " suffix="." text-case="lowercase" />
29
- <substitute>
30
- <names variable="editor" />
31
- <text variable="title" />
32
- </substitute>
33
- </names>
34
- </macro>
35
- <macro name="author-short">
36
- <names variable="author">
37
- <name and="text" delimiter=", " form="short" initialize-with=". " />
38
- <substitute>
39
- <names variable="editor" />
40
- <names variable="translator" />
41
- <text variable="title" />
42
- </substitute>
43
- </names>
44
- </macro>
45
- <macro name="access">
46
- <group delimiter=" ">
47
- <text value="Available at:" />
48
- <text variable="URL" />
49
- <group prefix="[" suffix="]">
50
- <text suffix=" " term="accessed" text-case="capitalize-first" />
51
- <date variable="accessed">
52
- <date-part name="month" suffix=" " />
53
- <date-part name="day" suffix=", " />
54
- <date-part name="year" />
55
- </date>
56
- </group>
57
- </group>
58
- </macro>
59
- <macro name="title">
60
- <choose>
61
- <if type="book">
62
- <text font-style="italic" variable="title" />
63
- </if>
64
- <else>
65
- <text variable="title" />
66
- </else>
67
- </choose>
68
- </macro>
69
- <macro name="publisher">
70
- <group delimiter=": ">
71
- <text variable="publisher-place" />
72
- <text variable="publisher" />
73
- </group>
74
- </macro>
75
- <macro name="year-date">
76
- <group prefix=" ">
77
- <choose>
78
- <if variable="issued">
79
- <date variable="issued">
80
- <date-part name="year" />
81
- </date>
82
- </if>
83
- <else>
84
- <text term="no date" />
85
- </else>
86
- </choose>
87
- </group>
88
- </macro>
89
- <macro name="edition">
90
- <choose>
91
- <if is-numeric="edition">
92
- <group delimiter=" ">
93
- <number form="ordinal" variable="edition" />
94
- <text form="short" suffix="." term="edition" />
95
- </group>
96
- </if>
97
- <else>
98
- <text suffix="." variable="edition" />
99
- </else>
100
- </choose>
101
- </macro>
102
- <citation
103
- collapse="year"
104
- disambiguate-add-givenname="true"
105
- disambiguate-add-names="true"
106
- disambiguate-add-year-suffix="true"
107
- et-al-min="4"
108
- et-al-subsequent-min="6"
109
- et-al-subsequent-use-first="1"
110
- et-al-use-first="1">
111
- <layout delimiter="; " prefix="(" suffix=")">
112
- <group delimiter=", ">
113
- <group delimiter=" ">
114
- <text macro="author-short" />
115
- <text macro="year-date" />
116
- </group>
117
- <text variable="locator" />
118
- </group>
119
- </layout>
120
- </citation>
121
- <bibliography
122
- et-al-min="4"
123
- et-al-use-first="1"
124
- hanging-indent="true">
125
- <sort>
126
- <key macro="author" />
127
- <key variable="title" />
128
- </sort>
129
- <layout>
130
- <text macro="author" suffix="." />
131
- <date prefix=" " suffix="." variable="issued">
132
- <date-part name="year" />
133
- </date>
134
- <choose>
135
- <if type="book">
136
- <group delimiter=" " prefix=" ">
137
- <text macro="title" suffix="." />
138
- <text macro="edition" />
139
- <text macro="editor" suffix="." />
140
- </group>
141
- <text macro="publisher" prefix=" " suffix="." />
142
- </if>
143
- <else-if type="chapter">
144
- <text macro="title" prefix=" " quotes="true" suffix="." />
145
- <group delimiter=" " prefix=" ">
146
- <text term="in" text-case="capitalize-first" />
147
- <text font-style="italic" suffix="," variable="container-title" />
148
- <text suffix="," variable="collection-title" />
149
- <text macro="editor" suffix="." />
150
- <group suffix=".">
151
- <text macro="publisher" />
152
- <group prefix=", ">
153
- <text prefix="p. " variable="page" />
154
- </group>
155
- </group>
156
- </group>
157
- </else-if>
158
- <else>
159
- <group delimiter=" " prefix=" " suffix=".">
160
- <text macro="title" quotes="true" />
161
- <text macro="editor" />
162
- </group>
163
- <group prefix=" " suffix=".">
164
- <text font-style="italic" variable="container-title" />
165
- <group prefix=" ">
166
- <text variable="volume" />
167
- <text prefix="(" suffix=")" variable="issue" />
168
- </group>
169
- <text prefix=": " variable="page" />
170
- </group>
171
- </else>
172
- </choose>
173
- <text macro="access" prefix=" " suffix="." />
174
- </layout>
175
- </bibliography>
176
- </style>
@@ -1,203 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
3
- <info>
4
- <title>American Sociological Association</title>
5
- <id>http://www.zotero.org/styles/asa</id>
6
- <link href="http://www.zotero.org/styles/asa" rel="self"/>
7
- <author>
8
- <name>Julian Onions</name>
9
- <email>julian.onions@gmail.com</email>
10
- </author>
11
- <category citation-format="author-date"/>
12
- <category field="sociology"/>
13
- <updated>2008-10-20T16:32:11+00:00</updated>
14
- <summary>The ASA style.</summary>
15
- <link href="http://www.asanet.org/galleries/default-file/asaguidelinesnew.pdf" rel="documentation"/>
16
- </info>
17
- <macro name="editor">
18
- <names variable="editor">
19
- <label form="verb" text-case="lowercase" suffix=" "/>
20
- <name and="text" delimiter=", "/>
21
- </names>
22
- </macro>
23
- <macro name="series-editor">
24
- <names variable="original-author">
25
- <label form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
26
- <name and="text" delimiter=", "/>
27
- </names>
28
- </macro>
29
- <macro name="anon">
30
- <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
31
- </macro>
32
- <macro name="author">
33
- <names variable="author">
34
- <name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
35
- <label form="short" prefix=", " suffix="." text-case="lowercase" strip-periods="true"/>
36
- <substitute>
37
- <names variable="editor"/>
38
- <names variable="translator"/>
39
- <text macro="anon"/>
40
- </substitute>
41
- </names>
42
- </macro>
43
- <macro name="author-short">
44
- <names variable="author">
45
- <name form="short" and="text" delimiter=", "/>
46
- <substitute>
47
- <names variable="editor"/>
48
- <names variable="translator"/>
49
- <text macro="anon"/>
50
- </substitute>
51
- </names>
52
- </macro>
53
- <macro name="access">
54
- <group>
55
- <text variable="URL"/>
56
- <group prefix=" (" suffix=")">
57
- <text term="accessed" text-case="capitalize-first" suffix=" "/>
58
- <date variable="accessed">
59
- <date-part name="month" suffix=" "/>
60
- <date-part name="day" suffix=", "/>
61
- <date-part name="year"/>
62
- </date>
63
- </group>
64
- </group>
65
- </macro>
66
- <macro name="title">
67
- <choose>
68
- <if type="thesis">
69
- <text variable="title"/>
70
- </if>
71
- <else-if type="bill book graphic legal_case motion_picture report song" match="any">
72
- <text variable="title" font-style="italic"/>
73
- </else-if>
74
- <else>
75
- <text variable="title" quotes="true"/>
76
- </else>
77
- </choose>
78
- </macro>
79
- <macro name="publisher">
80
- <group delimiter=": ">
81
- <text variable="publisher-place"/>
82
- <text variable="publisher"/>
83
- </group>
84
- </macro>
85
- <macro name="year-date">
86
- <choose>
87
- <if variable="issued">
88
- <date variable="issued">
89
- <date-part name="year"/>
90
- </date>
91
- </if>
92
- <else>
93
- <text term="no date" form="short" strip-periods="true"/>
94
- </else>
95
- </choose>
96
- </macro>
97
- <macro name="day-month">
98
- <date variable="issued">
99
- <date-part name="month"/>
100
- <date-part name="day" prefix=" "/>
101
- </date>
102
- </macro>
103
- <macro name="pages">
104
- <label variable="page" form="short" suffix=". " text-case="capitalize-first" strip-periods="true"/>
105
- <text variable="page"/>
106
- </macro>
107
- <macro name="edition">
108
- <choose>
109
- <if is-numeric="edition">
110
- <group delimiter=" ">
111
- <number variable="edition" form="ordinal"/>
112
- <text term="edition" form="short" suffix="." strip-periods="true"/>
113
- </group>
114
- </if>
115
- <else>
116
- <text variable="edition" suffix="."/>
117
- </else>
118
- </choose>
119
- </macro>
120
- <citation et-al-min="4" 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">
121
- <layout prefix="(" suffix=")" delimiter="; ">
122
- <group delimiter=":">
123
- <group delimiter=" ">
124
- <text macro="author-short"/>
125
- <text macro="year-date"/>
126
- </group>
127
- <text variable="locator"/>
128
- </group>
129
- </layout>
130
- </citation>
131
- <bibliography hanging-indent="true" et-al-min="6" et-al-use-first="1">
132
- <sort>
133
- <key macro="author"/>
134
- <key variable="title"/>
135
- </sort>
136
- <layout suffix=".">
137
- <group delimiter=" ">
138
- <text macro="author" suffix="."/>
139
- <text macro="year-date" suffix="."/>
140
- </group>
141
- <choose>
142
- <if type="article-newspaper article-magazine" match="any">
143
- <group delimiter=" ">
144
- <text macro="title" prefix=" " suffix="."/>
145
- </group>
146
- <group prefix=" " delimiter=", ">
147
- <text variable="container-title" font-style="italic"/>
148
- <text macro="day-month"/>
149
- <text variable="edition"/>
150
- <text variable="page"/>
151
- </group>
152
- </if>
153
- <else-if type="thesis">
154
- <text macro="title" prefix=" " suffix="." quotes="true"/>
155
- <group prefix=" " delimiter=", ">
156
- <text macro="edition"/>
157
- <text macro="editor" suffix="."/>
158
- <text variable="genre"/>
159
- <text macro="publisher"/>
160
- </group>
161
- </else-if>
162
- <else-if type="bill book graphic legal_case motion_picture report song" match="any">
163
- <group delimiter=" ">
164
- <text macro="title" prefix=" " suffix="."/>
165
- <text macro="edition"/>
166
- <text macro="editor" suffix="."/>
167
- <text macro="publisher"/>
168
- </group>
169
- </else-if>
170
- <else-if type="chapter paper-conference" match="any">
171
- <group delimiter=" ">
172
- <text macro="title" prefix=" " suffix="."/>
173
- <group delimiter=", " suffix=".">
174
- <group delimiter=" ">
175
- <text macro="pages"/>
176
- <text term="in" text-case="lowercase"/>
177
- <text variable="container-title" font-style="italic"/>
178
- </group>
179
- <text variable="volume" prefix="vol. "/>
180
- <text variable="collection-title" font-style="italic"/>
181
- <text macro="editor"/>
182
- </group>
183
- <text macro="publisher"/>
184
- </group>
185
- </else-if>
186
- <else>
187
- <group suffix=".">
188
- <text macro="title" prefix=" "/>
189
- <text macro="editor" prefix=" "/>
190
- </group>
191
- <group prefix=" " suffix="." delimiter=" ">
192
- <text variable="container-title" font-style="italic"/>
193
- <group delimiter=":">
194
- <text variable="volume"/>
195
- <text variable="page"/>
196
- </group>
197
- </group>
198
- </else>
199
- </choose>
200
- <text prefix=" " macro="access" suffix="."/>
201
- </layout>
202
- </bibliography>
203
- </style>
@@ -1,216 +0,0 @@
1
- <style
2
- xmlns="http://purl.org/net/xbiblio/csl"
3
- class="in-text"
4
- xml:lang="en">
5
- <info>
6
- <title>American Sociological Association</title>
7
- <id>http://www.zotero.org/styles/asa</id>
8
- <link href="http://www.zotero.org/styles/asa" />
9
- <author>
10
- <name>Julian Onions</name>
11
- <email>julian.onions@gmail.com</email>
12
- </author>
13
- <category term="author-date" />
14
- <category term="sociology" />
15
- <updated />
16
- <summary>The ASA style.</summary>
17
- <link href="http://www.asanet.org/galleries/default-file/asaguidelinesnew.pdf" rel="documentation" />
18
- </info>
19
- <macro name="editor">
20
- <names variable="editor">
21
- <label form="verb" suffix=" " text-case="lowercase" />
22
- <name and="text" delimiter=", " />
23
- </names>
24
- </macro>
25
- <macro name="series-editor">
26
- <names variable="original-author">
27
- <label form="short" suffix=". " text-case="capitalize-first" />
28
- <name and="text" delimiter=", " />
29
- </names>
30
- </macro>
31
- <macro name="anon">
32
- <text form="short" term="anonymous" text-case="capitalize-first" />
33
- </macro>
34
- <macro name="author">
35
- <names variable="author">
36
- <name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="first" sort-separator=", " />
37
- <label form="short" prefix=", " suffix="." text-case="lowercase" />
38
- <substitute>
39
- <names variable="editor" />
40
- <names variable="translator" />
41
- <text macro="anon" />
42
- </substitute>
43
- </names>
44
- </macro>
45
- <macro name="author-short">
46
- <names variable="author">
47
- <name and="text" delimiter=", " form="short" />
48
- <substitute>
49
- <names variable="editor" />
50
- <names variable="translator" />
51
- <text macro="anon" />
52
- </substitute>
53
- </names>
54
- </macro>
55
- <macro name="access">
56
- <group>
57
- <text variable="URL" />
58
- <group prefix=" (" suffix=")">
59
- <text suffix=" " term="accessed" text-case="capitalize-first" />
60
- <date variable="accessed">
61
- <date-part name="month" suffix=" " />
62
- <date-part name="day" suffix=", " />
63
- <date-part name="year" />
64
- </date>
65
- </group>
66
- </group>
67
- </macro>
68
- <macro name="title">
69
- <choose>
70
- <if type="thesis">
71
- <text variable="title" />
72
- </if>
73
- <else-if type="book">
74
- <text font-style="italic" variable="title" />
75
- </else-if>
76
- <else>
77
- <text quotes="true" variable="title" />
78
- </else>
79
- </choose>
80
- </macro>
81
- <macro name="publisher">
82
- <group delimiter=": ">
83
- <text variable="publisher-place" />
84
- <text variable="publisher" />
85
- </group>
86
- </macro>
87
- <macro name="year-date">
88
- <choose>
89
- <if variable="issued">
90
- <date variable="issued">
91
- <date-part name="year" />
92
- </date>
93
- </if>
94
- <else>
95
- <text form="short" term="no date" />
96
- </else>
97
- </choose>
98
- </macro>
99
- <macro name="day-month">
100
- <date variable="issued">
101
- <date-part name="month" />
102
- <date-part name="day" prefix=" " />
103
- </date>
104
- </macro>
105
- <macro name="pages">
106
- <label form="short" suffix=". " text-case="capitalize-first" variable="page" />
107
- <text variable="page" />
108
- </macro>
109
- <macro name="edition">
110
- <choose>
111
- <if is-numeric="edition">
112
- <group delimiter=" ">
113
- <number form="ordinal" variable="edition" />
114
- <text form="short" suffix="." term="edition" />
115
- </group>
116
- </if>
117
- <else>
118
- <text suffix="." variable="edition" />
119
- </else>
120
- </choose>
121
- </macro>
122
- <citation
123
- collapse="year"
124
- disambiguate-add-givenname="true"
125
- disambiguate-add-names="true"
126
- disambiguate-add-year-suffix="true"
127
- et-al-min="4"
128
- et-al-subsequent-min="3"
129
- et-al-subsequent-use-first="1"
130
- et-al-use-first="1">
131
- <layout delimiter="; " prefix="(" suffix=")">
132
- <group delimiter=":">
133
- <group delimiter=" ">
134
- <text macro="author-short" />
135
- <text macro="year-date" />
136
- </group>
137
- <text variable="locator" />
138
- </group>
139
- </layout>
140
- </citation>
141
- <bibliography
142
- et-al-min="6"
143
- et-al-use-first="1"
144
- hanging-indent="true">
145
- <sort>
146
- <key macro="author" />
147
- <key variable="title" />
148
- </sort>
149
- <layout suffix=".">
150
- <group delimiter=" ">
151
- <text macro="author" suffix="." />
152
- <text macro="year-date" suffix="." />
153
- </group>
154
- <choose>
155
- <if match="any" type="article-newspaper article-magazine">
156
- <group delimiter=" ">
157
- <text macro="title" prefix=" " suffix="." />
158
- </group>
159
- <group delimiter=", " prefix=" ">
160
- <text font-style="italic" variable="container-title" />
161
- <text macro="day-month" />
162
- <text variable="edition" />
163
- <text variable="page" />
164
- </group>
165
- </if>
166
- <else-if type="thesis">
167
- <text macro="title" prefix=" " quotes="true" suffix="." />
168
- <group delimiter=", " prefix=" ">
169
- <text macro="edition" />
170
- <text macro="editor" suffix="." />
171
- <text variable="genre" />
172
- <text macro="publisher" />
173
- </group>
174
- </else-if>
175
- <else-if type="book">
176
- <group delimiter=" ">
177
- <text macro="title" prefix=" " suffix="." />
178
- <text macro="edition" />
179
- <text macro="editor" suffix="." />
180
- <text macro="publisher" />
181
- </group>
182
- </else-if>
183
- <else-if type="chapter">
184
- <group delimiter=" ">
185
- <text macro="title" prefix=" " suffix="." />
186
- <group delimiter=", " suffix=".">
187
- <group delimiter=" ">
188
- <text macro="pages" />
189
- <text term="in" text-case="lowercase" />
190
- <text font-style="italic" variable="container-title" />
191
- </group>
192
- <text prefix="vol. " variable="volume" />
193
- <text font-style="italic" variable="collection-title" />
194
- <text macro="editor" />
195
- </group>
196
- <text macro="publisher" />
197
- </group>
198
- </else-if>
199
- <else>
200
- <group suffix=".">
201
- <text macro="title" prefix=" " />
202
- <text macro="editor" prefix=" " />
203
- </group>
204
- <group delimiter=" " prefix=" " suffix=".">
205
- <text font-style="italic" variable="container-title" />
206
- <group delimiter=":">
207
- <text variable="volume" />
208
- <text variable="page" />
209
- </group>
210
- </group>
211
- </else>
212
- </choose>
213
- <text macro="access" prefix=" " suffix="." />
214
- </layout>
215
- </bibliography>
216
- </style>