forked from citation-style-language/styles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bluebook-law-review.csl
222 lines (222 loc) · 9.27 KB
/
bluebook-law-review.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="note" version="1.0" demote-non-dropping-particle="sort-only">
<info>
<title>Bluebook Law Review</title>
<id>http://www.zotero.org/styles/bluebook-law-review</id>
<link href="http://www.zotero.org/styles/bluebook-law-review" rel="self"/>
<author>
<name>Bruce D’Arcus</name>
<email>bdarcus@gmail.com</email>
</author>
<author>
<name>Nancy Sims</name>
<email>nsims@umich.edu</email>
</author>
<updated/>
<summary>The Bluebook legal citation style for law reviews.</summary>
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info><!-- sets up basics of dealing with authors -->
<macro name="name-macro">
<names variable="author">
<name and="symbol" delimiter=", " delimiter-precedes-last="never"/>
<label form="short" prefix=" " suffix="." strip-periods="true"/>
<substitute>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text macro="name-short-macro" font-variant="small-caps"/>
</if>
<else>
<text macro="name-short-macro"/>
</else>
</choose>
</macro>
<macro name="name-short-macro">
<names variable="author">
<name form="short" and="text" delimiter=", "/>
<label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
<substitute>
<text variable="title" form="short"/>
</substitute>
</names>
</macro>
<macro name="author">
<choose>
<if type="legal_case">
<text macro="name-macro" font-variant="normal"/>
</if>
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<text macro="name-macro" font-variant="small-caps"/>
</else-if>
<else>
<text macro="name-macro"/>
</else>
</choose>
</macro><!-- sets up basics of dealing with editors and translators. Will generally only show up in book citations, as called in XXXX, below -->
<macro name="editor-translator">
<names variable="editor translator" prefix="" suffix=" " delimiter=", ">
<name and="symbol" delimiter=", "/>
<label form="short" prefix=" " suffix=".," strip-periods="true"/>
</names>
</macro><!-- sets up font variations for titles in books, articles, etc. -->
<macro name="title">
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-variant="small-caps"/>
</if>
<else-if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<else-if type="legal_case">
<text variable="title" font-variant="normal"/>
</else-if>
<else>
<text variable="title"/>
</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"><!-- This macro seems really problematic, with a ton of redundancy. I'd move some of
the conditional logic into the appropriate macros (like 'title') and try to remove this
macro entirely. -->
<choose>
<if type="article-journal" match="any">
<text variable="title" suffix=", " font-style="italic"/>
<text variable="volume" suffix=""/>
<text macro="container"/>
<text variable="page" prefix=" "/>
<text variable="locator" prefix=", "/>
<text macro="issuance" prefix=" (" suffix=")"/>
</if>
<else-if type="legal_case">
<text variable="title" suffix=", " font-variant="normal"/>
<text variable="volume" suffix=""/>
<text macro="container"/>
<text variable="page" prefix=" "/>
<text variable="locator" prefix=", "/>
<text macro="issuance" prefix=" (" suffix=")"/>
</else-if>
<else-if type="article-newspaper article-magazine thesis" match="any">
<text variable="title" suffix=", " font-style="italic"/>
<text variable="volume" suffix=" "/>
<text macro="container" suffix=", "/>
<text macro="issuance"/>
<group delimiter="">
<text value="at" prefix=", "/>
<text variable="page" prefix=" "/>
</group>
</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=", "/>
<text macro="issuance" prefix=" (" suffix=")"/>
</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=" "/>
<text macro="issuance" prefix=" (" suffix=")"/>
</else>
</choose>
</macro>
<macro name="issuance">
<choose>
<if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
<group prefix="" suffix="">
<choose>
<if type="article-newspaper thesis" match="any">
<group suffix=", ">
<date variable="issued">
<date-part name="month"/>
<date-part name="day" prefix=" "/>
</date>
</group>
</if>
</choose>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<group prefix=" " suffix="" delimiter=" ">
<text macro="editor-translator"/>
<text variable="edition" suffix=" ed."/><!-- replaced a text element with a missing variable reference -->
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else>
</choose>
</macro><!-- sets up citing to specific page numbers for id and supra cites -->
<macro name="at_page">
<group delimiter="">
<text value="at" prefix=" "/>
<text variable="locator" prefix=" "/>
</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" form="short" font-variant="small-caps" prefix=" "/>
</else-if>
<else>
<text variable="container-title" font-variant="small-caps"/>
</else>
</choose>
</macro>
<citation et-al-min="4" et-al-use-first="1">
<layout suffix="." delimiter="; ">
<choose>
<if position="ibid">
<text value="id." text-case="capitalize-first" font-style="italic"/>
<text macro="at_page" suffix="."/><!-- period will not show up - this is for find-and-replace later. -->
</if>
<else-if position="subsequent">
<text macro="author-short"/>
<text value="supra" font-style="italic" prefix=", "/>
<text value="note" prefix=" "/><!-- 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"/>
</else-if>
<else>
<text macro="author" suffix=", "/>
<text macro="source"/>
<text macro="access" prefix=", "/>
</else>
</choose>
</layout>
</citation>
</style>