Ticket #632: chicago-note.csl

File chicago-note.csl, 9.4 KB (added by codec, 9 years ago)

Chicago note format

Line 
1<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en"> 
2  <info>
3    <title>Chicago Manual of Style new (Note with Bibliography)</title>
4    <id>http://purl.org/net/xbiblio/csl/styles/chicago-note-bibliography.csl</id>
5    <link>http://purl.org/net/xbiblio/csl/styles/chicago-note-bibliography.csl</link>
6    <source>http://www.chicagomanualofstyle.org/tools_citationguide.html</source>
7    <author>
8      <name>Simon Kornblith</name>
9      <email>simon@simonster.com</email>
10    </author>
11    <contributor>
12      <name>Julian Onions</name>
13      <email>julian.onions@gmail.com</email>
14    </contributor>
15    <category term="history"/>
16    <category term="generic-base"/>
17    <updated>2007-08-06T15:15:00+08:00</updated>
18  </info>
19  <macro name="editor-translator">
20    <names variable="editor translator" prefix="" suffix="" delimiter=", ">
21      <label form="verb" prefix=" " text-transform="lowercase" suffix=" "/>
22      <name and="text" delimiter=", "/>
23    </names>
24  </macro>
25  <macro name="editor-translator-short">
26    <choose>
27      <if variable="author">
28        <names variable="editor translator" prefix="" suffix="" delimiter=", ">
29          <label form="short" prefix=" " text-transform="lowercase" suffix=". "/>
30          <name and="text" delimiter=", "/>
31        </names>
32      </if>
33    </choose>
34  </macro>
35  <macro name="author">
36    <names variable="author">
37      <name name-as-sort-order="first" and="text" sort-separator=", "
38            delimiter=", " delimiter-precedes-last="always"/>
39      <label form="short" prefix=", " suffix="."/>
40      <substitute>
41        <names variable="editor"/>
42        <names variable="translator"/>
43        <text macro="title"/>
44      </substitute>
45    </names>
46  </macro>
47  <macro name="author-full">
48    <names variable="author">
49      <name name-as-sort-order="all" and="text" sort-separator=", "
50            delimiter=", " delimiter-precedes-last="always"/>
51      <label form="short" prefix=", " suffix="."/>
52      <substitute>
53        <names variable="editor"/>
54        <names variable="translator"/>
55        <text macro="title"/>
56      </substitute>
57    </names>
58  </macro>
59  <macro name="author-short">
60    <names variable="author">
61      <name form="long" and="text" delimiter=", " />
62      <label form="short" prefix=", " suffix="."/>
63      <substitute>
64        <names variable="editor"/>
65        <names variable="translator"/>
66        <choose>
67          <if type="book">
68            <text variable="title" form="short" font-style="italic"/>
69          </if>
70          <else>
71            <text variable="title" form="short" quotes="true"/>
72          </else>
73        </choose>
74      </substitute>
75    </names>
76  </macro>
77  <macro name="access">
78    <group>
79      <text variable="URL"/>
80      <group prefix=" (" suffix=")" delimiter=" ">
81        <text term="accessed" text-transform="lowercase" suffix=" "/>
82        <date variable="accessed" suffix=", ">
83          <date-part name="month" suffix=" "/>
84          <date-part name="day" suffix=", "/>
85          <date-part name="year"/>
86        </date>
87      </group>
88    </group>
89  </macro>
90  <macro name="title">
91    <choose>
92      <if type="thesis">
93        <text variable="title" form="short" quotes="true"/>
94      </if>
95      <else-if type="book">
96        <text variable="title" form="short" font-style="italic"/>
97      </else-if>
98      <else>
99        <text variable="title" form="short" quotes="true"/>
100      </else>
101    </choose>
102  </macro>
103  <macro name="publisher">
104    <group delimiter=": ">
105      <text variable="publisher-place"/>
106      <text variable="publisher"/>
107    </group>
108  </macro>
109  <citation>
110    <option name="et-al-min" value="4"/>
111    <option name="et-al-use-first" value="1"/>
112    <option name="et-al-subsequent-min" value="4"/>
113    <option name="et-al-subsequent-use-first" value="1"/>
114    <option name="disambiguate-add-year-suffix" value="true"/>
115    <option name="disambiguate-add-names" value="true"/>
116    <option name="disambiguate-add-givenname" value="true"/>
117    <layout prefix="" suffix="." delimiter="; ">
118      <group suffix="">       
119        <text macro="author-short" suffix=", "/>
120        <text macro="title" prefix=""/>
121        <choose>
122          <if type="thesis">
123            <group prefix=" (" delimiter=", " suffix=")">
124              <text variable="genre"/>
125              <text variable="publisher"/>
126              <date variable="issued">
127                <date-part name="year"/>
128              </date>
129            </group>
130          </if>
131          <else-if type="chapter book">
132            <group class="container" prefix=". ">
133              <text term="in" text-transform="lowercase"/>
134              <text variable="container-title" font-style="italic" prefix=" " suffix=","/>
135              <text variable="collection-title" prefix=" " suffix=","/>
136            </group>
137            <text macro="editor-translator-short"/>
138            <group prefix=" (" suffix=")" delimiter=", ">
139              <text macro="publisher"/>
140              <date variable="issued">
141                <date-part name="year"/>
142              </date>
143            </group>
144          </else-if>
145          <else-if type="article-journal">
146            <group class="container" prefix=" ">
147              <text variable="container-title" font-style="italic" prefix=" "/>
148              <text macro="publisher"/>
149              <text variable="volume"  prefix=" "/>
150              <text variable="issue" prefix=", no. "/>
151              <date variable="issued" prefix=" (" suffix=")">
152                <date-part name="year"/>
153              </date>
154              <text variable="page" prefix=": "/>
155            </group>
156          </else-if>
157          <else>
158            <group delimiter=", " prefix=". ">
159              <text variable="container-title" font-style="italic"/>
160              <text variable="issue"  prefix=", " suffix="."/>
161              <date variable="issued">
162                <date-part name="month" form="long"/>
163                <date-part name="day" form="numeric" prefix=" " suffix=", "/>
164                <date-part name="year"/>
165              </date>         
166            </group>
167          </else>
168        </choose>
169        <text variable="locator" prefix=", "/>
170      </group>
171    </layout>
172  </citation>
173  <bibliography>
174    <option name="hanging-indent" value="true"/>
175    <option name="et-al-min" value="6"/>
176    <option name="et-al-use-first" value="6"/>
177    <option name="subsequent-author-substitute" value="---"/>
178    <layout suffix=".">
179      <text macro="author" suffix="."/>
180      <choose>
181        <if type="thesis">
182          <group suffix=".">
183            <text macro="title" prefix=" "/>
184          </group>
185          <group delimiter=", " prefix=" ">
186            <text variable="genre"/>
187            <text variable="publisher"/>
188            <date variable="issued">
189              <date-part name="year"/>
190            </date>
191          </group>
192        </if>
193        <else-if type="chapter">
194          <text macro="title" prefix=" "/>
195          <group class="container" prefix=". ">
196            <text term="in" text-transform="capitalize"/>
197            <text variable="container-title" font-style="italic" prefix=" " suffix=","/>
198            <text variable="collection-title" prefix=" " suffix=","/>
199            <names variable="editor translator" prefix=" " suffix="," delimiter=", ">
200              <label form="verb" text-transform="lowercase" suffix=" "/>
201              <name and="text" sort-separator=", " />
202            </names>
203            <group suffix=".">
204              <text variable="page" prefix=" "/>
205            </group>
206            <group>
207              <text macro="publisher" prefix=" "/>
208              <date variable="issued" prefix=", ">
209                <date-part name="year"/>
210              </date>
211            </group>
212          </group>
213        </else-if>
214        <else-if type="article-journal">
215          <group suffix=".">
216            <text macro="title" prefix=" "/>
217            <text macro="editor-translator" prefix=" "/>
218          </group>
219          <group class="container" prefix=" " suffix="">
220            <text variable="container-title" font-style="italic" prefix=" "/>
221            <text variable="volume"  prefix=" "/>
222            <text variable="issue" prefix=", no. "/>
223            <date variable="issued" prefix=" (" suffix=")">
224              <date-part name="month" suffix=" "/>
225              <date-part name="day" suffix=", "/>
226              <date-part name="year"/>
227            </date>
228            <text variable="page" prefix=": "/>
229          </group>
230        </else-if>
231        <else-if type="article-newspaper article-magazine" match="any">
232          <group suffix=".">
233            <text macro="title" prefix=" "/>
234            <text macro="editor-translator" prefix=" "/>
235          </group>
236          <group delimiter=", " prefix=" ">
237            <text variable="container-title" font-style="italic"/>
238            <text variable="issue"  suffix="."/>
239            <date variable="issued">
240              <date-part name="month" form="long"/>
241              <date-part name="day" form="numeric" prefix=" " suffix=", "/>
242              <date-part name="year"/>
243            </date>         
244          </group>
245        </else-if>
246        <else-if type="paper-conference">
247          <group suffix=".">
248            <text macro="title" prefix=" "/>
249            <text macro="editor-translator" prefix=" "/>
250          </group>
251          <group suffix="">
252            <text value="paper presented at" text-transform="capitalize"/>
253            <text variable="event" prefix=" "/>
254            <text variable="event-place"  prefix=", "/>
255            <date variable="event">
256              <date-part name="month" form="long"/>
257              <date-part name="day" form="numeric" prefix=" " suffix=", "/>
258              <date-part name="year"/>
259            </date>         
260          </group>
261        </else-if>
262        <else-if type="book">
263          <group suffix=".">
264            <text macro="title" prefix=" " suffix="."/>
265            <text macro="editor-translator" prefix=""/>
266          </group>
267          <text prefix=" " suffix="," macro="publisher"/>
268          <date variable="issued" prefix=" " suffix="">
269            <date-part name="year"/>
270          </date>
271        </else-if>
272        <else>
273          <group suffix=".">
274            <text macro="title" prefix=" "/>
275            <text macro="editor-translator" prefix=" "/>
276          </group>
277          <group class="container" prefix=" " suffix="">
278            <text variable="container-title" font-style="italic"/>
279            <group prefix=", ">
280              <text variable="volume" font-style="italic"/>
281              <text variable="issue" prefix="(" suffix=")"/>
282            </group>
283            <text variable="page" prefix=", "/>
284          </group>
285        </else>
286      </choose>
287      <text prefix=" " macro="access"/>
288    </layout>
289  </bibliography>
290</style>