Ticket #632: pnas-raw.csl

File pnas-raw.csl, 3.8 KB (added by codec, 9 years ago)

PNAS 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>PNAS Journal format</title>
5    <id>http://www.zotero.org/namespaces/CSL/PNAS.csl</id>
6    <author>
7      <name>Julian Onions</name>
8      <email>julian.onions@gmail.com</email>
9    </author>
10    <category term="numbered"/>
11    <updated>2007-11-09T21:16:00+00:00</updated>
12    <summary>The Proceedings of the National Academy of Sciences Journal style.</summary>
13    <source>http://www.pnas.org/misc/iforc.shtml</source>
14  </info>
15  <macro name="editor">
16    <names variable="editor" delimiter=", ">
17      <label form="short" prefix="" text-transform="lowercase" suffix=" "/>
18      <name  initialize-with="" name-as-sort-order="all" sort-separator=" "
19delimiter=", " delimiter-precedes-last="always"/>
20    </names>
21  </macro>
22  <macro name="author">
23    <names variable="author">
24      <name name-as-sort-order="all" sort-separator=" " initialize-with=""
25            delimiter=", " delimiter-precedes-last="always"/>
26      <label form="short" prefix=" " suffix="." text-transform="lowercase"/>
27      <substitute>
28        <names variable="editor"/>
29        <text variable="title"/>
30      </substitute>
31    </names>
32  </macro>
33  <macro name="access">
34    <group>
35      <text value="Available at:" suffix=" "/>
36      <text variable="URL"/>
37      <group prefix=" [" suffix="]">
38        <text term="accessed" text-transform="capitalize" suffix=" "/>
39        <date variable="accessed">
40          <date-part name="month" suffix=" "/>
41          <date-part name="day" suffix=", "/>
42          <date-part name="year"/>
43        </date>
44      </group>
45    </group>
46  </macro>
47  <macro name="title">
48    <text variable="title"/>
49  </macro>
50  <macro name="publisher">
51    <group prefix="(" delimiter=": " suffix=")">
52      <text variable="publisher-place"/>
53      <text variable="publisher"/>
54    </group>
55  </macro>
56  <macro name="year-date">
57    <date variable="issued">
58      <date-part name="year"/>
59    </date>
60  </macro>
61  <citation>
62    <option name="collapse" value="citation-number"/>
63    <layout prefix="(" suffix=")" delimiter=", ">
64    <text variable="citation-number" />
65    </layout>
66  </citation>
67  <bibliography>
68    <option name="hanging-indent" value="true"/>
69    <option name="et-al-min" value="5"/>
70    <option name="et-al-use-first" value="1"/>
71    <sort>
72      <key macro="author"/>
73      <key variable="title"/>
74    </sort>
75    <layout suffix=".">
76      <text macro="author"/>
77      <date variable="issued" prefix=" (" suffix=")">
78        <date-part name="year"/>
79      </date>
80      <choose>
81        <if type="book">
82          <group delimiter=" " prefix=" ">
83            <text macro="title"/>
84            <text variable="edition" suffix=" ed."/>
85            <text macro="editor" />
86            <text macro="publisher" />
87          </group>
88        </if>
89        <else-if type="chapter">
90          <group class="container" prefix=" " delimiter=" ">
91            <text term="in" text-transform="lowercase"/>
92            <group delimiter=", ">
93            <text variable="container-title" font-style="italic"/>
94            <text variable="collection-title" prefix=" " suffix="."/>
95            <text macro="editor"/>
96            </group>
97          </group>
98          <group suffix=".">
99            <text macro="publisher" prefix=" "/>
100            <group prefix=", ">
101              <label variable="page" suffix=". " form="short"/>
102              <text variable="page"/>
103            </group>
104          </group>
105        </else-if>
106        <else>
107          <text macro="title" prefix=" " suffix="."/>
108          <group class="container" delimiter=":" prefix=" " suffix=".">
109            <group delimiter=" ">
110              <text variable="container-title" form="short" font-style="italic"/>
111              <text variable="volume" />
112            </group>
113            <text variable="page"/>
114          </group>
115        </else>
116      </choose>
117      <text prefix=" " macro="access" />
118    </layout>
119  </bibliography>
120</style>