Skip to content

Commit 9d67d08

Browse files
authored
Update plos.csl (issues re. [internet/preprint]) (#4323)
* Update plos.csl Fix issues regarding [internet] and [preprint] for PLoS as per: #4138 (and pointed out again here: #4140 (comment)) Please check carefully if I did this correctly. :) * Update plos.csl * Update plos.csl
2 parents bafbd1f + dfe2507 commit 9d67d08

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

plos.csl

+19-21
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010
<author>
1111
<name>Sebastian Karcher</name>
1212
</author>
13+
<contributor>
14+
<name>Patrick O'Brien</name>
15+
</contributor>
1316
<category citation-format="numeric"/>
1417
<category field="science"/>
1518
<summary>Vancouver for PLoS Journals as of January 2015</summary>
16-
<updated>2019-07-12T08:11:53+00:00</updated>
19+
<updated>2019-09-29T19:19:07+00:00</updated>
1720
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1821
</info>
1922
<locale xml:lang="en">
@@ -110,13 +113,13 @@
110113
</macro>
111114
<macro name="container-title">
112115
<choose>
113-
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="any">
116+
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage post report" match="any">
114117
<group suffix="." delimiter=" ">
115118
<choose>
116-
<if type="article-journal">
119+
<if type="article-journal report" match="any">
117120
<text variable="container-title" form="short" strip-periods="true"/>
118121
</if>
119-
<else-if type="post-weblog webpage" match="any">
122+
<else-if type="post-weblog webpage post" match="any">
120123
<group delimiter=" ">
121124
<text term="in" text-case="capitalize-first" suffix=":"/>
122125
<text variable="container-title"/>
@@ -134,7 +137,6 @@
134137
</group>
135138
<text macro="edition" prefix=" "/>
136139
</if>
137-
<!--add event-name and event-place once they become available-->
138140
<else-if type="bill legislation" match="any">
139141
<group delimiter=", ">
140142
<group delimiter=". ">
@@ -164,21 +166,9 @@
164166
<macro name="title">
165167
<text variable="title"/>
166168
<choose>
167-
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="none">
168-
<choose>
169-
<if variable="URL">
170-
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
171-
</if>
172-
</choose>
169+
<if type="book chapter" match="any">
173170
<text macro="edition" prefix=". "/>
174171
</if>
175-
<else-if type="post-weblog webpage" match="any">
176-
<choose>
177-
<if variable="container-title" match="none">
178-
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
179-
</if>
180-
</choose>
181-
</else-if>
182172
</choose>
183173
<choose>
184174
<if type="song motion_picture" match="any">
@@ -202,9 +192,17 @@
202192
<macro name="date">
203193
<choose>
204194
<if type="article-journal" match="any">
205-
<group suffix=";" delimiter=" ">
206-
<date variable="issued" form="text" date-parts="year"/>
207-
</group>
195+
<choose>
196+
<if match="none" variable="volume page">
197+
<group delimiter=" ">
198+
<date date-parts="year" form="text" variable="issued"/>
199+
<text macro="accessed-date"/>
200+
</group>
201+
</if>
202+
<else>
203+
<date date-parts="year" form="text" variable="issued" suffix=";"/>
204+
</else>
205+
</choose>
208206
</if>
209207
<else-if type="article-magazine article-newspaper" match="any">
210208
<date variable="issued" form="text"/>

0 commit comments

Comments
 (0)