Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 408 lines (407 sloc) 13.534 kB
66f1c5b @cparnot Adds style for 'The American Naturalist'.
cparnot authored
1 <?xml version="1.0" encoding="utf-8"?>
2 <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never" default-locale="en-US">
3 <info>
4 <title>The American Naturalist</title>
5 <id>http://www.zotero.org/styles/the-american-naturalist</id>
6 <link href="http://www.zotero.org/styles/the-american-naturalist" rel="self"/>
7 <link href="http://www.zotero.org/styles/apa" rel="template"/>
8 <link href="http://www.press.uchicago.edu/journals/an/instruct.html?journal=an#tprep" rel="documentation"/>
9 <issn>0003-0147</issn> <!-- Print -->
10 <issn>1537-5323</issn> <!-- Online -->
11 <author>
12 <name>Charles Parnot</name>
13 <uri>http://twitter.com/cparnot</uri>
14 <email>charles@mekentosj.com</email>
15 </author>
16 <category field="biology"/>
17 <category citation-format="author-date"/>
18 <updated>2012-07-12T12:00:00+00:00</updated>
19 <rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
20 </info>
21 <locale xml:lang="en">
22 <terms>
23 <term name="translator" form="short">
24 <single>trans.</single>
25 <multiple>trans.</multiple>
26 </term>
27 </terms>
28 </locale>
29 <macro name="container-contributors">
30 <choose>
31 <if type="chapter paper-conference" match="any">
32 <text term="in" text-case="capitalize-first" suffix=" "/>
33 <names variable="editor" delimiter=", " suffix=", ">
34 <name and="symbol" initialize-with=". " delimiter=", "/>
35 <label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
36 <substitute>
37 <names variable="translator"/>
38 </substitute>
39 </names>
40 </if>
41 </choose>
42 </macro>
43 <macro name="secondary-contributors">
44 <choose>
45 <if type="chapter paper-conference" match="none">
46 <names variable="translator" delimiter=", " prefix=" (" suffix=")">
47 <name and="symbol" initialize-with=". " delimiter=", "/>
48 <label form="short" prefix=", " text-case="capitalize-first" suffix=""/>
49 <substitute>
50 <names variable="editor"/>
51 </substitute>
52 </names>
53 </if>
54 </choose>
55 </macro>
56 <macro name="author">
57 <names variable="author">
58 <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
59 <label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
60 <substitute>
61 <names variable="editor"/>
62 <names variable="translator"/>
63 <choose>
64 <if type="report">
65 <text variable="publisher"/>
66 <text macro="title"/>
67 </if>
68 <else>
69 <text macro="title"/>
70 </else>
71 </choose>
72 </substitute>
73 </names>
74 </macro>
75 <macro name="author-short">
76 <names variable="author">
77 <name form="short" and="symbol" delimiter=", " initialize-with=". "/>
78 <substitute>
79 <names variable="editor"/>
80 <names variable="translator"/>
81 <choose>
82 <if type="report">
83 <text variable="publisher"/>
84 <text variable="title" form="short" font-style="italic"/>
85 </if>
86 <else-if type="bill book graphic legal_case legislation motion_picture song" match="any">
87 <text variable="title" form="short" font-style="italic"/>
88 </else-if>
89 <else>
90 <text variable="title" form="short"/>
91 </else>
92 </choose>
93 </substitute>
94 </names>
95 </macro>
96 <macro name="access">
97 <choose>
98 <if type="thesis">
99 <choose>
100 <if variable="archive" match="any">
101 <group>
102 <text term="retrieved" text-case="capitalize-first" suffix=" "/>
103 <text term="from" suffix=" "/>
104 <text variable="archive" suffix="."/>
105 <text variable="archive_location" prefix=" (" suffix=")"/>
106 </group>
107 </if>
108 <else>
109 <group>
110 <text term="retrieved" text-case="capitalize-first" suffix=" "/>
111 <text term="from" suffix=" "/>
112 <text variable="URL"/>
113 </group>
114 </else>
115 </choose>
116 </if>
117 <else>
118 <choose>
119 <if variable="DOI">
120 <text variable="DOI" prefix="doi:"/>
121 </if>
122 <else>
123 <choose>
124 <if type="webpage">
125 <group delimiter=" ">
126 <text term="retrieved" text-case="capitalize-first" suffix=" "/>
127 <group>
128 <date variable="accessed" suffix=", ">
129 <date-part name="month" suffix=" "/>
130 <date-part name="day" suffix=", "/>
131 <date-part name="year"/>
132 </date>
133 </group>
134 <text term="from"/>
135 <text variable="URL"/>
136 </group>
137 </if>
138 <else>
139 <group>
140 <text term="retrieved" text-case="capitalize-first" suffix=" "/>
141 <text term="from" suffix=" "/>
142 <text variable="URL"/>
143 </group>
144 </else>
145 </choose>
146 </else>
147 </choose>
148 </else>
149 </choose>
150 </macro>
151 <macro name="title">
152 <choose>
153 <if type="report thesis" match="any">
154 <text variable="title" font-style="italic"/>
155 <group prefix=" (" suffix=")" delimiter=" ">
156 <text variable="genre"/>
157 <text variable="number" prefix="No. "/>
158 </group>
159 </if>
160 <else-if type="book graphic motion_picture report song manuscript speech" match="any">
161 <text variable="title" font-style="italic"/>
162 </else-if>
163 <else>
164 <text variable="title"/>
165 </else>
166 </choose>
167 </macro>
168 <macro name="publisher">
169 <choose>
170 <if type="report" match="any">
171 <group delimiter=": ">
172 <text variable="publisher-place"/>
173 <text variable="publisher"/>
174 </group>
175 </if>
176 <else-if type="thesis" match="any">
177 <group delimiter=", ">
178 <text variable="publisher"/>
179 <text variable="publisher-place"/>
180 </group>
181 </else-if>
182 <else>
183 <group delimiter=", ">
184 <choose>
185 <if variable="event" match="none">
186 <text variable="genre"/>
187 </if>
188 </choose>
189 <choose>
190 <if type="article-journal article-magazine" match="none">
191 <group delimiter=": ">
192 <text variable="publisher-place"/>
193 <text variable="publisher"/>
194 </group>
195 </if>
196 </choose>
197 </group>
198 </else>
199 </choose>
200 </macro>
201 <macro name="event">
202 <choose>
203 <if variable="event">
204 <choose>
205 <if variable="genre" match="none">
206 <text term="presented at" text-case="capitalize-first" suffix=" "/>
207 <text variable="event"/>
208 </if>
209 <else>
210 <group delimiter=" ">
211 <text variable="genre" text-case="capitalize-first"/>
212 <text term="presented at"/>
213 <text variable="event"/>
214 </group>
215 </else>
216 </choose>
217 </if>
218 </choose>
219 </macro>
220 <macro name="issued">
221 <choose>
222 <if type="bill legal_case legislation" match="none">
223 <choose>
224 <if variable="issued">
225 <group prefix=" " suffix=".">
226 <date variable="issued">
227 <date-part name="year"/>
228 </date>
229 <text variable="year-suffix"/>
230 </group>
231 </if>
232 <else>
233 <group prefix=" " suffix=".">
234 <text term="no date" form="short"/>
235 <text variable="year-suffix" prefix="-"/>
236 </group>
237 </else>
238 </choose>
239 </if>
240 </choose>
241 </macro>
242 <macro name="issued-year">
243 <choose>
244 <if variable="issued">
245 <date variable="issued">
246 <date-part name="year"/>
247 </date>
248 <text variable="year-suffix"/>
249 </if>
250 <else>
251 <text term="no date" form="short"/>
252 <text variable="year-suffix" prefix="-"/>
253 </else>
254 </choose>
255 </macro>
256 <macro name="edition">
257 <choose>
258 <if is-numeric="edition">
259 <group delimiter=" ">
260 <number variable="edition" form="ordinal"/>
261 <text term="edition" form="short" suffix="." strip-periods="true"/>
262 </group>
263 </if>
264 <else>
265 <text variable="edition" suffix="."/>
266 </else>
267 </choose>
268 </macro>
269 <macro name="locators">
270 <choose>
271 <if type="article-journal article-magazine" match="any">
272 <group prefix=" " delimiter=":">
273 <group>
274 <text variable="volume"/>
275 <text variable="issue" prefix="(" suffix=")"/>
276 </group>
277 <text variable="page"/>
278 </group>
279 </if>
280 <else-if type="article-newspaper">
281 <group delimiter=" " prefix=", ">
282 <label variable="page" form="short"/>
283 <text variable="page"/>
284 </group>
285 </else-if>
286 <else-if type="book graphic motion_picture report song chapter paper-conference" match="any">
287 <group prefix=" (" suffix=")" delimiter=", ">
288 <text macro="edition"/>
289 <group>
290 <text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=". " strip-periods="true"/>
291 <number variable="number-of-volumes" form="numeric" prefix="1-"/>
292 </group>
293 <group>
294 <text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
295 <number variable="volume" form="numeric"/>
296 </group>
297 <group>
298 <label variable="page" form="short" suffix=" "/>
299 <text variable="page"/>
300 </group>
301 </group>
302 </else-if>
303 <else-if type="legal_case">
304 <group prefix=" (" suffix=")" delimiter=" ">
305 <text variable="authority"/>
306 <date variable="issued" delimiter=" ">
307 <date-part name="month" form="short"/>
308 <date-part name="day" suffix=","/>
309 <date-part name="year"/>
310 </date>
311 </group>
312 </else-if>
313 <else-if type="bill legislation">
314 <date variable="issued" prefix=" (" suffix=")">
315 <date-part name="year"/>
316 </date>
317 </else-if>
318 </choose>
319 </macro>
320 <macro name="citation-locator">
321 <group>
322 <label variable="locator" form="short"/>
323 <text variable="locator" prefix=" "/>
324 </group>
325 </macro>
326 <macro name="container">
327 <choose>
328 <if type="bill legal_case legislation" match="none">
329 <text variable="container-title"/>
330 </if>
331 <else>
332 <group delimiter=" " prefix=", ">
333 <choose>
334 <if variable="container-title">
335 <text variable="volume"/>
336 <text variable="container-title"/>
337 <group delimiter=" ">
338 <!--change to label variable="section" as that becomes available -->
339 <text term="section" form="symbol"/>
340 <text variable="section"/>
341 </group>
342 <text variable="page"/>
343 </if>
344 <else>
345 <choose>
346 <if type="legal_case">
347 <text variable="number" prefix="No. "/>
348 </if>
349 <else>
350 <text variable="number" prefix="Pub. L. No. "/>
351 <group delimiter=" ">
352 <!--change to label variable="section" as that becomes available -->
353 <text term="section" form="symbol"/>
354 <text variable="section"/>
355 </group>
356 </else>
357 </choose>
358 </else>
359 </choose>
360 </group>
361 </else>
362 </choose>
363 </macro>
364 <citation et-al-min="2" et-al-use-first="1" disambiguate-add-year-suffix="true">
365 <sort>
366 <key macro="issued-year"/>
367 <key macro="author"/>
368 </sort>
369 <layout prefix="(" suffix=")" delimiter="; ">
370 <group delimiter=", ">
371 <text macro="author-short"/>
372 <text macro="issued-year"/>
373 <text macro="citation-locator"/>
374 </group>
375 </layout>
376 </citation>
377 <bibliography et-al-min="8" et-al-use-first="7" entry-spacing="0">
378 <sort>
379 <key macro="author"/>
380 <key macro="issued-year" sort="ascending"/>
381 </sort>
382 <layout>
383 <group suffix=".">
384 <group delimiter=". ">
385 <text macro="author"/>
386 <text macro="issued"/>
387 </group>
388 <group delimiter=". ">
389 <text macro="title" prefix=" "/>
390 <group>
391 <text macro="container-contributors"/>
392 <text macro="secondary-contributors"/>
393 <group delimiter=", ">
394 <text macro="container"/>
395 <text variable="collection-title"/>
396 </group>
397 </group>
398 </group>
399 <text macro="locators"/>
400 <group delimiter=", " prefix=". ">
401 <text macro="event"/>
402 <text macro="publisher"/>
403 </group>
404 </group>
405 </layout>
406 </bibliography>
407 </style>
Something went wrong with that request. Please try again.