Ticket #632: asa-raw.csl

File asa-raw.csl, 6.1 KB (added by codec, 9 years ago)

American Sociological Association 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>American Sociological Association (Author-Date )</title>
5    <id>http://www.zotero.org/namespaces/CSL/ASA-Author-Date.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-09T20:16:00+00:00</updated>
12    <summary>The ASA style.</summary>
13    <source>http://www.asanet.org/page.ww?name=Quick+Style+Guide%38section=Sociology+Depts</source>
14  </info>
15  <macro name="editor">
16    <names variable="editor">
17      <label form="verb" text-transform="lowercase" suffix=" "/>
18      <name and="text" delimiter=", "/>
19    </names>
20  </macro>
21  <macro name="series-editor">
22    <names variable="original-author">
23      <label form="short" text-transform="capitalize" suffix=". "/>
24      <name and="text" delimiter=", "/>
25    </names>
26  </macro>
27  <macro name="anon">
28    <text value="Anon"/>
29  </macro>
30  <macro name="author">
31    <names variable="author">
32      <name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", "
33            delimiter-precedes-last="always"/>
34      <label form="short" prefix=", " suffix="." text-transform="lowercase"/>
35      <substitute>
36        <names variable="editor"/>
37        <names variable="translator"/>
38        <text macro="anon"/>
39      </substitute>
40    </names>
41  </macro>
42  <macro name="author-short">
43    <names variable="author">
44      <name form="short" and="text" delimiter=", "/>
45      <substitute>
46        <names variable="editor"/>
47        <names variable="translator"/>
48        <text macro="anon"/>
49      </substitute>
50    </names>
51  </macro>
52  <macro name="access">
53    <group>
54      <text variable="URL"/>
55      <group prefix=" (" suffix=")">
56        <text term="accessed" text-transform="capitalize" suffix=" "/>
57        <date variable="accessed">
58          <date-part name="month" suffix=" "/>
59          <date-part name="day" suffix=", "/>
60          <date-part name="year"/>
61        </date>
62      </group>
63    </group>
64  </macro>
65  <macro name="title">
66    <choose>
67      <if type="thesis">
68        <text variable="title"/>
69      </if>
70      <else-if type="book">
71        <text variable="title" font-style="italic"/>
72      </else-if>
73      <else>
74        <text variable="title" quotes="true"/>
75      </else>
76    </choose>
77  </macro>
78  <macro name="publisher">
79    <group delimiter=": " >
80      <text variable="publisher-place"/>
81      <text variable="publisher"/>
82    </group>
83  </macro>
84  <macro name="year-date">
85    <choose>
86      <if variable="issued">
87        <date variable="issued">
88          <date-part name="year"/>
89        </date>
90      </if>
91      <else>
92        <text term="no date" form="short"/>
93      </else>
94    </choose>
95  </macro>
96  <macro name="day-month">
97    <date variable="issued">
98      <date-part name="month"/>
99      <date-part name="day" prefix=" "/>
100    </date>
101   
102  </macro>
103  <macro name="pages">
104    <label variable="page" form="short" suffix=". " text-transform="capitalize"/>
105    <text variable="page"/>
106  </macro>
107  <citation>
108    <option name="et-al-min" value="3"/>
109    <option name="et-al-use-first" value="1"/>
110    <option name="et-al-subsequent-min" value="6"/>
111    <option name="et-al-subsequent-use-first" value="1"/>
112    <option name="disambiguate-add-year-suffix" value="true"/>
113    <option name="disambiguate-add-names" value="true"/>
114    <option name="disambiguate-add-givenname" value="true"/>
115    <option name="collapse" value="year"/>
116    <layout prefix="(" suffix=")" delimiter="; ">
117      <group delimiter=":">
118        <group delimiter=" ">
119          <text macro="author-short"/>
120          <text macro="year-date"/>
121        </group>
122        <text variable="locator"/>
123      </group>
124    </layout>
125  </citation>
126  <bibliography>
127    <option name="hanging-indent" value="true"/>
128    <option name="et-al-min" value="6"/>
129    <option name="et-al-use-first" value="1"/>
130    <sort>
131      <key macro="author"/>
132      <key variable="title"/>
133    </sort>
134    <layout suffix=".">
135      <group delimiter=" ">
136        <text macro="author" suffix="."/>
137        <text macro="year-date" suffix="."/>
138      </group>
139      <choose>
140        <if type="article-newspaper article-magazine" match="any">
141          <group delimiter=" ">
142            <text macro="title" prefix=" " suffix="."/>
143          </group>
144          <group prefix=" " delimiter=", ">
145            <text variable="container-title" font-style="italic"/>
146            <text macro="day-month"/>
147            <text variable="edition"/>
148            <text variable="page"/>
149          </group>
150        </if>
151        <else-if type="thesis">
152          <text macro="title" prefix=" " suffix="." quotes="true"/>
153          <group prefix=" " delimiter=", ">
154            <text variable="edition" suffix=" ed."/>
155            <text macro="editor" suffix="."/>
156            <text variable="genre"/>
157            <text macro="publisher"/>
158          </group>
159        </else-if>
160        <else-if type="book">
161          <group delimiter=" ">
162            <text macro="title" prefix=" " suffix="."/>
163            <text variable="edition" suffix=" ed."/>
164            <text macro="editor" suffix="."/>
165            <text macro="publisher"/>
166          </group>
167        </else-if>
168        <else-if type="chapter">
169          <group delimiter=" ">
170            <text macro="title" prefix=" " suffix="."/>
171            <group class="container" delimiter=", " suffix=".">
172              <group delimiter=" ">
173                <text macro="pages"/>
174                <text term="in" text-transform="lowercase"/>
175                <text variable="container-title" font-style="italic"/>
176              </group>
177              <text variable="volume" prefix="vol. "/>
178              <text variable="collection-title" font-style="italic"/>
179              <text macro="editor" prefix=" "/>
180            </group>
181            <text macro="publisher" prefix=" "/>
182          </group>
183        </else-if>
184        <else>
185          <group suffix="." >
186            <text macro="title" prefix=" " />
187            <text macro="editor" prefix=" "/>
188          </group>
189          <group class="container" prefix=" " suffix="." delimiter=" ">
190            <text variable="container-title" font-style="italic"/>
191            <group delimiter=":">
192              <text variable="volume" />
193              <text variable="page"/>
194            </group>
195          </group>
196        </else>
197      </choose>
198      <text prefix=" " macro="access" suffix="."/>
199    </layout>
200  </bibliography>
201</style>