Advertisement
Guest User

Zotero_FAO_style_callnumber

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