Ticket #632: cse-raw.csl

File cse-raw.csl, 4.9 KB (added by codec, 9 years ago)

CSE format

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" xml:lang="en">
3  <info>
4    <title>Council of Science Editors format</title>
5    <id>http://www.zotero.org/namespaces/CSL/CSE.csl</id>
6    <author>
7      <name>Julian Onions</name>
8      <email>julian.onions@gmail.com</email>
9    </author>
10    <updated>2007-10-12T03:33:00+05:00</updated>
11    <summary>The Council of Science Editors style.</summary>
12    <source>http://www.dianahacker.com/resdoc/p04_c11_s1.html</source>
13  </info>
14  <macro name="editor">
15    <names variable="editor">
16      <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
17      <label form="long" prefix=", " text-transform="lowercase" suffix="."/>
18    </names>
19  </macro>
20  <macro name="author">
21    <group suffix=".">
22      <names variable="author">
23        <name name-as-sort-order="all" 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 value="Anon"/>
29        </substitute>
30      </names>
31    </group>
32  </macro>
33  <macro name="author-short">
34    <names variable="author">
35      <name form="short" and="symbol" delimiter=", " initialize-with="."/>
36      <substitute>
37        <names variable="editor"/>
38        <names variable="translator"/>
39        <text value="Anon"/>
40      </substitute>
41    </names>
42  </macro>
43  <macro name="access">
44    <group>
45      <text value="Available from:" suffix=" "/>
46      <text variable="URL"/>
47    </group>
48  </macro>
49  <macro name="title">
50    <text variable="title"/>
51  </macro>
52  <macro name="publisher">
53    <group delimiter=": ">
54      <text variable="publisher-place"/>
55      <text variable="publisher"/>
56    </group>
57  </macro>
58  <macro name="issued">
59    <date variable="issued" delimiter=" ">
60      <date-part name="year"/>
61      <date-part name="month" prefix=" "/>
62      <date-part name="day" prefix=" "/>
63    </date>
64    <group prefix=" [cited " suffix="]">
65      <date variable="accessed" delimiter=" ">
66        <date-part name="year"/>
67        <date-part name="month" prefix=" "/>
68        <date-part name="day" prefix=" "/>
69      </date>
70    </group>
71  </macro>
72  <macro name="pages">
73    <label variable="page" form="short" suffix=". "/>
74    <text variable="page"/>
75  </macro>
76  <macro name="journal">
77    <text variable="container-title"/>
78    <choose>
79      <if variable="URL">
80        <text value=" [Internet]"/>
81      </if>
82    </choose>
83  </macro>
84
85  <citation>
86    <option name="collapse" value="citation-number"/>
87    <sort>
88      <key variable="citation-number"/>
89    </sort>
90    <layout delimiter="," vertical-align="sup">
91      <text variable="citation-number" />
92      <group prefix="(" suffix=")">
93        <label variable="locator" form="short"/>
94        <text variable="locator"/>
95      </group>
96    </layout>
97  </citation>
98  <bibliography>
99    <option name="hanging-indent" value="false"/>
100    <option name="et-al-min" value="10"/>
101    <option name="et-al-use-first" value="10"/>
102    <layout>
103      <text variable="citation-number" prefix="" suffix=". "/>
104      <text macro="author" suffix=""/>
105      <choose>
106        <if type="book">
107          <group suffix=".">
108            <text macro="title" prefix=" " suffix="."/>
109            <text variable="edition" prefix=" " suffix=" ed."/>
110            <text macro="editor" prefix=" (" suffix=")"/>
111          </group>
112          <text prefix=" " suffix="" macro="publisher"/>
113          <group suffix="." prefix="; " delimiter=" ">
114            <date variable="issued">
115              <date-part name="year"/>
116            </date>
117            <text macro="pages"/>
118          </group>
119        </if>
120        <else-if type="chapter">
121          <text macro="title" prefix=" " suffix="."/>
122          <group class="container" prefix=" ">
123            <text term="in" text-transform="capitalize" suffix=": "/>
124            <text macro="editor"/>
125            <text variable="container-title"  prefix=" " suffix="."/>
126            <text variable="volume" prefix=" Vol. " suffix="."/>
127            <text variable="edition" prefix=" " suffix=" ed."/>
128            <text variable="collection-title" prefix=" " suffix="."/>
129            <group suffix=".">
130              <text macro="publisher" prefix=" "/>
131              <group suffix="." prefix="; " delimiter=". ">
132                <date variable="issued">
133                  <date-part name="year"/>
134                </date>
135                <text macro="pages"/>
136              </group>
137            </group>
138          </group>
139        </else-if>
140        <else>
141          <group suffix=".">
142            <text macro="title" prefix=" " />
143            <text macro="editor" prefix=" "/>
144          </group>
145          <group class="container" prefix=" " suffix=".">
146            <text macro="journal" suffix="."/>
147            <group delimiter=";" prefix=" ">
148              <text macro="issued"/>
149              <group>
150                <text variable="volume" />
151                <text variable="issue" prefix="(" suffix=")"/>
152              </group>
153            </group>
154            <text variable="page" prefix=":"/>
155          </group>
156        </else>
157      </choose>
158      <text prefix=" " macro="access"/>
159    </layout>
160  </bibliography>
161</style>