Ticket #632: water-raw.csl

File water-raw.csl, 5.1 KB (added by codec, 9 years ago)

Water research journal

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>Water Research format</title>
5    <id>http://www.zotero.org/namespaces/CSL/WaterResearch.csl</id>
6    <author>
7      <name>Julian Onions</name>
8      <email>julian.onions@gmail.com</email>
9    </author>
10    <updated>2007-11-07T09:00:00</updated>
11    <summary>Style for Water Research.</summary>
12    <source>http://www.elsevier.com/wps/find/journaldescription.cws_home/309/authorinstructions?navopenmenu=4</source>
13    <category label="Water Research" term="author-date"/>
14    <category term="engineering"/>
15  </info>
16  <macro name="editor">
17    <names variable="editor" prefix="(" suffix=")" delimiter=", ">
18      <name and="text" initialize-with=". " delimiter=", "/>
19      <label form="short" prefix=", " text-transform="lowercase" suffix="."/>
20    </names>
21  </macro>
22  <macro name="author">
23    <names variable="author">
24      <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". "
25            delimiter=", "/>
26      <label form="short" prefix=" (" suffix=".)" text-transform="lowercase"/>
27      <substitute>
28        <names variable="editor"/>
29        <text macro="title"/>
30      </substitute>
31    </names>
32  </macro>
33  <macro name="author-short">
34    <names variable="author">
35      <name form="short" and="text" delimiter=", " initialize-with=". "/>
36      <substitute>
37        <names variable="editor"/>
38        <names variable="translator"/>
39        <choose>
40          <if type="book">
41            <text variable="title" form="short" font-style="italic"/>
42          </if>
43          <else>
44            <text variable="title" form="short"/>
45          </else>
46        </choose>
47      </substitute>
48    </names>
49  </macro>
50  <macro name="access">
51    <group>
52      <text value="[online]" suffix=" "/>
53      <text variable="URL"/>
54      <group prefix=" (" suffix=")">
55        <text term="accessed" text-transform="capitalize" suffix=" "/>
56        <date variable="accessed">
57          <date-part name="month" suffix=" "/>
58          <date-part name="day" suffix=", "/>
59          <date-part name="year"/>
60        </date>
61      </group>
62    </group>
63  </macro>
64  <macro name="title">
65    <choose>
66      <if type="book">
67        <text variable="title" font-style="italic"/>
68      </if>
69      <else>
70        <text variable="title"/>
71      </else>
72    </choose>
73  </macro>
74  <macro name="publisher">
75    <group delimiter=", ">
76      <text variable="publisher-place"/>
77      <text variable="publisher"/>
78    </group>
79  </macro>
80  <citation>
81    <option name="et-al-min" value="6"/>
82    <option name="et-al-use-first" value="6"/>
83    <option name="et-al-subsequent-min" value="6"/>
84    <option name="et-al-subsequent-use-first" value="1"/>
85    <option name="disambiguate-add-year-suffix" value="true"/>
86    <option name="disambiguate-add-names" value="true"/>
87    <option name="disambiguate-add-givenname" value="true"/>
88    <layout prefix="(" suffix=")" delimiter="; ">
89      <group delimiter=", ">
90        <text macro="author-short"/>
91        <date variable="issued">
92          <date-part name="year"/>
93        </date>
94        <group>
95          <label variable="locator" suffix="." form="short"/>
96          <text variable="locator" prefix=" "/>
97        </group>
98      </group>
99    </layout>
100  </citation>
101  <bibliography>
102    <option name="hanging-indent" value="true"/>
103    <option name="et-al-min" value="6"/>
104    <option name="et-al-use-first" value="6"/>
105    <sort>
106      <key macro="author"/>
107      <key variable="title"/>
108    </sort>
109    <layout>
110      <text macro="author" suffix=" "/>
111      <date variable="issued" prefix=" (" suffix=")">
112        <date-part name="year"/>
113      </date>
114      <choose>
115        <if type="book">
116          <group suffix=",">
117            <text macro="title" prefix=" "/>
118            <text macro="editor" prefix=" "/>
119          </group>
120          <text prefix=" " suffix="." macro="publisher"/>
121        </if>
122        <else-if type="chapter">
123          <text macro="title" prefix=" " quotes="true"/>
124          <group class="container" prefix=" ">
125            <text term="in" text-transform="lowercase"/>
126            <names variable="editor" prefix=" " suffix="," delimiter=", ">
127              <name and="text" sort-separator=", " initialize-with=". "/>
128              <label form="short" prefix=" (" suffix=".)" text-transform="lowercase"/>
129            </names>
130            <text variable="container-title"  prefix=" " suffix="."/>
131            <text variable="collection-title" prefix=" " suffix="."/>
132            <group suffix=".">
133              <text macro="publisher" prefix=" "/>
134              <group prefix=", ">
135                <text variable="page"/>
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 variable="container-title"/>
147            <group prefix=", ">
148              <text variable="volume" />
149              <text variable="issue" prefix="(" suffix=")"/>
150            </group>
151            <group prefix=", ">
152              <text variable="page"/>
153            </group>
154          </group>
155        </else>
156      </choose>
157      <text prefix=" " macro="access" suffix="."/>
158    </layout>
159  </bibliography>
160</style>