forked from citation-style-language/styles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bluebook-inline.csl
222 lines (222 loc) · 9.67 KB
/
bluebook-inline.csl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
<info>
<title>Bluebook Inline</title>
<id>http://www.zotero.org/styles/bluebook-inline</id>
<link href="http://www.zotero.org/styles/bluebook-inline" rel="self"/>
<author>
<name>Matthew Mazzotta</name>
<email>[email protected]</email>
</author>
<contributor>
<name>Bruce D’Arcus</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Nancy Sims</name>
<email>[email protected]</email>
</contributor>
<category citation-format="note"/>
<updated>2009-08-21T22:19:59+00:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
<summary>Bluebook citation formatting for in-text citations.</summary>
</info><!-- sets up basics of dealing with authors -->
<macro name="source-short">
<choose>
<if type="legal_case">
<group delimiter=" ">
<text variable="title" form="short" suffix="," font-style="italic"/>
<text variable="volume"/>
<text variable="container-title"/>
</group>
</if>
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<group delimiter=" ">
<text variable="volume"/>
<names variable="author" font-variant="small-caps">
<name form="short" and="symbol" delimiter=", " initialize-with=". "/>
</names>
</group>
</else-if>
<else>
<group delimiter=" ">
<names variable="author">
<name form="short" and="symbol" delimiter=", " initialize-with=". "/>
</names>
</group>
</else>
</choose>
</macro><!-- link to online content, called in YYYYY -->
<macro name="access">
<choose>
<if variable="URL">
<text variable="URL"/>
<group prefix=" (" suffix=")">
<text value="last visited" suffix=" "/>
<date variable="accessed">
<date-part name="month" form="short" suffix=" " strip-periods="true"/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</if>
</choose>
</macro>
<macro name="source-long">
<choose>
<if type="article-journal" match="any">
<names variable="author" suffix=", ">
<name and="symbol" delimiter=", " delimiter-precedes-last="never"/>
</names>
<text variable="title" font-style="italic" suffix=", "/>
<text variable="volume" suffix=" "/>
<text variable="container-title" font-variant="small-caps" suffix=" "/>
<text variable="page"/>
<text variable="locator" prefix=", "/>
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year"/>
</date>
</if>
<else-if type="legal_case">
<text variable="title" suffix=", " font-variant="normal"/>
<text variable="number" suffix=", "/>
<group delimiter=" ">
<text variable="volume"/>
<text variable="container-title"/>
<text variable="page"/>
</group>
<text variable="locator" prefix=", "/>
<group prefix=" (" suffix=")" delimiter=" ">
<text variable="authority"/>
<date variable="issued">
<date-part name="month" form="short" suffix=". " strip-periods="true"/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="article-newspaper">
<names variable="author" suffix=", ">
<name and="symbol" delimiter=", " delimiter-precedes-last="never"/>
</names>
<text variable="title" suffix=", " font-style="italic"/>
<text variable="volume" suffix=" "/>
<text variable="container-title" suffix=", " font-variant="small-caps"/>
<date variable="issued">
<date-part name="month" form="short" suffix=". " strip-periods="true"/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
<text variable="page" prefix=", at "/>
</else-if>
<else-if type="article-magazine">
<names variable="author" suffix=", ">
<name and="symbol" delimiter=", " delimiter-precedes-last="never"/>
</names>
<text variable="title" suffix=", " font-style="italic"/>
<text variable="volume" suffix=" "/>
<text variable="container-title" font-variant="small-caps"/>
<text variable="issue" prefix=" "/>
<date variable="issued">
<date-part name="month" form="short" prefix=", " suffix=". " strip-periods="true"/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
<text variable="locator" prefix=", at "/>
</else-if>
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<group delimiter=" " suffix=" ">
<text variable="volume"/>
<names variable="author" suffix="," font-variant="small-caps">
<name and="symbol" delimiter=", " delimiter-precedes-last="never"/>
</names>
<text variable="title" font-variant="small-caps"/>
<text variable="locator"/>
</group>
<group prefix="(" suffix=")" delimiter=" ">
<names variable="editor" suffix=" ed.,">
<name form="long" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
</names>
<names variable="translator" suffix=" trans.,">
<name form="long" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
</names>
<text variable="publisher"/>
<text variable="edition"/>
</group>
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year"/>
</date>
</else-if>
<else-if type="chapter paper-conference" match="any">
<text variable="title" suffix=", " font-style="italic"/>
<text variable="volume" suffix=" "/>
<text macro="container" suffix=" "/>
<text variable="page"/>
<text variable="locator" prefix=", "/>
</else-if>
<else>
<text variable="volume" suffix=" "/>
<text variable="title" font-variant="small-caps"/>
<text macro="container" prefix=" "/>
<text variable="page" prefix=" "/>
<text variable="locator" prefix=" "/>
</else>
</choose>
</macro><!-- sets up citing to specific page numbers for id and supra cites -->
<macro name="at_page">
<group delimiter=" ">
<text value="at"/>
<text variable="locator"/>
</group>
</macro><!-- sets up the "in" in front of book sections, etc. -->
<macro name="container">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter="">
<text term="in" text-case="lowercase" font-style="italic" prefix=" "/>
<text variable="container-title" font-variant="small-caps" prefix=" "/>
</group>
</if>
<else-if type="legal_case">
<text variable="container-title" form="short" prefix=" "/>
</else-if>
<else-if type="article-journal">
<text variable="container-title" font-variant="small-caps" prefix=" "/>
</else-if>
<else>
<text variable="container-title" font-variant="small-caps"/>
</else>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1">
<layout delimiter="; ">
<choose>
<if position="ibid">
<group delimiter=" ">
<text value="id." text-case="capitalize-first" font-style="italic"/>
<text macro="at_page"/><!-- period will not show up - this is for find-and-replace later. -->
</group>
</if>
<else-if position="subsequent" type="legal_case"><!--CSL does not currently support reference to number of repeats, so cannot follow proper Bluebook repeat rule; choice is either short form, or long form.-->
<group delimiter=" ">
<text macro="source-short"/>
<text variable="locator" prefix="at "/>
</group>
</else-if>
<else-if position="subsequent">
<group delimiter=" ">
<text macro="source-short" suffix=","/>
<text value="supra" font-style="italic"/>
<text value="note"/><!-- CSL does not currently support reference to a note number, so we leave a blank space for correction now -->
<text value="##"/>
<text macro="at_page"/>
</group>
</else-if>
<else>
<text macro="source-long"/>
<text macro="access" prefix=", "/>
</else>
</choose>
</layout>
</citation>
</style>