Skip to content

Commit 0699da6

Browse files
authored
1 parent b2dd3fd commit 0699da6

File tree

1 file changed

+73
-26
lines changed

1 file changed

+73
-26
lines changed

mammalia.csl

Lines changed: 73 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
<?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">
2+
<style class="in-text" version="1.0" default-locale="en-GB" xmlns="http://purl.org/net/xbiblio/csl">
33
<info>
44
<title>Mammalia</title>
55
<id>http://www.zotero.org/styles/mammalia</id>
66
<link href="http://www.zotero.org/styles/mammalia" rel="self"/>
77
<link href="http://www.zotero.org/styles/genetics" rel="template"/>
88
<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"/>
9+
<link href="https://www.degruyter.com/supplemental/journals/mamm/mamm-overview.xml/Instructions_for_Authors.pdf" rel="documentation"/>
1010
<author>
1111
<name>Patrick O'Brien</name>
1212
</author>
1313
<category citation-format="author-date"/>
1414
<category field="biology"/>
1515
<issn>0025-1461</issn>
1616
<eissn>1864-1547</eissn>
17-
<updated>2020-04-20T10:34:52+00:00</updated>
17+
<summary>Style for Mammalia as per the guidelines from October 1, 2020.</summary>
18+
<updated>2021-01-11T13:22:22+00:00</updated>
1819
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1920
</info>
2021
<macro name="editor-translator">
@@ -25,7 +26,7 @@
2526
</macro>
2627
<macro name="author">
2728
<names variable="author">
28-
<name and="text" initialize-with="." name-as-sort-order="first" sort-separator=" "/>
29+
<name and="text" initialize-with="." name-as-sort-order="all" sort-separator=" "/>
2930
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
3031
<substitute>
3132
<names variable="editor"/>
@@ -52,14 +53,51 @@
5253
</names>
5354
</macro>
5455
<macro name="title">
55-
<text variable="title"/>
56+
<choose>
57+
<if type="bill book graphic legal_case legislation motion_picture song thesis" match="any">
58+
<text variable="title" font-style="italic"/>
59+
</if>
60+
<else>
61+
<text variable="title"/>
62+
</else>
63+
</choose>
5664
</macro>
5765
<macro name="publisher">
5866
<group delimiter=", ">
67+
<text variable="genre"/>
5968
<text variable="publisher"/>
6069
<text variable="publisher-place"/>
6170
</group>
6271
</macro>
72+
<macro name="access">
73+
<choose>
74+
<if type="article-journal" match="any">
75+
<choose>
76+
<if match="none" variable="page volume">
77+
<text variable="DOI" prefix="DOI: " suffix="(Epub ahead of print)"/>
78+
</if>
79+
</choose>
80+
</if>
81+
<else-if type="webpage post post-weblog" match="any">
82+
<group delimiter=" ">
83+
<group delimiter=": ">
84+
<text term="available at" text-case="capitalize-first"/>
85+
<text variable="URL" prefix="&lt;" suffix="&gt;"/>
86+
</group>
87+
<group delimiter=" " prefix="(" suffix=")">
88+
<text term="accessed" text-case="capitalize-first"/>
89+
<date form="text" variable="accessed"/>
90+
</group>
91+
</group>
92+
</else-if>
93+
</choose>
94+
</macro>
95+
<macro name="edition">
96+
<group delimiter=" ">
97+
<number variable="edition" form="ordinal"/>
98+
<label variable="edition" form="short"/>
99+
</group>
100+
</macro>
63101
<citation collapse="year-suffix" et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true">
64102
<sort>
65103
<key variable="issued"/>
@@ -78,36 +116,39 @@
78116
</group>
79117
</layout>
80118
</citation>
81-
<bibliography>
119+
<bibliography et-al-min="11" et-al-use-first="10">
82120
<sort>
83121
<key macro="author"/>
84122
<key variable="issued"/>
85123
</sort>
86124
<layout suffix=".">
87125
<group delimiter=". ">
88126
<text macro="author"/>
89-
<date date-parts="year" form="text" variable="issued"/>
127+
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
90128
<choose>
91-
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
92-
<group>
93-
<text macro="title"/>
94-
<text macro="editor-translator"/>
129+
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
130+
<group delimiter=". ">
131+
<group delimiter=", ">
132+
<text macro="title"/>
133+
<text macro="editor-translator"/>
134+
<text macro="edition"/>
135+
</group>
136+
<text macro="publisher"/>
95137
</group>
96-
<text prefix=" " suffix="." macro="publisher"/>
97138
</if>
98139
<else-if type="chapter paper-conference" match="any">
99140
<group delimiter=". ">
100141
<text macro="title"/>
101142
<group delimiter=" ">
102143
<group delimiter=": ">
103144
<text term="in" text-case="capitalize-first"/>
104-
<names variable="editor translator" prefix="(" suffix=")">
105-
<name prefix=" " initialize-with=". " name-as-sort-order="all" sort-separator=" "/>
106-
<label form="short" prefix=", "/>
145+
<names variable="editor translator">
146+
<name prefix=" " and="text" initialize-with=". " name-as-sort-order="all" sort-separator=" "/>
147+
<label form="short" text-case="capitalize-first" prefix=" (" suffix=")"/>
107148
</names>
108149
</group>
109150
<group delimiter=", ">
110-
<text variable="container-title"/>
151+
<text variable="container-title" font-style="italic"/>
111152
<text variable="collection-title"/>
112153
</group>
113154
</group>
@@ -119,18 +160,24 @@
119160
</group>
120161
</else-if>
121162
<else>
122-
<group delimiter=". ">
123-
<group delimiter=", ">
124-
<text macro="title"/>
125-
<text macro="editor-translator"/>
126-
</group>
127-
<group delimiter=" ">
128-
<text variable="container-title" form="short"/>
129-
<group delimiter=": ">
130-
<text variable="volume"/>
131-
<text variable="page"/>
163+
<group delimiter=", ">
164+
<group delimiter=". ">
165+
<group delimiter=", ">
166+
<text macro="title"/>
167+
<text macro="editor-translator"/>
168+
</group>
169+
<group delimiter=" ">
170+
<text variable="container-title" form="short"/>
171+
<group delimiter=": ">
172+
<group>
173+
<text variable="volume"/>
174+
<text variable="issue" prefix="(" suffix=")"/>
175+
</group>
176+
<text variable="page"/>
177+
</group>
132178
</group>
133179
</group>
180+
<text macro="access"/>
134181
</group>
135182
</else>
136183
</choose>

0 commit comments

Comments
 (0)