Skip to content

Commit

Permalink
Update council-of-science-editors.csl to Version 9 (#7069)
Browse files Browse the repository at this point in the history
* Update council-of-science-editors.csl to Version 9

https://forums.zotero.org/discussion/114791/style-request-council-of-science-editors-9th-edition-citation-sequence#latest

* add "9th edition" to title

* Create council-of-science-editors-8th-edition.csl

* Update council-of-science-editors.csl summary
  • Loading branch information
POBrien333 authored Sep 11, 2024
1 parent 46bedaa commit 3593c4f
Show file tree
Hide file tree
Showing 2 changed files with 259 additions and 10 deletions.
245 changes: 245 additions & 0 deletions council-of-science-editors-8th-edition.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Council of Science Editors, Citation-Sequence 8th edition(numeric)</title>
<title-short>CSE C-S</title-short>
<id>http://www.zotero.org/styles/council-of-science-editors-8th-edition</id>
<link href="http://www.zotero.org/styles/council-of-science-editors-8th-edition" rel="self"/>
<link href="http://www.scientificstyleandformat.org/Tools/SSF-Citation-Quick-Guide.html" rel="documentation"/>
<author>
<name>Julian Onions</name>
<email>[email protected]</email>
</author>
<contributor>
<name>Patrick O'Brien</name>
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<summary>The Council of Science Editors style 8th edition, Citation-Sequence system: numbers in text, sorted by order of appearance in text.</summary>
<updated>2019-08-06T04:37:16+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">
<terms>
<term name="editortranslator" form="long">
<single>editor and translator</single>
<multiple>editors and translators</multiple>
</term>
<term name="collection-editor" form="long">
<single>editor</single>
<multiple>editors</multiple>
</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor translator" delimiter="; " suffix=".">
<name delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label prefix=", "/>
</names>
</macro>
<macro name="author">
<names variable="author" delimiter="; ">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", " strip-periods="true"/>
<substitute>
<names variable="editor translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="access">
<text variable="URL"/>
</macro>
<macro name="title">
<group delimiter=" ">
<text variable="title"/>
<choose>
<if type="thesis" match="any">
<text variable="genre" form="long" prefix="[" suffix="]"/>
</if>
</choose>
</group>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="review">
<group delimiter=". ">
<text variable="reviewed-title"/>
<text variable="container-title"/>
</group>
</macro>
<macro name="issued">
<group delimiter=" ">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
</date>
<choose>
<if type="patent article-newspaper webpage" match="any">
<date variable="issued" delimiter=" ">
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
</if>
<else-if type="article-journal article-magazine" match="any">
<choose>
<if variable="volume issue" match="none">
<date variable="issued" delimiter=" ">
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
</if>
</choose>
</else-if>
</choose>
<group prefix=" [" suffix="]" delimiter=" ">
<text term="accessed"/>
<date variable="accessed" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
</group>
</group>
</macro>
<macro name="pages">
<group>
<label variable="page" form="short" suffix=" " plural="never"/>
<text variable="page"/>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="collection">
<choose>
<if type="report">
<group prefix=" " suffix="." delimiter=" ">
<text variable="collection-title"/>
<text variable="number" prefix=" Report No.: "/>
</group>
</if>
<else>
<group prefix=" (" suffix=")." delimiter=" ">
<names variable="collection-editor" suffix=". ">
<name delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label prefix=", "/>
</names>
<text variable="collection-title"/>
</group>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," vertical-align="sup">
<text variable="citation-number"/>
<group prefix="(" suffix=")">
<label variable="locator" form="short" strip-periods="true"/>
<text variable="locator"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="false" et-al-min="11" et-al-use-first="10">
<layout>
<text variable="citation-number" suffix=". "/>
<text macro="author" suffix="."/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
<group prefix=" " suffix="." delimiter=" ">
<text macro="title" suffix="."/>
<text macro="edition"/>
<text macro="editor"/>
<group prefix=" " delimiter="; ">
<text macro="publisher"/>
<group suffix="." delimiter=". ">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</group>
<text macro="pages"/>
</group>
</if>
<else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
<text macro="title" prefix=" " suffix="."/>
<group prefix=" " delimiter=" ">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text macro="editor"/>
<text variable="container-title" suffix="."/>
</group>
<group delimiter=" " suffix=".">
<label text-case="capitalize-first" variable="volume" form="short"/>
<text variable="volume"/>
</group>
<text macro="edition"/>
<group suffix=".">
<group prefix=" " delimiter="; ">
<text macro="publisher"/>
<group suffix="." delimiter=". ">
<date variable="issued">
<date-part name="year"/>
</date>
<text macro="pages"/>
</group>
</group>
</group>
</group>
</else-if>
<else-if type="review review-book" match="any">
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
</group>
<group prefix=" " suffix=".">
<text macro="review" suffix="."/>
<group delimiter=";" prefix=" ">
<text macro="issued"/>
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
</group>
<text variable="page" prefix=":"/>
</group>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
</group>
<group prefix=" " suffix=".">
<text variable="container-title" suffix="."/>
<group delimiter=";" prefix=" ">
<text macro="issued"/>
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
</group>
<text variable="page" prefix=":"/>
</group>
</else>
</choose>
<text prefix=" " macro="collection"/>
<text prefix=" " macro="access"/>
<text variable="DOI" prefix=". doi:"/>
</layout>
</bibliography>
</style>
24 changes: 14 additions & 10 deletions council-of-science-editors.csl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Council of Science Editors, Citation-Sequence (numeric)</title>
<title>Council of Science Editors, Citation-Sequence 9th edition (numeric)</title>
<title-short>CSE C-S</title-short>
<id>http://www.zotero.org/styles/council-of-science-editors</id>
<link href="http://www.zotero.org/styles/council-of-science-editors" rel="self"/>
Expand All @@ -15,8 +15,8 @@
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<summary>The Council of Science Editors style 8th edition, Citation-Sequence system: numbers in text, sorted by order of appearance in text.</summary>
<updated>2017-07-19T13:51:13+00:00</updated>
<summary>The Council of Science Editors style 9th edition, Citation-Sequence system: numbers in text, sorted by order of appearance in text.</summary>
<updated>2024-05-31T14:16:14+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 @@ -61,10 +61,7 @@
</group>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text variable="publisher"/>
</macro>
<macro name="review">
<group delimiter=". ">
Expand Down Expand Up @@ -107,7 +104,7 @@
</macro>
<macro name="pages">
<group>
<label variable="page" form="short" suffix=" " plural="never"/>
<label plural="never" strip-periods="true" suffix=" " variable="page" form="short"/>
<text variable="page"/>
</group>
</macro>
Expand Down Expand Up @@ -143,6 +140,12 @@
</else>
</choose>
</macro>
<macro name="volume">
<group delimiter=" ">
<label text-case="capitalize-first" strip-periods="true" variable="volume" form="short"/>
<text variable="volume"/>
</group>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
Expand All @@ -155,7 +158,7 @@
</group>
</layout>
</citation>
<bibliography hanging-indent="false" et-al-min="11" et-al-use-first="10">
<bibliography et-al-min="5" et-al-use-first="1">
<layout>
<text variable="citation-number" suffix=". "/>
<text macro="author" suffix="."/>
Expand All @@ -165,6 +168,7 @@
<text macro="title" suffix="."/>
<text macro="edition"/>
<text macro="editor"/>
<text macro="volume"/>
<group prefix=" " delimiter="; ">
<text macro="publisher"/>
<group suffix="." delimiter=". ">
Expand Down Expand Up @@ -239,7 +243,7 @@
</choose>
<text prefix=" " macro="collection"/>
<text prefix=" " macro="access"/>
<text variable="DOI" prefix=". doi:"/>
<text variable="DOI" prefix=". https://doi.org/"/>
</layout>
</bibliography>
</style>

0 comments on commit 3593c4f

Please sign in to comment.