Skip to content

Commit

Permalink
Update Cell to numeric-superscript style (#6245)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith committed Sep 24, 2022
1 parent 3a41b08 commit b975c96
Show file tree
Hide file tree
Showing 38 changed files with 353 additions and 287 deletions.
123 changes: 0 additions & 123 deletions cell-numeric-superscript.csl

This file was deleted.

159 changes: 80 additions & 79 deletions cell.csl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Cell</title>
<id>http://www.zotero.org/styles/cell</id>
<link href="http://www.zotero.org/styles/cell" rel="self"/>
<link href="http://www.cell.com/authors" rel="documentation"/>
<link href="https://www.cell.com/cell/authors" rel="documentation"/>
<author>
<name>Adam Mark</name>
<email>a.mark@uoguelph.ca</email>
Expand All @@ -17,113 +17,114 @@
<name>Aurimas Vinckevicius</name>
<email>aurimas.dev@gmail.com</email>
</contributor>
<category citation-format="author-date"/>
<category citation-format="numeric"/>
<category field="biology"/>
<issn>0092-8674</issn>
<eissn>1097-4172</eissn>
<summary>The Cell journal style. Original by Julian Onions.</summary>
<updated>2013-01-26T22:06:38+00:00</updated>
<summary>The Cell journal style, switched to numeric superscript as per the Cell editorial office in Sept. 2022</summary>
<updated>2022-09-23T22:06:38+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>
<macro name="author-short">
<names variable="author">
<name form="short" and="text"/>
</names>
</macro>
<macro name="author-count">
<names variable="author">
<name form="count"/>
<macro name="editor">
<names variable="editor" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", "/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" initialize-with="." and="text" delimiter-precedes-last="always"/>
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" "/>
<substitute>
<names variable="editor"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="issued">
<date variable="issued">
<date-part name="year"/>
</date>
<macro name="access">
<choose>
<if match="any" variable="DOI">
<text variable="DOI"/>
</if>
<else-if match="any" type="webpage dataset entry-dictionary entry-encyclopedia post post-weblog">
<text variable="URL"/>
</else-if>
</choose>
</macro>
<macro name="publisher">
<group prefix="(" delimiter=": " suffix=")">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<macro name="title">
<text variable="title"/>
</macro>
<macro name="editor">
<names variable="editor">
<name initialize-with="." and="text" delimiter-precedes-last="always"/>
<label form="short" prefix=", "/>
</names>
<macro name="publisher">
<text variable="publisher" prefix="(" suffix=")"/>
</macro>
<macro name="doi">
<macro name="edition">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="https://doi.org/"/>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else-if type="webpage post post-weblog" match="any">
<text variable="URL"/>
</else-if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
<citation collapse="citation-number">
<sort>
<key macro="author-short" names-min="1" names-use-first="1"/>
<key macro="author-count" names-min="3" names-use-first="3"/>
<key macro="author" names-min="3" names-use-first="1"/>
<key macro="issued"/>
<key variable="title"/>
<key variable="citation-number"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="issued"/>
</group>
<layout vertical-align="sup" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="11" et-al-use-first="10">
<bibliography et-al-min="11" et-al-use-first="10" second-field-align="flush">
<sort>
<key macro="author-short" names-min="1" names-use-first="1"/>
<key macro="author-count" names-min="3" names-use-first="3"/>
<key macro="author" names-min="3" names-use-first="1"/>
<key macro="issued"/>
<key variable="citation-number"/>
</sort>
<layout suffix=".">
<group delimiter=" ">
<text macro="author"/>
<text macro="issued" prefix="(" suffix=")."/>
<choose>
<if type="article article-magazine article-newspaper article-journal review" match="any">
<text variable="title" suffix="."/>
<text variable="container-title" form="short" text-case="title"/>
<group delimiter=", " suffix=". ">
<text variable="volume" font-style="italic"/>
<text variable="citation-number" suffix="."/>
<text macro="author"/>
<date variable="issued" prefix=" (" suffix=").">
<date-part name="year"/>
</date>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=" " prefix=" ">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=" " prefix=" ">
<text macro="title" suffix="."/>
<text term="in" text-case="capitalize-first"/>
<text variable="container-title"/>
<text variable="collection-title" suffix="."/>
</group>
<text macro="editor" prefix=", "/>
<group suffix=".">
<text macro="publisher" prefix=" "/>
<group prefix=", ">
<label variable="page" suffix=" " form="short"/>
<text variable="page"/>
</group>
<group>
<text macro="doi"/>
</group>
</else-if>
<else>
<text macro="title" prefix=" " suffix="."/>
<group delimiter=", " prefix=" " suffix=".">
<group delimiter=" ">
<text variable="container-title" form="short"/>
<text variable="volume" font-style="italic"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<text variable="title" suffix="."/>
<text variable="container-title" prefix="In " suffix="," text-case="title"/>
<text macro="editor"/>
<text macro="publisher" suffix=","/>
<label variable="page" form="short"/>
<text variable="page"/>
</else-if>
<else-if type="thesis">
<text variable="title" suffix="."/>
<text variable="genre" suffix="."/>
<text variable="publisher"/>
</else-if>
<else>
<text variable="title"/>
<text macro="publisher"/>
</else>
</choose>
</group>
</group>
</else>
</choose>
<text prefix=" " macro="access"/>
</layout>
</bibliography>
</style>
4 changes: 2 additions & 2 deletions dependent/cancer-cell.csl
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<link href="http://www.zotero.org/styles/cancer-cell" rel="self"/>
<link href="http://www.zotero.org/styles/cell" rel="independent-parent"/>
<link href="http://www.cell.com/cancer-cell/authors" rel="documentation"/>
<category citation-format="author-date"/>
<category citation-format="numeric"/>
<category field="biology"/>
<category field="medicine"/>
<issn>1535-6108</issn>
<eissn>1878-3686</eissn>
<updated>2016-12-13T12:00:00+00:00</updated>
<updated>2017-10-20T12:00:00+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>
</style>
4 changes: 2 additions & 2 deletions dependent/cell-chemical-biology.csl
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<link href="http://www.zotero.org/styles/cell-chemical-biology" rel="self"/>
<link href="http://www.zotero.org/styles/cell" rel="independent-parent"/>
<link href="http://www.cell.com/cell-chemical-biology/authors" rel="documentation"/>
<category citation-format="author-date"/>
<category citation-format="numeric"/>
<category field="biology"/>
<category field="medicine"/>
<eissn>2451-9456</eissn>
<updated>2016-12-13T12:00:00+00:00</updated>
<updated>2017-10-20T12:00:00+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>
</style>
16 changes: 16 additions & 0 deletions dependent/cell-genomics.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US">
<!-- Cell Press - Research Journals, generated from "cell-press-research" metadata at https://github.com/citation-style-language/journals -->
<info>
<title>Cell Genomics</title>
<id>http://www.zotero.org/styles/cell-genomics</id>
<link href="http://www.zotero.org/styles/cell-genomics" rel="self"/>
<link href="http://www.zotero.org/styles/cell" rel="independent-parent"/>
<link href="https://www.cell.com/cell-genomics/authors" rel="documentation"/>
<category citation-format="numeric"/>
<category field="biology"/>
<eissn>2666-979X</eissn>
<updated>2017-10-20T12:00:00+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>
</style>
4 changes: 2 additions & 2 deletions dependent/cell-host-and-microbe.csl
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<link href="http://www.zotero.org/styles/cell-host-and-microbe" rel="self"/>
<link href="http://www.zotero.org/styles/cell" rel="independent-parent"/>
<link href="http://www.cell.com/cell-host-microbe/authors" rel="documentation"/>
<category citation-format="author-date"/>
<category citation-format="numeric"/>
<category field="biology"/>
<category field="medicine"/>
<issn>1931-3128</issn>
<eissn>1934-6069</eissn>
<updated>2016-12-13T12:00:00+00:00</updated>
<updated>2017-10-20T12:00:00+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>
</style>
Loading

0 comments on commit b975c96

Please sign in to comment.