Skip to content

Commit b975c96

Browse files
authored
Update Cell to numeric-superscript style (#6245)
1 parent 3a41b08 commit b975c96

38 files changed

+353
-287
lines changed

cell-numeric-superscript.csl

Lines changed: 0 additions & 123 deletions
This file was deleted.

cell.csl

Lines changed: 80 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Cell</title>
55
<id>http://www.zotero.org/styles/cell</id>
66
<link href="http://www.zotero.org/styles/cell" rel="self"/>
7-
<link href="http://www.cell.com/authors" rel="documentation"/>
7+
<link href="https://www.cell.com/cell/authors" rel="documentation"/>
88
<author>
99
<name>Adam Mark</name>
1010
<email>a.mark@uoguelph.ca</email>
@@ -17,113 +17,114 @@
1717
<name>Aurimas Vinckevicius</name>
1818
<email>aurimas.dev@gmail.com</email>
1919
</contributor>
20-
<category citation-format="author-date"/>
20+
<category citation-format="numeric"/>
2121
<category field="biology"/>
2222
<issn>0092-8674</issn>
2323
<eissn>1097-4172</eissn>
24-
<summary>The Cell journal style. Original by Julian Onions.</summary>
25-
<updated>2013-01-26T22:06:38+00:00</updated>
24+
<summary>The Cell journal style, switched to numeric superscript as per the Cell editorial office in Sept. 2022</summary>
25+
<updated>2022-09-23T22:06:38+00:00</updated>
2626
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
2727
</info>
28-
<macro name="author-short">
29-
<names variable="author">
30-
<name form="short" and="text"/>
31-
</names>
32-
</macro>
33-
<macro name="author-count">
34-
<names variable="author">
35-
<name form="count"/>
28+
<macro name="editor">
29+
<names variable="editor" delimiter=", ">
30+
<name and="text" initialize-with=". " delimiter=", "/>
31+
<label form="short" prefix=", "/>
3632
</names>
3733
</macro>
3834
<macro name="author">
3935
<names variable="author">
40-
<name name-as-sort-order="all" initialize-with="." and="text" delimiter-precedes-last="always"/>
36+
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
37+
<label form="short" prefix=" "/>
38+
<substitute>
39+
<names variable="editor"/>
40+
<text variable="title"/>
41+
</substitute>
4142
</names>
4243
</macro>
43-
<macro name="issued">
44-
<date variable="issued">
45-
<date-part name="year"/>
46-
</date>
44+
<macro name="access">
45+
<choose>
46+
<if match="any" variable="DOI">
47+
<text variable="DOI"/>
48+
</if>
49+
<else-if match="any" type="webpage dataset entry-dictionary entry-encyclopedia post post-weblog">
50+
<text variable="URL"/>
51+
</else-if>
52+
</choose>
4753
</macro>
48-
<macro name="publisher">
49-
<group prefix="(" delimiter=": " suffix=")">
50-
<text variable="publisher-place"/>
51-
<text variable="publisher"/>
52-
</group>
54+
<macro name="title">
55+
<text variable="title"/>
5356
</macro>
54-
<macro name="editor">
55-
<names variable="editor">
56-
<name initialize-with="." and="text" delimiter-precedes-last="always"/>
57-
<label form="short" prefix=", "/>
58-
</names>
57+
<macro name="publisher">
58+
<text variable="publisher" prefix="(" suffix=")"/>
5959
</macro>
60-
<macro name="doi">
60+
<macro name="edition">
6161
<choose>
62-
<if variable="DOI">
63-
<text variable="DOI" prefix="https://doi.org/"/>
62+
<if is-numeric="edition">
63+
<group delimiter=" ">
64+
<number variable="edition" form="ordinal"/>
65+
<text term="edition" form="short"/>
66+
</group>
6467
</if>
65-
<else-if type="webpage post post-weblog" match="any">
66-
<text variable="URL"/>
67-
</else-if>
68+
<else>
69+
<text variable="edition" suffix="."/>
70+
</else>
6871
</choose>
6972
</macro>
70-
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
73+
<citation collapse="citation-number">
7174
<sort>
72-
<key macro="author-short" names-min="1" names-use-first="1"/>
73-
<key macro="author-count" names-min="3" names-use-first="3"/>
74-
<key macro="author" names-min="3" names-use-first="1"/>
75-
<key macro="issued"/>
76-
<key variable="title"/>
75+
<key variable="citation-number"/>
7776
</sort>
78-
<layout prefix="(" suffix=")" delimiter="; ">
79-
<group delimiter=", ">
80-
<text macro="author-short"/>
81-
<text macro="issued"/>
82-
</group>
77+
<layout vertical-align="sup" delimiter=",">
78+
<text variable="citation-number"/>
8379
</layout>
8480
</citation>
85-
<bibliography et-al-min="11" et-al-use-first="10">
81+
<bibliography et-al-min="11" et-al-use-first="10" second-field-align="flush">
8682
<sort>
87-
<key macro="author-short" names-min="1" names-use-first="1"/>
88-
<key macro="author-count" names-min="3" names-use-first="3"/>
89-
<key macro="author" names-min="3" names-use-first="1"/>
90-
<key macro="issued"/>
83+
<key variable="citation-number"/>
9184
</sort>
9285
<layout suffix=".">
93-
<group delimiter=" ">
94-
<text macro="author"/>
95-
<text macro="issued" prefix="(" suffix=")."/>
96-
<choose>
97-
<if type="article article-magazine article-newspaper article-journal review" match="any">
98-
<text variable="title" suffix="."/>
99-
<text variable="container-title" form="short" text-case="title"/>
100-
<group delimiter=", " suffix=". ">
101-
<text variable="volume" font-style="italic"/>
86+
<text variable="citation-number" suffix="."/>
87+
<text macro="author"/>
88+
<date variable="issued" prefix=" (" suffix=").">
89+
<date-part name="year"/>
90+
</date>
91+
<choose>
92+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
93+
<group delimiter=" " prefix=" ">
94+
<text macro="title"/>
95+
<text macro="edition"/>
96+
<text macro="editor"/>
97+
<text macro="publisher"/>
98+
</group>
99+
</if>
100+
<else-if type="chapter paper-conference" match="any">
101+
<group delimiter=" " prefix=" ">
102+
<text macro="title" suffix="."/>
103+
<text term="in" text-case="capitalize-first"/>
104+
<text variable="container-title"/>
105+
<text variable="collection-title" suffix="."/>
106+
</group>
107+
<text macro="editor" prefix=", "/>
108+
<group suffix=".">
109+
<text macro="publisher" prefix=" "/>
110+
<group prefix=", ">
111+
<label variable="page" suffix=" " form="short"/>
102112
<text variable="page"/>
103113
</group>
104-
<group>
105-
<text macro="doi"/>
114+
</group>
115+
</else-if>
116+
<else>
117+
<text macro="title" prefix=" " suffix="."/>
118+
<group delimiter=", " prefix=" " suffix=".">
119+
<group delimiter=" ">
120+
<text variable="container-title" form="short"/>
121+
<text variable="volume" font-style="italic"/>
106122
</group>
107-
</if>
108-
<else-if type="chapter paper-conference" match="any">
109-
<text variable="title" suffix="."/>
110-
<text variable="container-title" prefix="In " suffix="," text-case="title"/>
111-
<text macro="editor"/>
112-
<text macro="publisher" suffix=","/>
113-
<label variable="page" form="short"/>
114123
<text variable="page"/>
115-
</else-if>
116-
<else-if type="thesis">
117-
<text variable="title" suffix="."/>
118-
<text variable="genre" suffix="."/>
119-
<text variable="publisher"/>
120-
</else-if>
121-
<else>
122-
<text variable="title"/>
123-
<text macro="publisher"/>
124-
</else>
125-
</choose>
126-
</group>
124+
</group>
125+
</else>
126+
</choose>
127+
<text prefix=" " macro="access"/>
127128
</layout>
128129
</bibliography>
129130
</style>

dependent/cancer-cell.csl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<link href="http://www.zotero.org/styles/cancer-cell" rel="self"/>
88
<link href="http://www.zotero.org/styles/cell" rel="independent-parent"/>
99
<link href="http://www.cell.com/cancer-cell/authors" rel="documentation"/>
10-
<category citation-format="author-date"/>
10+
<category citation-format="numeric"/>
1111
<category field="biology"/>
1212
<category field="medicine"/>
1313
<issn>1535-6108</issn>
1414
<eissn>1878-3686</eissn>
15-
<updated>2016-12-13T12:00:00+00:00</updated>
15+
<updated>2017-10-20T12:00:00+00:00</updated>
1616
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1717
</info>
1818
</style>

dependent/cell-chemical-biology.csl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<link href="http://www.zotero.org/styles/cell-chemical-biology" rel="self"/>
88
<link href="http://www.zotero.org/styles/cell" rel="independent-parent"/>
99
<link href="http://www.cell.com/cell-chemical-biology/authors" rel="documentation"/>
10-
<category citation-format="author-date"/>
10+
<category citation-format="numeric"/>
1111
<category field="biology"/>
1212
<category field="medicine"/>
1313
<eissn>2451-9456</eissn>
14-
<updated>2016-12-13T12:00:00+00:00</updated>
14+
<updated>2017-10-20T12:00:00+00:00</updated>
1515
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1616
</info>
1717
</style>

dependent/cell-genomics.csl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US">
3+
<!-- Cell Press - Research Journals, generated from "cell-press-research" metadata at https://github.com/citation-style-language/journals -->
4+
<info>
5+
<title>Cell Genomics</title>
6+
<id>http://www.zotero.org/styles/cell-genomics</id>
7+
<link href="http://www.zotero.org/styles/cell-genomics" rel="self"/>
8+
<link href="http://www.zotero.org/styles/cell" rel="independent-parent"/>
9+
<link href="https://www.cell.com/cell-genomics/authors" rel="documentation"/>
10+
<category citation-format="numeric"/>
11+
<category field="biology"/>
12+
<eissn>2666-979X</eissn>
13+
<updated>2017-10-20T12:00:00+00:00</updated>
14+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
15+
</info>
16+
</style>

dependent/cell-host-and-microbe.csl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<link href="http://www.zotero.org/styles/cell-host-and-microbe" rel="self"/>
88
<link href="http://www.zotero.org/styles/cell" rel="independent-parent"/>
99
<link href="http://www.cell.com/cell-host-microbe/authors" rel="documentation"/>
10-
<category citation-format="author-date"/>
10+
<category citation-format="numeric"/>
1111
<category field="biology"/>
1212
<category field="medicine"/>
1313
<issn>1931-3128</issn>
1414
<eissn>1934-6069</eissn>
15-
<updated>2016-12-13T12:00:00+00:00</updated>
15+
<updated>2017-10-20T12:00:00+00:00</updated>
1616
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1717
</info>
1818
</style>

0 commit comments

Comments
 (0)