Advertisement
Guest User

Untitled

a guest
Jul 20th, 2021
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.44 KB | None | 0 0
  1. <locale xml:lang="en">
  2. <terms>
  3. <term name="editortranslator" form="short">
  4. <single>ed. and translator</single>
  5. <multiple>eds. and translators</multiple>
  6. </term>
  7. <term name="translator" form="short">
  8. <single>translator</single>
  9. <multiple>translators</multiple>
  10. </term>
  11. <term name="collection-editor" form="short">
  12. <single>series ed.</single>
  13. <multiple>series eds.</multiple>
  14. </term>
  15. </terms>
  16. </locale>
  17. <macro name="editor">
  18. <group delimiter="; ">
  19. <names variable="editor translator" delimiter="; ">
  20. <name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
  21. <label form="short" prefix=", " text-case="title"/>
  22. </names>
  23. <names variable="collection-editor">
  24. <name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
  25. <label form="short" prefix=", " text-case="title"/>
  26. </names>
  27. </group>
  28. </macro>
  29. <macro name="author">
  30. <names variable="author" suffix=".">
  31. <name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
  32. <label form="short" prefix=", " text-case="capitalize-first"/>
  33. </names>
  34. </macro>
  35. <macro name="publisher">
  36. <choose>
  37. <if type="thesis" match="any">
  38. <group delimiter=", ">
  39. <text variable="publisher"/>
  40. <text variable="publisher-place"/>
  41. </group>
  42. </if>
  43. <else>
  44. <group delimiter=": ">
  45. <text variable="publisher"/>
  46. <text variable="publisher-place"/>
  47. </group>
  48. </else>
  49. </choose>
  50. </macro>
  51. <macro name="title">
  52. <choose>
  53. <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
  54. <text variable="title" text-case="title" font-style="italic"/>
  55. </if>
  56. <else>
  57. <text variable="title" text-case="title"/>
  58. </else>
  59. </choose>
  60. </macro>
  61. <macro name="volume">
  62. <group delimiter=" ">
  63. <text term="volume" form="short" text-case="capitalize-first"/>
  64. <text variable="volume"/>
  65. </group>
  66. </macro>
  67. <macro name="series">
  68. <text variable="collection-title"/>
  69. </macro>
  70. <macro name="pages">
  71. <text variable="page"/>
  72. </macro>
  73. <macro name="book-container">
  74. <group delimiter=". ">
  75. <text macro="title"/>
  76. <choose>
  77. <if type="entry-dictionary entry-encyclopedia" match="none">
  78. <group delimiter=" ">
  79. <text variable="container-title" font-style="italic"/>
  80. </group>
  81. </if>
  82. <else>
  83. <text variable="container-title" font-style="italic"/>
  84. </else>
  85. </choose>
  86. </group>
  87. </macro>
  88. <macro name="issued">
  89. <date delimiter=" " variable="issued" font-weight="bold">
  90. <date-part name="year"/>
  91. </date>
  92. </macro>
  93. <macro name="full-issued">
  94. <date variable="issued" delimiter=" ">
  95. <date-part name="month" form="long" suffix=" "/>
  96. <date-part name="day" suffix=", "/>
  97. <date-part name="year"/>
  98. </date>
  99. </macro>
  100. <macro name="edition">
  101. <choose>
  102. <if is-numeric="edition">
  103. <group delimiter=" ">
  104. <number variable="edition" form="ordinal"/>
  105. <text term="edition" form="short"/>
  106. </group>
  107. </if>
  108. <else>
  109. <text variable="edition" suffix="."/>
  110. </else>
  111. </choose>
  112. </macro>
  113. <citation collapse="citation-number">
  114. <sort>
  115. <key variable="citation-number"/>
  116. </sort>
  117. <layout delimiter="," vertical-align="sup">
  118. <text variable="citation-number"/>
  119. </layout>
  120. </citation>
  121. <bibliography entry-spacing="0" hanging-indent="true">
  122. <layout suffix=".">
  123. <text variable="citation-number" prefix="(" suffix=") "/>
  124. <text macro="author" suffix=" "/>
  125. <choose>
  126. <if type="article-journal review" match="any">
  127. <group delimiter=". ">
  128. <text macro="title" suffix="."/>
  129. <text variable="container-title" font-style="italic" form="short"/>
  130. <group delimiter=", ">
  131. <text macro="issued" font-weight="bold"/>
  132. <choose>
  133. <if variable="volume">
  134. <group delimiter=" ">
  135. <text variable="volume" font-style="normal"/>
  136. <text variable="issue" prefix="(" suffix=")"/>
  137. </group>
  138. </if>
  139. <else>
  140. <group delimiter=" ">
  141. <text term="issue" form="short" text-case="capitalize-first"/>
  142. <text variable="issue"/>
  143. </group>
  144. </else>
  145. </choose>
  146. <text variable="page" suffix="."/>
  147. </group>
  148. </group>
  149. </if>
  150. <else-if type="article-magazine article-newspaper article" match="any">
  151. <group delimiter=" ">
  152. <text macro="title" suffix="."/>
  153. <text variable="container-title" form="short" font-style="italic" suffix="."/>
  154. <group delimiter=", ">
  155. <text macro="full-issued"/>
  156. <text macro="pages" suffix="."/>
  157. </group>
  158. </group>
  159. </else-if>
  160. <else-if type="thesis">
  161. <group delimiter=", ">
  162. <group delimiter=". ">
  163. <text macro="title"/>
  164. <text variable="genre"/>
  165. </group>
  166. <text macro="publisher"/>
  167. <text macro="issued"/>
  168. <text macro="volume"/>
  169. <text macro="pages" suffix="."/>
  170. </group>
  171. </else-if>
  172. <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
  173. <group delimiter=". ">
  174. <group delimiter=", ">
  175. <text macro="title"/>
  176. <text macro="edition"/>
  177. </group>
  178. <text macro="editor" prefix=" "/>
  179. <text macro="series"/>
  180. <choose>
  181. <if type="report">
  182. <group delimiter=" ">
  183. <text variable="genre"/>
  184. <text variable="number"/>
  185. </group>
  186. </if>
  187. </choose>
  188. <group delimiter=", ">
  189. <text macro="publisher"/>
  190. <text macro="issued"/>
  191. <text macro="volume"/>
  192. <text macro="pages"/>
  193. </group>
  194. </group>
  195. </else-if>
  196. <else-if type="patent">
  197. <group delimiter=", ">
  198. <group delimiter=". ">
  199. <text macro="title"/>
  200. <text variable="number"/>
  201. </group>
  202. <date variable="issued" form="text"/>
  203. </group>
  204. </else-if>
  205. <else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
  206. <group delimiter=". ">
  207. <text macro="book-container"/>
  208. <group delimiter=", ">
  209. <text macro="publisher"/>
  210. <text macro="issued"/>
  211. <group delimiter=", ">
  212. <text macro="volume"/>
  213. <text macro="pages" suffix="."/>
  214. </group>
  215. </group>
  216. </group>
  217. </else-if>
  218. <else-if type="webpage">
  219. <group delimiter=" ">
  220. <text variable="title"/>
  221. <text variable="URL"/>
  222. <date delimiter="" variable="accessed" prefix="(accessed " suffix=")">
  223. <date-part name="month" range-delimiter=""/>
  224. <date-part name="day" range-delimiter="" prefix=" "/>
  225. <date-part name="year" range-delimiter="" prefix=", "/>
  226. </date>
  227. </group>
  228. </else-if>
  229. <else>
  230. <group delimiter=", ">
  231. <group delimiter=". ">
  232. <text macro="title"/>
  233. <text variable="container-title" font-style="italic"/>
  234. </group>
  235. <group delimiter=", ">
  236. <text macro="issued"/>
  237. <text variable="volume" font-style="italic"/>
  238. <text variable="page"/>
  239. </group>
  240. </group>
  241. </else>
  242. </choose>
  243. <text variable="DOI" display="block" prefix="https://doi.org/" suffix="."/>
  244. </layout>
  245. </bibliography>
  246. </style>
  247.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement