elsevier-with-titles.csl 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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="sort-only" default-locale="en-US">
  3. <info>
  4. <title>Elsevier (numeric, with titles)</title>
  5. <id>http://www.zotero.org/styles/elsevier-with-titles</id>
  6. <link href="http://www.zotero.org/styles/elsevier-with-titles" rel="self"/>
  7. <link href="http://www.zotero.org/styles/elsevier-without-titles" rel="template"/>
  8. <link href="http://www.elsevier.com/journals/journal-of-hazardous-materials/0304-3894/guide-for-authors#68001" rel="documentation"/>
  9. <author>
  10. <name>Richard Karnesky</name>
  11. <email>[email protected]</email>
  12. <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
  13. </author>
  14. <contributor>
  15. <name>Rintze Zelle</name>
  16. <uri>http://twitter.com/rintzezelle</uri>
  17. </contributor>
  18. <category citation-format="numeric"/>
  19. <category field="generic-base"/>
  20. <summary>A style for many of Elsevier's journals that includes article titles in the reference list</summary>
  21. <updated>2012-09-27T22:06:38+00:00</updated>
  22. <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
  23. </info>
  24. <macro name="author">
  25. <names variable="author">
  26. <name initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
  27. <label form="short" prefix=", "/>
  28. <substitute>
  29. <names variable="editor"/>
  30. <names variable="translator"/>
  31. </substitute>
  32. </names>
  33. </macro>
  34. <macro name="editor">
  35. <names variable="editor">
  36. <name initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
  37. <label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
  38. </names>
  39. </macro>
  40. <macro name="year-date">
  41. <choose>
  42. <if variable="issued">
  43. <date variable="issued">
  44. <date-part name="year"/>
  45. </date>
  46. </if>
  47. <else>
  48. <text term="no date" form="short"/>
  49. </else>
  50. </choose>
  51. </macro>
  52. <macro name="publisher">
  53. <text variable="publisher" suffix=", "/>
  54. <text variable="publisher-place" suffix=", "/>
  55. <text macro="year-date"/>
  56. </macro>
  57. <macro name="edition">
  58. <!--TODO: CSL should have low numeric be text (e.g. '3'->'third')-->
  59. <choose>
  60. <if is-numeric="edition">
  61. <group delimiter=" ">
  62. <number variable="edition" form="ordinal"/>
  63. <text term="edition" form="short"/>
  64. </group>
  65. </if>
  66. <else>
  67. <text variable="edition"/>
  68. </else>
  69. </choose>
  70. </macro>
  71. <macro name="access">
  72. <choose>
  73. <if variable="URL">
  74. <text variable="URL"/>
  75. <group prefix=" (" suffix=")" delimiter=" ">
  76. <text term="accessed"/>
  77. <date variable="accessed" form="text"/>
  78. </group>
  79. </if>
  80. </choose>
  81. </macro>
  82. <citation collapse="citation-number">
  83. <sort>
  84. <key variable="citation-number"/>
  85. </sort>
  86. <layout prefix="[" suffix="]" delimiter=",">
  87. <text variable="citation-number"/>
  88. </layout>
  89. </citation>
  90. <bibliography entry-spacing="0" second-field-align="flush" et-al-min="7" et-al-use-first="6">
  91. <layout suffix=".">
  92. <text variable="citation-number" prefix="[" suffix="]"/>
  93. <text macro="author" suffix=", "/>
  94. <choose>
  95. <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
  96. <group delimiter=", ">
  97. <text variable="title"/>
  98. <text macro="edition"/>
  99. <text macro="publisher"/>
  100. </group>
  101. </if>
  102. <else-if type="chapter paper-conference" match="any">
  103. <text variable="title" suffix=", "/>
  104. <text term="in" suffix=": "/>
  105. <text macro="editor" suffix=", "/>
  106. <text variable="container-title" form="short" text-case="title" suffix=", "/>
  107. <text macro="edition" suffix=", "/>
  108. <text macro="publisher"/>
  109. <group delimiter=" ">
  110. <label variable="page" form="short" prefix=": "/>
  111. <text variable="page"/>
  112. </group>
  113. </else-if>
  114. <else-if type="patent">
  115. <group delimiter=", ">
  116. <text variable="title"/>
  117. <text variable="number"/>
  118. <text macro="year-date"/>
  119. </group>
  120. </else-if>
  121. <else-if type="thesis">
  122. <group delimiter=", ">
  123. <text variable="title"/>
  124. <text variable="genre"/>
  125. <text variable="publisher"/>
  126. <text macro="year-date"/>
  127. </group>
  128. </else-if>
  129. <else>
  130. <group delimiter=" ">
  131. <text variable="title" suffix=","/>
  132. <text variable="container-title" form="short" text-case="title" suffix="."/>
  133. <text variable="volume"/>
  134. <text macro="year-date" prefix="(" suffix=")"/>
  135. <text variable="page" form="short"/>
  136. </group>
  137. </else>
  138. </choose>
  139. <choose>
  140. <if variable="DOI">
  141. <text variable="DOI" prefix=". doi:"/>
  142. </if>
  143. <else>
  144. <text macro="access" prefix=". "/>
  145. </else>
  146. </choose>
  147. </layout>
  148. </bibliography>
  149. </style>