forked from zotero-chinese/styles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
410shanghai-jiao-tong-university.csl
430 lines (430 loc) · 14.3 KB
/
410shanghai-jiao-tong-university.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
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" sort-separator=" " demote-non-dropping-particle="never" initialize-with=" " initialize-with-hyphen="false" page-range-format="expanded" default-locale="zh-CN">
<info>
<title>上海交通大学</title>
<id>http://www.zotero.org/styles/shanghai-jiao-tong-university</id>
<link href="http://www.zotero.org/styles/shanghai-jiao-tong-university" rel="self"/>
<link href="http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-numeric" rel="template"/>
<link href="https://gk.sjtu.edu.cn/Data/View/648" rel="documentation"/>
<author>
<name>redleafnew</name>
<email>redleafnew@163.com</email>
</author>
<contributor>
<name>Zeping Lee</name>
<email>zepinglee@gmail.com</email>
</contributor>
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>1. 区分中文和西文的“等”和“et al.”。2. 西文名缩写,名在前姓在后。3. 不显示 DOI。4. 网页显示URL。</summary>
<updated>2023-04-15T15:52:19+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="zh">
<date form="text">
<date-part name="year" suffix="年" range-delimiter="—"/>
<date-part name="month" form="numeric" suffix="月" range-delimiter="—"/>
<date-part name="day" suffix="日" range-delimiter="—"/>
</date>
<terms>
<term name="edition" form="short">版</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="page" form="short">
<single>p.</single>
<multiple>pp.</multiple>
</term>
</terms>
</locale>
<locale>
<date form="numeric">
<date-part name="year" range-delimiter="/"/>
<date-part name="month" form="numeric-leading-zeros" prefix="-" range-delimiter="/"/>
<date-part name="day" form="numeric-leading-zeros" prefix="-" range-delimiter="/"/>
</date>
<terms>
<term name="page-range-delimiter">-</term>
</terms>
</locale>
<!-- 主要责任者 -->
<macro name="author">
<names variable="author">
<name/>
<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=": ">
<text variable="title"/>
<group delimiter=" ">
<choose>
<if variable="container-title" type="paper-conference" match="none">
<text macro="volume"/>
</if>
</choose>
<choose>
<if type="bill legal_case legislation patent report standard" match="any">
<text variable="number"/>
</if>
</choose>
</group>
</group>
<choose>
<if variable="container-title" type="paper-conference" match="none">
<choose>
<if variable="event-date">
<text variable="event-place"/>
<date variable="event-date" form="text"/>
</if>
</choose>
</if>
</choose>
</group>
<group delimiter="/" prefix="[" suffix="]">
<text macro="type-code"/>
<text macro="medium-code"/>
</group>
</macro>
<!-- 书籍的卷号(“第 x 卷”或“第 x 册”) -->
<macro name="volume">
<choose>
<if type="article article-journal article-magazine article-newspaper" match="none">
<choose>
<if is-numeric="volume">
<group delimiter=" ">
<label variable="volume" form="short" text-case="capitalize-first"/>
<text variable="volume"/>
</group>
</if>
<else>
<text variable="volume"/>
</else>
</choose>
</if>
</choose>
</macro>
<!-- 文献类型标识 -->
<macro name="type-code">
<choose>
<if type="article">
<!-- article 为预印本,符合国标的“档案”(A)类型:“分类保存以备查考的文件和材料,如……科技档案” -->
<text value="A"/>
</if>
<else-if type="article-journal article-magazine" match="any">
<text value="J"/>
</else-if>
<else-if type="article-newspaper">
<text value="N"/>
</else-if>
<else-if type="bill standard" match="any">
<text value="S"/>
</else-if>
<else-if type="legal_case legislation" match="any">
<text value="A"/>
</else-if>
<else-if type="book chapter" match="any">
<text value="M"/>
</else-if>
<else-if type="dataset">
<text value="DS"/>
</else-if>
<else-if type="map">
<text value="CM"/>
</else-if>
<else-if type="paper-conference">
<text value="C"/>
</else-if>
<else-if type="patent">
<text value="P"/>
</else-if>
<else-if type="post post-weblog webpage" match="any">
<text value="EB"/>
</else-if>
<else-if type="report">
<text value="R"/>
</else-if>
<else-if type="thesis">
<text value="D"/>
</else-if>
<else>
<text value="Z"/>
</else>
</choose>
</macro>
<!-- 文献载体标识 -->
<macro name="medium-code">
<choose>
<if type="dataset post post-weblog software webpage" match="any">
<!-- 仅当纯电子资源显示 URL 时才出现“OL” -->
<choose>
<if variable="medium">
<text variable="medium"/>
</if>
<else-if variable="URL">
<text value="OL"/>
</else-if>
</choose>
</if>
</choose>
</macro>
<!-- 其他责任者 -->
<macro name="secondary-contributors">
<names variable="translator">
<name/>
<label form="short" prefix=", "/>
</names>
</macro>
<!-- 专著主要责任者 -->
<macro name="container-contributors">
<names variable="editor">
<name/>
<substitute>
<names variable="editorial-director"/>
<names variable="collection-editor"/>
<names variable="container-author"/>
</substitute>
</names>
</macro>
<!-- 专著题名 -->
<macro name="container-booklike">
<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="text"/>
<text variable="event-place"/>
</if>
</choose>
</group>
</macro>
<!-- 连续出版物中的析出文献的出处项(年、卷、期等信息) -->
<macro name="container-periodical">
<group>
<group delimiter=": ">
<group>
<group delimiter=", ">
<text macro="container-booklike" text-case="title"/>
<choose>
<if type="article-newspaper">
<text macro="issued-date"/>
</if>
<else>
<text macro="issued-year"/>
</else>
</choose>
<text variable="volume"/>
</group>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
<text macro="accessed-date"/>
</group>
</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=", ">
<text macro="issued-year"/>
<text variable="volume"/>
</group>
<text variable="issue" prefix="(" suffix=")"/>
</macro>
<!-- 出版项 -->
<macro name="publisher">
<choose>
<if type="patent">
<!-- 专利的出版项格式“公告日期[引用日期]” -->
<text macro="issued-date"/>
<text macro="accessed-date"/>
</if>
<else-if type="book chapter paper-conference periodical thesis" variable="publisher page" match="any">
<!-- 非纯电子资源的格式“出版地: 出版者, 出版年: 页码[引用日期]” -->
<group delimiter=": ">
<group delimiter=", ">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="issued-year"/>
</group>
<text variable="page"/>
</group>
<text macro="accessed-date"/>
</else-if>
<else-if variable="URL DOI" match="any">
<!-- 纯电子资源联机网络文献的格式“(更新或修改日期)[引用日期]”。
原国标中,电子公告、无出版社的报告、法规等文献都可以作为“纯电子文献”。 -->
<text macro="issued-date" prefix="(" suffix=")"/>
<text macro="accessed-date"/>
</else-if>
<else>
<text macro="issued-year"/>
</else>
</choose>
</macro>
<!-- 出版年 -->
<macro name="issued-year">
<choose>
<if is-uncertain-date="issued">
<!-- 出版年无法确定时, 估计的出版年应置于方括号内。 -->
<date variable="issued" prefix="[" suffix="]">
<date-part name="year" range-delimiter="-"/>
</date>
</if>
<else>
<date variable="issued">
<date-part name="year" range-delimiter="-"/>
</date>
</else>
</choose>
</macro>
<!-- 出版日期,用于报纸文献、专利的“公告日期或公开日期”、电子资源的“更新或修改日期” -->
<macro name="issued-date">
<date variable="issued" form="numeric"/>
</macro>
<!-- 引用日期 -->
<macro name="accessed-date">
<choose>
<if type="dataset post post-weblog software webpage" match="any">
<!-- 仅当纯电子资源显示 URL 时才出现引用日期 -->
<choose>
<if variable="URL">
<date variable="accessed" form="numeric" prefix="[" suffix="]"/>
</if>
</choose>
</if>
</choose>
</macro>
<!-- 获取和访问路径、数字对象唯一标识符 -->
<macro name="access">
<choose>
<if type="dataset post post-weblog software webpage" match="any">
<!-- 仅纯电子资源显示 URL -->
<choose>
<!-- 优先显示 DOI,无 DOI 时才会显示 URL -->
<if variable="DOI">
<text variable="DOI" prefix="DOI:"/>
</if>
<else>
<text variable="URL"/>
</else>
</choose>
</if>
</choose>
</macro>
<!-- 参考文献表格式 -->
<macro name="entry-layout">
<group delimiter=". ">
<text macro="author"/>
<choose>
<if type="periodical">
<!-- 4.3 连续出版物 -->
<text macro="title"/>
<text macro="year-volume-issue"/>
<text macro="publisher"/>
</if>
<else-if type="article-journal article-magazine article-newspaper" match="any">
<!-- 4.4 连续出版物中的析出文献 -->
<text macro="title"/>
<text macro="container-periodical"/>
</else-if>
<else-if type="patent">
<!-- 4.5 专利文献 -->
<text macro="title"/>
<text macro="publisher"/>
</else-if>
<else-if type="dataset post post-weblog software webpage" match="any">
<!-- 4.6 电子资源 -->
<text macro="title"/>
<text macro="publisher"/>
</else-if>
<else-if type="chapter paper-conference" variable="container-title" match="any">
<!-- 4.2 专著中的析出文献 -->
<group delimiter="//">
<group delimiter=". ">
<text macro="title"/>
<text macro="secondary-contributors"/>
</group>
<group delimiter=". ">
<text macro="container-contributors"/>
<text macro="container-booklike"/>
</group>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
<else>
<!-- 4.1 专著 -->
<text macro="title"/>
<text macro="secondary-contributors"/>
<text macro="edition"/>
<text macro="publisher"/>
</else>
</choose>
<text macro="access"/>
</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"/>
<group prefix="(" suffix=")">
<!-- 国标要求在方括号外著录引文页码,但是跟同处引用多篇文献的情况冲突,在 CSL 中无法实现 -->
<label variable="locator" suffix=". " form="short" strip-periods="true"/>
<text variable="locator"/>
</group>
</layout>
</citation>
<bibliography entry-spacing="0" et-al-min="4" et-al-use-first="3" second-field-align="flush">
<layout locale="en">
<text variable="citation-number" prefix="[" suffix="]"/>
<text macro="entry-layout" suffix="."/>
</layout>
<layout>
<text variable="citation-number" prefix="[" suffix="]"/>
<text macro="entry-layout" suffix="."/>
</layout>
</bibliography>
</style>