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,128 +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>Acta Materialia</title>
5
- <id>http://www.zotero.org/styles/acta-materialia</id>
6
- <link href="http://www.zotero.org/styles/acta-materialia" rel="self"/>
7
- <author>
8
- <name>Richard Karnesky</name>
9
- <email>karnesky+zotero@gmail.com</email>
10
- <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
11
- </author>
12
- <category field="engineering"/>
13
- <!--<category term="materials science"/>-->
14
- <category field="generic-base"/>
15
- <category citation-format="numeric"/>
16
- <updated/>
17
- <summary>A style for Elsevier's journal "Acta Materialia"</summary>
18
- <issn>1359-6454</issn>
19
- <link href="http://www.elsevier.com/wps/find/journaldescription.cws_home/221/authorinstructions#Refs" rel="documentation"/>
20
- <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License: http://creativecommons.org/licenses/by-sa/3.0/us/</rights>
21
- </info>
22
- <macro name="author">
23
- <names variable="author">
24
- <name initialize-with="" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all" sort-separator=" "/>
25
- <label form="long" prefix=", " text-case="lowercase" suffix="."/>
26
- <substitute>
27
- <names variable="editor"/>
28
- <names variable="translator"/>
29
- </substitute>
30
- </names>
31
- </macro>
32
- <macro name="editor">
33
- <names variable="editor">
34
- <name initialize-with="" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all" sort-separator=" "/>
35
- <label form="long" prefix=", " text-case="lowercase" suffix="."/>
36
- </names>
37
- </macro>
38
- <macro name="year-date">
39
- <choose>
40
- <if variable="issued">
41
- <date variable="issued">
42
- <date-part name="year"/>
43
- </date>
44
- </if>
45
- <else>
46
- <text term="no date" form="short"/>
47
- </else>
48
- </choose>
49
- </macro>
50
- <macro name="publisher">
51
- <text variable="publisher-place" suffix=": " text-case="title"/>
52
- <text variable="publisher" suffix=", "/>
53
- <text macro="year-date"/>
54
- </macro>
55
- <citation collapse="citation-number">
56
- <sort>
57
- <key variable="citation-number"/>
58
- </sort>
59
- <layout prefix="[" suffix="]" delimiter=",">
60
- <text variable="citation-number"/>
61
- </layout>
62
- </citation>
63
- <bibliography entry-spacing="0" second-field-align="flush">
64
- <layout suffix=".">
65
- <text variable="citation-number" prefix="[" suffix="]"/>
66
- <text macro="author" prefix=" " suffix=". "/>
67
- <choose>
68
- <if type="bill book graphic legal_case motion_picture report song" match="any">
69
- <group delimiter=". ">
70
- <group delimiter=", ">
71
- <text variable="title" text-case="title"/>
72
- <text variable="volume" prefix="vol. "/>
73
- </group>
74
- <text macro="publisher"/>
75
- </group>
76
- </if>
77
- <else-if type="chapter paper-conference" match="any">
78
- <group delimiter=". ">
79
- <text variable="title" text-case="sentence"/>
80
- <text term="in" text-case="sentence" suffix=":"/>
81
- <text macro="editor"/>
82
- <group delimiter=", ">
83
- <text variable="container-title" form="short" text-case="title"/>
84
- <text variable="volume" prefix="vol. "/>
85
- </group>
86
- <text macro="publisher"/>
87
- <group delimiter=" ">
88
- <label variable="page" form="short" suffix="." strip-periods="true"/>
89
- <text variable="page"/>
90
- </group>
91
- </group>
92
- </else-if>
93
- <else-if type="patent">
94
- <group delimiter=", ">
95
- <group delimiter=". ">
96
- <text variable="title" text-case="title"/>
97
- <text variable="number" prefix="U.S. Patent "/>
98
- </group>
99
- <text macro="year-date"/>
100
- </group>
101
- </else-if>
102
- <else-if type="thesis">
103
- <group delimiter=". ">
104
- <text variable="title" text-case="title"/>
105
- <text variable="genre"/>
106
- <group delimiter=", ">
107
- <text variable="publisher"/>
108
- <text macro="year-date"/>
109
- </group>
110
- </group>
111
- </else-if>
112
- <else>
113
- <group delimiter=":">
114
- <group delimiter=" ">
115
- <text variable="container-title" form="short" text-case="sentence"/>
116
- <group delimiter=";">
117
- <text macro="year-date"/>
118
- <text variable="volume"/>
119
- </group>
120
- </group>
121
- <!-- TODO: Change to page-first when Zotero supports it -->
122
- <text variable="page" form="short"/>
123
- </group>
124
- </else>
125
- </choose>
126
- </layout>
127
- </bibliography>
128
- </style>
@@ -1,121 +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>Advanced Engineering Materials</title>
5
- <id>http://www.zotero.org/styles/advanced-engineering-materials</id>
6
- <link href="http://www.zotero.org/styles/advanced-engineering-materials" rel="self"/>
7
- <author>
8
- <name>Richard Karnesky</name>
9
- <email>karnesky+zotero@gmail.com</email>
10
- <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
11
- </author>
12
- <category field="engineering"/>
13
- <!--<category term="materials science"/>-->
14
- <category field="generic-base"/>
15
- <category citation-format="numeric"/>
16
- <updated>2008-10-05T08:50:29+00:00</updated>
17
- <summary>A style for Wiley-VCH's journal "Advanced Engineering Materials"</summary>
18
- <issn>1438-1656</issn>
19
- <link href="http://www3.interscience.wiley.com/journal/67500980/home/2266_guidelines.html" rel="documentation"/>
20
- <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License: http://creativecommons.org/licenses/by-sa/3.0/us/</rights>
21
- </info>
22
- <macro name="author">
23
- <names variable="author">
24
- <label form="short" prefix=", " text-case="capitalize-first" suffix=": " strip-periods="true"/>
25
- <name initialize-with="." delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all"/>
26
- <substitute>
27
- <names variable="editor"/>
28
- <names variable="translator"/>
29
- </substitute>
30
- </names>
31
- </macro>
32
- <macro name="editor">
33
- <names variable="editor">
34
- <label form="short" text-case="capitalize-first" suffix=": " strip-periods="true"/>
35
- <name initialize-with="." delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all"/>
36
- </names>
37
- </macro>
38
- <macro name="year-date">
39
- <group font-weight="bold">
40
- <choose>
41
- <if variable="issued">
42
- <date variable="issued">
43
- <date-part name="year"/>
44
- </date>
45
- </if>
46
- <else>
47
- <text term="no date" form="short"/>
48
- </else>
49
- </choose>
50
- </group>
51
- </macro>
52
- <macro name="publisher">
53
- <group delimiter=", ">
54
- <text variable="publisher" text-case="capitalize-all"/>
55
- <text variable="publisher-place" suffix=" " text-case="title"/>
56
- </group>
57
- <text macro="year-date"/>
58
- </macro>
59
- <citation collapse="citation-number">
60
- <sort>
61
- <key variable="citation-number"/>
62
- </sort>
63
- <layout vertical-align="sup" prefix="[" suffix="]" delimiter=", ">
64
- <text variable="citation-number"/>
65
- </layout>
66
- </citation>
67
- <bibliography entry-spacing="0" second-field-align="flush">
68
- <layout suffix=".">
69
- <text variable="citation-number" prefix="[" suffix="]"/>
70
- <text macro="author" prefix=" " suffix=", "/>
71
- <choose>
72
- <if type="bill book graphic legal_case motion_picture report song" match="any">
73
- <group delimiter=", ">
74
- <text variable="title" text-case="title" font-style="italic"/>
75
- <text macro="publisher"/>
76
- </group>
77
- </if>
78
- <else-if type="chapter paper-conference" match="any">
79
- <group delimiter=", ">
80
- <group delimiter=" ">
81
- <text term="in" text-case="lowercase"/>
82
- <text variable="container-title" form="short" text-case="title" font-style="italic"/>
83
- <text macro="editor" prefix="(" suffix=")"/>
84
- </group>
85
- <text macro="publisher"/>
86
- <group delimiter=" ">
87
- <!-- TODO: Change to page-first when Zotero supports it -->
88
- <text variable="page"/>
89
- </group>
90
- </group>
91
- </else-if>
92
- <else-if type="patent">
93
- <group delimiter=", ">
94
- <text variable="title" text-case="title" font-style="italic"/>
95
- <text macro="year-date"/>
96
- <text variable="number" prefix="U.S. Patent "/>
97
- </group>
98
- </else-if>
99
- <else-if type="thesis">
100
- <group delimiter=", ">
101
- <text variable="title" text-case="title" font-style="italic"/>
102
- <text variable="genre"/>
103
- <text variable="publisher"/>
104
- <text macro="year-date"/>
105
- </group>
106
- </else-if>
107
- <else>
108
- <group delimiter=" ">
109
- <text variable="container-title" form="short" text-case="title" font-style="italic"/>
110
- <group delimiter=", ">
111
- <text macro="year-date"/>
112
- <text variable="volume" font-style="italic"/>
113
- <!-- TODO: Change to page-first when Zotero supports it -->
114
- <text variable="page" form="short"/>
115
- </group>
116
- </group>
117
- </else>
118
- </choose>
119
- </layout>
120
- </bibliography>
121
- </style>
@@ -1,185 +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 Medical Association</title>
7
- <id>http://www.zotero.org/styles/ama</id>
8
- <link href="http://www.zotero.org/styles/ama" />
9
- <author>
10
- <name>Julian Onions</name>
11
- <email>julian.onions@gmail.com</email>
12
- </author>
13
- <category term="numeric" />
14
- <category term="medicine" />
15
- <updated />
16
- <summary>The American Medical Association style as used in JAMA.</summary>
17
- <link href="http://www.samford.edu/schools/pharmacy/dic/amaquickref07.pdf" rel="documentation" />
18
- </info>
19
- <macro name="editor">
20
- <names variable="editor">
21
- <name delimiter=", " delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" " />
22
- <label form="short" prefix=", " suffix="." text-case="lowercase" />
23
- </names>
24
- </macro>
25
- <macro name="anon">
26
- <text form="short" term="anonymous" text-case="capitalize-first" />
27
- </macro>
28
- <macro name="author">
29
- <group suffix=".">
30
- <names variable="author">
31
- <name delimiter=", " delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" " />
32
- <label form="short" prefix=" " suffix="" text-case="lowercase" />
33
- <substitute>
34
- <names variable="editor" />
35
- <text macro="anon" />
36
- </substitute>
37
- </names>
38
- </group>
39
- </macro>
40
- <macro name="author-short">
41
- <names variable="author">
42
- <name and="symbol" delimiter=", " form="short" initialize-with="." />
43
- <substitute>
44
- <names variable="editor" />
45
- <names variable="translator" />
46
- <text macro="anon" />
47
- </substitute>
48
- </names>
49
- </macro>
50
- <macro name="access">
51
- <group>
52
- <text suffix=" " value="Available at:" />
53
- <text variable="URL" />
54
- <group prefix=" [" suffix="]">
55
- <text suffix=" " term="accessed" text-case="capitalize-first" />
56
- <date variable="accessed">
57
- <date-part name="month" suffix=" " />
58
- <date-part name="day" suffix=", " />
59
- <date-part name="year" />
60
- </date>
61
- </group>
62
- </group>
63
- </macro>
64
- <macro name="title">
65
- <choose>
66
- <if type="book">
67
- <text font-style="italic" variable="title" />
68
- </if>
69
- <else>
70
- <text variable="title" />
71
- </else>
72
- </choose>
73
- </macro>
74
- <macro name="publisher">
75
- <group delimiter=": ">
76
- <text variable="publisher-place" />
77
- <text variable="publisher" />
78
- </group>
79
- </macro>
80
- <macro name="year-date">
81
- <group prefix=" ">
82
- <choose>
83
- <if variable="issued">
84
- <date variable="issued">
85
- <date-part name="year" />
86
- </date>
87
- </if>
88
- <else>
89
- <text term="no date" />
90
- </else>
91
- </choose>
92
- </group>
93
- </macro>
94
- <macro name="edition">
95
- <choose>
96
- <if is-numeric="edition">
97
- <group delimiter=" ">
98
- <number form="ordinal" variable="edition" />
99
- <text form="short" suffix="." term="edition" />
100
- </group>
101
- </if>
102
- <else>
103
- <text suffix="." variable="edition" />
104
- </else>
105
- </choose>
106
- </macro>
107
- <citation
108
- collapse="citation-number">
109
- <sort>
110
- <key variable="citation-number" />
111
- </sort>
112
- <layout delimiter="," vertical-align="sup">
113
- <text variable="citation-number" />
114
- <group prefix="(" suffix=")">
115
- <label form="short" variable="locator" />
116
- <text variable="locator" />
117
- </group>
118
- </layout>
119
- </citation>
120
- <bibliography
121
- et-al-min="6"
122
- et-al-use-first="3"
123
- hanging-indent="false">
124
- <layout>
125
- <text prefix="" suffix=". " variable="citation-number" />
126
- <text macro="author" suffix="" />
127
- <choose>
128
- <if type="book">
129
- <group suffix=".">
130
- <text macro="title" prefix=" " suffix="." />
131
- <text macro="edition" prefix=" " />
132
- <text macro="editor" prefix=" (" suffix=")" />
133
- </group>
134
- <text macro="publisher" prefix=" " suffix="" />
135
- <group prefix="; " suffix=".">
136
- <date variable="issued">
137
- <date-part name="year" />
138
- </date>
139
- <text prefix=":" variable="page" />
140
- </group>
141
- </if>
142
- <else-if type="chapter">
143
- <text macro="title" prefix=" " suffix="." />
144
- <group prefix=" ">
145
- <text suffix=": " term="in" text-case="capitalize-first" />
146
- <text macro="editor" />
147
- <text font-style="italic" prefix=" " suffix="." variable="container-title" />
148
- <text prefix="Vol " suffix="." variable="volume" />
149
- <text macro="edition" prefix=" " />
150
- <text prefix=" " suffix="." variable="collection-title" />
151
- <group suffix=".">
152
- <text macro="publisher" prefix=" " />
153
- <group prefix="; " suffix=".">
154
- <date variable="issued">
155
- <date-part name="year" />
156
- </date>
157
- <text prefix=":" variable="page" />
158
- </group>
159
- </group>
160
- </group>
161
- </else-if>
162
- <else>
163
- <group suffix=".">
164
- <text macro="title" prefix=" " />
165
- <text macro="editor" prefix=" " />
166
- </group>
167
- <group prefix=" " suffix=".">
168
- <text font-style="italic" form="short" suffix="." variable="container-title" />
169
- <group delimiter=";" prefix=" ">
170
- <date variable="issued">
171
- <date-part name="year" />
172
- </date>
173
- <group>
174
- <text variable="volume" />
175
- <text prefix="(" suffix=")" variable="issue" />
176
- </group>
177
- </group>
178
- <text prefix=":" variable="page" />
179
- </group>
180
- </else>
181
- </choose>
182
- <text macro="access" prefix=" " suffix="." />
183
- </layout>
184
- </bibliography>
185
- </style>
@@ -1,179 +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 Medical Association</title>
5
- <id>http://www.zotero.org/styles/ama</id>
6
- <link href="http://www.zotero.org/styles/ama" rel="self"/>
7
- <author>
8
- <name>Julian Onions</name>
9
- <email>julian.onions@gmail.com</email>
10
- </author>
11
- <category citation-format="numeric"/>
12
- <category field="medicine"/>
13
- <updated>2008-03-08T20:38:52+00:00</updated>
14
- <summary>The American Medical Association style as used in JAMA.</summary>
15
- <link href="http://www.samford.edu/schools/pharmacy/dic/amaquickref07.pdf" rel="documentation"/>
16
- </info>
17
- <macro name="editor">
18
- <names variable="editor">
19
- <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
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
- <group suffix=".">
28
- <names variable="author">
29
- <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
30
- <label form="short" prefix=" " suffix="" text-case="lowercase" strip-periods="true"/>
31
- <substitute>
32
- <names variable="editor"/>
33
- <text macro="anon"/>
34
- </substitute>
35
- </names>
36
- </group>
37
- </macro>
38
- <macro name="author-short">
39
- <names variable="author">
40
- <name form="short" and="symbol" delimiter=", " initialize-with="."/>
41
- <substitute>
42
- <names variable="editor"/>
43
- <names variable="translator"/>
44
- <text macro="anon"/>
45
- </substitute>
46
- </names>
47
- </macro>
48
- <macro name="access">
49
- <group>
50
- <text value="Available at:" suffix=" "/>
51
- <text variable="URL"/>
52
- <group prefix=" [" suffix="]">
53
- <text term="accessed" text-case="capitalize-first" suffix=" "/>
54
- <date variable="accessed">
55
- <date-part name="month" suffix=" "/>
56
- <date-part name="day" suffix=", "/>
57
- <date-part name="year"/>
58
- </date>
59
- </group>
60
- </group>
61
- </macro>
62
- <macro name="title">
63
- <choose>
64
- <if type="bill book graphic legal_case motion_picture report song" match="any">
65
- <text variable="title" font-style="italic"/>
66
- </if>
67
- <else>
68
- <text variable="title"/>
69
- </else>
70
- </choose>
71
- </macro>
72
- <macro name="publisher">
73
- <group delimiter=": ">
74
- <text variable="publisher-place"/>
75
- <text variable="publisher"/>
76
- </group>
77
- </macro>
78
- <macro name="year-date">
79
- <group prefix=" ">
80
- <choose>
81
- <if variable="issued">
82
- <date variable="issued">
83
- <date-part name="year"/>
84
- </date>
85
- </if>
86
- <else>
87
- <text term="no date" form="short"/>
88
- </else>
89
- </choose>
90
- </group>
91
- </macro>
92
- <macro name="edition">
93
- <choose>
94
- <if is-numeric="edition">
95
- <group delimiter=" ">
96
- <number variable="edition" form="ordinal"/>
97
- <text term="edition" form="short" suffix="." strip-periods="true"/>
98
- </group>
99
- </if>
100
- <else>
101
- <text variable="edition" suffix="."/>
102
- </else>
103
- </choose>
104
- </macro>
105
- <citation collapse="citation-number">
106
- <sort>
107
- <key variable="citation-number"/>
108
- </sort>
109
- <layout delimiter="," vertical-align="sup">
110
- <text variable="citation-number"/>
111
- <group prefix="(" suffix=")">
112
- <label variable="locator" form="short" strip-periods="true"/>
113
- <text variable="locator"/>
114
- </group>
115
- </layout>
116
- </citation>
117
- <bibliography hanging-indent="false" et-al-min="6" et-al-use-first="3">
118
- <layout>
119
- <text variable="citation-number" prefix="" suffix=". "/>
120
- <text macro="author" suffix=""/>
121
- <choose>
122
- <if type="bill book graphic legal_case motion_picture report song" match="any">
123
- <group suffix=".">
124
- <text macro="title" prefix=" " suffix="."/>
125
- <text macro="edition" prefix=" "/>
126
- <text macro="editor" prefix=" (" suffix=")"/>
127
- </group>
128
- <text prefix=" " suffix="" macro="publisher"/>
129
- <group suffix="." prefix="; ">
130
- <date variable="issued">
131
- <date-part name="year"/>
132
- </date>
133
- <text variable="page" prefix=":"/>
134
- </group>
135
- </if>
136
- <else-if type="chapter paper-conference" match="any">
137
- <text macro="title" prefix=" " suffix="."/>
138
- <group prefix=" ">
139
- <text term="in" text-case="capitalize-first" suffix=": "/>
140
- <text macro="editor"/>
141
- <text variable="container-title" font-style="italic" prefix=" " suffix="."/>
142
- <text variable="volume" prefix="Vol " suffix="."/>
143
- <text macro="edition" prefix=" "/>
144
- <text variable="collection-title" prefix=" " suffix="."/>
145
- <group suffix=".">
146
- <text macro="publisher" prefix=" "/>
147
- <group suffix="." prefix="; ">
148
- <date variable="issued">
149
- <date-part name="year"/>
150
- </date>
151
- <text variable="page" prefix=":"/>
152
- </group>
153
- </group>
154
- </group>
155
- </else-if>
156
- <else>
157
- <group suffix=".">
158
- <text macro="title" prefix=" "/>
159
- <text macro="editor" prefix=" "/>
160
- </group>
161
- <group prefix=" " suffix=".">
162
- <text variable="container-title" font-style="italic" form="short" suffix="."/>
163
- <group delimiter=";" prefix=" ">
164
- <date variable="issued">
165
- <date-part name="year"/>
166
- </date>
167
- <group>
168
- <text variable="volume"/>
169
- <text variable="issue" prefix="(" suffix=")"/>
170
- </group>
171
- </group>
172
- <text variable="page" prefix=":"/>
173
- </group>
174
- </else>
175
- </choose>
176
- <text prefix=" " macro="access" suffix="."/>
177
- </layout>
178
- </bibliography>
179
- </style>