oxedyne/fe2o3/fe2o3_text/tests/data/csl/corpus/kamk-vancouver.csl
8.1 KiB, 1 run
created by r1870400018:72828, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <style |
| 3 | xmlns="http://purl.org/net/xbiblio/csl" |
| 4 | class="in-text" |
| 5 | version="1.0" |
| 6 | default-locale="fi-FI" |
| 7 | > |
| 8 | <info> |
| 9 | <title>KAMK Vancouver</title> |
| 10 | <id>https://github.com/sourander/kamk-thesis-typst/raw/refs/heads/main/src/data/kamk-vancouver.csl</id> |
| 11 | <updated>2026-09-07T00:00:00+00:00</updated> |
| 12 | <link |
| 13 | href="https://libguides.kamk.fi/vancouver" |
| 14 | rel="documentation" |
| 15 | /> |
| 16 | </info> |
| 17 | |
| 18 | <!-- Custom local overrides for the Finnish dictionary --> |
| 19 | <locale xml:lang="fi"> |
| 20 | <terms> |
| 21 | <term name="available at">saatavilla</term> |
| 22 | <term name="accessed">viitattu</term> |
| 23 | </terms> |
| 24 | </locale> |
| 25 | |
| 26 | <!-- Formats inline citations as [1] or [1, Luku 4] --> |
| 27 | <citation collapse="citation-number"> |
| 28 | <sort> |
| 29 | <key variable="citation-number"/> |
| 30 | </sort> |
| 31 | |
| 32 | <layout prefix="[" suffix="]" delimiter="; "> |
| 33 | <group delimiter=", "> |
| 34 | <text variable="citation-number"/> |
| 35 | <text variable="locator"/> |
| 36 | </group> |
| 37 | </layout> |
| 38 | </citation> |
| 39 | |
| 40 | <macro name="author"> |
| 41 | <names variable="author"> |
| 42 | <name |
| 43 | name-as-sort-order="all" |
| 44 | sort-separator=" " |
| 45 | initialize-with="" |
| 46 | delimiter=", " |
| 47 | /> |
| 48 | </names> |
| 49 | </macro> |
| 50 | |
| 51 | <macro name="editor"> |
| 52 | <names variable="editor"> |
| 53 | <name |
| 54 | name-as-sort-order="all" |
| 55 | sort-separator=" " |
| 56 | initialize-with="" |
| 57 | delimiter=", " |
| 58 | /> |
| 59 | <label form="short" prefix=", "/> |
| 60 | </names> |
| 61 | </macro> |
| 62 | |
| 63 | <macro name="publisher"> |
| 64 | <group delimiter=": "> |
| 65 | <text variable="publisher-place"/> |
| 66 | <text variable="publisher"/> |
| 67 | </group> |
| 68 | </macro> |
| 69 | |
| 70 | <bibliography second-field-align="flush"> |
| 71 | <layout> |
| 72 | <text variable="citation-number" suffix=". "/> |
| 73 | |
| 74 | <!-- Smart grouping automatically handles trailing periods --> |
| 75 | <group delimiter=". " suffix="."> |
| 76 | <text macro="author"/> |
| 77 | |
| 78 | <choose> |
| 79 | <!-- Book --> |
| 80 | <if type="book"> |
| 81 | <group delimiter=". "> |
| 82 | <group delimiter=" "> |
| 83 | <text variable="title" font-style="italic"/> |
| 84 | <text variable="medium" prefix="[" suffix="]"/> |
| 85 | </group> |
| 86 | |
| 87 | <text variable="edition"/> |
| 88 | |
| 89 | <group delimiter=" "> |
| 90 | <text variable="collection-title"/> |
| 91 | <text variable="collection-number"/> |
| 92 | </group> |
| 93 | |
| 94 | <group delimiter="; "> |
| 95 | <text macro="publisher"/> |
| 96 | <date variable="issued"> |
| 97 | <date-part name="year"/> |
| 98 | </date> |
| 99 | </group> |
| 100 | </group> |
| 101 | </if> |
| 102 | |
| 103 | <!-- Journal article --> |
| 104 | <else-if type="article-journal"> |
| 105 | <text variable="title" font-style="italic"/> |
| 106 | |
| 107 | <group delimiter=" "> |
| 108 | <text variable="container-title"/> |
| 109 | |
| 110 | <group> |
| 111 | <date variable="issued" suffix=";"> |
| 112 | <date-part name="year"/> |
| 113 | </date> |
| 114 | <text variable="volume"/> |
| 115 | <text variable="issue" prefix="(" suffix=")"/> |
| 116 | <text variable="page" prefix=", "/> |
| 117 | </group> |
| 118 | </group> |
| 119 | </else-if> |
| 120 | |
| 121 | <!-- Conference paper --> |
| 122 | <else-if type="paper-conference"> |
| 123 | <text variable="title" font-style="italic"/> |
| 124 | |
| 125 | <group delimiter=" "> |
| 126 | <text term="in" text-case="capitalize-first" suffix=":"/> |
| 127 | <text variable="container-title"/> |
| 128 | </group> |
| 129 | |
| 130 | <group delimiter=""> |
| 131 | <date variable="issued"> |
| 132 | <date-part name="year"/> |
| 133 | </date> |
| 134 | <text variable="volume" prefix=";"/> |
| 135 | <text variable="page" prefix=":"/> |
| 136 | </group> |
| 137 | </else-if> |
| 138 | |
| 139 | <!-- Book section or chapter --> |
| 140 | <else-if type="chapter"> |
| 141 | <text variable="title" font-style="italic"/> |
| 142 | |
| 143 | <group delimiter=" "> |
| 144 | <text term="in" text-case="capitalize-first" suffix=":"/> |
| 145 | <text macro="editor"/> |
| 146 | </group> |
| 147 | |
| 148 | <text variable="container-title"/> |
| 149 | |
| 150 | <group delimiter="; "> |
| 151 | <text macro="publisher"/> |
| 152 | <date variable="issued"> |
| 153 | <date-part name="year"/> |
| 154 | </date> |
| 155 | </group> |
| 156 | |
| 157 | <text variable="page"/> |
| 158 | </else-if> |
| 159 | |
| 160 | <!-- Thesis --> |
| 161 | <else-if type="thesis"> |
| 162 | <group delimiter=" "> |
| 163 | <text variable="title" font-style="italic"/> |
| 164 | </group> |
| 165 | |
| 166 | <group delimiter="; "> |
| 167 | <text macro="publisher"/> |
| 168 | <date variable="issued"> |
| 169 | <date-part name="year"/> |
| 170 | </date> |
| 171 | </group> |
| 172 | </else-if> |
| 173 | |
| 174 | <!-- Legislation and standards --> |
| 175 | <else-if type="legislation report bill" match="any"> |
| 176 | <text variable="title" font-style="italic"/> |
| 177 | |
| 178 | <group delimiter=". "> |
| 179 | <text macro="publisher"/> |
| 180 | <date variable="issued"> |
| 181 | <date-part name="year"/> |
| 182 | </date> |
| 183 | </group> |
| 184 | </else-if> |
| 185 | |
| 186 | <!-- Failsafe fallback for Typst @unpublished --> |
| 187 | <else-if type="manuscript"> |
| 188 | <text variable="title" font-style="italic"/> |
| 189 | </else-if> |
| 190 | |
| 191 | <!-- Universal digital and AV media --> |
| 192 | <else-if |
| 193 | type="webpage post-weblog post software dataset motion_picture broadcast song speech personal_communication" |
| 194 | match="any" |
| 195 | > |
| 196 | <group delimiter=". "> |
| 197 | <!-- Title --> |
| 198 | <text variable="title"/> |
| 199 | |
| 200 | <!-- Description or selected variables --> |
| 201 | <text variable="note"/> |
| 202 | |
| 203 | <!-- Publisher or organization --> |
| 204 | <text variable="publisher"/> |
| 205 | |
| 206 | <!-- Publication date and optional access date --> |
| 207 | <group delimiter=" "> |
| 208 | <date variable="issued"> |
| 209 | <date-part name="day" form="numeric" suffix="."/> |
| 210 | <date-part name="month" form="numeric" suffix="."/> |
| 211 | <date-part name="year"/> |
| 212 | </date> |
| 213 | |
| 214 | <group prefix="[" suffix="]"> |
| 215 | <text term="accessed" suffix=" "/> |
| 216 | <date variable="accessed"> |
| 217 | <date-part name="day" form="numeric" suffix="."/> |
| 218 | <date-part name="month" form="numeric" suffix="."/> |
| 219 | <date-part name="year"/> |
| 220 | </date> |
| 221 | </group> |
| 222 | </group> |
| 223 | |
| 224 | <!-- URL, rendered only when present --> |
| 225 | <group delimiter=" "> |
| 226 | <text |
| 227 | term="available at" |
| 228 | text-case="capitalize-first" |
| 229 | suffix=":" |
| 230 | /> |
| 231 | <text variable="URL"/> |
| 232 | </group> |
| 233 | </group> |
| 234 | </else-if> |
| 235 | |
| 236 | <!-- Catch-all for types not defined above --> |
| 237 | <else> |
| 238 | <group delimiter=". "> |
| 239 | <text variable="title" font-style="italic"/> |
| 240 | <text macro="publisher"/> |
| 241 | <date variable="issued"> |
| 242 | <date-part name="year"/> |
| 243 | </date> |
| 244 | </group> |
| 245 | </else> |
| 246 | </choose> |
| 247 | |
| 248 | <!-- |
| 249 | Render notes and URLs here only for non-digital source types. |
| 250 | Digital source types already render these fields in their branch. |
| 251 | --> |
| 252 | <choose> |
| 253 | <if |
| 254 | type="webpage post-weblog post software dataset motion_picture broadcast song speech personal_communication" |
| 255 | match="none" |
| 256 | > |
| 257 | <text variable="note"/> |
| 258 | |
| 259 | <group delimiter=" "> |
| 260 | <text |
| 261 | term="available at" |
| 262 | text-case="capitalize-first" |
| 263 | suffix=":" |
| 264 | /> |
| 265 | <text variable="URL"/> |
| 266 | </group> |
| 267 | </if> |
| 268 | </choose> |
| 269 | </group> |
| 270 | </layout> |
| 271 | </bibliography> |
| 272 | </style> |