Ticket #632: cell-raw.csl

File cell-raw.csl, 4.4 KB (added by codec, 9 years ago)

Cell journal format

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
3  <info>
4    <title>Cell Journal format</title>
5    <id>http://www.zotero.org/namespaces/CSL/Cell.csl</id>
6    <author>
7      <name>Julian Onions</name>
8      <email>julian.onions@gmail.com</email>
9    </author>
10    <category term="author-date"/>
11    <updated>2007-11-02T16:16:00+00:00</updated>
12    <summary>The Cell Journal style.</summary>
13    <source>http://www.cell.com/misc/page?page=authors</source>
14  </info>
15  <macro name="editor">
16    <names variable="editor" delimiter=", ">
17      <name and="text" initialize-with=". " delimiter=", "/>
18      <label form="short" prefix=", " text-transform="lowercase" suffix="."/>
19    </names>
20  </macro>
21  <macro name="author">
22    <names variable="author">
23      <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". "
24            delimiter=", " delimiter-precedes-last="always"/>
25      <label form="short" prefix=" " suffix="." text-transform="lowercase"/>
26      <substitute>
27        <names variable="editor"/>
28        <text variable="title"/>
29      </substitute>
30    </names>
31  </macro>
32  <macro name="author-short">
33    <names variable="author">
34      <name form="short" and="text" delimiter=", " initialize-with=". "/>
35      <substitute>
36        <names variable="editor"/>
37        <names variable="translator"/>
38        <text variable="title"/>
39      </substitute>
40    </names>
41  </macro>
42  <macro name="access">
43    <group>
44      <text value="Available at:" suffix=" "/>
45      <text variable="URL"/>
46      <group prefix=" [" suffix="]">
47        <text term="accessed" text-transform="capitalize" suffix=" "/>
48        <date variable="accessed">
49          <date-part name="month" suffix=" "/>
50          <date-part name="day" suffix=", "/>
51          <date-part name="year"/>
52        </date>
53      </group>
54    </group>
55  </macro>
56  <macro name="title">
57    <text variable="title"/>
58  </macro>
59  <macro name="publisher">
60    <group prefix="(" delimiter=": " suffix=")">
61      <text variable="publisher-place"/>
62      <text variable="publisher"/>
63    </group>
64  </macro>
65  <macro name="year-date">
66    <date variable="issued">
67      <date-part name="year"/>
68    </date>
69  </macro>
70  <citation>
71    <option name="et-al-min" value="10"/>
72    <option name="et-al-use-first" value="1"/>
73    <option name="et-al-subsequent-min" value="6"/>
74    <option name="et-al-subsequent-use-first" value="1"/>
75    <option name="disambiguate-add-year-suffix" value="true"/>
76    <option name="disambiguate-add-names" value="true"/>
77    <option name="disambiguate-add-givenname" value="true"/>
78    <option name="collapse" value="year"/>
79    <layout prefix="(" suffix=")" delimiter="; ">
80      <group delimiter=", ">
81        <group delimiter=" ">
82          <text macro="author-short"/>
83          <text macro="year-date"/>
84        </group>
85        <text variable="locator"/>
86      </group>
87    </layout>
88  </citation>
89  <bibliography>
90    <option name="hanging-indent" value="true"/>
91    <option name="et-al-min" value="10"/>
92    <option name="et-al-use-first" value="1"/>
93    <sort>
94      <key macro="author"/>
95      <key variable="title"/>
96    </sort>
97    <layout suffix=".">
98      <text macro="author"/>
99      <date variable="issued" prefix=" (" suffix=").">
100        <date-part name="year"/>
101      </date>
102      <choose>
103        <if type="book">
104          <group delimiter=" " prefix=" ">
105            <text macro="title"/>
106            <text variable="edition" suffix=" ed."/>
107            <text macro="editor" />
108            <text macro="publisher" />
109          </group>
110        </if>
111        <else-if type="chapter">
112          <text macro="title" prefix=" " suffix="."/>
113          <group class="container" prefix=" " delimiter=" ">
114            <text term="in" text-transform="capitalize"/>
115            <text variable="container-title" />
116            <text variable="collection-title" prefix=" " suffix="."/>
117            <text macro="editor"/>
118          </group>
119          <group suffix=".">
120            <text macro="publisher" prefix=" "/>
121            <group prefix=", ">
122              <label variable="page" suffix=". " form="short"/>
123              <text variable="page"/>
124            </group>
125          </group>
126        </else-if>
127        <else>
128          <text macro="title" prefix=" " suffix="."/>
129          <group class="container" delimiter=", " prefix=" " suffix=".">
130            <group delimiter=" ">
131              <text variable="container-title" form="short"/>
132              <text variable="volume" />
133            </group>
134            <text variable="page"/>
135          </group>
136        </else>
137      </choose>
138      <text prefix=" " macro="access" />
139    </layout>
140  </bibliography>
141</style>