Skip to content

Commit 26265bf

Browse files
authored
Create pacific-science.csl (JabRef#5020)
1 parent e6ff62e commit 26265bf

File tree

1 file changed

+344
-0
lines changed

1 file changed

+344
-0
lines changed

Diff for: pacific-science.csl

+344
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,344 @@
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="never" default-locale="en-US">
3+
<info>
4+
<title>Pacific Science</title>
5+
<id>http://www.zotero.org/styles/pacific-science</id>
6+
<link href="http://www.zotero.org/styles/pacific-science" rel="self"/>
7+
<link href="http://www.zotero.org/styles/apa" rel="template"/>
8+
<link href="https://pacificscience.msubmit.net/cgi-bin/main.plex?form_type=display_auth_instructions" rel="documentation"/>
9+
<author>
10+
<name>Pamela Wilson</name>
11+
<uri>http://twitter.com/pjoellenw</uri>
12+
<email>[email protected]</email>
13+
</author>
14+
<category citation-format="author-date"/>
15+
<category field="biology"/>
16+
<issn>0030-8870</issn>
17+
<eissn>1534-6188</eissn>
18+
<updated>2020-08-19T00:59:23+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="translator" form="short">trans.</term>
24+
</terms>
25+
</locale>
26+
<macro name="container-contributors">
27+
<choose>
28+
<if type="chapter paper-conference" match="any">
29+
<group delimiter=" ">
30+
<group delimiter=" ">
31+
<label variable="page" text-case="capitalize-first"/>
32+
<text variable="page"/>
33+
</group>
34+
<text term="in" font-style="italic"/>
35+
<names variable="editor" delimiter=", " suffix=" ">
36+
<name and="text" initialize-with=". " delimiter=", "/>
37+
<label form="short" prefix=", "/>
38+
<substitute>
39+
<names variable="translator"/>
40+
</substitute>
41+
</names>
42+
</group>
43+
</if>
44+
</choose>
45+
</macro>
46+
<macro name="secondary-contributors">
47+
<choose>
48+
<if type="chapter paper-conference" match="none">
49+
<names variable="translator" delimiter=", " prefix=" (" suffix=")">
50+
<name and="symbol" initialize-with=". " delimiter=", "/>
51+
<label form="short" prefix=", "/>
52+
<substitute>
53+
<names variable="editor"/>
54+
</substitute>
55+
</names>
56+
</if>
57+
</choose>
58+
</macro>
59+
<macro name="author">
60+
<names variable="author">
61+
<name name-as-sort-order="first" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
62+
<label form="short" prefix=", "/>
63+
<substitute>
64+
<names variable="editor"/>
65+
<names variable="translator"/>
66+
<choose>
67+
<if type="report">
68+
<text variable="publisher"/>
69+
<text macro="title"/>
70+
</if>
71+
<else>
72+
<text macro="title"/>
73+
</else>
74+
</choose>
75+
</substitute>
76+
</names>
77+
</macro>
78+
<macro name="author-short">
79+
<names variable="author">
80+
<name form="short" and="text" delimiter=", " initialize-with=". "/>
81+
<substitute>
82+
<names variable="editor"/>
83+
<names variable="translator"/>
84+
<choose>
85+
<if type="report">
86+
<text variable="publisher"/>
87+
<text variable="title" form="short" font-style="italic"/>
88+
</if>
89+
<else-if type="bill book graphic legal_case legislation motion_picture song" match="any">
90+
<text variable="title" form="short" font-style="italic"/>
91+
</else-if>
92+
<else>
93+
<text variable="title" form="short"/>
94+
</else>
95+
</choose>
96+
</substitute>
97+
</names>
98+
</macro>
99+
<macro name="title">
100+
<choose>
101+
<if type="report thesis" match="any">
102+
<text variable="title" font-style="italic"/>
103+
<group prefix=" (" suffix=")" delimiter=" ">
104+
<text variable="genre"/>
105+
<text variable="number" prefix="No. "/>
106+
</group>
107+
</if>
108+
<else-if type="book graphic motion_picture report song manuscript speech" match="any">
109+
<text variable="title"/>
110+
</else-if>
111+
<else>
112+
<text variable="title"/>
113+
</else>
114+
</choose>
115+
</macro>
116+
<macro name="publisher">
117+
<choose>
118+
<if type="report thesis" match="any">
119+
<group delimiter=", ">
120+
<text variable="publisher"/>
121+
<text variable="publisher-place"/>
122+
</group>
123+
</if>
124+
<else>
125+
<group delimiter=", ">
126+
<choose>
127+
<if variable="event" match="none">
128+
<text variable="genre"/>
129+
</if>
130+
</choose>
131+
<choose>
132+
<if type="article-journal article-magazine" match="none">
133+
<group delimiter=", ">
134+
<text variable="publisher"/>
135+
<text variable="publisher-place"/>
136+
</group>
137+
</if>
138+
</choose>
139+
</group>
140+
</else>
141+
</choose>
142+
</macro>
143+
<macro name="event">
144+
<choose>
145+
<if variable="event">
146+
<choose>
147+
<if variable="genre" match="none">
148+
<text term="presented at" text-case="capitalize-first" suffix=" "/>
149+
<text variable="event"/>
150+
</if>
151+
<else>
152+
<group delimiter=" ">
153+
<text variable="genre" text-case="capitalize-first"/>
154+
<text term="presented at"/>
155+
<text variable="event"/>
156+
</group>
157+
</else>
158+
</choose>
159+
</if>
160+
</choose>
161+
</macro>
162+
<macro name="issued">
163+
<choose>
164+
<if type="bill legal_case legislation" match="none">
165+
<choose>
166+
<if variable="issued">
167+
<group prefix=" " suffix=".">
168+
<date variable="issued">
169+
<date-part name="year"/>
170+
</date>
171+
<text variable="year-suffix" font-style="italic"/>
172+
</group>
173+
</if>
174+
<else>
175+
<group prefix=" " suffix=".">
176+
<text term="no date" form="short"/>
177+
<text variable="year-suffix" prefix="-" font-style="italic"/>
178+
</group>
179+
</else>
180+
</choose>
181+
</if>
182+
</choose>
183+
</macro>
184+
<macro name="issued-year">
185+
<choose>
186+
<if variable="issued">
187+
<date variable="issued">
188+
<date-part name="year"/>
189+
</date>
190+
<text variable="year-suffix" font-style="italic"/>
191+
</if>
192+
<else>
193+
<text term="no date" form="short"/>
194+
<text variable="year-suffix" prefix="-" font-style="italic"/>
195+
</else>
196+
</choose>
197+
</macro>
198+
<macro name="edition">
199+
<choose>
200+
<if is-numeric="edition">
201+
<group delimiter=" ">
202+
<number variable="edition" form="ordinal"/>
203+
<text term="edition" form="short"/>
204+
</group>
205+
</if>
206+
<else>
207+
<text variable="edition" suffix="."/>
208+
</else>
209+
</choose>
210+
</macro>
211+
<macro name="locators">
212+
<choose>
213+
<if type="article-journal article-magazine" match="any">
214+
<group prefix=" " delimiter=":">
215+
<text variable="volume"/>
216+
<text variable="page"/>
217+
</group>
218+
</if>
219+
<else-if type="article-newspaper">
220+
<group delimiter=" " prefix=", ">
221+
<label variable="page" form="short"/>
222+
<text variable="page"/>
223+
</group>
224+
</else-if>
225+
<else-if type="book graphic motion_picture report song chapter paper-conference" match="any">
226+
<group prefix=" (" suffix=")" delimiter=", ">
227+
<text macro="edition"/>
228+
<group>
229+
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=" "/>
230+
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
231+
</group>
232+
<group>
233+
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
234+
<number variable="volume" form="numeric"/>
235+
</group>
236+
</group>
237+
</else-if>
238+
<else-if type="legal_case">
239+
<group prefix=" (" suffix=")" delimiter=" ">
240+
<text variable="authority"/>
241+
<date variable="issued" delimiter=" ">
242+
<date-part name="month" form="short"/>
243+
<date-part name="day" suffix=","/>
244+
<date-part name="year"/>
245+
</date>
246+
</group>
247+
</else-if>
248+
<else-if type="bill legislation" match="any">
249+
<date variable="issued" prefix=" (" suffix=")">
250+
<date-part name="year"/>
251+
</date>
252+
</else-if>
253+
</choose>
254+
</macro>
255+
<macro name="citation-locator">
256+
<group>
257+
<label variable="locator" form="short"/>
258+
<text variable="locator" prefix=" "/>
259+
</group>
260+
</macro>
261+
<macro name="container">
262+
<choose>
263+
<if type="bill legal_case legislation" match="none">
264+
<text variable="container-title"/>
265+
</if>
266+
<else>
267+
<group delimiter=" " prefix=", ">
268+
<choose>
269+
<if variable="container-title">
270+
<text variable="volume"/>
271+
<text variable="container-title"/>
272+
<group delimiter=" ">
273+
<!--change to label variable="section" as that becomes available -->
274+
<text term="section" form="symbol"/>
275+
<text variable="section"/>
276+
</group>
277+
<text variable="page"/>
278+
</if>
279+
<else>
280+
<choose>
281+
<if type="legal_case">
282+
<text variable="number" prefix="No. "/>
283+
</if>
284+
<else>
285+
<text variable="number" prefix="Pub. L. No. "/>
286+
<group delimiter=" ">
287+
<!--change to label variable="section" as that becomes available -->
288+
<text term="section" form="symbol"/>
289+
<text variable="section"/>
290+
</group>
291+
</else>
292+
</choose>
293+
</else>
294+
</choose>
295+
</group>
296+
</else>
297+
</choose>
298+
</macro>
299+
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
300+
<sort>
301+
<key macro="issued-year"/>
302+
<key macro="author"/>
303+
</sort>
304+
<layout prefix="(" suffix=")" delimiter="; ">
305+
<group delimiter=", ">
306+
<group delimiter=" ">
307+
<text macro="author-short"/>
308+
<text macro="issued-year"/>
309+
</group>
310+
<text macro="citation-locator"/>
311+
</group>
312+
</layout>
313+
</citation>
314+
<bibliography et-al-min="8" et-al-use-first="7" entry-spacing="0" subsequent-author-substitute="&#8212;&#8212;&#8212;">
315+
<sort>
316+
<key macro="author"/>
317+
<key macro="issued-year" sort="ascending"/>
318+
</sort>
319+
<layout>
320+
<group suffix=".">
321+
<group delimiter=". ">
322+
<text macro="author"/>
323+
<text macro="issued"/>
324+
</group>
325+
<group delimiter=". ">
326+
<text macro="title" prefix=" "/>
327+
<group>
328+
<text macro="container-contributors"/>
329+
<text macro="secondary-contributors"/>
330+
<group delimiter=", ">
331+
<text macro="container"/>
332+
<text variable="collection-title"/>
333+
</group>
334+
</group>
335+
</group>
336+
<text macro="locators"/>
337+
<group delimiter=", " prefix=". ">
338+
<text macro="event"/>
339+
<text macro="publisher"/>
340+
</group>
341+
</group>
342+
</layout>
343+
</bibliography>
344+
</style>

0 commit comments

Comments
 (0)