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,190 +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>Harvard Reference format 1 (Author-Date) [institutions experimental]</title>
5
- <id>http://www.zotero.org/styles/harvard1instexp</id>
6
- <link href="http://www.zotero.org/styles/harvard1instexp" 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="generic-base"/>
13
- <updated/>
14
- <summary>The Harvard author-date style</summary>
15
- <link href="http://libweb.anglia.ac.uk/referencing/harvard.htm" rel="documentation"/>
16
- <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
17
- </info>
18
- <macro name="editor">
19
- <names variable="editor" delimiter=", ">
20
- <name and="symbol" initialize-with=". " delimiter=", "/>
21
- <label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
22
- </names>
23
- </macro>
24
- <macro name="anon">
25
- <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
26
- </macro>
27
- <macro name="author">
28
- <names variable="author">
29
- <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
30
- <institution delimiter=", ">
31
- <institution-part name="long" font-style="italic"/>
32
- </institution>
33
- <label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
34
- <substitute>
35
- <names variable="editor"/>
36
- <text macro="anon"/>
37
- </substitute>
38
- </names>
39
- </macro>
40
- <macro name="author-short">
41
- <names variable="author">
42
- <name form="short" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
43
- <institution delimiter=", " institution-parts="short">
44
- <institution-part name="short" font-style="italic"/>
45
- <institution-part name="long" font-style="italic"/>
46
- </institution>
47
- <substitute>
48
- <names variable="editor"/>
49
- <names variable="translator"/>
50
- <text macro="anon"/>
51
- </substitute>
52
- </names>
53
- </macro>
54
- <macro name="access">
55
- <group>
56
- <text value="Available at:" suffix=" "/>
57
- <text variable="URL"/>
58
- <group prefix=" [" suffix="]">
59
- <text term="accessed" text-case="capitalize-first" suffix=" "/>
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="bill book graphic legal_case motion_picture report song thesis" match="any">
71
- <text variable="title" font-style="italic"/>
72
- </if>
73
- <else>
74
- <text variable="title"/>
75
- </else>
76
- </choose>
77
- </macro>
78
- <macro name="publisher">
79
- <group delimiter=": ">
80
- <text variable="publisher-place"/>
81
- <text variable="publisher"/>
82
- </group>
83
- </macro>
84
- <macro name="year-date">
85
- <choose>
86
- <if variable="issued">
87
- <date variable="issued">
88
- <date-part name="year"/>
89
- </date>
90
- </if>
91
- <else>
92
- <text term="no date" form="short"/>
93
- </else>
94
- </choose>
95
- </macro>
96
- <macro name="edition">
97
- <choose>
98
- <if is-numeric="edition">
99
- <group delimiter=" ">
100
- <number variable="edition" form="ordinal"/>
101
- <text term="edition" form="short" suffix="." strip-periods="true"/>
102
- </group>
103
- </if>
104
- <else>
105
- <text variable="edition" suffix="."/>
106
- </else>
107
- </choose>
108
- </macro>
109
- <macro name="pages">
110
- <group>
111
- <label variable="page" form="short" suffix=" "/>
112
- <text variable="page"/>
113
- </group>
114
- </macro>
115
- <citation et-al-min="3" 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">
116
- <layout prefix="(" suffix=")" delimiter="; ">
117
- <group delimiter=", ">
118
- <group delimiter=" ">
119
- <text macro="author-short"/>
120
- <text macro="year-date"/>
121
- </group>
122
- <group>
123
- <label variable="locator" suffix="." form="short" strip-periods="true"/>
124
- <text variable="locator"/>
125
- </group>
126
- </group>
127
- </layout>
128
- </citation>
129
- <bibliography hanging-indent="true" et-al-min="4" et-al-use-first="1">
130
- <sort>
131
- <key macro="author"/>
132
- <key variable="title"/>
133
- </sort>
134
- <layout>
135
- <text macro="author" suffix=","/>
136
- <date variable="issued" prefix=" " suffix=".">
137
- <date-part name="year"/>
138
- </date>
139
- <choose>
140
- <if type="bill book graphic legal_case motion_picture report song" match="any">
141
- <group prefix=" " delimiter=" " suffix=",">
142
- <text macro="title"/>
143
- <text macro="edition"/>
144
- <text macro="editor"/>
145
- </group>
146
- <text prefix=" " suffix="." macro="publisher"/>
147
- </if>
148
- <else-if type="chapter paper-conference" match="any">
149
- <text macro="title" prefix=" " suffix="."/>
150
- <group prefix=" " delimiter=" ">
151
- <text term="in" text-case="capitalize-first"/>
152
- <text macro="editor"/>
153
- <text variable="container-title" font-style="italic" suffix="."/>
154
- <text variable="collection-title" suffix="."/>
155
- <text variable="event" suffix="."/>
156
- <group suffix="." delimiter=", ">
157
- <text macro="publisher" prefix=" "/>
158
- <text macro="pages"/>
159
- </group>
160
- </group>
161
- </else-if>
162
- <else-if type="thesis">
163
- <group prefix=" " suffix="." delimiter=". ">
164
- <text macro="title"/>
165
- <text variable="genre"/>
166
- <text macro="publisher"/>
167
- </group>
168
- </else-if>
169
- <else>
170
- <group suffix=".">
171
- <text macro="title" prefix=" "/>
172
- <text macro="editor" prefix=" "/>
173
- </group>
174
- <group prefix=" " suffix=".">
175
- <text variable="container-title" font-style="italic"/>
176
- <group prefix=", ">
177
- <text variable="volume"/>
178
- <text variable="issue" prefix="(" suffix=")"/>
179
- </group>
180
- <group prefix=", ">
181
- <label variable="page" suffix="." form="short" strip-periods="true"/>
182
- <text variable="page"/>
183
- </group>
184
- </group>
185
- </else>
186
- </choose>
187
- <text prefix=" " macro="access" suffix="."/>
188
- </layout>
189
- </bibliography>
190
- </style>
@@ -1,181 +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>Harvard Reference format 1 (Author-Date)</title>
5
- <id>http://www.zotero.org/styles/harvard1</id>
6
- <link href="http://www.zotero.org/styles/harvard1" 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="generic-base"/>
13
- <updated>2008-10-29T21:20:42+00:00</updated>
14
- <summary>The Harvard author-date style</summary>
15
- <link href="http://libweb.anglia.ac.uk/referencing/harvard.htm" rel="documentation"/>
16
- </info>
17
- <macro name="editor">
18
- <names variable="editor" delimiter=", ">
19
- <name and="symbol" initialize-with=". " delimiter=", "/>
20
- <label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
21
- </names>
22
- </macro>
23
- <macro name="anon">
24
- <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
25
- </macro>
26
- <macro name="author">
27
- <names variable="author">
28
- <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
29
- <label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
30
- <substitute>
31
- <names variable="editor"/>
32
- <text macro="anon"/>
33
- </substitute>
34
- </names>
35
- </macro>
36
- <macro name="author-short">
37
- <names variable="author">
38
- <name form="short" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
39
- <substitute>
40
- <names variable="editor"/>
41
- <names variable="translator"/>
42
- <text macro="anon"/>
43
- </substitute>
44
- </names>
45
- </macro>
46
- <macro name="access">
47
- <group>
48
- <text value="Available at:" suffix=" "/>
49
- <text variable="URL"/>
50
- <group prefix=" [" suffix="]">
51
- <text term="accessed" text-case="capitalize-first" suffix=" "/>
52
- <date variable="accessed">
53
- <date-part name="month" suffix=" "/>
54
- <date-part name="day" suffix=", "/>
55
- <date-part name="year"/>
56
- </date>
57
- </group>
58
- </group>
59
- </macro>
60
- <macro name="title">
61
- <choose>
62
- <if type="bill book graphic legal_case motion_picture report song thesis" match="any">
63
- <text variable="title" font-style="italic"/>
64
- </if>
65
- <else>
66
- <text variable="title"/>
67
- </else>
68
- </choose>
69
- </macro>
70
- <macro name="publisher">
71
- <group delimiter=": ">
72
- <text variable="publisher-place"/>
73
- <text variable="publisher"/>
74
- </group>
75
- </macro>
76
- <macro name="year-date">
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" form="short"/>
85
- </else>
86
- </choose>
87
- </macro>
88
- <macro name="edition">
89
- <choose>
90
- <if is-numeric="edition">
91
- <group delimiter=" ">
92
- <number variable="edition" form="ordinal"/>
93
- <text term="edition" form="short" suffix="." strip-periods="true"/>
94
- </group>
95
- </if>
96
- <else>
97
- <text variable="edition" suffix="."/>
98
- </else>
99
- </choose>
100
- </macro>
101
- <macro name="pages">
102
- <group>
103
- <label variable="page" form="short" suffix=" "/>
104
- <text variable="page"/>
105
- </group>
106
- </macro>
107
- <citation et-al-min="3" 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">
108
- <layout prefix="(" suffix=")" delimiter="; ">
109
- <group delimiter=", ">
110
- <group delimiter=" ">
111
- <text macro="author-short"/>
112
- <text macro="year-date"/>
113
- </group>
114
- <group>
115
- <label variable="locator" suffix="." form="short" strip-periods="true"/>
116
- <text variable="locator"/>
117
- </group>
118
- </group>
119
- </layout>
120
- </citation>
121
- <bibliography hanging-indent="true" et-al-min="4" et-al-use-first="1">
122
- <sort>
123
- <key macro="author"/>
124
- <key variable="title"/>
125
- </sort>
126
- <layout>
127
- <text macro="author" suffix=","/>
128
- <date variable="issued" prefix=" " suffix=".">
129
- <date-part name="year"/>
130
- </date>
131
- <choose>
132
- <if type="bill book graphic legal_case motion_picture report song" match="any">
133
- <group prefix=" " delimiter=" " suffix=",">
134
- <text macro="title"/>
135
- <text macro="edition"/>
136
- <text macro="editor"/>
137
- </group>
138
- <text prefix=" " suffix="." macro="publisher"/>
139
- </if>
140
- <else-if type="chapter paper-conference" match="any">
141
- <text macro="title" prefix=" " suffix="."/>
142
- <group prefix=" " delimiter=" ">
143
- <text term="in" text-case="capitalize-first"/>
144
- <text macro="editor"/>
145
- <text variable="container-title" font-style="italic" suffix="."/>
146
- <text variable="collection-title" suffix="."/>
147
- <group suffix="." delimiter=", ">
148
- <text macro="publisher" prefix=" "/>
149
- <text macro="pages"/>
150
- </group>
151
- </group>
152
- </else-if>
153
- <else-if type="thesis">
154
- <group prefix=" " suffix="." delimiter=". ">
155
- <text macro="title"/>
156
- <text variable="genre"/>
157
- <text macro="publisher"/>
158
- </group>
159
- </else-if>
160
- <else>
161
- <group suffix=".">
162
- <text macro="title" prefix=" "/>
163
- <text macro="editor" prefix=" "/>
164
- </group>
165
- <group prefix=" " suffix=".">
166
- <text variable="container-title" font-style="italic"/>
167
- <group prefix=", ">
168
- <text variable="volume"/>
169
- <text variable="issue" prefix="(" suffix=")"/>
170
- </group>
171
- <group prefix=", ">
172
- <label variable="page" suffix="." form="short" strip-periods="true"/>
173
- <text variable="page"/>
174
- </group>
175
- </group>
176
- </else>
177
- </choose>
178
- <text prefix=" " macro="access" suffix="."/>
179
- </layout>
180
- </bibliography>
181
- </style>
@@ -1,312 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0">
3
- <info>
4
- <title>Modern Humanities Research Association (Note with Bibliography)</title>
5
- <id>http://www.zotero.org/styles/mhra</id>
6
- <link href="http://www.zotero.org/styles/mhra" rel="self"/>
7
- <link href="http://www.mhra.org.uk/Publications/Books/StyleGuide/download.shtml" rel="documentation"/>
8
- <author>
9
- <name>Julian Onions</name>
10
- <email>julian.onions@gmail.com</email>
11
- </author>
12
- <category field="history"/>
13
- <category citation-format="numeric"/>
14
- <category field="generic-base"/>
15
- <updated>2008-02-02T00:00:00+00:00</updated>
16
- </info>
17
- <macro name="editor-translator">
18
- <names variable="editor translator" prefix="" suffix="" delimiter=", ">
19
- <label form="verb-short" prefix=" " text-case="lowercase" suffix=" " strip-periods="true"/>
20
- <name and="text" delimiter=", "/>
21
- </names>
22
- </macro>
23
- <macro name="editor-translator-short">
24
- <names variable="editor translator" prefix="" suffix="" delimiter=", ">
25
- <label form="short" prefix=" " text-case="lowercase" suffix=". " strip-periods="true"/>
26
- <name and="text" delimiter=", "/>
27
- </names>
28
- </macro>
29
- <macro name="author">
30
- <names variable="author">
31
- <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
32
- <label form="short" prefix=", " suffix="." strip-periods="true"/>
33
- <substitute>
34
- <names variable="editor"/>
35
- <names variable="translator"/>
36
- <text macro="title"/>
37
- </substitute>
38
- </names>
39
- </macro>
40
- <macro name="author-full">
41
- <names variable="author">
42
- <name name-as-sort-order="all" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
43
- <label form="short" prefix=", " suffix="." strip-periods="true"/>
44
- <substitute>
45
- <names variable="editor"/>
46
- <names variable="translator"/>
47
- <text macro="title"/>
48
- </substitute>
49
- </names>
50
- </macro>
51
- <macro name="author-short">
52
- <names variable="author">
53
- <name form="long" and="text" delimiter=", "/>
54
- <label form="short" prefix=", " suffix="." strip-periods="true"/>
55
- </names>
56
- </macro>
57
- <macro name="access">
58
- <group>
59
- <text variable="URL"/>
60
- <group prefix=" (" suffix=")" delimiter=" ">
61
- <text term="accessed" text-case="lowercase" suffix=" "/>
62
- <date variable="accessed" suffix=", ">
63
- <date-part name="month" suffix=" "/>
64
- <date-part name="day" suffix=", "/>
65
- <date-part name="year"/>
66
- </date>
67
- </group>
68
- </group>
69
- </macro>
70
- <macro name="title">
71
- <choose>
72
- <if type="thesis">
73
- <text variable="title" form="long" quotes="true"/>
74
- </if>
75
- <else-if type="bill book graphic legal_case motion_picture report song" match="any">
76
- <text variable="title" form="long" font-style="italic"/>
77
- </else-if>
78
- <else>
79
- <text variable="title" form="long" quotes="true"/>
80
- </else>
81
- </choose>
82
- </macro>
83
- <macro name="publisher">
84
- <group delimiter=": ">
85
- <text variable="publisher-place"/>
86
- <text variable="publisher"/>
87
- </group>
88
- </macro>
89
- <macro name="pages">
90
- <choose>
91
- <if type="article-journal" match="none">
92
- <label variable="page" form="short" suffix=". " strip-periods="true"/>
93
- </if>
94
- </choose>
95
- <text variable="page"/>
96
- </macro>
97
- <macro name="locator">
98
- <label variable="locator" form="short" suffix=". " strip-periods="true"/>
99
- <text variable="locator"/>
100
- </macro>
101
- <macro name="vols">
102
- <choose>
103
- <if variable="number-of-volumes">
104
- <text variable="number-of-volumes"/>
105
- <text term="volume" prefix=" " form="short" plural="true" strip-periods="true"/>
106
- </if>
107
- </choose>
108
- </macro>
109
- <citation>
110
- <layout suffix="." delimiter="; ">
111
- <group suffix="">
112
- <text macro="author-short" suffix=", "/>
113
- <text macro="title" prefix=""/>
114
- <choose>
115
- <if type="thesis">
116
- <group prefix=" (" delimiter=", " suffix=")">
117
- <text variable="genre"/>
118
- <text variable="publisher"/>
119
- <date variable="issued">
120
- <date-part name="year"/>
121
- </date>
122
- </group>
123
- </if>
124
- <else-if type="chapter paper-conference" match="any">
125
- <group prefix=", ">
126
- <text term="in" text-case="lowercase"/>
127
- <text variable="container-title" font-style="italic" prefix=" " suffix=","/>
128
- <text variable="collection-title" prefix=" " suffix=","/>
129
- <text macro="editor-translator-short"/>
130
- </group>
131
- <group prefix=" (" suffix=")" delimiter=", ">
132
- <text macro="publisher"/>
133
- <date variable="issued">
134
- <date-part name="year"/>
135
- </date>
136
- </group>
137
- </else-if>
138
- <else-if type="bill book graphic legal_case motion_picture report song" match="any">
139
- <group delimiter=", " prefix=" ">
140
- <text macro="editor-translator-short"/>
141
- <text variable="collection-title"/>
142
- <text variable="edition" suffix=" edn"/>
143
- <text macro="vols"/>
144
- </group>
145
- <group prefix=" (" suffix=")" delimiter=", ">
146
- <text macro="publisher"/>
147
- <date variable="issued" prefix=" " suffix="">
148
- <date-part name="year"/>
149
- </date>
150
- </group>
151
- <text variable="volume" prefix=", "/>
152
- </else-if>
153
- <else-if type="article-newspaper article-magazine" match="any">
154
- <group delimiter=", " prefix=", ">
155
- <text variable="container-title" font-style="italic"/>
156
- <text variable="issue" suffix="."/>
157
- <date variable="issued">
158
- <date-part name="day" form="numeric" suffix=" "/>
159
- <date-part name="month" form="long" suffix=" "/>
160
- <date-part name="year"/>
161
- </date>
162
- </group>
163
- </else-if>
164
- <else-if type="article-journal">
165
- <group prefix=", " delimiter=", ">
166
- <text variable="container-title" font-style="italic"/>
167
- <text macro="publisher"/>
168
- <text variable="volume" prefix=" "/>
169
- </group>
170
- <date variable="issued" prefix=" (" suffix=")">
171
- <date-part name="year"/>
172
- </date>
173
- </else-if>
174
- <else>
175
- <group delimiter=", " prefix=". ">
176
- <text variable="container-title" font-style="italic"/>
177
- <text variable="issue" prefix=", " suffix="."/>
178
- <date variable="issued">
179
- <date-part name="month" form="long"/>
180
- <date-part name="day" form="numeric" prefix=" " suffix=", "/>
181
- <date-part name="year"/>
182
- </date>
183
- </group>
184
- </else>
185
- </choose>
186
- <group prefix=", " delimiter=" ">
187
- <text macro="pages"/>
188
- <text macro="locator" prefix="(" suffix=")"/>
189
- </group>
190
- </group>
191
- </layout>
192
- </citation>
193
- <bibliography hanging-indent="true" et-al-min="6" et-al-use-first="6" subsequent-author-substitute="---">
194
- <sort>
195
- <key macro="author"/>
196
- <key variable="title"/>
197
- </sort>
198
- <layout suffix=".">
199
- <text macro="author" suffix=","/>
200
- <choose>
201
- <if type="thesis">
202
- <group suffix=".">
203
- <text macro="title" prefix=" "/>
204
- </group>
205
- <group delimiter=", " prefix=" ">
206
- <text variable="genre"/>
207
- <text variable="publisher"/>
208
- <date variable="issued">
209
- <date-part name="year"/>
210
- </date>
211
- </group>
212
- </if>
213
- <else-if type="chapter paper-conference" match="any">
214
- <text macro="title" prefix=" "/>
215
- <group prefix=", ">
216
- <text term="in" text-case="lowercase"/>
217
- <text variable="container-title" font-style="italic" prefix=" " suffix=","/>
218
- <text variable="collection-title" prefix=" " suffix=","/>
219
- <text macro="editor-translator-short"/>
220
- </group>
221
- <group prefix=" (" suffix=")" delimiter=", ">
222
- <text macro="publisher"/>
223
- <date variable="issued">
224
- <date-part name="year"/>
225
- </date>
226
- </group>
227
- </else-if>
228
- <else-if type="article-journal">
229
- <group suffix=".">
230
- <text macro="title" prefix=" "/>
231
- <text macro="editor-translator" prefix=" "/>
232
- </group>
233
- <group prefix=" " suffix="">
234
- <text variable="container-title" font-style="italic" prefix=" "/>
235
- <text variable="volume" prefix=" "/>
236
- <text variable="issue" prefix=", no. "/>
237
- <date variable="issued" prefix=" (" suffix=")">
238
- <date-part name="month" suffix=" "/>
239
- <date-part name="day" suffix=", "/>
240
- <date-part name="year"/>
241
- </date>
242
- <text variable="page" prefix=": "/>
243
- </group>
244
- </else-if>
245
- <else-if type="article-newspaper article-magazine" match="any">
246
- <group suffix=".">
247
- <text macro="title" prefix=" "/>
248
- <text macro="editor-translator" prefix=" "/>
249
- </group>
250
- <group delimiter=", " prefix=" ">
251
- <text variable="container-title" font-style="italic"/>
252
- <text variable="issue" suffix="."/>
253
- <date variable="issued">
254
- <date-part name="month" form="long"/>
255
- <date-part name="day" form="numeric" prefix=" " suffix=", "/>
256
- <date-part name="year"/>
257
- </date>
258
- </group>
259
- </else-if>
260
- <else-if type="paper-conference">
261
- <group suffix=".">
262
- <text macro="title" prefix=" "/>
263
- <text macro="editor-translator" prefix=" "/>
264
- </group>
265
- <group suffix="">
266
- <text value="paper presented at" text-case="capitalize-first"/>
267
- <text variable="event" prefix=" "/>
268
- <text variable="event-place" prefix=", "/>
269
- <date variable="event-date">
270
- <date-part name="month" form="long"/>
271
- <date-part name="day" form="numeric" prefix=" " suffix=", "/>
272
- <date-part name="year"/>
273
- </date>
274
- </group>
275
- </else-if>
276
- <else-if type="bill book graphic legal_case motion_picture report song" match="any">
277
- <group suffix=".">
278
- <text macro="title" prefix=" " suffix="."/>
279
- </group>
280
- <group delimiter=", " prefix=" ">
281
- <text macro="editor-translator-short"/>
282
- <text variable="collection-title"/>
283
- <text variable="edition" suffix=" edn"/>
284
- <text macro="vols"/>
285
- </group>
286
- <group prefix=" (" suffix=")" delimiter=", ">
287
- <text macro="publisher"/>
288
- <date variable="issued" prefix=" " suffix="">
289
- <date-part name="year"/>
290
- </date>
291
- </group>
292
- <text variable="volume" prefix=", "/>
293
- </else-if>
294
- <else>
295
- <group suffix=".">
296
- <text macro="title" prefix=" "/>
297
- <text macro="editor-translator" prefix=" "/>
298
- </group>
299
- <group prefix=" " suffix="">
300
- <text variable="container-title" font-style="italic"/>
301
- <group prefix=", ">
302
- <text variable="volume" font-style="italic"/>
303
- <text variable="issue" prefix="(" suffix=")"/>
304
- </group>
305
- <text variable="page" prefix=", "/>
306
- </group>
307
- </else>
308
- </choose>
309
- <text prefix=" " macro="access"/>
310
- </layout>
311
- </bibliography>
312
- </style>