oxedyne/fe2o3/fe2o3_text/tests/data/csl/corpus/gb-t-7714-2005-numeric-cug.csl
16.0 KiB, 1 run
created by r1870400018:72780, 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 xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" name-as-sort-order="all" sort-separator=" " demote-non-dropping-particle="never" initialize-with=" " initialize-with-hyphen="false" page-range-format="expanded" default-locale="zh-CN"> |
| 3 | <info> |
| 4 | <title>China National Standard GB/T (CUG 毕设)</title> |
| 5 | <id>http://www.zotero.org/styles/gb-t-7714-2005-numeric-cug</id> |
| 6 | <link href="http://www.zotero.org/styles/gb-t-7714-2005-numeric-bilingual-no-uppercase-no-url" rel="self"/> |
| 7 | <link href="http://www.zotero.org/styles/gb-t-7714-2005-numeric-bilingual" rel="template"/> |
| 8 | <link href="https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D78562D3A7E05397BE0A0AB82A" rel="documentation"/> |
| 9 | <author> |
| 10 | <email>bw_chen1223@foxmail.com</email> |
| 11 | <name>Chen Brevin </name> |
| 12 | </author> |
| 13 | <contributor> |
| 14 | <name>Zeping Lee</name> |
| 15 | <email>zepinglee@gmail.com</email> |
| 16 | </contributor> |
| 17 | <contributor> |
| 18 | <name>heromyth</name> |
| 19 | <email>zxpmyth@yahoo.com.cn</email> |
| 20 | </contributor> |
| 21 | <category citation-format="numeric"/> |
| 22 | <category field="generic-base"/> |
| 23 | <summary>用于 Typst 的 CSL 样式:1. 按照语言显示“等”或“et al.”;2. 姓名取消全大写;3. 仅纯电子资源显示引用日期和 URL。</summary> |
| 24 | <updated>2024-07-01T21:46:46+08:00</updated> |
| 25 | <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> |
| 26 | </info> |
| 27 | <locale xml:lang="zh"> |
| 28 | <date form="text"> |
| 29 | <date-part name="year" suffix="年" range-delimiter="—"/> |
| 30 | <date-part name="month" form="numeric" suffix="月" range-delimiter="—"/> |
| 31 | <date-part name="day" suffix="日" range-delimiter="—"/> |
| 32 | </date> |
| 33 | <terms> |
| 34 | <term name="edition" form="short">版</term> |
| 35 | <term name="open-quote">“</term> |
| 36 | <term name="close-quote">”</term> |
| 37 | <term name="open-inner-quote">‘</term> |
| 38 | <term name="close-inner-quote">’</term> |
| 39 | </terms> |
| 40 | </locale> |
| 41 | <locale> |
| 42 | <date form="numeric"> |
| 43 | <date-part name="year" range-delimiter="/"/> |
| 44 | <date-part name="month" form="numeric-leading-zeros" prefix="-" range-delimiter="/"/> |
| 45 | <date-part name="day" form="numeric-leading-zeros" prefix="-" range-delimiter="/"/> |
| 46 | </date> |
| 47 | <terms> |
| 48 | <term name="page-range-delimiter">-</term> |
| 49 | </terms> |
| 50 | </locale> |
| 51 | <!-- 主要责任者 --> |
| 52 | <macro name="author"> |
| 53 | <names variable="author"> |
| 54 | <name/> |
| 55 | <substitute> |
| 56 | <names variable="composer"/> |
| 57 | <names variable="illustrator"/> |
| 58 | <names variable="director"/> |
| 59 | <choose> |
| 60 | <if variable="container-title" match="none"> |
| 61 | <names variable="editor"/> |
| 62 | </if> |
| 63 | </choose> |
| 64 | </substitute> |
| 65 | </names> |
| 66 | </macro> |
| 67 | <!-- 题名 --> |
| 68 | <macro name="title"> |
| 69 | <group delimiter=", "> |
| 70 | <group delimiter=": "> |
| 71 | <group delimiter=" "> |
| 72 | <choose> |
| 73 | <if type="standard"> |
| 74 | <text variable="number"/> |
| 75 | </if> |
| 76 | </choose> |
| 77 | <text variable="title"/> |
| 78 | </group> |
| 79 | <group delimiter=" "> |
| 80 | <choose> |
| 81 | <if variable="container-title" type="chapter entry-dictionary entry-encyclopedia paper-conference" match="none"> |
| 82 | <text macro="volume"/> |
| 83 | <text variable="volume-title"/> |
| 84 | </if> |
| 85 | </choose> |
| 86 | <group delimiter=", "> |
| 87 | <choose> |
| 88 | <if type="patent"> |
| 89 | <text macro="patent-country"/> |
| 90 | </if> |
| 91 | </choose> |
| 92 | <choose> |
| 93 | <if type="article article-journal standard" match="none"> |
| 94 | <!-- 预印本和期刊文章的编号用于其他位置 --> |
| 95 | <text variable="number"/> |
| 96 | </if> |
| 97 | </choose> |
| 98 | <choose> |
| 99 | <if type="collection manuscript personal_communication" match="any"> |
| 100 | <!-- 档案的卷宗号 --> |
| 101 | <text variable="archive_location"/> |
| 102 | </if> |
| 103 | </choose> |
| 104 | </group> |
| 105 | </group> |
| 106 | </group> |
| 107 | <choose> |
| 108 | <if variable="container-title" type="paper-conference" match="none"> |
| 109 | <choose> |
| 110 | <if variable="event-date"> |
| 111 | <text variable="event-place"/> |
| 112 | <date variable="event-date" form="text"/> |
| 113 | </if> |
| 114 | </choose> |
| 115 | </if> |
| 116 | </choose> |
| 117 | </group> |
| 118 | <group delimiter="/" prefix="[" suffix="]"> |
| 119 | <text macro="type-id"/> |
| 120 | <text macro="medium-id"/> |
| 121 | </group> |
| 122 | </macro> |
| 123 | <!-- 书籍的卷号(“第 x 卷”或“第 x 册”) --> |
| 124 | <macro name="volume"> |
| 125 | <choose> |
| 126 | <if type="article article-journal article-magazine article-newspaper periodical" match="none"> |
| 127 | <choose> |
| 128 | <if is-numeric="volume"> |
| 129 | <group delimiter=" "> |
| 130 | <label variable="volume" form="short" text-case="capitalize-first"/> |
| 131 | <text variable="volume"/> |
| 132 | </group> |
| 133 | </if> |
| 134 | <else> |
| 135 | <text variable="volume"/> |
| 136 | </else> |
| 137 | </choose> |
| 138 | </if> |
| 139 | </choose> |
| 140 | </macro> |
| 141 | <!-- 专利国别 --> |
| 142 | <macro name="patent-country"> |
| 143 | <choose> |
| 144 | <!-- 专利的国别应使用 `jurisdiction`,但 Zotero 没有对应的字段,所以使用 `publisher-place` 作为备选 --> |
| 145 | <if variable="jurisdiction"> |
| 146 | <text variable="jurisdiction"/> |
| 147 | </if> |
| 148 | <else> |
| 149 | <text variable="publisher-place"/> |
| 150 | </else> |
| 151 | </choose> |
| 152 | </macro> |
| 153 | <!-- 文献类型标识 --> |
| 154 | <macro name="type-id"> |
| 155 | <choose> |
| 156 | <if type="article-journal article-magazine periodical" match="any"> |
| 157 | <text value="J"/> |
| 158 | </if> |
| 159 | <else-if type="article-newspaper"> |
| 160 | <text value="N"/> |
| 161 | </else-if> |
| 162 | <else-if type="book chapter classic entry-dictionary entry-encyclopedia" match="any"> |
| 163 | <text value="M"/> |
| 164 | </else-if> |
| 165 | <else-if type="dataset"> |
| 166 | <text value="DS"/> |
| 167 | </else-if> |
| 168 | <else-if type="paper-conference"> |
| 169 | <text value="C"/> |
| 170 | </else-if> |
| 171 | <else-if type="patent"> |
| 172 | <text value="P"/> |
| 173 | </else-if> |
| 174 | <else-if type="post post-weblog webpage" match="any"> |
| 175 | <text value="EB"/> |
| 176 | </else-if> |
| 177 | <else-if type="report"> |
| 178 | <text value="R"/> |
| 179 | </else-if> |
| 180 | <else-if type="software"> |
| 181 | <text value="CP"/> |
| 182 | </else-if> |
| 183 | <else-if type="standard"> |
| 184 | <text value="S"/> |
| 185 | </else-if> |
| 186 | <else-if type="thesis"> |
| 187 | <text value="D"/> |
| 188 | </else-if> |
| 189 | <else-if variable="URL"> |
| 190 | <text value="EB"/> |
| 191 | </else-if> |
| 192 | <else> |
| 193 | <text value="M"/> |
| 194 | </else> |
| 195 | </choose> |
| 196 | </macro> |
| 197 | <!-- 文献载体标识 --> |
| 198 | <macro name="medium-id"> |
| 199 | <choose> |
| 200 | <if type="dataset post post-weblog software webpage" match="any"> |
| 201 | <!-- 仅当纯电子资源显示 URL 时才出现“OL” --> |
| 202 | <choose> |
| 203 | <if variable="medium"> |
| 204 | <text variable="medium"/> |
| 205 | </if> |
| 206 | <else-if variable="URL"> |
| 207 | <text value="OL"/> |
| 208 | </else-if> |
| 209 | </choose> |
| 210 | </if> |
| 211 | </choose> |
| 212 | </macro> |
| 213 | <!-- 其他责任者 --> |
| 214 | <macro name="secondary-contributors"> |
| 215 | <names variable="translator"> |
| 216 | <name/> |
| 217 | <label form="short" prefix=", "/> |
| 218 | </names> |
| 219 | </macro> |
| 220 | <!-- 专著主要责任者 --> |
| 221 | <macro name="container-contributors"> |
| 222 | <names variable="editor"> |
| 223 | <name/> |
| 224 | <substitute> |
| 225 | <names variable="editorial-director"/> |
| 226 | <names variable="collection-editor"/> |
| 227 | <names variable="container-author"/> |
| 228 | </substitute> |
| 229 | </names> |
| 230 | </macro> |
| 231 | <!-- 专著题名 --> |
| 232 | <macro name="container-booklike"> |
| 233 | <group delimiter=". "> |
| 234 | <text macro="container-contributors"/> |
| 235 | <group delimiter=", "> |
| 236 | <choose> |
| 237 | <if variable="container-title"> |
| 238 | <!-- 优先使用专著或会议论文集的题名 --> |
| 239 | <group delimiter=": "> |
| 240 | <text variable="container-title"/> |
| 241 | <text macro="volume"/> |
| 242 | </group> |
| 243 | </if> |
| 244 | <else-if type="paper-conference"> |
| 245 | <!-- 有些会议没有论文集,使用会议名代替 --> |
| 246 | <text variable="event-title"/> |
| 247 | </else-if> |
| 248 | </choose> |
| 249 | <!-- 会议时间和会议地点 --> |
| 250 | <choose> |
| 251 | <if type="paper-conference" variable="event-date" match="all"> |
| 252 | <date variable="event-date" form="text"/> |
| 253 | <text variable="event-place"/> |
| 254 | </if> |
| 255 | </choose> |
| 256 | </group> |
| 257 | </group> |
| 258 | </macro> |
| 259 | <!-- 连续出版物中的出处项 --> |
| 260 | <macro name="container-periodical"> |
| 261 | <choose> |
| 262 | <if type="article-newspaper"> |
| 263 | <!-- 报纸的出处项:“刊名, 出版日期(版次): 页码[引用日期]” --> |
| 264 | <group delimiter=", "> |
| 265 | <text variable="container-title"/> |
| 266 | <text macro="issued-date"/> |
| 267 | </group> |
| 268 | <text variable="page" prefix="(" suffix=")"/> |
| 269 | </if> |
| 270 | <else> |
| 271 | <!-- 期刊、杂志的出处项:“刊名, 年, 卷(期): 页码[引用日期]” --> |
| 272 | <group delimiter=": "> |
| 273 | <group> |
| 274 | <group delimiter=", "> |
| 275 | <text variable="container-title"/> |
| 276 | <text macro="issued-year"/> |
| 277 | <text variable="volume"/> |
| 278 | </group> |
| 279 | <text variable="issue" prefix="(" suffix=")"/> |
| 280 | </group> |
| 281 | <text variable="page"/> |
| 282 | </group> |
| 283 | </else> |
| 284 | </choose> |
| 285 | </macro> |
| 286 | <!-- 版本项 --> |
| 287 | <macro name="edition"> |
| 288 | <choose> |
| 289 | <if is-numeric="edition"> |
| 290 | <group delimiter=" "> |
| 291 | <number variable="edition" form="ordinal"/> |
| 292 | <label variable="edition" form="short"/> |
| 293 | </group> |
| 294 | </if> |
| 295 | <else> |
| 296 | <text variable="edition"/> |
| 297 | </else> |
| 298 | </choose> |
| 299 | </macro> |
| 300 | <!-- 连续出版物的年卷期 --> |
| 301 | <macro name="year-volume-issue"> |
| 302 | <group delimiter=", "> |
| 303 | <text macro="issued-year"/> |
| 304 | <text variable="volume"/> |
| 305 | </group> |
| 306 | <text variable="issue" prefix="(" suffix=")"/> |
| 307 | </macro> |
| 308 | <!-- 出版项 --> |
| 309 | <macro name="publisher"> |
| 310 | <choose> |
| 311 | <if type="patent"> |
| 312 | <!-- 专利的出版项格式“公告日期[引用日期]” --> |
| 313 | <text macro="issued-date"/> |
| 314 | </if> |
| 315 | <else-if type="book chapter paper-conference periodical thesis" variable="archive archive-place publisher publisher-place page" match="any"> |
| 316 | <!-- 非纯电子资源的格式“出版地: 出版者, 出版年: 页码[引用日期]” --> |
| 317 | <group delimiter=": "> |
| 318 | <group delimiter=", "> |
| 319 | <group delimiter=": "> |
| 320 | <choose> |
| 321 | <if variable="publisher publisher-place" match="any"> |
| 322 | <text variable="publisher-place"/> |
| 323 | <text variable="publisher"/> |
| 324 | </if> |
| 325 | <else> |
| 326 | <!-- 档案的馆藏地以及收藏机构或单位 --> |
| 327 | <text variable="archive-place"/> |
| 328 | <text variable="archive"/> |
| 329 | </else> |
| 330 | </choose> |
| 331 | </group> |
| 332 | <text macro="issued-year"/> |
| 333 | </group> |
| 334 | <text variable="page"/> |
| 335 | </group> |
| 336 | </else-if> |
| 337 | <else-if variable="URL"> |
| 338 | <!-- 纯电子资源联机网络文献的格式“(更新或修改日期)[引用日期]”。 |
| 339 | 原国标中,电子公告、无出版社的报告、法规等文献都可以作为“纯电子文献”。 |
| 340 | --> |
| 341 | <choose> |
| 342 | <if type="dataset post post-weblog software webpage" match="any"> |
| 343 | <!-- 限制更少的类型作为“纯电子文献“ --> |
| 344 | <choose> |
| 345 | <if has-day="issued"> |
| 346 | <text macro="issued-date" prefix="(" suffix=")"/> |
| 347 | </if> |
| 348 | <else-if variable="issued"> |
| 349 | <text macro="issued-year"/> |
| 350 | </else-if> |
| 351 | </choose> |
| 352 | <text macro="accessed-date"/> |
| 353 | </if> |
| 354 | <else> |
| 355 | <text macro="issued-year"/> |
| 356 | </else> |
| 357 | </choose> |
| 358 | </else-if> |
| 359 | <else> |
| 360 | <text macro="issued-year"/> |
| 361 | </else> |
| 362 | </choose> |
| 363 | </macro> |
| 364 | <!-- 出版年 --> |
| 365 | <macro name="issued-year"> |
| 366 | <choose> |
| 367 | <if variable="issued"> |
| 368 | <choose> |
| 369 | <if is-uncertain-date="issued"> |
| 370 | <!-- 出版年无法确定时, 估计的出版年应置于方括号内。 --> |
| 371 | <date variable="issued" form="numeric" date-parts="year" prefix="[" suffix="]"/> |
| 372 | </if> |
| 373 | <else> |
| 374 | <date variable="issued" form="numeric" date-parts="year"/> |
| 375 | </else> |
| 376 | </choose> |
| 377 | </if> |
| 378 | <else> |
| 379 | <!-- 选取引用日期的年份作为估计的出版年 --> |
| 380 | <date variable="accessed" form="numeric" date-parts="year" prefix="[" suffix="]"/> |
| 381 | </else> |
| 382 | </choose> |
| 383 | </macro> |
| 384 | <!-- 出版日期,用于报纸文献、专利的“公告日期或公开日期”、电子资源的“更新或修改日期” --> |
| 385 | <macro name="issued-date"> |
| 386 | <date variable="issued" form="numeric"/> |
| 387 | </macro> |
| 388 | <!-- 引用日期 --> |
| 389 | <macro name="accessed-date"> |
| 390 | <choose> |
| 391 | <if type="dataset post post-weblog software webpage" match="any"> |
| 392 | <!-- 仅当纯电子资源显示 URL 时才出现引用日期 --> |
| 393 | <choose> |
| 394 | <if variable="URL"> |
| 395 | <date variable="accessed" form="numeric" prefix="[" suffix="]"/> |
| 396 | </if> |
| 397 | </choose> |
| 398 | </if> |
| 399 | </choose> |
| 400 | </macro> |
| 401 | <!-- 获取和访问路径、数字对象唯一标识符 --> |
| 402 | <macro name="access"> |
| 403 | <choose> |
| 404 | <if type="dataset post post-weblog software webpage" match="any"> |
| 405 | <!-- 仅纯电子资源显示 URL --> |
| 406 | <text variable="URL"/> |
| 407 | </if> |
| 408 | </choose> |
| 409 | </macro> |
| 410 | <!-- 参考文献表格式 --> |
| 411 | <macro name="entry-layout"> |
| 412 | <group delimiter=". "> |
| 413 | <text macro="author"/> |
| 414 | <choose> |
| 415 | <if type="periodical"> |
| 416 | <!-- 4.3 连续出版物 --> |
| 417 | <text macro="title"/> |
| 418 | <text macro="year-volume-issue"/> |
| 419 | <text macro="publisher"/> |
| 420 | </if> |
| 421 | <else-if type="article-journal article-magazine article-newspaper" match="any"> |
| 422 | <!-- 4.4 连续出版物中的析出文献 --> |
| 423 | <text macro="title"/> |
| 424 | <text macro="container-periodical"/> |
| 425 | </else-if> |
| 426 | <else-if type="patent"> |
| 427 | <!-- 4.5 专利文献 --> |
| 428 | <text macro="title"/> |
| 429 | <text macro="publisher"/> |
| 430 | </else-if> |
| 431 | <else-if type="dataset post post-weblog software webpage" match="any"> |
| 432 | <!-- 4.6 电子资源 --> |
| 433 | <text macro="title"/> |
| 434 | <text macro="publisher"/> |
| 435 | </else-if> |
| 436 | <else-if type="chapter entry-dictionary entry-encyclopedia paper-conference" variable="container-title" match="any"> |
| 437 | <!-- 4.2 专著中的析出文献 --> |
| 438 | <group delimiter="//"> |
| 439 | <group delimiter=". "> |
| 440 | <text macro="title"/> |
| 441 | <text macro="secondary-contributors"/> |
| 442 | </group> |
| 443 | <text macro="container-booklike"/> |
| 444 | </group> |
| 445 | <text macro="edition"/> |
| 446 | <text macro="publisher"/> |
| 447 | </else-if> |
| 448 | <else> |
| 449 | <!-- 4.1 专著 --> |
| 450 | <text macro="title"/> |
| 451 | <text macro="secondary-contributors"/> |
| 452 | <text macro="edition"/> |
| 453 | <text macro="publisher"/> |
| 454 | </else> |
| 455 | </choose> |
| 456 | <text macro="access"/> |
| 457 | </group> |
| 458 | </macro> |
| 459 | <citation collapse="citation-number" after-collapse-delimiter=","> |
| 460 | <sort> |
| 461 | <key variable="citation-number"/> |
| 462 | </sort> |
| 463 | <layout vertical-align="sup" delimiter="," prefix="[" suffix="]"> |
| 464 | <text variable="citation-number"/> |
| 465 | </layout> |
| 466 | </citation> |
| 467 | <bibliography entry-spacing="0" et-al-min="4" et-al-use-first="3" second-field-align="flush"> |
| 468 | <!-- <layout locale="en"> |
| 469 | <text variable="citation-number" prefix="[" suffix="]"/> |
| 470 | <text macro="entry-layout" suffix="."/> |
| 471 | </layout> --> |
| 472 | <layout> |
| 473 | <text variable="citation-number" prefix="[" suffix="]"/> |
| 474 | <text macro="entry-layout" suffix="."/> |
| 475 | </layout> |
| 476 | </bibliography> |
| 477 | </style> |