Skip to content

Commit

Permalink
Update plos.csl (issues re. [internet/preprint]) (#4323)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
adam3smith authored Oct 2, 2019
2 parents bafbd1f + dfe2507 commit 9d67d08
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions plos.csl
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@
<author>
<name>Sebastian Karcher</name>
</author>
<contributor>
<name>Patrick O'Brien</name>
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<summary>Vancouver for PLoS Journals as of January 2015</summary>
<updated>2019-07-12T08:11:53+00:00</updated>
<updated>2019-09-29T19:19:07+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="en">
Expand Down Expand Up @@ -110,13 +113,13 @@
</macro>
<macro name="container-title">
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="any">
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage post report" match="any">
<group suffix="." delimiter=" ">
<choose>
<if type="article-journal">
<if type="article-journal report" match="any">
<text variable="container-title" form="short" strip-periods="true"/>
</if>
<else-if type="post-weblog webpage" match="any">
<else-if type="post-weblog webpage post" match="any">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text variable="container-title"/>
Expand All @@ -134,7 +137,6 @@
</group>
<text macro="edition" prefix=" "/>
</if>
<!--add event-name and event-place once they become available-->
<else-if type="bill legislation" match="any">
<group delimiter=", ">
<group delimiter=". ">
Expand Down Expand Up @@ -164,21 +166,9 @@
<macro name="title">
<text variable="title"/>
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="none">
<choose>
<if variable="URL">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
<if type="book chapter" match="any">
<text macro="edition" prefix=". "/>
</if>
<else-if type="post-weblog webpage" match="any">
<choose>
<if variable="container-title" match="none">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</else-if>
</choose>
<choose>
<if type="song motion_picture" match="any">
Expand All @@ -202,9 +192,17 @@
<macro name="date">
<choose>
<if type="article-journal" match="any">
<group suffix=";" delimiter=" ">
<date variable="issued" form="text" date-parts="year"/>
</group>
<choose>
<if match="none" variable="volume page">
<group delimiter=" ">
<date date-parts="year" form="text" variable="issued"/>
<text macro="accessed-date"/>
</group>
</if>
<else>
<date date-parts="year" form="text" variable="issued" suffix=";"/>
</else>
</choose>
</if>
<else-if type="article-magazine article-newspaper" match="any">
<date variable="issued" form="text"/>
Expand Down

0 comments on commit 9d67d08

Please # to comment.