forked from citation-style-language/styles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchinese-gb7714-1987-numeric.csl
402 lines (402 loc) · 13.3 KB
/
chinese-gb7714-1987-numeric.csl
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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" 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">
<info>
<title>China National Standard GB/T 7714-1987 (numeric, 中文)</title>
<id>http://www.zotero.org/styles/chinese-gb7714-1987-numeric</id>
<link href="http://www.zotero.org/styles/chinese-gb7714-1987-numeric" rel="self"/>
<link href="https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D7B3D5D3A7E05397BE0A0AB82A" rel="documentation"/>
<author>
<name>heromyth</name>
<email>[email protected]</email>
</author>
<contributor>
<name>Zeping Lee</name>
<email>[email protected]</email>
</contributor>
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>The Chinese GB/T 7714-1987 numeric style</summary>
<updated>2024-01-23T00:10:54+08: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>
<locale xml:lang="en">
<terms>
<term name="thesis">dissertation</term>
<term name="volume" form="short">
<single>v.</single>
<multiple>v.</multiple>
</term>
<term name="editor" form="short">
<single>ed.</single>
<multiple>ed.</multiple>
</term>
</terms>
</locale>
<locale xml:lang="zh">
<terms>
<term name="edition" form="short">版</term>
<term name="in">见</term>
<term name="patent">专利</term>
<term name="thesis">学位论文</term>
<term name="open-quote">“</term>
<term name="close-quote">”</term>
<term name="open-inner-quote">‘</term>
<term name="close-inner-quote">’</term>
<term name="number-of-pages" form="short">页</term>
</terms>
</locale>
<locale>
<date form="numeric">
<date-part name="year" range-delimiter="/"/>
<date-part name="month" form="numeric" prefix="." range-delimiter="/"/>
<date-part name="day" form="numeric" prefix="." range-delimiter="/"/>
</date>
<terms>
<term name="page-range-delimiter">~</term>
<term name="number-of-pages" form="short">p.</term>
</terms>
</locale>
<!-- 主要责任者 -->
<macro name="author-zh">
<names variable="author">
<name/>
<label form="short"/>
<substitute>
<names variable="composer"/>
<names variable="illustrator"/>
<names variable="director"/>
<choose>
<if variable="container-title" match="none">
<names variable="editor"/>
</if>
</choose>
</substitute>
</names>
</macro>
<!-- 题名 -->
<macro name="title">
<group delimiter=": ">
<group delimiter=", ">
<group delimiter=" ">
<text variable="title"/>
<choose>
<if variable="container-title" type="chapter entry-dictionary entry-encyclopedia paper-conference" match="none">
<text macro="volume"/>
<text variable="volume-title"/>
</if>
</choose>
<choose>
<if type="article article-journal patent" match="none">
<!-- 预印本和期刊文章的编号用于其他位置 -->
<text variable="number"/>
</if>
</choose>
<choose>
<if type="collection manuscript personal_communication" match="any">
<!-- 档案的卷宗号 -->
<text variable="archive_location"/>
</if>
</choose>
</group>
<choose>
<if variable="container-title" type="chapter paper-conference" match="none">
<choose>
<if variable="event-date">
<text variable="event-place"/>
<date variable="event-date" form="numeric" date-parts="year"/>
</if>
</choose>
</if>
</choose>
</group>
<choose>
<if type="thesis">
<text term="thesis" prefix="〔" suffix="〕"/>
</if>
</choose>
</group>
</macro>
<!-- 书籍的卷号(“第 x 卷”或“第 x 册”) -->
<macro name="volume">
<choose>
<if type="article article-journal article-magazine article-newspaper periodical" match="none">
<choose>
<if is-numeric="volume">
<group delimiter=" ">
<label variable="volume" form="short"/>
<text variable="volume"/>
</group>
</if>
<else>
<text variable="volume"/>
</else>
</choose>
</if>
</choose>
</macro>
<!-- 其他责任者 -->
<macro name="secondary-contributors-zh">
<names variable="translator">
<name/>
<label form="short"/>
</names>
</macro>
<!-- 专著主要责任者 -->
<macro name="container-contributors-zh">
<names variable="editor">
<name/>
<label form="short"/>
<substitute>
<names variable="editorial-director"/>
<names variable="collection-editor"/>
<names variable="container-author"/>
</substitute>
</names>
</macro>
<!-- 专著题名 -->
<macro name="container-booklike-zh">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<group delimiter=". ">
<text macro="container-contributors-zh"/>
<group delimiter=", ">
<choose>
<if variable="container-title">
<!-- 优先使用专著或会议论文集的题名 -->
<group delimiter=": ">
<text variable="container-title"/>
<text macro="volume"/>
</group>
</if>
<else-if type="paper-conference">
<!-- 有些会议没有论文集,使用会议名代替 -->
<text variable="event-title"/>
</else-if>
</choose>
<!-- 会议时间和会议地点 -->
<choose>
<if type="paper-conference" variable="event-date" match="all">
<date variable="event-date" form="numeric" date-parts="year"/>
<text variable="event-place"/>
</if>
</choose>
</group>
</group>
</group>
</macro>
<!-- 连续出版物中的出处项 -->
<macro name="container-periodical">
<choose>
<if type="article-newspaper">
<!-- 报纸的出处项:“刊名, 出版日期(版次): 页码[引用日期]” -->
<group delimiter=", ">
<text variable="container-title" form="short" strip-periods="true"/>
<date variable="issued" form="numeric"/>
</group>
<text variable="page" prefix="(" suffix=")"/>
</if>
<else>
<!-- 期刊、杂志的出处项:“刊名, 年, 卷(期): 页码[引用日期]” -->
<group delimiter=": ">
<group>
<group delimiter=", ">
<text variable="container-title" form="short" strip-periods="true"/>
<date variable="issued" form="numeric" date-parts="year"/>
<text variable="volume"/>
</group>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
<!-- 版本项 -->
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<label variable="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<!-- 连续出版物的年卷期 -->
<macro name="year-volume-issue">
<group delimiter=", ">
<date variable="issued" form="numeric" date-parts="year"/>
<text variable="volume"/>
</group>
<text variable="issue" prefix="(" suffix=")"/>
</macro>
<!-- 出版项 -->
<macro name="publisher">
<choose>
<if type="patent">
<!-- 专利的出版项格式“专利国别, 专利文献种类, 专利号. 出版日期” -->
<group delimiter=". ">
<group delimiter=", ">
<text macro="patent-country"/>
<text variable="genre"/>
<text variable="number"/>
</group>
<date variable="issued" form="numeric"/>
</group>
</if>
<else>
<group delimiter=", ">
<group delimiter=": ">
<choose>
<if variable="publisher publisher-place" match="any">
<text variable="publisher-place"/>
<text variable="publisher"/>
</if>
<else>
<!-- 档案的馆藏地以及收藏机构或单位 -->
<text variable="archive-place"/>
<text variable="archive"/>
</else>
</choose>
</group>
<date variable="issued" form="numeric" date-parts="year"/>
</group>
</else>
</choose>
</macro>
<!-- 专利国别 -->
<macro name="patent-country">
<choose>
<!-- 专利的国别应使用 `jurisdiction`,但 Zotero 没有对应的字段,所以使用 `publisher-place` 作为备选 -->
<if variable="jurisdiction">
<text variable="jurisdiction"/>
</if>
<else>
<text variable="publisher-place"/>
</else>
</choose>
</macro>
<!-- 文献数量 -->
<macro name="num-of-pages">
<group delimiter=" ">
<choose>
<if variable="number-of-pages">
<number variable="number-of-pages"/>
<label variable="number-of-pages" form="short"/>
</if>
<else>
<number variable="number-of-volumes"/>
<label variable="number-of-volumes" form="short"/>
</else>
</choose>
</group>
</macro>
<!-- 丛编项 -->
<macro name="series">
<group delimiter="; ">
<text variable="collection-title"/>
<group delimiter=" ">
<label variable="collection-number"/>
<text variable="collection-number"/>
</group>
</group>
</macro>
<!-- 附注项 -->
<macro name="notes">
<text variable="status" text-case="capitalize-first"/>
</macro>
<!-- 文献标准编号,如 ISBN、ISSN -->
<macro name="document-standard-number">
<choose>
<if variable="ISBN">
<text value="ISBN" suffix=" "/>
<text variable="ISBN"/>
</if>
<else>
<text value="ISSN" suffix=" "/>
<text variable="ISSN"/>
</else>
</choose>
</macro>
<!-- 参考文献表格式 -->
<macro name="entry-layout-zh">
<group delimiter=". ">
<choose>
<if type="periodical">
<!-- 3.2 连续出版物 -->
<group delimiter=" ">
<group delimiter=". " suffix=".">
<text macro="title"/>
<text macro="author-zh"/>
<text macro="year-volume-issue"/>
<text macro="publisher"/>
</group>
<group delimiter=". ">
<text macro="notes"/>
<text variable="collection-title"/>
<text macro="document-standard-number"/>
</group>
</group>
</if>
<else-if type="article-journal article-magazine article-newspaper" match="any">
<!-- 4.5 连续出版物中的析出文献 -->
<text macro="author-zh"/>
<text macro="title"/>
<text macro="container-periodical"/>
</else-if>
<else-if type="patent">
<!-- 3.3 专利文献 -->
<text macro="author-zh"/>
<text macro="title"/>
<text macro="publisher"/>
</else-if>
<else-if type="chapter entry-dictionary entry-encyclopedia paper-conference" variable="container-title" match="any">
<!-- 3.4 专著中的析出文献 -->
<text macro="author-zh"/>
<text macro="title"/>
<text macro="secondary-contributors-zh"/>
<text macro="container-booklike-zh"/>
<text macro="edition"/>
<text macro="publisher"/>
<text variable="page"/>
</else-if>
<else>
<!-- 3.1 专著 -->
<group delimiter=" ">
<group delimiter=". " suffix=".">
<text macro="author-zh"/>
<text macro="title"/>
<text macro="secondary-contributors-zh"/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
<group delimiter=". ">
<text macro="num-of-pages"/>
<text macro="series"/>
<text macro="notes"/>
<text macro="document-standard-number"/>
<text variable="page"/>
</group>
</group>
</else>
</choose>
</group>
</macro>
<citation collapse="citation-number" after-collapse-delimiter=",">
<sort>
<key variable="citation-number"/>
</sort>
<layout vertical-align="sup" delimiter="," prefix="〔" suffix="〕">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography entry-spacing="0" et-al-min="4" et-al-use-first="3" second-field-align="flush">
<layout>
<text variable="citation-number"/>
<text macro="entry-layout-zh"/>
</layout>
</bibliography>
</style>