-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathfood-and-agriculture-organization-of-the-united-nations-numeric.csl
402 lines (402 loc) · 16.9 KB
/
food-and-agriculture-organization-of-the-united-nations-numeric.csl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" delimiter-precedes-et-al="never" delimiter-precedes-last="never" initialize-with="." demote-non-dropping-particle="sort-only">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Food and Agriculture Organization of the United Nations (numeric)</title>
<title-short>FAO (numeric)</title-short>
<id>http://www.zotero.org/styles/food-and-agriculture-organization-of-the-united-nations-numeric</id>
<link href="http://www.zotero.org/styles/food-and-agriculture-organization-of-the-united-nations-numeric" rel="self"/>
<link href="https://www.fao.org/3/cb8081en/cb8081en.pdf" rel="documentation"/>
<author>
<name>Bin Liu</name>
<email>[email protected]</email>
<uri>https://www.linkedin.com/in/lieubean/</uri>
</author>
<contributor>
<name>Julian Plummer</name>
<email>[email protected]</email>
<uri>https://www.linkedin.com/in/julian-plummer/</uri>
</contributor>
<contributor>
<name>Amy Knauff</name>
<email/>
<uri>https://www.linkedin.com/in/amy-knauff-92655442/</uri>
</contributor>
<contributor>
<name>Stephanie Wright</name>
<email/>
<uri>https://www.linkedin.com/in/piriet/</uri>
</contributor>
<category citation-format="author-date"/>
<category field="science"/>
<category field="social_science"/>
<summary>This style is created to meet the citation and bibliographical requirements of FAOSTYLE, and has been tested with Zotero and Mendeley. Last update: February 2024.</summary>
<updated>2024-02-25T20:50:55+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<!-- Locale settings for English. Settings for other languages could be added later to this section. -->
<locale xml:lang="en">
<style-options punctuation-in-quote="false"/>
<terms>
<term name="no date">undated</term>
<term name="presented at">Presentation at</term>
<term name="by">Adopted</term>
<term name="available at">Also available at</term>
</terms>
<date delimiter=" " form="text">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</locale>
<!-- Macros -->
<macro name="anonymous">
<text term="anonymous" text-case="capitalize-first"/>
</macro>
<macro name="editor">
<!-- Outputs "XX ed. / XX & XX eds." -->
<names variable="editor">
<name and="symbol"/>
<label form="short" strip-periods="true" prefix=", "/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name and="symbol" name-as-sort-order="all"/>
<et-al font-style="italic"/>
<label form="short" prefix=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anonymous"/>
</substitute>
</names>
</macro>
<macro name="date">
<!-- date format: year / undated / put "forthcoming" or else in "Date" field when needed. -->
<choose>
<if match="none" variable="issued">
<text term="no date"/>
</if>
<else>
<date date-parts="year" form="text" variable="issued"/>
</else>
</choose>
</macro>
<macro name="title-and-genre">
<!-- For book, song, audio recording, etc.: Outputs "Title (italic) [Medium/Genre]". -->
<group delimiter=" ">
<text variable="title" font-style="italic"/>
<text variable="medium" prefix="[" suffix="]"/>
<text variable="genre" prefix="[" suffix="]"/>
</group>
</macro>
<macro name="periodical">
<!-- For journal and magazine: Outputs "Journal/Magazine title (italic), Vol(Issue): Page." Suffix is added because this can appear at the end of a reference. -->
<group suffix=".">
<text variable="container-title" form="long" font-style="italic"/>
<text variable="volume" prefix=", "/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=": "/>
</group>
</macro>
<macro name="edition">
<!-- Outputs edition info like "Second edition". -->
<number text-case="capitalize-first" variable="edition" form="long-ordinal"/>
<text term="edition" prefix=" "/>
</macro>
<macro name="vol">
<!-- Vol. xx -->
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first"/>
<text variable="volume"/>
</group>
</macro>
<macro name="in-and-container">
<!-- Outputs "In: XX ed. Container-title (italic)" if container-title exists. "XX ed. " will be omited if there's no editor. -->
<choose>
<if variable="container-title">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text macro="editor" suffix="."/>
<text variable="container-title" font-style="italic"/>
</group>
</if>
</choose>
</macro>
<macro name="series-and-number">
<!-- Outputs "Series-Title No. xxx" for various types.-->
<group delimiter=" ">
<text variable="collection-title"/>
<text variable="collection-number"/>
<!-- "Series Number" field for book section in Zotero. -->
<text variable="number"/>
<!-- "Report Number" field for report in Zotero. -->
<!-- "No. " must be entered in "Series Number" and "Report Number" in Zotero. -->
<!-- Mendeley doesn't offer a "Series Number / Report Number" field. "No. xxx" must be put in "Series" field. -->
</group>
</macro>
<macro name="publisher-and-place">
<!-- Outputs "place, publisher." Suffix is added because this can appear at the end of a reference. -->
<group delimiter=", " suffix=".">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="Cite-and-URL">
<!-- Output "Cited day month year. URL" -->
<group delimiter=" " prefix="[" suffix="]. ">
<text term="cited" text-case="capitalize-first"/>
<date form="text" variable="accessed"/>
</group>
<text variable="URL"/>
</macro>
<macro name="DOI-or-URL">
<!-- If DOI exists, outputs "https://doi.org/DOI". If DOI doesn't exist, then outputs URL. -->
<choose>
<if variable="DOI">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else>
<text variable="URL"/>
</else>
</choose>
</macro>
<macro name="event-title">
<choose>
<!-- TODO: We expect "event-title" to be used,
but processors and applications may not be updated yet.
This macro ensures that either "event" or "event-title" can be accepted.
Remove if procesor logic and application adoption can handle this. -->
<if variable="event-title">
<text variable="event-title"/>
</if>
<else>
<text variable="event"/>
</else>
</choose>
</macro>
<macro name="date-codes-legal">
<!-- Output "dd Month yyyy. Number and source." for legal materials -->
<date form="text" variable="issued" suffix=". "/>
<group delimiter=", " suffix=".">
<text variable="number"/>
<group delimiter=" ">
<text variable="volume"/>
<text variable="container-title"/>
<text variable="page"/>
</group>
</group>
</macro>
<!-- in-line citation: superscript number, separated by a comma followed by a space. -->
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter=", " vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
<!-- bibliography -->
<bibliography entry-spacing="0" second-field-align="flush" line-spacing="1" et-al-min="10" et-al-use-first="7">
<layout>
<text variable="citation-number" suffix="."/>
<choose>
<if type="legal_case bill legislation treaty" match="none">
<!-- Every item type except legal ones (case, bill and statute) uses "Anonymous" as author if there's no author. -->
<group delimiter=". ">
<text macro="author" font-weight="bold"/>
<text macro="date"/>
<choose>
<if type="book">
<!-- book and computer program in Zotero; book in Mendeley. -->
<text macro="title-and-genre"/>
<!-- For Computer Program in Zotero, put "CD-ROM"/ "DVD-ROM" etc. in "System" field. -->
<!-- For eBook in Mendeley, put "CD-ROM", "Kindle edition" etc. in "Genre" field. -->
<!-- For eBook in Zotero, put "Medium: CD-ROM", "Genre: Kindle edition" etc. in "Extra" field. -->
<text macro="edition"/>
<text macro="editor"/>
<text macro="vol"/>
<text macro="series-and-number"/>
<text macro="publisher-and-place"/>
<text macro="DOI-or-URL"/>
</if>
<else-if type="chapter">
<!-- book section -->
<text variable="title"/>
<text macro="in-and-container"/>
<group delimiter=" ">
<text macro="edition" suffix=","/>
<label variable="page" form="short"/>
<text variable="page"/>
</group>
<text macro="vol"/>
<text macro="series-and-number"/>
<text macro="publisher-and-place"/>
<text macro="DOI-or-URL"/>
</else-if>
<else-if type="article-journal">
<!-- journal article -->
<text variable="title"/>
<text macro="periodical"/>
<text macro="DOI-or-URL"/>
</else-if>
<else-if type="article-magazine">
<!-- magazine article -->
<text variable="title"/>
<text macro="periodical"/>
<text macro="Cite-and-URL"/>
</else-if>
<else-if type="article-newspaper">
<!-- newspaper article -->
<text variable="title"/>
<group delimiter=", " suffix=".">
<text variable="container-title" font-style="italic"/>
<date form="text" variable="issued"/>
</group>
<text macro="Cite-and-URL"/>
</else-if>
<else-if type="webpage post-weblog" match="any">
<!-- web page and blog post -->
<text variable="title"/>
<text macro="in-and-container"/>
<text variable="publisher-place"/>
<!-- Put place in "Extra" field in Zotero, e.g. "Place: Rome". -->
<text macro="Cite-and-URL"/>
</else-if>
<else-if type="thesis">
<!-- thesis -->
<text variable="title" font-style="italic"/>
<text macro="publisher-and-place"/>
<text variable="genre" suffix="."/>
<!-- Suffix is added because this can appear at the end of a reference, i.e. when the thesis doesn't have DOI/URL. -->
<text macro="DOI-or-URL"/>
</else-if>
<else-if type="song motion_picture" match="any">
<!-- audio recording, film and video recording in Zotero; film and computer program in Mendeley -->
<text macro="title-and-genre"/>
<!-- Can put "audio recording", "video" etc. in "Format" field in Zotero. -->
<!-- Can put "audio recording", "video" etc. in "Genre" field in Mendeley. -->
<text macro="publisher-and-place"/>
<text macro="Cite-and-URL"/>
</else-if>
<else-if type="manuscript report" match="any">
<!-- manuscript and report -->
<text variable="title" font-style="italic"/>
<text variable="genre"/>
<text macro="series-and-number"/>
<text macro="publisher-and-place"/>
<text macro="DOI-or-URL"/>
</else-if>
<else-if type="article">
<!-- document, can be used for e.g. monograph -->
<text variable="title" font-style="italic"/>
<text variable="genre"/>
<text macro="series-and-number"/>
<text macro="publisher-and-place"/>
<text macro="Cite-and-URL"/>
</else-if>
<else-if type="speech">
<!-- presentation -->
<text variable="title"/>
<group delimiter=" ">
<text term="presented at"/>
<text macro="event-title" suffix=","/>
<date form="text" variable="issued" suffix=","/>
<text macro="publisher-and-place"/>
</group>
<text macro="Cite-and-URL"/>
</else-if>
<else-if type="paper-conference">
<!-- conference paper -->
<text variable="title" font-style="italic"/>
<text macro="in-and-container"/>
<text variable="collection-title"/>
<group delimiter=", " suffix=".">
<text macro="event-title"/>
<text variable="publisher-place"/>
<text variable="publisher"/>
<!-- Not using macro "publisher-and-place" here because event date needs to be appended and the suffix "." of the macro would appear. -->
<date form="text" variable="issued"/>
</group>
<text macro="DOI-or-URL"/>
</else-if>
<else-if type="dataset">
<!-- Dataset -->
<group>
<text variable="publisher" font-style="italic" suffix=": "/>
<!-- Publisher is mapped to Repository. Put the name of the database that contains the dataset being cited here. -->
<text variable="title" font-style="italic"/>
<!-- Put the name of the dataset in Title. -->
</group>
<group delimiter=" " prefix="[" suffix="]">
<text term="accessed" text-case="capitalize-first"/>
<text term="on"/>
<date form="text" variable="accessed"/>
</group>
<text variable="URL"/>
<text variable="license" suffix="."/>
</else-if>
<else>
<!-- other item types -->
<text variable="title"/>
<text variable="genre"/>
<text macro="publisher-and-place"/>
<text macro="Cite-and-URL"/>
</else>
</choose>
</group>
</if>
<else-if type="legal_case">
<!-- case -->
<group delimiter=" ">
<text variable="title" font-style="italic" suffix="."/>
<text variable="authority" suffix=","/>
<!-- "Court" field in Zotero -->
<text macro="date-codes-legal"/>
<text variable="note" suffix="."/>
<!-- "Extra" field in Zotero. Can be used to put any additional information. -->
<!-- text macro="DOI-or-URL"/> -->
</group>
</else-if>
<else-if type="bill treaty">
<!-- legal instruments -->
<choose>
<if variable="title-short">
<text variable="title" font-style="italic" suffix=" "/>
<text variable="title" form="short" font-style="italic" prefix="(" suffix="). "/>
</if>
<else>
<text variable="title" font-style="italic" suffix=". "/>
</else>
</choose>
<group delimiter=" ">
<!-- <text term="by" suffix=":"/> -->
<text variable="authority" suffix=","/>
<text variable="publisher-place" suffix=","/>
<!-- Put "Place: xxxxx" in "Extra" field in Zotero -->
<text macro="date-codes-legal"/>
<group delimiter=": ">
<text term="available at"/>
<text macro="DOI-or-URL"/>
</group>
</group>
</else-if>
<else-if type="legislation">
<!-- Type "statute" in Zotero, used for legislation -->
<group delimiter=" ">
<text macro="author" font-weight="bold" suffix="."/>
<text variable="title" font-style="italic" suffix=","/>
<text macro="date-codes-legal"/>
<text variable="note" suffix="."/>
<!-- "Extra" field in Zotero. Can be used to put any additional information. -->
<group delimiter=": ">
<text term="available at"/>
<text macro="DOI-or-URL"/>
</group>
</group>
</else-if>
</choose>
</layout>
</bibliography>
</style>