Skip to content

Commit 76e6bef

Browse files
authored
Merge pull request #8111 from citation-style-language/POBrien333-patch-18
Update ecology-and-society.csl
2 parents 810670a + 593dd33 commit 76e6bef

File tree

1 file changed

+39
-27
lines changed

1 file changed

+39
-27
lines changed

ecology-and-society.csl

Lines changed: 39 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" default-locale="en-US" version="1.0" demote-non-dropping-particle="sort-only">
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
33
<info>
44
<title>Ecology and Society</title>
55
<id>http://www.zotero.org/styles/ecology-and-society</id>
@@ -9,27 +9,32 @@
99
<author>
1010
<name>Sebastian Karcher</name>
1111
</author>
12+
<contributor>
13+
<name>Patrick O'Brien</name>
14+
</contributor>
1215
<category citation-format="author-date"/>
1316
<category field="biology"/>
1417
<issn>1195-5449</issn>
15-
<updated>2012-09-27T22:06:38+00:00</updated>
18+
<updated>2026-03-19T22:16:41+00:00</updated>
1619
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1720
</info>
1821
<macro name="container-contributors">
1922
<choose>
2023
<if type="chapter paper-conference" match="any">
21-
<text term="in" suffix=" " font-style="italic"/>
22-
<names variable="editor translator" delimiter=", ">
23-
<name and="text" initialize-with=". " delimiter=", "/>
24-
<label form="long" prefix=", " suffix="."/>
25-
</names>
24+
<group delimiter=" ">
25+
<text term="in" font-style="italic"/>
26+
<names variable="editor translator" delimiter=", ">
27+
<name and="text" initialize-with=". " delimiter=", "/>
28+
<label form="long" prefix=", " suffix="."/>
29+
</names>
30+
</group>
2631
</if>
2732
</choose>
2833
</macro>
2934
<macro name="secondary-contributors">
3035
<choose>
3136
<if type="chapter paper-conference" match="none">
32-
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
37+
<names variable="editor translator" delimiter=", " prefix="(" suffix=")">
3338
<name and="text" initialize-with=". " delimiter=", "/>
3439
<label prefix=", "/>
3540
</names>
@@ -69,9 +74,12 @@
6974
</macro>
7075
<macro name="access">
7176
<choose>
72-
<if type="webpage">
77+
<if type="webpage post post-weblog" match="any">
7378
<text variable="URL"/>
7479
</if>
80+
<else>
81+
<text variable="DOI" prefix="https://doi.org/"/>
82+
</else>
7583
</choose>
7684
</macro>
7785
<macro name="publisher">
@@ -88,7 +96,7 @@
8896
<macro name="issued">
8997
<choose>
9098
<if variable="issued">
91-
<group prefix=" " suffix=".">
99+
<group>
92100
<date variable="issued">
93101
<date-part name="year"/>
94102
</date>
@@ -103,7 +111,7 @@
103111
</group>
104112
</if>
105113
<else>
106-
<text prefix=" (" term="no date" suffix=")." form="short"/>
114+
<text prefix="(" term="no date" suffix=")" form="short"/>
107115
</else>
108116
</choose>
109117
</macro>
@@ -124,11 +132,13 @@
124132
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
125133
<choose>
126134
<if is-numeric="edition">
127-
<number variable="edition" form="long-ordinal" text-case="capitalize-first"/>
128-
<text term="edition" form="long" prefix=" " suffix="."/>
135+
<group delimiter=" ">
136+
<number variable="edition" form="long-ordinal" text-case="capitalize-first"/>
137+
<label variable="edition" form="long"/>
138+
</group>
129139
</if>
130140
<else>
131-
<text variable="edition" suffix="."/>
141+
<text variable="edition"/>
132142
</else>
133143
</choose>
134144
</if>
@@ -137,15 +147,17 @@
137147
<macro name="locators">
138148
<choose>
139149
<if type="article-journal article-magazine article-newspaper" match="any">
140-
<text variable="container-title" prefix=". " font-style="italic"/>
150+
<text variable="container-title" font-style="normal"/>
141151
<text variable="volume" prefix=" "/>
142152
<text variable="issue" prefix="(" suffix=")"/>
143153
<text variable="page" prefix=":"/>
144154
</if>
145155
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
146-
<group prefix=". " delimiter=" ">
147-
<label variable="page" form="long" text-case="capitalize-first"/>
148-
<text variable="page"/>
156+
<group delimiter=" ">
157+
<group delimiter=" ">
158+
<label variable="page" form="long" text-case="capitalize-first"/>
159+
<text variable="page"/>
160+
</group>
149161
<text macro="container-contributors"/>
150162
<text macro="secondary-contributors"/>
151163
<text variable="container-title" font-style="italic"/>
@@ -154,9 +166,9 @@
154166
</choose>
155167
</macro>
156168
<macro name="citation-locator">
157-
<group>
169+
<group delimiter=" ">
158170
<label variable="locator" form="short"/>
159-
<text variable="locator" prefix=" "/>
171+
<text variable="locator"/>
160172
</group>
161173
</macro>
162174
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
@@ -177,16 +189,16 @@
177189
<key macro="author"/>
178190
<key variable="issued"/>
179191
</sort>
180-
<layout suffix=".">
181-
<text macro="author" suffix="."/>
182-
<text macro="issued" suffix=" "/>
183-
<text macro="title"/>
184-
<text macro="locators"/>
185-
<group delimiter=". " prefix=". ">
192+
<layout>
193+
<group delimiter=". " suffix=".">
194+
<text macro="author"/>
195+
<text macro="issued"/>
196+
<text macro="title"/>
197+
<text macro="locators"/>
186198
<text macro="edition"/>
187199
<text macro="publisher"/>
188-
<text macro="access"/>
189200
</group>
201+
<text macro="access" prefix=" "/>
190202
</layout>
191203
</bibliography>
192204
</style>

0 commit comments

Comments
 (0)