Skip to content

Commit 474cc2e

Browse files
authored
Create oil-shale.csl (#5389)
1 parent 249ad6a commit 474cc2e

File tree

1 file changed

+338
-0
lines changed

1 file changed

+338
-0
lines changed

oil-shale.csl

Lines changed: 338 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,338 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
3+
<info>
4+
<title>Oil Shale</title>
5+
<id>http://www.zotero.org/styles/oil-shale</id>
6+
<link href="http://www.zotero.org/styles/oil-shale" rel="self"/>
7+
<link href="http://www.zotero.org/styles/ieee" rel="template"/>
8+
<link href="https://kirj.ee/oil-shale-instructions-to-authors/" rel="documentation"/>
9+
<author>
10+
<name>Zach Baird</name>
11+
</author>
12+
<category citation-format="numeric"/>
13+
<category field="engineering"/>
14+
<category field="geology"/>
15+
<issn>0208-189X</issn>
16+
<eissn>1736-7492</eissn>
17+
<summary>Style for the journal Oil Shale</summary>
18+
<updated>2021-04-15T00:00:00+00:00</updated>
19+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
20+
</info>
21+
<locale xml:lang="en">
22+
<terms>
23+
<term name="chapter" form="short">ch.</term>
24+
<term name="presented at">presented at the</term>
25+
<term name="available at">available</term>
26+
</terms>
27+
</locale>
28+
<!-- Macros -->
29+
<macro name="status">
30+
<choose>
31+
<if variable="page issue volume" match="none">
32+
<text variable="status" text-case="capitalize-first" suffix="" font-weight="bold"/>
33+
</if>
34+
</choose>
35+
</macro>
36+
<macro name="edition">
37+
<choose>
38+
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
39+
<choose>
40+
<if is-numeric="edition">
41+
<group delimiter=" ">
42+
<number variable="edition" form="ordinal"/>
43+
<text term="edition" form="short"/>
44+
</group>
45+
</if>
46+
<else>
47+
<text variable="edition" text-case="capitalize-first" suffix="."/>
48+
</else>
49+
</choose>
50+
</if>
51+
</choose>
52+
</macro>
53+
<macro name="issued">
54+
<choose>
55+
<if type="article-journal report" match="any">
56+
<date variable="issued">
57+
<date-part name="year" form="long"/>
58+
</date>
59+
</if>
60+
<else-if type="bill book chapter graphic legal_case legislation motion_picture song thesis" match="any">
61+
<date variable="issued">
62+
<date-part name="year" form="long"/>
63+
</date>
64+
</else-if>
65+
<else-if type="paper-conference" match="any">
66+
<date variable="issued">
67+
<date-part name="year" prefix=" "/>
68+
</date>
69+
</else-if>
70+
<else>
71+
<date variable="issued">
72+
<date-part name="month" form="short" suffix=" "/>
73+
<date-part name="day" form="numeric-leading-zeros" suffix=", "/>
74+
<date-part name="year"/>
75+
</date>
76+
</else>
77+
</choose>
78+
</macro>
79+
<macro name="author">
80+
<names variable="author">
81+
<name name-as-sort-order="all" et-al-min="7" et-al-use-first="1" initialize-with=". " delimiter=", " sort-separator=", "/>
82+
<label form="short" prefix=", " text-case="capitalize-first"/>
83+
<et-al font-style="italic"/>
84+
<substitute>
85+
<names variable="editor"/>
86+
<names variable="translator"/>
87+
</substitute>
88+
</names>
89+
</macro>
90+
<macro name="editor">
91+
<names variable="editor" prefix="(" suffix=")">
92+
<name name-as-sort-order="all" initialize-with=". " delimiter=", " sort-separator=", "/>
93+
<label form="short" prefix=", "/>
94+
</names>
95+
</macro>
96+
<macro name="locators">
97+
<group>
98+
<text macro="edition"/>
99+
<number variable="volume" form="numeric" font-weight="bold"/>
100+
<group delimiter=" ">
101+
<number variable="number-of-volumes" form="numeric"/>
102+
<text term="volume" form="short" plural="true"/>
103+
</group>
104+
<number variable="issue" form="numeric" prefix="(" suffix=")"/>
105+
</group>
106+
</macro>
107+
<macro name="title">
108+
<choose>
109+
<if type="bill book graphic legal_case legislation motion_picture song" match="any">
110+
<text variable="title" font-style="italic"/>
111+
</if>
112+
<else>
113+
<text variable="title"/>
114+
</else>
115+
</choose>
116+
</macro>
117+
<macro name="publisher">
118+
<choose>
119+
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference song" match="any">
120+
<group delimiter=": ">
121+
<text variable="publisher-place"/>
122+
<text variable="publisher"/>
123+
</group>
124+
</if>
125+
<else>
126+
<group delimiter=", ">
127+
<text variable="publisher"/>
128+
<text variable="publisher-place"/>
129+
</group>
130+
</else>
131+
</choose>
132+
</macro>
133+
<macro name="event">
134+
<choose>
135+
<if type="paper-conference speech" match="any">
136+
<choose>
137+
<!-- Published Conference Paper -->
138+
<if variable="collection-editor editor editorial-director issue page volume" match="any">
139+
<group delimiter=", ">
140+
<group delimiter=" ">
141+
<text term="in" text-case="capitalize-first" suffix=": "/>
142+
<text variable="container-title" font-style="italic"/>
143+
</group>
144+
<text variable="event-place"/>
145+
</group>
146+
</if>
147+
<!-- Unpublished Conference Paper -->
148+
<else>
149+
<group delimiter=", ">
150+
<group delimiter=" ">
151+
<text term="presented at"/>
152+
<text variable="event"/>
153+
</group>
154+
<text variable="event-place"/>
155+
</group>
156+
</else>
157+
</choose>
158+
</if>
159+
</choose>
160+
</macro>
161+
<macro name="access">
162+
<choose>
163+
<if type="webpage post post-weblog" match="any">
164+
<choose>
165+
<if variable="URL">
166+
<group delimiter=" ">
167+
<text variable="URL"/>
168+
<group delimiter=" " prefix="(" suffix=")">
169+
<text term="accessed"/>
170+
<date variable="accessed">
171+
<date-part name="month" form="short" strip-periods="false"/>
172+
<date-part name="day" form="numeric-leading-zeros" prefix=" " suffix=", "/>
173+
<date-part name="year" form="long"/>
174+
</date>
175+
</group>
176+
</group>
177+
</if>
178+
</choose>
179+
</if>
180+
<else-if match="any" variable="DOI">
181+
<text variable="DOI" prefix="doi: "/>
182+
</else-if>
183+
<else>
184+
<group delimiter=". ">
185+
<group delimiter=": ">
186+
<text term="accessed" text-case="capitalize-first"/>
187+
<date variable="accessed">
188+
<date-part name="month" form="short" suffix=" "/>
189+
<date-part name="day" form="numeric-leading-zeros" suffix=", "/>
190+
<date-part name="year"/>
191+
</date>
192+
</group>
193+
<text term="online" prefix="[" suffix="]" text-case="capitalize-first"/>
194+
<group delimiter=": ">
195+
<text term="available at" text-case="capitalize-first"/>
196+
<text variable="URL"/>
197+
</group>
198+
</group>
199+
</else>
200+
</choose>
201+
</macro>
202+
<macro name="page">
203+
<text variable="page"/>
204+
</macro>
205+
<macro name="citation-locator">
206+
<group delimiter=" ">
207+
<choose>
208+
<if locator="page">
209+
<label variable="locator" form="short"/>
210+
</if>
211+
<else>
212+
<label variable="locator" form="short" text-case="capitalize-first"/>
213+
</else>
214+
</choose>
215+
<text variable="locator"/>
216+
</group>
217+
</macro>
218+
<!-- Citation -->
219+
<citation collapse="citation-number">
220+
<sort>
221+
<key variable="citation-number"/>
222+
</sort>
223+
<layout delimiter=", ">
224+
<group prefix="[" suffix="]" delimiter=", ">
225+
<text variable="citation-number"/>
226+
<text macro="citation-locator"/>
227+
</group>
228+
</layout>
229+
</citation>
230+
<!-- Bibliography -->
231+
<bibliography entry-spacing="0" second-field-align="flush">
232+
<layout suffix=".">
233+
<!-- Citation Number -->
234+
<text variable="citation-number" suffix="."/>
235+
<!-- Author(s) -->
236+
<text macro="author" suffix=". "/>
237+
<text macro="title" suffix=". "/>
238+
<!-- Rest of Citation -->
239+
<choose>
240+
<!-- Specific Formats -->
241+
<if type="article-journal">
242+
<group delimiter=", ">
243+
<text variable="container-title" font-style="italic" form="short"/>
244+
<text macro="issued"/>
245+
<text macro="locators"/>
246+
<text macro="page"/>
247+
<text macro="status"/>
248+
<text macro="access"/>
249+
</group>
250+
</if>
251+
<else-if type="paper-conference speech" match="any">
252+
<group delimiter=", ">
253+
<text macro="event"/>
254+
<text macro="issued"/>
255+
<text macro="locators"/>
256+
<text macro="page"/>
257+
<text macro="status"/>
258+
<text macro="access"/>
259+
</group>
260+
</else-if>
261+
<else-if type="report">
262+
<group delimiter=". ">
263+
<group delimiter=", ">
264+
<text macro="publisher"/>
265+
<group delimiter=" ">
266+
<text variable="genre"/>
267+
<text variable="number"/>
268+
</group>
269+
<text macro="issued"/>
270+
</group>
271+
<text macro="access"/>
272+
</group>
273+
</else-if>
274+
<else-if type="thesis">
275+
<group delimiter=", ">
276+
<text variable="genre"/>
277+
<text macro="publisher"/>
278+
<text macro="issued"/>
279+
</group>
280+
</else-if>
281+
<else-if type="webpage post-weblog post" match="any">
282+
<group delimiter=", " suffix=". ">
283+
<text variable="container-title" font-style="italic"/>
284+
<text macro="issued"/>
285+
</group>
286+
<text macro="access"/>
287+
</else-if>
288+
<else-if type="patent">
289+
<group delimiter=", ">
290+
<text variable="number"/>
291+
<text macro="issued"/>
292+
</group>
293+
</else-if>
294+
<!-- Generic/Fallback Formats -->
295+
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
296+
<group delimiter=", ">
297+
<text macro="publisher"/>
298+
<text macro="issued"/>
299+
<text macro="locators"/>
300+
<text macro="page"/>
301+
</group>
302+
</else-if>
303+
<else-if type="article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
304+
<group delimiter=", ">
305+
<text variable="container-title" font-style="italic"/>
306+
<text macro="issued"/>
307+
<text macro="locators"/>
308+
<text macro="publisher"/>
309+
<text macro="page"/>
310+
</group>
311+
</else-if>
312+
<else-if type="chapter paper-conference" match="any">
313+
<group delimiter=" " suffix=". ">
314+
<text term="in" text-case="capitalize-first" suffix=": "/>
315+
<text variable="container-title" font-style="italic"/>
316+
<text macro="editor"/>
317+
</group>
318+
<group delimiter=", ">
319+
<text macro="issued"/>
320+
<text macro="locators"/>
321+
<text macro="publisher"/>
322+
<text macro="page"/>
323+
</group>
324+
</else-if>
325+
<else>
326+
<group delimiter=", ">
327+
<text variable="container-title" font-style="italic"/>
328+
<text macro="locators"/>
329+
<text macro="publisher"/>
330+
<text macro="page"/>
331+
<text macro="issued"/>
332+
<text macro="access"/>
333+
</group>
334+
</else>
335+
</choose>
336+
</layout>
337+
</bibliography>
338+
</style>

0 commit comments

Comments
 (0)