Ticket #632: science-raw.csl

File science-raw.csl, 3.9 KB (added by codec, 9 years ago)

Science 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>Science format</title>
5    <id>http://www.zotero.org/namespaces/CSL/Science.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-08T09:30:00+00:00</updated>
12    <summary>The Science style.</summary>
13    <source>http://www.sciencemag.org/about/authors/prep/res/refs.dtl</source>
14  </info>
15  <macro name="editor">
16    <names variable="editor" prefix="" suffix="" delimiter=", ">
17      <name initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
18      <label form="short" prefix=", " text-transform="capitalize" suffix="."/>
19    </names>
20  </macro>
21  <macro name="author">
22    <names variable="author">
23      <name  sort-separator=", " initialize-with=". "
24             delimiter=", " delimiter-precedes-last="always"/>
25      <label form="short" prefix=", " suffix="." text-transform="capitalize"/>
26      <substitute>
27        <names variable="editor"/>
28      </substitute>
29    </names>
30  </macro>
31  <macro name="access">
32    <text variable="URL"/>
33  </macro>
34  <macro name="title">
35    <choose>
36      <if type="book">
37        <text variable="title" font-style="italic"/>
38      </if>
39      <else>
40        <text variable="title"/>
41      </else>
42    </choose>
43  </macro>
44  <macro name="publisher">
45    <group delimiter=", ">
46      <text variable="publisher"/>
47      <text variable="publisher-place"/>
48    </group>
49  </macro>
50  <macro name="volume">
51     <text variable="volume" prefix="vol. "/>
52  </macro>
53  <macro name="pages">
54    <label variable="page" form="short" suffix=". "/>
55    <text variable="page"/>
56  </macro>
57  <macro name="issued">
58              <date variable="issued" delimiter=" ">
59                <date-part name="month" form="long" suffix=" "/>
60                <date-part name="year"/>
61              </date>
62  </macro>
63  <citation>
64    <option name="collapse" value="citation-number"/>
65    <layout prefix="(" suffix=")" delimiter=", " font-style="italic">
66      <text variable="citation-number" />
67    </layout>
68  </citation>
69  <bibliography>
70    <option name="hanging-indent" value="false"/>
71    <option name="et-al-min" value="5"/>
72    <option name="et-al-use-first" value="1"/>
73    <layout suffix=".">
74      <text variable="citation-number" suffix=". "/>
75      <text macro="author" suffix=", "/>
76      <choose>
77        <if type="thesis">
78          <text value="thesis, "/>
79          <text macro="publisher"/>
80          <text macro="issued" prefix=" (" suffix=")"/>
81        </if>
82        <else-if type="book">
83          <group>
84            <text macro="title" prefix=" "/>
85            <text macro="editor" prefix=" "/>
86          </group>
87          <group prefix=" (" suffix=")" delimiter=", ">
88            <text macro="publisher"/>
89            <text variable="edition"/>
90            <text macro="issued"/>
91          </group>
92          <text macro="pages" prefix=", "/>
93        </else-if>
94        <else-if type="chapter">
95          <group class="container" prefix=" ">
96            <text term="in" text-transform="lowercase"/>
97            <text variable="container-title" font-style="italic" prefix=" " suffix=","/>
98            <text variable="collection-title" prefix=" " suffix="."/>
99            <text macro="editor" prefix=" "/>
100            <group prefix=" (" suffix=")" delimiter=", ">
101              <text macro="publisher" />
102              <text macro="issued"/>
103            </group>
104          </group>
105          <group delimiter=", " prefix=", ">
106            <text macro="volume"/>
107            <text macro="pages"/>
108          </group>
109        </else-if>
110        <else>
111          <group suffix=".">
112            <text macro="editor" prefix=" "/>
113          </group>
114          <group class="container" prefix=" ">
115            <text variable="container-title" font-style="italic" suffix=". "/>
116            <text variable="volume" font-weight="bold"/>
117            <text variable="page" prefix=", "/>
118          </group>
119          <text macro="issued" prefix=" (" suffix=")"/>
120        </else>
121      </choose>
122      <text prefix=" " macro="access" suffix="."/>
123    </layout>
124  </bibliography>
125</style>