/usr/share/citation-style-language/styles/chimia.csl is in citation-style-language-styles 0~20180122.283b8d871-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" initialize-with-hyphen="true" default-locale="en-US">
<info>
<title>CHIMIA</title>
<id>http://www.zotero.org/styles/chimia</id>
<link href="http://www.zotero.org/styles/chimia" rel="self"/>
<link href="https://chimia.ch/index.php?option=com_content&view=category&layout=blog&id=109&Itemid=489&lang=en" rel="documentation"/>
<author>
<name>Martin Brändle</name>
<email>mpbraendle@gmail.com</email>
<uri>http://www.id.uzh.ch/cl/iframe/org/visitenk/index.php?id=mb</uri>
</author>
<category citation-format="numeric"/>
<category field="chemistry"/>
<issn>0009-4293</issn>
<summary>A style for CHIMIA, the International Journal for Chemistry and Official Membership Journal of the Swiss Chemical Society (SCS) and its Divisions.
This style has been tested with Mendeley and Zotero and has been validated using the CSL Schema 1.0.1. Papers for Mac does not correctly format webpages and patents due to unknown reasons.</summary>
<updated>2015-10-10T16:30:00+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>
<!-- MACROS, sorted alphabetically -->
<!-- author -->
<macro name="author">
<names variable="author">
<name initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="capitalize-first" suffix=" "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<!-- computer program -->
<macro name="computerprogram">
<group delimiter=", ">
<group delimiter=" ">
<text variable="title" text-case="title"/>
<text macro="program-version"/>
</group>
<text macro="author"/>
<text macro="publisher"/>
<text macro="year-date"/>
</group>
<text macro="doi" prefix=", "/>
</macro>
<!-- DOI -->
<macro name="doi">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="DOI: "/>
</if>
</choose>
</macro>
<!-- edition -->
<macro name="edition">
<group delimiter=" ">
<text variable="edition"/>
<text term="edition" form="short"/>
</group>
</macro>
<!-- editor -->
<macro name="editor">
<group delimiter=" ">
<names variable="editor">
<label form="short" text-case="capitalize-first" suffix=" "/>
<name initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
</names>
</group>
</macro>
<!-- full-accessed -->
<macro name="full-accessed">
<date variable="accessed" prefix="accessed " delimiter=" ">
<date-part name="month" form="long"/>
<date-part name="day" suffix=", "/>
<date-part name="year" font-weight="bold"/>
</date>
</macro>
<!-- publisher -->
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher" text-case="capitalize-all"/>
<text variable="publisher-place" text-case="title"/>
</group>
</macro>
<!-- pages -->
<macro name="pages">
<choose>
<if type="chapter paper-conference">
<label variable="page" form="short" suffix=" "/>
<text variable="page-first"/>
</if>
<else>
<text variable="page-first"/>
</else>
</choose>
</macro>
<!-- program-version -->
<macro name="program-version">
<choose>
<if variable="version">
<text variable="version"/>
</if>
<else-if variable="edition">
<text variable="edition"/>
</else-if>
<else>
<text variable="number"/>
</else>
</choose>
</macro>
<!-- thesis-number -->
<macro name="thesis-number">
<choose>
<if variable="volume">
<choose>
<if is-numeric="volume">
<text value="No. "/>
</if>
</choose>
<number variable="volume" form="numeric"/>
</if>
<else-if variable="number">
<choose>
<if is-numeric="number">
<text value="No. "/>
</if>
</choose>
<number variable="number" form="numeric"/>
</else-if>
</choose>
</macro>
<!-- thesis-type -->
<macro name="thesis-type">
<choose>
<if variable="genre">
<text variable="genre"/>
</if>
<else>
<text value="Ph.D. Thesis"/>
</else>
</choose>
</macro>
<!-- volume -->
<macro name="volume">
<group delimiter=" ">
<choose>
<if type="chapter paper-conference">
<text term="volume" form="short" text-case="capitalize-first"/>
</if>
</choose>
<text variable="volume"/>
</group>
</macro>
<!-- year-date -->
<macro name="year-date">
<group font-weight="bold">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
</choose>
</group>
</macro>
<!-- END MACROS -->
<!-- CITATION -->
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout vertical-align="sup" delimiter="," prefix="[" suffix="]">
<text variable="citation-number"/>
</layout>
</citation>
<!-- BIBLIOGRAPHY -->
<bibliography entry-spacing="0" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" prefix="[" suffix="] "/>
<choose>
<!-- journal/review article -->
<if type="article-journal review" match="any">
<text macro="author" suffix=", "/>
<group delimiter=" ">
<text variable="container-title" form="short" font-style="italic" strip-periods="false"/>
<group delimiter=", ">
<text macro="year-date"/>
<group>
<text variable="volume" font-style="italic"/>
</group>
<text macro="pages"/>
</group>
</group>
<text macro="doi" prefix=", "/>
</if>
<!-- book and report -->
<else-if type="book report bill graphic legal_case legislation motion_picture song" match="any">
<choose>
<!-- Zotero maps computer program to book, so check on version variable (may fail) -->
<if variable="version">
<text macro="computerprogram"/>
</if>
<else>
<text macro="author" suffix=", "/>
<group delimiter=", ">
<text variable="title" prefix="‘" suffix="’"/>
<text macro="publisher"/>
<text macro="year-date"/>
</group>
<text macro="doi" prefix=", "/>
</else>
</choose>
</else-if>
<!-- book chapter or conference proceedings -->
<else-if type="chapter paper-conference entry-encyclopedia" match="any">
<text macro="author" suffix=", "/>
<group delimiter=", ">
<group delimiter=" ">
<text term="in"/>
<text variable="container-title" text-case="title" prefix="‘" suffix="’"/>
</group>
<text macro="volume" font-style="italic"/>
<text macro="edition"/>
<text macro="editor"/>
<text macro="publisher"/>
<text macro="year-date"/>
<text macro="pages"/>
</group>
<text macro="doi" prefix=", "/>
</else-if>
<!-- thesis -->
<else-if type="thesis">
<text macro="author" suffix=", "/>
<group delimiter=", ">
<group delimiter=" ">
<text macro="thesis-type"/>
<text variable="publisher"/>
<text macro="thesis-number"/>
</group>
<text variable="publisher-place"/>
<text macro="year-date"/>
</group>
<text macro="doi" prefix=", "/>
</else-if>
<!-- computer program (is mapped to type "article" in Mendeley) -->
<else-if type="article">
<text macro="computerprogram"/>
</else-if>
<!-- patent -->
<else-if type="patent">
<text macro="author" suffix=", "/>
<group delimiter=", ">
<text variable="number"/>
<text macro="year-date"/>
</group>
</else-if>
<!-- webpage -->
<else-if type="webpage">
<group delimiter=", ">
<text variable="title"/>
<text variable="URL" font-style="italic"/>
<text macro="full-accessed"/>
</group>
</else-if>
<!-- weblog -->
<else-if type="post-weblog">
<text macro="author" suffix=", "/>
<group delimiter=", ">
<text variable="title"/>
<text variable="URL" font-style="italic"/>
<text macro="full-accessed"/>
</group>
</else-if>
<!-- manuscript (not in Mendeley) -->
<else-if type="manuscript" match="any">
<text macro="author" suffix=", "/>
<group delimiter=", ">
<text variable="title" prefix="‘" suffix="’"/>
<text macro="publisher"/>
<text macro="year-date"/>
</group>
</else-if>
<!-- anything else:
article-magazine
article-newspaper
broadcast
dataset
entry
entry-dictionary
figure
interview
map
musical_score
pamphlet
post
-->
<else>
<text macro="author" suffix=", "/>
<group delimiter=" ">
<text variable="container-title" form="short" font-style="italic"/>
<group delimiter=", ">
<text macro="year-date"/>
<group>
<text variable="volume" font-style="italic"/>
</group>
<text macro="pages"/>
</group>
</group>
<text macro="doi" prefix=", "/>
</else>
</choose>
</layout>
</bibliography>
</style>
|