-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGOST_R_7011_numeric1a.csl
328 lines (328 loc) · 11.5 KB
/
GOST_R_7011_numeric1a.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
<?xml version="1.0" encoding="UTF-8"?>
<style class="in-text" default-locale-sort="ru-RU" version="1.0" xmlns="http://purl.org/net/xbiblio/csl">
<info>
<title>ГОСТ Р 7.0.11 [Номер] Алфавитная сортировка</title>
<title-short>ГОСТ Р 7.0.11 [№] А-z</title-short>
<author>
<name>Александр Севостьянов + fixed by N (see fixes list bellow)</name>
<!-- (fixed multiple layout error +url show +disable sorting) -->
<email>[email protected]</email>
</author>
<updated>2017-03-17T00:51:47+03:00</updated>
<category citation-format="numeric"/>
<category field="generic-base"/>
<link href="http://protect.gost.ru/document.aspx?control=7&id=179727" rel="documentation" xml:lang="ru"/>
<link href="http://chetvericov.ru/stil-oformleniya-dlya-mendeley-i-zotero-csl-po-gost-r-705-2008/" rel="template" xml:lang="ru"/>
<link href="https://raw.githubusercontent.com/Darxor/csl-gost-r-7.0.11/master/GOST_R_7011_numeric.csl" rel="self"/>
<id>https://raw.githubusercontent.com/Darxor/csl-gost-r-7.0.11/master/GOST_R_7011_numeric.csl</id>
<summary>(fixed multiple layout error +url show +disable sorting) Стиль CSL для создания библиографических ссылок согласно ГОСТ. Полная поддержка: Журнальных статей, материалов с конференций, книг, отчетов о НИР, диссертаций (авторефератов), электронных ресурсов (WEB)</summary>
<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>
<terms>
<term name="et-al"/>
<term form="symbol" name="issue">№</term>
<term name="collection-title">series</term>
<term form="short" name="number-of-volumes">
<single>vol.</single>
<multiple>vols.</multiple>
</term>
</terms>
<term form="short" name="number-of-volumes">т.</term>
<term form="short" name="thesis">дис.</term>
</locale>
<locale xml:lang="ru">
<terms>
<term name="et-al"/>
<term form="symbol" name="issue">№</term>
<term name="accessed">дата обращения</term>
<term name="collection-title">серия</term>
<term form="short" name="number-of-volumes">т.</term>
<term form="short" name="thesis">дис.</term>
</terms>
</locale>
<macro name="author-first">
<choose>
<if type="book">
<names variable="author">
<name delimiter=" " delimiter-precedes-last="always" et-al-min="2" et-al-use-first="1" initialize-with="." name-as-sort-order="all" sort-separator=", " suppress-min="4"/>
<label form="short" prefix=" " strip-periods="true" suffix="." text-case="lowercase"/>
</names>
</if>
<else>
<names variable="author">
<name delimiter=" " delimiter-precedes-last="always" et-al-min="2" et-al-use-first="1" initialize-with="." name-as-sort-order="all" sort-separator=", "/>
<label form="short" prefix=" " strip-periods="true" suffix="." text-case="lowercase"/>
</names>
</else>
</choose>
</macro>
<macro name="author-cite">
<choose>
<if type="book">
<!-- dirty hack, that relies on recipient being false at all times... (which seems plausible for type=book) -->
<names variable="recipient">
<name delimiter=", " delimiter-precedes-last="always" et-al-min="1" et-al-use-first="0" form="short" name-as-sort-order="all" sort-separator=" "/>
<substitute>
<names variable="author">
<name delimiter=", " delimiter-precedes-last="always" et-al-min="2" et-al-use-first="1" form="short" name-as-sort-order="all" sort-separator=" " suppress-min="4"/>
</names>
<text form="short" variable="title"/>
</substitute>
</names>
</if>
<else>
<names variable="author">
<name delimiter=", " delimiter-precedes-last="always" et-al-min="2" et-al-use-first="1" form="short" name-as-sort-order="all" sort-separator=" "/>
<substitute>
<choose>
<if type="webpage">
<text variable="title"/>
<text variable="container-title"/>
</if>
<else>
<text form="short" variable="title"/>
</else>
</choose>
</substitute>
</names>
</else>
</choose>
</macro>
<macro name="title">
<text variable="title"/>
<text macro="genre" prefix=": "/>
<choose>
<if match="none" variable="container-title">
<text macro="collection-title"/>
<text macro="number-of-volumes"/>
</if>
</choose>
<choose>
<if type="webpage">
<text value=" [Электронный ресурс] "/>
</if>
<else-if match="all" variable="URL accessed">
<text value=" [Электронный ресурс] "/>
</else-if>
</choose>
</macro>
<macro name="genre">
<choose>
<if type="report">
<text variable="genre"/>
</if>
<else-if type="thesis">
<choose>
<if variable="abstract">
<text value="автореф. "/>
</if>
</choose>
<group delimiter=" … ">
<text form="short" term="thesis"/>
<text variable="genre"/>
</group>
</else-if>
</choose>
</macro>
<macro name="authors-all">
<group delimiter="; ">
<names delimiter=", " variable="author">
<name delimiter=", " initialize-with="."/>
<label form="short" prefix=", " text-case="capitalize-first"/>
</names>
<choose>
<if match="none" variable="container-title event">
<text macro="container-contributors"/>
</if>
</choose>
</group>
</macro>
<macro name="container">
<choose>
<if match="any" variable="container-title event">
<group delimiter=": ">
<text variable="event"/>
<text form="long" variable="container-title"/>
</group>
<choose>
<if variable="container-title">
<text macro="collection-title"/>
<text macro="number-of-volumes"/>
</if>
</choose>
<text macro="container-contributors" prefix=" / "/>
</if>
</choose>
</macro>
<macro name="number-of-volumes">
<group delimiter=" ">
<text prefix=": " term="in" text-case="lowercase"/>
<text variable="number-of-volumes"/>
<label form="short" text-case="lowercase" variable="number-of-volumes"/>
</group>
</macro>
<macro name="container-contributors">
<group delimiter="; ">
<names delimiter=", " variable="container-author">
<name delimiter=", " initialize-with="." sort-separator=", "/>
</names>
<names delimiter=", " variable="editor">
<label form="verb-short" suffix=" " text-case="lowercase"/>
<name delimiter=", " initialize-with="." sort-separator=", "/>
</names>
<names delimiter=", " variable="translator">
<label form="verb-short" suffix=" " text-case="lowercase"/>
<name delimiter=", " initialize-with="." sort-separator=", "/>
</names>
</group>
</macro>
<macro name="publishing">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number form="ordinal" variable="edition"/>
<label form="short" suffix=" – " variable="edition"/>
</group>
</if>
<else>
<text suffix=" – " variable="edition"/>
</else>
</choose>
<choose>
<if match="any" variable="publisher publisher-place">
<group delimiter=": ">
<text form="short" variable="publisher-place"/>
<choose>
<if match="none" type="thesis">
<text variable="publisher"/>
</if>
</choose>
</group>
<text macro="year-date" prefix=", "/>
</if>
<else>
<text macro="year-date"/>
</else>
</choose>
</macro>
<macro name="year-date">
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="imprint">
<group delimiter=" – ">
<group delimiter=" ">
<label form="short" plural="never" text-case="capitalize-first" variable="volume"/>
<text variable="volume"/>
</group>
<group delimiter=" ">
<label form="symbol" plural="never" text-case="capitalize-first" variable="issue"/>
<text variable="issue"/>
</group>
<group delimiter=" ">
<label form="short" plural="never" text-case="capitalize-first" variable="page"/>
<text variable="page"/>
</group>
<group delimiter=" ">
<text variable="number-of-pages"/>
<label form="short" plural="never" text-case="lowercase" variable="number-of-pages"/>
</group>
</group>
</macro>
<macro name="access">
<choose>
<if variable="DOI">
<text prefix="doi:" variable="DOI"/>
</if>
<!-- +url show -->
<if variable="URL">
<text prefix="URL:" variable="URL"/>
</if>
<else-if variable="accessed">
<group>
<text prefix="URL: " variable="URL"/>
<group delimiter=" " prefix=" (" suffix=")">
<text form="long" suffix=":" term="accessed" text-case="lowercase"/>
<date variable="accessed">
<date-part form="numeric-leading-zeros" name="day" suffix="."/>
<date-part form="numeric-leading-zeros" name="month" suffix="."/>
<date-part name="year"/>
</date>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="collection-title">
<choose>
<if type="article article-magazine article-newspaper article-journal">
<label prefix=". " suffix=": " text-case="capitalize-first" variable="collection-title"/>
<group delimiter=", ">
<!-- Zotero is glitchy as of March 2016, and puts both "collection number" and "collection title" to collection-title variable, with second overwriting the first -->
<text variable="collection-number"/>
<text variable="collection-title"/>
</group>
</if>
<else>
<group delimiter=", " prefix=": ">
<text variable="collection-title"/>
<choose>
<if is-numeric="collection-number">
<group delimiter=" ">
<text form="short" term="issue" text-case="lowercase"/>
<text variable="collection-number"/>
</group>
</if>
<else-if variable="collection-number">
<text variable="collection-number"/>
</else-if>
</choose>
</group>
</else>
</choose>
</macro>
<macro name="bibliography">
<group delimiter=" ">
<group delimiter=" " suffix=".">
<choose>
<if match="none" type="report">
<text macro="author-first"/>
</if>
</choose>
<text macro="title"/>
<text macro="authors-all" prefix="/ "/>
<text macro="container" prefix=" // "/>
</group>
<text macro="publishing" prefix="– " suffix="."/>
<text macro="imprint" prefix="– "/>
<text macro="access" prefix="– "/>
</group>
</macro>
<citation disambiguate-add-year-suffix="false" et-al-min="2" et-al-use-first="1">
<!-- https://docs.citationstyles.org/en/stable/specification.html#sorting -->
<!-- cs:citation and cs:bibliography may include a cs:sort child element before the cs:layout element to specify the sorting order of respectively cites within citations, and bibliographic entries within the bibliography. In the absence of cs:sort, cites and bibliographic entries appear in the order in which they are cited. -->
<!-- so disable sorting for this csl -->
<!-- <sort>
<key variable="citation-number"/>
</sort> -->
<layout delimiter=", " prefix="[" suffix="]">
<text variable="citation-number"/>
<group prefix=",">
<label form="short" plural="never" prefix=" " variable="locator"/>
<text form="short" variable="locator"/>
</group>
</layout>
</citation>
<bibliography second-field-align="flush">
<!-- <sort>
<key macro="author-cite"/>
<key variable="issued"/>
</sort> -->
<layout suffix=".">
<text suffix=". " variable="citation-number"/>
<text macro="bibliography"/>
</layout>
</bibliography>
</style>