Skip to content

Commit 951c108

Browse files
author
github actions
committed
Squashed 'buildres/csl/csl-styles/' changes from 13fd98e..7a10e3f
7a10e3f Bluebook: Remove small-caps for case short & legislation (#6305) ca4a92b Merge pull request #6244 from POBrien333/patch-1107 12743ad Create social-science-history.csl (#6233) f7c1d57 Update american-chemical-society.csl (#6231) aca6b23 ready: Update oil-shale.csl (#6225) aadae55 Create pallas.csl (#6204) cc7d016 Merge pull request #6253 from nschneid/patch-1 77fab39 Merge pull request #6282 from POBrien333/patch-1119 e2668eb Merge pull request #6263 from POBrien333/patch-1113 7f3244d move style to dependent folder 8584993 Create development-growth-differentiation.csl (#6226) dfe71ff Create biotechnology-and-bioprocess-engineering.csl (#6227) 0d91742 Create sn-computer-science.csl (#6228) a0d09b4 Create mots.csl (#6205) 47665e5 Update review-of-international-studies.csl d573b8b Create computer-supported-cooperative-work.csl cebec0e ACL: check if edition is ordinal before printing the word "edition" 03a0a39 Re-indent CSL styles 3c64906 fix self link 479c061 fix small issues after visual inspection a356e72 Create gnosis-journal-of-gnostic-studies.csl git-subtree-dir: buildres/csl/csl-styles git-subtree-split: 7a10e3f
1 parent 03022cc commit 951c108

13 files changed

+2591
-296
lines changed

american-chemical-society.csl

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
<contributor>
1919
<name>Sebastian Karcher</name>
2020
</contributor>
21+
<contributor>
22+
<name>Patrick O'Brien</name>
23+
</contributor>
2124
<category citation-format="numeric"/>
2225
<category field="chemistry"/>
2326
<summary>The American Chemical Society style</summary>
24-
<updated>2021-05-22T12:00:00+00:00</updated>
27+
<updated>2022-09-19T18:32:56+00:00</updated>
2528
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
2629
</info>
2730
<locale xml:lang="en">
@@ -138,6 +141,30 @@
138141
</else>
139142
</choose>
140143
</macro>
144+
<macro name="access">
145+
<choose>
146+
<if variable="DOI" match="any">
147+
<text variable="DOI" prefix="https://doi.org/"/>
148+
</if>
149+
<else-if type="article-journal book chapter entry-encyclopedia entry-dictionary paper-conference" match="none">
150+
<choose>
151+
<if variable="URL">
152+
<group delimiter=" ">
153+
<text variable="URL"/>
154+
<group delimiter=" " prefix="(" suffix=")">
155+
<text term="accessed"/>
156+
<date variable="accessed">
157+
<date-part name="year"/>
158+
<date-part name="month" prefix="-" form="numeric-leading-zeros"/>
159+
<date-part name="day" prefix="-" form="numeric-leading-zeros"/>
160+
</date>
161+
</group>
162+
</group>
163+
</if>
164+
</choose>
165+
</else-if>
166+
</choose>
167+
</macro>
141168
<citation collapse="citation-number">
142169
<sort>
143170
<key variable="citation-number"/>
@@ -249,18 +276,10 @@
249276
</group>
250277
</group>
251278
</else-if>
252-
<else-if type="webpage">
279+
<else-if type="webpage post post-weblog" match="any">
253280
<group delimiter=". ">
254281
<text variable="title" font-style="italic"/>
255282
<text variable="container-title"/>
256-
<group delimiter=" ">
257-
<text variable="URL"/>
258-
<date variable="accessed" prefix="(accessed " suffix=")">
259-
<date-part name="year"/>
260-
<date-part name="month" prefix="-" form="numeric-leading-zeros"/>
261-
<date-part name="day" prefix="-" form="numeric-leading-zeros"/>
262-
</date>
263-
</group>
264283
</group>
265284
</else-if>
266285
<else>
@@ -277,7 +296,7 @@
277296
</group>
278297
</else>
279298
</choose>
280-
<text variable="DOI" prefix=". https://doi.org/"/>
299+
<text macro="access" prefix=". "/>
281300
</layout>
282301
</bibliography>
283302
</style>

association-for-computational-linguistics.csl

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,17 @@
6868
</choose>
6969
</macro>
7070
<macro name="edition">
71-
<number variable="edition" form="ordinal"/>
72-
<text term="edition" prefix=" "/>
71+
<choose>
72+
<if is-numeric="edition">
73+
<group delimiter=" ">
74+
<number variable="edition" form="ordinal"/>
75+
<text term="edition" form="short"/>
76+
</group>
77+
</if>
78+
<else>
79+
<text variable="edition"/>
80+
</else>
81+
</choose>
7382
</macro>
7483
<macro name="volume-or-number">
7584
<choose>
Lines changed: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,237 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" delimiter-precedes-last="always" demote-non-dropping-particle="sort-only" default-locale="en-US">
3+
<info>
4+
<title>Biotechnology and Bioprocess Engineering</title>
5+
<title-short>BBE</title-short>
6+
<id>http://www.zotero.org/styles/biotechnology-and-bioprocess-engineering</id>
7+
<link href="http://www.zotero.org/styles/biotechnology-and-bioprocess-engineering" rel="self"/>
8+
<link href="http://www.zotero.org/styles/trends-journals" rel="documentation"/>
9+
<link href="https://www.springer.com/journal/12257/submission-guidelines" rel="documentation"/>
10+
<link href="https://media.springer.com/full/springer-instructions-for-authors-assets/pdf/1652521_173753306_12257_Instructions%20to%20Author.pdf" rel="documentation"/>
11+
<author>
12+
<name>Patrick O'Brien</name>
13+
</author>
14+
<category citation-format="numeric"/>
15+
<category field="biology"/>
16+
<category field="medicine"/>
17+
<issn>1226-8372</issn>
18+
<eissn>1976-3816</eissn>
19+
<updated>2022-09-15T13:50:32+00:00</updated>
20+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
21+
</info>
22+
<macro name="edition">
23+
<choose>
24+
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
25+
<choose>
26+
<if is-numeric="edition">
27+
<group delimiter=" " prefix="(" suffix=") ">
28+
<number variable="edition" form="ordinal"/>
29+
<text term="edition" form="short" suffix="n" strip-periods="true"/>
30+
</group>
31+
</if>
32+
<else>
33+
<text variable="edition" text-case="capitalize-first" suffix="."/>
34+
</else>
35+
</choose>
36+
</if>
37+
</choose>
38+
</macro>
39+
<macro name="issued">
40+
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
41+
</macro>
42+
<macro name="author">
43+
<names variable="author">
44+
<name and="text" initialize-with="." name-as-sort-order="first"/>
45+
<label form="short" prefix=", "/>
46+
<et-al font-style="italic"/>
47+
<substitute>
48+
<names variable="editor"/>
49+
<names variable="translator"/>
50+
<text variable="title"/>
51+
</substitute>
52+
</names>
53+
</macro>
54+
<macro name="editor">
55+
<names variable="editor">
56+
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter=", " and="text"/>
57+
<label form="short" strip-periods="false" prefix=" (" suffix=")"/>
58+
</names>
59+
</macro>
60+
<macro name="locators">
61+
<group delimiter=", ">
62+
<text macro="edition" prefix="(" suffix=")"/>
63+
<group delimiter=" ">
64+
<number variable="volume" form="numeric"/>
65+
</group>
66+
<group delimiter=" ">
67+
<number variable="number-of-volumes" form="numeric"/>
68+
<text term="volume" form="short" plural="true"/>
69+
</group>
70+
</group>
71+
</macro>
72+
<macro name="title">
73+
<text variable="title"/>
74+
</macro>
75+
<macro name="publisher">
76+
<choose>
77+
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
78+
<group delimiter=", ">
79+
<text variable="publisher"/>
80+
<text variable="publisher-place"/>
81+
</group>
82+
</if>
83+
<else>
84+
<text variable="publisher"/>
85+
</else>
86+
</choose>
87+
</macro>
88+
<macro name="event">
89+
<choose>
90+
<if type="paper-conference">
91+
<choose>
92+
<if variable="container-title">
93+
<group delimiter=", ">
94+
<text variable="container-title" prefix="in " font-style="italic"/>
95+
<text variable="event-place"/>
96+
</group>
97+
</if>
98+
<else>
99+
<group delimiter=", ">
100+
<text variable="event" prefix="presented at the "/>
101+
<text variable="event-place"/>
102+
</group>
103+
</else>
104+
</choose>
105+
</if>
106+
</choose>
107+
</macro>
108+
<macro name="access">
109+
<choose>
110+
<if type="webpage">
111+
<group delimiter=". ">
112+
<text value="[Online]"/>
113+
<text variable="URL" prefix="Available: "/>
114+
<group prefix="[" suffix="]">
115+
<date variable="accessed" prefix="Accessed: ">
116+
<date-part name="day" form="numeric-leading-zeros" suffix="-"/>
117+
<date-part name="month" form="short" suffix="-" strip-periods="true"/>
118+
<date-part name="year" form="long"/>
119+
</date>
120+
</group>
121+
</group>
122+
</if>
123+
</choose>
124+
</macro>
125+
<macro name="page">
126+
<choose>
127+
<if type="chapter paper-conference" match="any">
128+
<group delimiter=" ">
129+
<label variable="page" form="short" plural="always"/>
130+
<text variable="page"/>
131+
</group>
132+
</if>
133+
<else>
134+
<text variable="page"/>
135+
</else>
136+
</choose>
137+
</macro>
138+
<citation collapse="citation-number">
139+
<sort>
140+
<key variable="citation-number"/>
141+
</sort>
142+
<layout prefix="[" suffix="]" delimiter=",">
143+
<text variable="citation-number"/>
144+
</layout>
145+
</citation>
146+
<bibliography entry-spacing="0" second-field-align="flush">
147+
<layout suffix=".">
148+
<text variable="citation-number" suffix="."/>
149+
<group delimiter=" ">
150+
<text macro="author"/>
151+
<text macro="issued"/>
152+
<text macro="title"/>
153+
</group>
154+
<choose>
155+
<if type="article-journal">
156+
<group delimiter=" " prefix=". ">
157+
<text variable="container-title" form="short" font-style="italic"/>
158+
<choose>
159+
<if variable="volume">
160+
<group delimiter=": ">
161+
<text macro="locators"/>
162+
<text macro="page"/>
163+
</group>
164+
</if>
165+
<else-if variable="DOI">
166+
<text variable="DOI" prefix="DOI: "/>
167+
</else-if>
168+
<else-if variable="URL">
169+
<text term="at"/>
170+
<text variable="URL" prefix=" &lt;" suffix="&gt;"/>
171+
</else-if>
172+
</choose>
173+
</group>
174+
</if>
175+
<else-if type="paper-conference">
176+
<group delimiter=", " prefix=". ">
177+
<text macro="event"/>
178+
<text macro="locators"/>
179+
<text macro="page"/>
180+
</group>
181+
</else-if>
182+
<else-if type="thesis">
183+
<group delimiter=". " prefix=". ">
184+
<text variable="genre"/>
185+
<text macro="publisher"/>
186+
</group>
187+
</else-if>
188+
<else-if type="webpage post post-weblog" match="any">
189+
<text variable="container-title" font-style="italic" prefix=". " suffix=". "/>
190+
<text macro="access"/>
191+
</else-if>
192+
<else-if type="patent">
193+
<group delimiter=" " prefix=". ">
194+
<text variable="authority"/>
195+
<text variable="number"/>
196+
</group>
197+
</else-if>
198+
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
199+
<group delimiter=", " prefix=". ">
200+
<text macro="locators"/>
201+
<text macro="publisher"/>
202+
</group>
203+
</else-if>
204+
<else-if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
205+
<group delimiter=", ">
206+
<text variable="container-title" font-style="italic"/>
207+
<text macro="locators"/>
208+
<text macro="publisher"/>
209+
<text macro="page"/>
210+
</group>
211+
</else-if>
212+
<else-if type="chapter paper-conference" match="any">
213+
<group delimiter=". " prefix=". ">
214+
<text macro="page"/>
215+
<group delimiter=": ">
216+
<text term="in" text-case="capitalize-first"/>
217+
<text macro="editor"/>
218+
</group>
219+
<text variable="container-title" font-style="italic"/>
220+
<text macro="locators"/>
221+
<text macro="publisher"/>
222+
</group>
223+
</else-if>
224+
<else>
225+
<group delimiter=", ">
226+
<text variable="container-title" font-style="italic"/>
227+
<text macro="locators"/>
228+
</group>
229+
<group delimiter=", ">
230+
<text macro="publisher"/>
231+
<text macro="page"/>
232+
</group>
233+
</else>
234+
</choose>
235+
</layout>
236+
</bibliography>
237+
</style>

bluebook-law-review.csl

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,22 @@
4040
</macro>
4141
<macro name="author-short">
4242
<choose>
43-
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
44-
<text macro="name-short-macro" font-variant="small-caps"/>
43+
<if type="legal_case">
44+
<choose>
45+
<if variable="title-short">
46+
<text macro="name-short-macro" font-style="italic"/>
47+
</if>
48+
<else>
49+
<text macro="name-short-macro"/>
50+
</else>
51+
</choose>
4552
</if>
53+
<else-if type="bill legislation" match="any">
54+
<text macro="name-macro"/>
55+
</else-if>
56+
<else-if type="book graphic motion_picture report song" match="any">
57+
<text macro="name-short-macro" font-variant="small-caps"/>
58+
</else-if>
4659
<else>
4760
<text macro="name-short-macro"/>
4861
</else>
@@ -59,10 +72,10 @@
5972
</macro>
6073
<macro name="author">
6174
<choose>
62-
<if type="legal_case">
75+
<if type="bill legal_case legislation" match="any">
6376
<text macro="name-macro"/>
6477
</if>
65-
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
78+
<else-if type="book graphic motion_picture report song" match="any">
6679
<text macro="name-macro" font-variant="small-caps"/>
6780
</else-if>
6881
<else>

0 commit comments

Comments
 (0)