Ticket #632: chicago-a-d.csl

File chicago-a-d.csl, 6.0 KB (added by codec, 9 years ago)

Chicago Author Date 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>Chicago Manual of Style (Author-Date format)</title>
5    <id>http://www.zotero.org/namespaces/CSL/Chicago-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-02T16:16:00+00:00</updated>
12    <summary>The chicago author-date style.</summary>
13    <source>http://www.chicagomanualofstyle.org/tools_citationguide.html</source>
14  </info>
15  <macro name="editor">
16    <names variable="editor">
17      <label form="short" text-transform="capitalize" 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"/>
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        <date variable="issued">
86          <date-part name="year"/>
87        </date>
88  </macro>
89  <macro name="day-month">
90        <date variable="issued">
91          <date-part name="month"/>
92          <date-part name="day" prefix=" "/>
93        </date>
94  </macro>
95  <citation>
96    <option name="et-al-min" value="4"/>
97    <option name="et-al-use-first" value="1"/>
98    <option name="et-al-subsequent-min" value="6"/>
99    <option name="et-al-subsequent-use-first" value="1"/>
100    <option name="disambiguate-add-year-suffix" value="true"/>
101    <option name="disambiguate-add-names" value="true"/>
102    <option name="disambiguate-add-givenname" value="true"/>
103    <option name="collapse" value="year"/>
104    <layout prefix="(" suffix=")" delimiter="; ">
105      <group delimiter=", ">
106        <group delimiter=" ">
107          <text macro="author-short"/>
108          <text macro="year-date"/>
109        </group>
110        <text variable="locator"/>
111      </group>
112    </layout>
113  </citation>
114  <bibliography>
115    <option name="hanging-indent" value="true"/>
116    <option name="et-al-min" value="6"/>
117    <option name="et-al-use-first" value="1"/>
118    <sort>
119      <key macro="author"/>
120      <key variable="title"/>
121    </sort>
122    <layout suffix=".">
123      <group delimiter=" ">
124      <text macro="author" suffix="."/>
125      <text macro="year-date" suffix="."/>
126      </group>
127      <choose>
128        <if type="article-newspaper article-magazine" match="any">
129          <group delimiter=" ">
130            <text macro="title" prefix=" " suffix="."/>
131          </group>
132          <group prefix=" " delimiter=", ">
133            <text variable="container-title" font-style="italic"/>
134            <text macro="day-month"/>
135            <text variable="edition"/>
136          </group>
137        </if>
138        <else-if type="thesis">
139          <text macro="title" prefix=" " suffix="."/>
140          <group prefix=" " delimiter=", ">
141            <text variable="edition" suffix=" ed."/>
142            <text macro="editor" suffix="."/>
143            <text variable="genre"/>
144            <text macro="publisher"/>
145          </group>
146        </else-if>
147        <else-if type="book">
148          <group delimiter=" ">
149            <text macro="title" prefix=" " suffix="."/>
150            <text variable="edition" suffix=" ed."/>
151            <text macro="editor" suffix="."/>
152            <text macro="publisher"/>
153          </group>
154        </else-if>
155        <else-if type="chapter">
156          <group delimiter=" ">
157          <text macro="title" prefix=" " suffix="."/>
158          <group class="container" delimiter=", ">
159            <group delimiter=" ">
160              <text term="in" text-transform="capitalize"/>
161              <text variable="container-title" font-style="italic"/>
162            </group>
163            <text macro="editor" prefix=" "/>
164            <group delimiter=" ">
165              <text variable="volume" prefix="Vol. " suffix=" of"/>
166              <text variable="collection-title" font-style="italic"/>
167              <text macro="series-editor"/>
168            </group>
169            <text variable="page"/>
170            <text macro="publisher" prefix=" "/>
171          </group>
172          </group>
173        </else-if>
174        <else>
175          <group suffix="." >
176            <text macro="title" prefix=" " />
177            <text macro="editor" prefix=" "/>
178          </group>
179          <group class="container" prefix=" " suffix="." delimiter=" ">
180            <text variable="container-title" font-style="italic"/>
181            <group delimiter=":">
182            <group delimiter=", ">
183              <text variable="volume" />
184              <text variable="issue" prefix="no. "/>
185            </group>
186            <text variable="page"/>
187            </group>
188          </group>
189        </else>
190      </choose>
191      <text prefix=" " macro="access" suffix="."/>
192    </layout>
193  </bibliography>
194</style>