Skip to content

Commit 4adb1ea

Browse files
authored
Create karstenia.csl (#4929)
1 parent 530a136 commit 4adb1ea

File tree

1 file changed

+163
-0
lines changed

1 file changed

+163
-0
lines changed

karstenia.csl

+163
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US">
3+
<info>
4+
<title>Karstenia</title>
5+
<id>http://www.zotero.org/styles/karstenia</id>
6+
<link href="http://www.zotero.org/styles/karstenia" rel="self"/>
7+
<link href="http://www.zotero.org/styles/myrmecological-news" rel="template"/>
8+
<link href="http://karstenia.fi/instructions-to-authors/#Manuscript%20preparation" rel="documentation"/>
9+
<author>
10+
<name>Patrick O'Brien</name>
11+
</author>
12+
<category citation-format="author-date"/>
13+
<category field="biology"/>
14+
<issn>0453-3402</issn>
15+
<updated>2020-07-15T14:25:19+00:00</updated>
16+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
17+
</info>
18+
<macro name="editor">
19+
<names variable="editor">
20+
<name and="symbol" initialize-with="." name-as-sort-order="all"/>
21+
<label form="short" prefix=" (" suffix=")"/>
22+
</names>
23+
</macro>
24+
<macro name="anon">
25+
<text term="anonymous" form="short" text-case="capitalize-first"/>
26+
</macro>
27+
<macro name="author">
28+
<names variable="author">
29+
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
30+
<label form="short" prefix=" " suffix="."/>
31+
<substitute>
32+
<names variable="editor"/>
33+
<text macro="anon"/>
34+
</substitute>
35+
</names>
36+
</macro>
37+
<macro name="author-short">
38+
<names variable="author">
39+
<name form="short" and="symbol" delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1" initialize-with=". "/>
40+
<substitute>
41+
<names variable="editor"/>
42+
<names variable="translator"/>
43+
<text macro="anon"/>
44+
</substitute>
45+
</names>
46+
</macro>
47+
<macro name="title">
48+
<choose>
49+
<if type="book thesis" match="any">
50+
<text variable="title"/>
51+
</if>
52+
<else>
53+
<text variable="title"/>
54+
</else>
55+
</choose>
56+
</macro>
57+
<macro name="publisher">
58+
<group delimiter=", ">
59+
<text variable="publisher"/>
60+
<text variable="publisher-place"/>
61+
</group>
62+
</macro>
63+
<macro name="year-date">
64+
<choose>
65+
<if variable="issued">
66+
<date variable="issued">
67+
<date-part name="year"/>
68+
</date>
69+
</if>
70+
<else>
71+
<text term="no date"/>
72+
</else>
73+
</choose>
74+
</macro>
75+
<macro name="edition">
76+
<choose>
77+
<if is-numeric="edition">
78+
<group delimiter=" ">
79+
<number variable="edition" form="ordinal"/>
80+
<text term="edition"/>
81+
</group>
82+
</if>
83+
<else>
84+
<text variable="edition"/>
85+
</else>
86+
</choose>
87+
</macro>
88+
<macro name="pages">
89+
<text variable="page"/>
90+
</macro>
91+
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
92+
<sort>
93+
<key macro="year-date"/>
94+
<key macro="author"/>
95+
</sort>
96+
<layout prefix="(" suffix=")" delimiter=", ">
97+
<group delimiter=", ">
98+
<group delimiter=" ">
99+
<text macro="author-short"/>
100+
<text macro="year-date"/>
101+
</group>
102+
<group delimiter=" ">
103+
<label variable="locator" form="short"/>
104+
<text variable="locator"/>
105+
</group>
106+
</group>
107+
</layout>
108+
</citation>
109+
<bibliography hanging-indent="true">
110+
<sort>
111+
<key macro="author"/>
112+
<key variable="title"/>
113+
</sort>
114+
<layout suffix=".">
115+
<group delimiter=": ">
116+
<group delimiter=" ">
117+
<text macro="author"/>
118+
<date variable="issued">
119+
<date-part name="year"/>
120+
</date>
121+
</group>
122+
<choose>
123+
<if type="book thesis">
124+
<group delimiter=". ">
125+
<text macro="title"/>
126+
<text macro="edition"/>
127+
<text macro="publisher"/>
128+
</group>
129+
</if>
130+
<else-if type="chapter">
131+
<group delimiter=". ">
132+
<text macro="title"/>
133+
<group delimiter=": ">
134+
<text term="in" text-case="capitalize-first"/>
135+
<text macro="editor" text-case="capitalize-all"/>
136+
</group>
137+
<group delimiter=", ">
138+
<group delimiter=". ">
139+
<text variable="container-title"/>
140+
<text variable="collection-title"/>
141+
</group>
142+
<text macro="pages"/>
143+
</group>
144+
<text macro="publisher"/>
145+
</group>
146+
</else-if>
147+
<else>
148+
<group delimiter=". ">
149+
<text macro="title"/>
150+
<group delimiter=" " prefix=" ">
151+
<text variable="container-title"/>
152+
<group delimiter=": ">
153+
<text variable="volume"/>
154+
<text macro="pages"/>
155+
</group>
156+
</group>
157+
</group>
158+
</else>
159+
</choose>
160+
</group>
161+
</layout>
162+
</bibliography>
163+
</style>

0 commit comments

Comments
 (0)