Skip to content

Commit 45d7655

Browse files
authored
Create mammalia.csl (JabRef#4714)
1 parent eb333ca commit 45d7655

File tree

1 file changed

+141
-0
lines changed

1 file changed

+141
-0
lines changed

mammalia.csl

+141
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
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>Mammalia</title>
5+
<id>http://www.zotero.org/styles/mammalia</id>
6+
<link href="http://www.zotero.org/styles/mammalia" rel="self"/>
7+
<link href="http://www.zotero.org/styles/genetics" rel="template"/>
8+
<link href="https://www.degruyter.com/view/journals/mamm/mamm-overview.xml?tab_body=editorialContent-68857" rel="documentation"/>
9+
<link href="http://www.degruyter.com/view/supplement/s18641547_Instructions_for_Authors.pdf" rel="documentation"/>
10+
<author>
11+
<name>Patrick O'Brien</name>
12+
</author>
13+
<category citation-format="author-date"/>
14+
<category field="biology"/>
15+
<issn>0025-1461</issn>
16+
<eissn>1864-1547</eissn>
17+
<updated>2020-04-19T12:35:46+00:00</updated>
18+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
19+
</info>
20+
<macro name="editor-translator">
21+
<names variable="editor translator" prefix="(" suffix=")" delimiter=", ">
22+
<name and="text" delimiter-precedes-last="always" initialize-with="." sort-separator=" "/>
23+
<label form="short" prefix=", "/>
24+
</names>
25+
</macro>
26+
<macro name="author">
27+
<names variable="author">
28+
<name and="text" initialize-with="." name-as-sort-order="first" sort-separator=" "/>
29+
<et-al font-style="italic"/>
30+
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
31+
<substitute>
32+
<names variable="editor"/>
33+
<names variable="translator"/>
34+
<text macro="title"/>
35+
</substitute>
36+
</names>
37+
</macro>
38+
<macro name="author-short">
39+
<names variable="author">
40+
<name form="short" and="text" delimiter=", " initialize-with=". "/>
41+
<et-al font-style="italic"/>
42+
<substitute>
43+
<names variable="editor"/>
44+
<names variable="translator"/>
45+
<choose>
46+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
47+
<text variable="title" form="short" font-style="italic"/>
48+
</if>
49+
<else>
50+
<text variable="title" form="short" quotes="true"/>
51+
</else>
52+
</choose>
53+
</substitute>
54+
</names>
55+
</macro>
56+
<macro name="title">
57+
<text variable="title"/>
58+
</macro>
59+
<macro name="publisher">
60+
<group delimiter=", ">
61+
<text variable="publisher"/>
62+
<text variable="publisher-place"/>
63+
</group>
64+
</macro>
65+
<citation collapse="year-suffix" et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true">
66+
<sort>
67+
<key variable="issued"/>
68+
<key variable="author"/>
69+
</sort>
70+
<layout prefix="(" suffix=")" delimiter="; ">
71+
<group delimiter=" ">
72+
<text macro="author-short"/>
73+
<date variable="issued">
74+
<date-part name="year"/>
75+
</date>
76+
<group delimiter=" ">
77+
<label variable="locator" form="short"/>
78+
<text variable="locator" prefix=" "/>
79+
</group>
80+
</group>
81+
</layout>
82+
</citation>
83+
<bibliography et-al-min="6" et-al-use-first="5" second-field-align="margin">
84+
<sort>
85+
<key macro="author-short" names-min="1" names-use-first="1"/>
86+
<key variable="issued"/>
87+
<key macro="author"/>
88+
</sort>
89+
<layout suffix=".">
90+
<text macro="author"/>
91+
<date date-parts="year" form="text" variable="issued" prefix=". "/>
92+
<choose>
93+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
94+
<group suffix="." prefix=". ">
95+
<text macro="title"/>
96+
<text macro="editor-translator"/>
97+
</group>
98+
<text prefix=" " suffix="." macro="publisher"/>
99+
</if>
100+
<else-if type="chapter paper-conference" match="any">
101+
<group delimiter=". " prefix=". ">
102+
<text macro="title"/>
103+
<group delimiter=" ">
104+
<group delimiter=": ">
105+
<text term="in" text-case="capitalize-first"/>
106+
<names variable="editor translator" prefix="(" suffix=")">
107+
<name prefix=" " initialize-with=". " name-as-sort-order="all" sort-separator=" "/>
108+
<label form="short" prefix=", "/>
109+
</names>
110+
</group>
111+
<group delimiter=", ">
112+
<text variable="container-title"/>
113+
<text variable="collection-title"/>
114+
</group>
115+
</group>
116+
<text macro="publisher"/>
117+
<group delimiter=" ">
118+
<label variable="page" form="short"/>
119+
<text variable="page"/>
120+
</group>
121+
</group>
122+
</else-if>
123+
<else>
124+
<group delimiter=". " prefix=". ">
125+
<group delimiter=", ">
126+
<text macro="title"/>
127+
<text macro="editor-translator"/>
128+
</group>
129+
<group delimiter=" ">
130+
<text variable="container-title" form="short"/>
131+
<group delimiter=": ">
132+
<text variable="volume"/>
133+
<text variable="page"/>
134+
</group>
135+
</group>
136+
</group>
137+
</else>
138+
</choose>
139+
</layout>
140+
</bibliography>
141+
</style>

0 commit comments

Comments
 (0)