|
@@ -0,0 +1,819 @@
|
|
1
|
+\ProvidesFile{ACM-Reference-Format.bbx}[2017-09-27 v0.1 biblatex bibliography style]
|
|
2
|
+
|
|
3
|
+% Inherit a default style
|
|
4
|
+\RequireBibliographyStyle{trad-plain}
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+%%% Localisation strings for ACM
|
|
9
|
+
|
|
10
|
+\DefineBibliographyStrings{american}{%
|
|
11
|
+ mathesis = {Master's thesis},
|
|
12
|
+ phdthesis = {Ph\adddot{}D\adddotspace Dissertation},
|
|
13
|
+ editor = {(Ed\adddot)},
|
|
14
|
+ editors = {(Eds\adddot)},
|
|
15
|
+ edition = {ed\adddot},
|
|
16
|
+}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+%%% Formatting for fields
|
|
21
|
+
|
|
22
|
+%\DeclareFieldFormat
|
|
23
|
+% [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
|
|
24
|
+% {title}{#1}
|
|
25
|
+\DeclareFieldFormat{pages}{#1}
|
|
26
|
+
|
|
27
|
+\DeclareFieldFormat{numpages}{#1 pages}
|
|
28
|
+
|
|
29
|
+\DeclareFieldFormat{number}{#1}
|
|
30
|
+
|
|
31
|
+\DeclareFieldFormat{articleno}{Article #1}
|
|
32
|
+
|
|
33
|
+\DeclareFieldFormat{key}{#1}
|
|
34
|
+
|
|
35
|
+\DeclareFieldFormat{urldate}{Retrieved\space{}#1\space{}from}
|
|
36
|
+\DeclareFieldAlias{lastaccessed}{urldate}
|
|
37
|
+
|
|
38
|
+\DeclareFieldFormat{url}{\url{#1}}
|
|
39
|
+
|
|
40
|
+\DeclareFieldFormat{edition}{%
|
|
41
|
+ \printtext[parens]{\ifinteger{#1}
|
|
42
|
+ {\mkbibordedition{#1}~\bibstring{edition}}
|
|
43
|
+ {#1\isdot~\bibstring{edition}}}}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+% Handle urls field containing 'and' separated list of URLs
|
|
47
|
+% https://github.com/plk/biblatex/issues/229
|
|
48
|
+\DeclareListFormat{urls}{%
|
|
49
|
+ \url{#1}%
|
|
50
|
+ \ifthenelse{\value{listcount}<\value{liststop}}
|
|
51
|
+ {\addcomma\space}
|
|
52
|
+ {}}
|
|
53
|
+\renewbibmacro*{url}{\iffieldundef{url}{\printlist{urls}}{\printfield{url}}}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+%%% Bibmacro definitions
|
|
58
|
+
|
|
59
|
+\renewbibmacro*{translator+others}{%
|
|
60
|
+ \ifboolexpr{
|
|
61
|
+ test \ifusetranslator
|
|
62
|
+ and
|
|
63
|
+ not test {\ifnameundef{translator}}
|
|
64
|
+ }
|
|
65
|
+ {\printnames{translator}%
|
|
66
|
+ \setunit{\addcomma\space}%
|
|
67
|
+ \usebibmacro{translator+othersstrg}%
|
|
68
|
+ \clearname{translator}}
|
|
69
|
+ {\printfield{key}}}
|
|
70
|
+
|
|
71
|
+\newbibmacro*{year}{%
|
|
72
|
+ \iffieldundef{year}%
|
|
73
|
+ {\printtext{[n.\ d.]}}%
|
|
74
|
+ {\printfield{year}}%
|
|
75
|
+}
|
|
76
|
+
|
|
77
|
+\renewbibmacro*{date}{\printtext[parens]{\printdate}}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+\renewbibmacro*{url+urldate}{\iffieldundef{urlyear}
|
|
81
|
+ {}
|
|
82
|
+ {\usebibmacro{urldate}%
|
|
83
|
+ \setunit*{\addspace}}%
|
|
84
|
+ \usebibmacro{url}%
|
|
85
|
+ }
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+\renewbibmacro*{journal+issuetitle}{%
|
|
89
|
+ \usebibmacro{journal}%
|
|
90
|
+ \setunit*{\addcomma\space}%
|
|
91
|
+ \iffieldundef{series}
|
|
92
|
+ {}
|
|
93
|
+ {\newunit%
|
|
94
|
+ \printfield{series}%
|
|
95
|
+ \setunit{\addspace}}%
|
|
96
|
+ \usebibmacro{volume+number+date+pages+eid}%
|
|
97
|
+ \newcommaunit%
|
|
98
|
+% \setunit{\addspace}%
|
|
99
|
+ \usebibmacro{issue-issue}%
|
|
100
|
+ \setunit*{\addcolon\space}%
|
|
101
|
+ \usebibmacro{issue}%
|
|
102
|
+ \newunit}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+\newbibmacro*{volume+number+date+pages+eid}{%
|
|
107
|
+ \printfield{volume}%
|
|
108
|
+ \setunit*{\addcomma\space}%
|
|
109
|
+ \printfield{number}%
|
|
110
|
+ \setunit*{\addcomma\space}%
|
|
111
|
+ \printfield{articleno}
|
|
112
|
+ \setunit{\addcomma\space}
|
|
113
|
+ \usebibmacro{date-ifmonth}
|
|
114
|
+ \setunit{\addcomma\space}%
|
|
115
|
+ \iffieldundef{pages}%
|
|
116
|
+ {\printfield{numpages}}%
|
|
117
|
+ {\printfield{pages}}%
|
|
118
|
+ \newcommaunit%
|
|
119
|
+ \printfield{eid}}%
|
|
120
|
+
|
|
121
|
+\renewbibmacro*{chapter+pages}{%
|
|
122
|
+ \printfield{chapter}%
|
|
123
|
+ \setunit{\bibpagespunct}%
|
|
124
|
+ \iffieldundef{pages}%
|
|
125
|
+ {\printfield{numpages}}%
|
|
126
|
+ {\printfield{pages}}%
|
|
127
|
+ \newunit}
|
|
128
|
+
|
|
129
|
+\renewbibmacro*{editor+others}{%
|
|
130
|
+ \ifboolexpr{
|
|
131
|
+ test \ifuseeditor
|
|
132
|
+ and
|
|
133
|
+ not test {\ifnameundef{editor}}
|
|
134
|
+ }
|
|
135
|
+ {\printnames{editor}%
|
|
136
|
+ \setunit{\addcomma\space}%
|
|
137
|
+ \usebibmacro{editor+othersstrg}%
|
|
138
|
+ \clearname{editor}}
|
|
139
|
+ {\iflistundef{organization}{}{\printlist{organization}}}}
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+\newbibmacro*{issue-issue}{%
|
|
143
|
+ \iffieldundef{issue}%
|
|
144
|
+ {}%
|
|
145
|
+ {\printfield{issue}%
|
|
146
|
+ \setunit*{\addcomma\space}%
|
|
147
|
+ \usebibmacro{date-ifmonth}%
|
|
148
|
+ }%
|
|
149
|
+ \newunit}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+\newbibmacro*{maintitle+booktitle+series+number}{%
|
|
155
|
+ \iffieldundef{maintitle}
|
|
156
|
+ {}
|
|
157
|
+ {\usebibmacro{maintitle}%
|
|
158
|
+ \newunit\newblock
|
|
159
|
+ \iffieldundef{volume}
|
|
160
|
+ {}
|
|
161
|
+ {\printfield{volume}%
|
|
162
|
+ \printfield{part}%
|
|
163
|
+ \setunit{\addcolon\space}}}%
|
|
164
|
+ \usebibmacro{booktitle}%
|
|
165
|
+ \setunit*{\addspace}
|
|
166
|
+ \printfield[parens]{series}%
|
|
167
|
+ \setunit*{\addspace}%
|
|
168
|
+ \printfield{number}%
|
|
169
|
+ \setunit*{\addcomma\space}%
|
|
170
|
+ \printfield{articleno}
|
|
171
|
+ \newunit
|
|
172
|
+ }
|
|
173
|
+
|
|
174
|
+\renewbibmacro*{booktitle}{%
|
|
175
|
+ \ifboolexpr{
|
|
176
|
+ test {\iffieldundef{booktitle}}
|
|
177
|
+ and
|
|
178
|
+ test {\iffieldundef{booksubtitle}}
|
|
179
|
+ }
|
|
180
|
+ {}
|
|
181
|
+ {\printtext[booktitle]{%
|
|
182
|
+ \printfield[titlecase]{booktitle}%
|
|
183
|
+ \iffieldundef{booksubtitle}{}{
|
|
184
|
+ \setunit{\subtitlepunct}%
|
|
185
|
+ \printfield[titlecase]{booksubtitle}}%
|
|
186
|
+ }%
|
|
187
|
+ }%
|
|
188
|
+ \printfield{booktitleaddon}}
|
|
189
|
+
|
|
190
|
+\renewbibmacro*{volume+number+eid}{%
|
|
191
|
+ \printfield{volume}%
|
|
192
|
+ \setunit*{\addcomma\space}%
|
|
193
|
+ \printfield{number}%
|
|
194
|
+ \setunit*{\addcomma\space}%
|
|
195
|
+ \printfield{articleno}
|
|
196
|
+ \setunit{\addcomma\space}%
|
|
197
|
+ \printfield{eid}}
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+\renewbibmacro*{publisher+location+date}{%
|
|
201
|
+ \printlist{publisher}%
|
|
202
|
+ \setunit*{\addcomma\space}%
|
|
203
|
+ \printlist{location}%
|
|
204
|
+ \setunit*{\addcomma\space}%
|
|
205
|
+ \usebibmacro{date-ifmonth}%
|
|
206
|
+ \newunit}
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+\newbibmacro{date-ifmonth}{%
|
|
210
|
+ \iffieldundef{month}{}{%
|
|
211
|
+ \usebibmacro{date}
|
|
212
|
+ }%
|
|
213
|
+}
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+\renewbibmacro*{institution+location+date}{%
|
|
217
|
+ \printlist{school}%
|
|
218
|
+ \setunit*{\addcomma\space}%
|
|
219
|
+ \printlist{institution}%
|
|
220
|
+ \setunit*{\addcomma\space}%
|
|
221
|
+ \printlist{location}%
|
|
222
|
+ \setunit*{\addcomma\space}%
|
|
223
|
+ \usebibmacro{date-ifmonth}%
|
|
224
|
+ \newunit}
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+\renewbibmacro*{periodical}{%
|
|
228
|
+ \iffieldundef{title}
|
|
229
|
+ {}
|
|
230
|
+ {\printtext[title]{%
|
|
231
|
+ \printfield[titlecase]{title}%
|
|
232
|
+ \setunit{\subtitlepunct}%
|
|
233
|
+ \printfield[titlecase]{subtitle}}}%
|
|
234
|
+ \newunit%
|
|
235
|
+ \usebibmacro{journal}}
|
|
236
|
+
|
|
237
|
+\renewbibmacro*{issue+date}{%
|
|
238
|
+ \iffieldundef{issue}
|
|
239
|
+ {\usebibmacro{date}}
|
|
240
|
+ {\printfield{issue}%
|
|
241
|
+ \setunit*{\addspace}%
|
|
242
|
+ \usebibmacro{date}}%
|
|
243
|
+ \newunit}
|
|
244
|
+
|
|
245
|
+\renewbibmacro*{title+issuetitle}{%
|
|
246
|
+ \usebibmacro{periodical}%
|
|
247
|
+ \setunit*{\addspace}%
|
|
248
|
+ \iffieldundef{series}
|
|
249
|
+ {}
|
|
250
|
+ {\newunit
|
|
251
|
+ \printfield{series}%
|
|
252
|
+ \setunit{\addspace}}%
|
|
253
|
+ \printfield{volume}%
|
|
254
|
+ \setunit*{\addcomma\space}%
|
|
255
|
+ \printfield{number}%
|
|
256
|
+ \setunit*{\addcomma\space}%
|
|
257
|
+ \printfield{articleno}
|
|
258
|
+ \setunit{\addcomma\space}%
|
|
259
|
+ \printfield{eid}%
|
|
260
|
+ \setunit{\addspace}%
|
|
261
|
+ \usebibmacro{issue+date}%
|
|
262
|
+ \setunit{\addcolon\space}%
|
|
263
|
+ \usebibmacro{issue}%
|
|
264
|
+ \newunit}
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+%%% Definitions for drivers (alphabetical)
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+\DeclareBibliographyDriver{article}{%
|
|
274
|
+ \usebibmacro{bibindex}%
|
|
275
|
+ \usebibmacro{begentry}%
|
|
276
|
+ \usebibmacro{author/translator+others}%
|
|
277
|
+ \setunit{\labelnamepunct}\newblock%
|
|
278
|
+ \usebibmacro{year}%
|
|
279
|
+ \newunit%
|
|
280
|
+ \usebibmacro{title}%
|
|
281
|
+ \newunit%
|
|
282
|
+ \printlist{language}%
|
|
283
|
+ \newunit\newblock%
|
|
284
|
+ \usebibmacro{byauthor}%
|
|
285
|
+ \newunit\newblock%
|
|
286
|
+ \usebibmacro{bytranslator+others}%
|
|
287
|
+ \newunit\newblock%
|
|
288
|
+ \printfield{version}%
|
|
289
|
+ \newunit\newblock%
|
|
290
|
+ \usebibmacro{journal+issuetitle}%
|
|
291
|
+ \newunit%
|
|
292
|
+ \usebibmacro{byeditor+others}%
|
|
293
|
+ \newunit%
|
|
294
|
+ \printfield{note}%
|
|
295
|
+ \newunit\newblock%
|
|
296
|
+ \iftoggle{bbx:isbn}
|
|
297
|
+ {\printfield{issn}}
|
|
298
|
+ {}%
|
|
299
|
+ \newunit\newblock%
|
|
300
|
+ \usebibmacro{doi+eprint+url}%
|
|
301
|
+ \newunit\newblock%
|
|
302
|
+ \usebibmacro{addendum+pubstate}%
|
|
303
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
304
|
+ \usebibmacro{pageref}%
|
|
305
|
+ \newunit\newblock%
|
|
306
|
+ \usebibmacro{related}%
|
|
307
|
+ \usebibmacro{finentry}}
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+\DeclareBibliographyDriver{book}{%
|
|
312
|
+ \usebibmacro{bibindex}%
|
|
313
|
+ \usebibmacro{begentry}%
|
|
314
|
+ \usebibmacro{author/editor+others/translator+others}%
|
|
315
|
+ \setunit{\labelnamepunct}\newblock
|
|
316
|
+ \usebibmacro{year}%
|
|
317
|
+ \newunit%
|
|
318
|
+ \usebibmacro{maintitle+title}%
|
|
319
|
+ \newunit%
|
|
320
|
+ \printlist{language}%
|
|
321
|
+ \newunit\newblock
|
|
322
|
+ \usebibmacro{byauthor}%
|
|
323
|
+ \newunit\newblock
|
|
324
|
+ \usebibmacro{byeditor+others}%
|
|
325
|
+ \newunit\newblock
|
|
326
|
+ \printfield{edition}%
|
|
327
|
+ \newunit
|
|
328
|
+ \usebibmacro{series+number}%
|
|
329
|
+ \iffieldundef{maintitle}
|
|
330
|
+ {\printfield{volume}%
|
|
331
|
+ \printfield{part}}
|
|
332
|
+ {}%
|
|
333
|
+ \newunit
|
|
334
|
+ \newunit\newblock
|
|
335
|
+ \printfield{volumes}%
|
|
336
|
+ \newunit\newblock
|
|
337
|
+ \printfield{note}%
|
|
338
|
+ \newunit\newblock
|
|
339
|
+ \usebibmacro{publisher+location+date}%
|
|
340
|
+ \newunit\newblock
|
|
341
|
+ \usebibmacro{chapter+pages}%
|
|
342
|
+ \newunit
|
|
343
|
+ \printfield{pagetotal}%
|
|
344
|
+ \newunit\newblock
|
|
345
|
+ \iftoggle{bbx:isbn}
|
|
346
|
+ {\printfield{isbn}}
|
|
347
|
+ {}%
|
|
348
|
+ \newunit\newblock
|
|
349
|
+ \usebibmacro{doi+eprint+url}%
|
|
350
|
+ \newunit\newblock
|
|
351
|
+ \usebibmacro{addendum+pubstate}%
|
|
352
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
353
|
+ \usebibmacro{pageref}%
|
|
354
|
+ \newunit\newblock
|
|
355
|
+ \iftoggle{bbx:related}
|
|
356
|
+ {\usebibmacro{related:init}%
|
|
357
|
+ \usebibmacro{related}}
|
|
358
|
+ {}%
|
|
359
|
+ \usebibmacro{finentry}}
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+\DeclareBibliographyDriver{inbook}{%
|
|
364
|
+ \usebibmacro{bibindex}%
|
|
365
|
+ \usebibmacro{begentry}%
|
|
366
|
+ \iffieldundef{author}%
|
|
367
|
+ {\usebibmacro{byeditor+others}}%
|
|
368
|
+ {\usebibmacro{author/translator+others}}%
|
|
369
|
+ \setunit{\labelnamepunct}\newblock
|
|
370
|
+ \usebibmacro{year}
|
|
371
|
+ \newunit\newblock
|
|
372
|
+ \usebibmacro{title}%
|
|
373
|
+ \newunit
|
|
374
|
+ \printlist{language}%
|
|
375
|
+ \newunit\newblock
|
|
376
|
+ \usebibmacro{byauthor}%
|
|
377
|
+ \newunit\newblock
|
|
378
|
+% \usebibmacro{in:}%
|
|
379
|
+ \usebibmacro{bybookauthor}%
|
|
380
|
+ \newunit\newblock
|
|
381
|
+ \usebibmacro{maintitle+booktitle}%
|
|
382
|
+ \newunit\newblock
|
|
383
|
+ \iffieldundef{author}{}%if undef then we already printed editor
|
|
384
|
+ {\usebibmacro{byeditor+others}}%
|
|
385
|
+ \newunit\newblock
|
|
386
|
+ \printfield{edition}%
|
|
387
|
+ \newunit
|
|
388
|
+ \iffieldundef{maintitle}
|
|
389
|
+ {\printfield{volume}%
|
|
390
|
+ \printfield{part}}
|
|
391
|
+ {}%
|
|
392
|
+ \newunit
|
|
393
|
+ \printfield{volumes}%
|
|
394
|
+ \newunit\newblock
|
|
395
|
+ \usebibmacro{series+number}%
|
|
396
|
+ \newunit\newblock
|
|
397
|
+ \printfield{note}%
|
|
398
|
+ \newunit\newblock
|
|
399
|
+ \usebibmacro{publisher+location+date}%
|
|
400
|
+ \newunit\newblock
|
|
401
|
+ \usebibmacro{chapter+pages}%
|
|
402
|
+ \newunit\newblock
|
|
403
|
+ \iftoggle{bbx:isbn}
|
|
404
|
+ {\printfield{isbn}}
|
|
405
|
+ {}%
|
|
406
|
+ \newunit\newblock
|
|
407
|
+ \usebibmacro{doi+eprint+url}%
|
|
408
|
+ \newunit\newblock
|
|
409
|
+ \usebibmacro{addendum+pubstate}%
|
|
410
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
411
|
+ \usebibmacro{pageref}%
|
|
412
|
+ \newunit\newblock
|
|
413
|
+ \iftoggle{bbx:related}
|
|
414
|
+ {\usebibmacro{related:init}%
|
|
415
|
+ \usebibmacro{related}}
|
|
416
|
+ {}%
|
|
417
|
+ \usebibmacro{finentry}}
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+\DeclareBibliographyDriver{incollection}{%
|
|
422
|
+ \usebibmacro{bibindex}%
|
|
423
|
+ \usebibmacro{begentry}%
|
|
424
|
+ \usebibmacro{author/translator+others}%
|
|
425
|
+ \setunit{\labelnamepunct}\newblock
|
|
426
|
+ \usebibmacro{year}
|
|
427
|
+ \newunit\newblock
|
|
428
|
+ \usebibmacro{title}%
|
|
429
|
+ \newunit
|
|
430
|
+ \printlist{language}%
|
|
431
|
+ \newunit\newblock
|
|
432
|
+ \usebibmacro{byauthor}%
|
|
433
|
+ \newunit\newblock
|
|
434
|
+ \usebibmacro{in:}%
|
|
435
|
+ \usebibmacro{maintitle+booktitle}%
|
|
436
|
+ \newunit\newblock
|
|
437
|
+ \usebibmacro{series+number}%
|
|
438
|
+ \newunit\newblock
|
|
439
|
+ \printfield{edition}%
|
|
440
|
+ \newunit
|
|
441
|
+ \iffieldundef{maintitle}
|
|
442
|
+ {\printfield{volume}%
|
|
443
|
+ \printfield{part}}
|
|
444
|
+ {}%
|
|
445
|
+ \newunit
|
|
446
|
+ \printfield{volumes}%
|
|
447
|
+ \newunit\newblock
|
|
448
|
+ \usebibmacro{byeditor+others}%
|
|
449
|
+ \newunit\newblock
|
|
450
|
+ \printfield{note}%
|
|
451
|
+ \newunit\newblock
|
|
452
|
+ \usebibmacro{publisher+location+date}%
|
|
453
|
+ \newunit\newblock
|
|
454
|
+ \usebibmacro{chapter+pages}%
|
|
455
|
+ \newunit\newblock
|
|
456
|
+ \iftoggle{bbx:isbn}
|
|
457
|
+ {\printfield{isbn}}
|
|
458
|
+ {}%
|
|
459
|
+ \newunit\newblock
|
|
460
|
+ \usebibmacro{doi+eprint+url}%
|
|
461
|
+ \newunit\newblock
|
|
462
|
+ \usebibmacro{addendum+pubstate}%
|
|
463
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
464
|
+ \usebibmacro{pageref}%
|
|
465
|
+ \newunit\newblock
|
|
466
|
+ \iftoggle{bbx:related}
|
|
467
|
+ {\usebibmacro{related:init}%
|
|
468
|
+ \usebibmacro{related}}
|
|
469
|
+ {}%
|
|
470
|
+ \usebibmacro{finentry}}
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+\DeclareBibliographyDriver{inproceedings}{%
|
|
475
|
+ \usebibmacro{bibindex}%
|
|
476
|
+ \usebibmacro{begentry}%
|
|
477
|
+ \usebibmacro{author/translator+others}%
|
|
478
|
+ \setunit{\labelnamepunct}\newblock
|
|
479
|
+ \usebibmacro{year}
|
|
480
|
+ \newunit\newblock
|
|
481
|
+ \usebibmacro{title}%
|
|
482
|
+ \newunit
|
|
483
|
+ \printlist{language}%
|
|
484
|
+ \newunit\newblock
|
|
485
|
+ \usebibmacro{byauthor}%
|
|
486
|
+ \newunit\newblock
|
|
487
|
+ \usebibmacro{in:}%
|
|
488
|
+ \usebibmacro{maintitle+booktitle+series+number}%
|
|
489
|
+ \newunit\newblock
|
|
490
|
+ \usebibmacro{event+venue+date}%
|
|
491
|
+ \newunit\newblock
|
|
492
|
+ \usebibmacro{byeditor+others}%
|
|
493
|
+ \newunit\newblock
|
|
494
|
+ \iffieldundef{maintitle}
|
|
495
|
+ {\printfield{volume}%
|
|
496
|
+ \printfield{part}}
|
|
497
|
+ {}%
|
|
498
|
+ \newunit
|
|
499
|
+ \printfield{volumes}%
|
|
500
|
+ \newunit\newblock
|
|
501
|
+ \printfield{note}%
|
|
502
|
+ \newunit\newblock
|
|
503
|
+ \printlist{organization}%
|
|
504
|
+ \newunit
|
|
505
|
+ \usebibmacro{publisher+location+date}%
|
|
506
|
+ \newunit\newblock
|
|
507
|
+ \usebibmacro{chapter+pages}%
|
|
508
|
+ \newunit\newblock
|
|
509
|
+ \iftoggle{bbx:isbn}
|
|
510
|
+ {\printfield{isbn}}
|
|
511
|
+ {}%
|
|
512
|
+ \newunit\newblock
|
|
513
|
+ \usebibmacro{doi+eprint+url}%
|
|
514
|
+ \newunit\newblock
|
|
515
|
+ \usebibmacro{addendum+pubstate}%
|
|
516
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
517
|
+ \usebibmacro{pageref}%
|
|
518
|
+ \newunit\newblock
|
|
519
|
+ \iftoggle{bbx:related}
|
|
520
|
+ {\usebibmacro{related:init}%
|
|
521
|
+ \usebibmacro{related}}
|
|
522
|
+ {}%
|
|
523
|
+ \usebibmacro{finentry}}
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+\DeclareBibliographyDriver{manual}{%
|
|
528
|
+ \usebibmacro{bibindex}%
|
|
529
|
+ \usebibmacro{begentry}%
|
|
530
|
+ \usebibmacro{author/editor+others}%
|
|
531
|
+ \setunit{\labelnamepunct}\newblock
|
|
532
|
+ \usebibmacro{year}
|
|
533
|
+ \newunit\newblock
|
|
534
|
+ \usebibmacro{title}%
|
|
535
|
+ \newunit
|
|
536
|
+ \printlist{language}%
|
|
537
|
+ \newunit\newblock
|
|
538
|
+ \usebibmacro{byauthor}%
|
|
539
|
+ \newunit\newblock
|
|
540
|
+ \usebibmacro{byeditor}%
|
|
541
|
+ \newunit\newblock
|
|
542
|
+ \printfield{edition}%
|
|
543
|
+ \newunit\newblock
|
|
544
|
+ \usebibmacro{series+number}%
|
|
545
|
+ \newunit\newblock
|
|
546
|
+ \printfield{type}%
|
|
547
|
+ \newunit
|
|
548
|
+ \printfield{version}%
|
|
549
|
+ \newunit
|
|
550
|
+ \printfield{note}%
|
|
551
|
+ \newunit\newblock
|
|
552
|
+ \printlist{organization}%
|
|
553
|
+ \newunit
|
|
554
|
+ \usebibmacro{publisher+location+date}%
|
|
555
|
+ \newunit\newblock
|
|
556
|
+ \usebibmacro{chapter+pages}%
|
|
557
|
+ \newunit
|
|
558
|
+ \printfield{pagetotal}%
|
|
559
|
+ \newunit\newblock
|
|
560
|
+ \iftoggle{bbx:isbn}
|
|
561
|
+ {\printfield{isbn}}
|
|
562
|
+ {}%
|
|
563
|
+ \newunit\newblock
|
|
564
|
+ \usebibmacro{doi+eprint+url}%
|
|
565
|
+ \newunit\newblock
|
|
566
|
+ \usebibmacro{addendum+pubstate}%
|
|
567
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
568
|
+ \usebibmacro{pageref}%
|
|
569
|
+ \newunit\newblock
|
|
570
|
+ \iftoggle{bbx:related}
|
|
571
|
+ {\usebibmacro{related:init}%
|
|
572
|
+ \usebibmacro{related}}
|
|
573
|
+ {}%
|
|
574
|
+ \usebibmacro{finentry}}
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+\DeclareBibliographyDriver{misc}{%
|
|
579
|
+ \usebibmacro{bibindex}%
|
|
580
|
+ \usebibmacro{begentry}%
|
|
581
|
+ \usebibmacro{author/editor+others/translator+others}%
|
|
582
|
+ \setunit{\labelnamepunct}\newblock
|
|
583
|
+ \usebibmacro{year}
|
|
584
|
+ \newunit\newblock
|
|
585
|
+ \usebibmacro{title}%
|
|
586
|
+ \newunit
|
|
587
|
+ \printlist{language}%
|
|
588
|
+ \newunit\newblock
|
|
589
|
+ \usebibmacro{byauthor}%
|
|
590
|
+ \newunit\newblock
|
|
591
|
+ \usebibmacro{byeditor+others}%
|
|
592
|
+ \newunit\newblock
|
|
593
|
+ \printfield{howpublished}%
|
|
594
|
+ \newunit\newblock
|
|
595
|
+ \printfield{type}%
|
|
596
|
+ \newunit
|
|
597
|
+ \printfield{version}%
|
|
598
|
+ \newunit
|
|
599
|
+ \printfield{note}%
|
|
600
|
+ \newunit\newblock
|
|
601
|
+ \usebibmacro{organization+location+date}%
|
|
602
|
+ \newunit\newblock
|
|
603
|
+ \usebibmacro{doi+eprint+url}%
|
|
604
|
+ \newunit\newblock
|
|
605
|
+ \usebibmacro{addendum+pubstate}%
|
|
606
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
607
|
+ \usebibmacro{pageref}%
|
|
608
|
+ \newunit\newblock
|
|
609
|
+ \iftoggle{bbx:related}
|
|
610
|
+ {\usebibmacro{related:init}%
|
|
611
|
+ \usebibmacro{related}}
|
|
612
|
+ {}%
|
|
613
|
+ \usebibmacro{finentry}}
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+\DeclareBibliographyDriver{online}{%
|
|
618
|
+ \usebibmacro{bibindex}%
|
|
619
|
+ \usebibmacro{begentry}%
|
|
620
|
+ \usebibmacro{author/editor+others/translator+others}%
|
|
621
|
+ \setunit{\labelnamepunct}\newblock
|
|
622
|
+ \usebibmacro{year}%
|
|
623
|
+ \setunit{\labelnamepunct}\newblock
|
|
624
|
+ \usebibmacro{title}%
|
|
625
|
+ \newunit
|
|
626
|
+ \printlist{language}%
|
|
627
|
+ \newunit\newblock
|
|
628
|
+ \usebibmacro{byauthor}%
|
|
629
|
+ \newunit\newblock
|
|
630
|
+ \usebibmacro{byeditor+others}%
|
|
631
|
+ \newunit\newblock
|
|
632
|
+ \printfield{version}%
|
|
633
|
+ \newunit
|
|
634
|
+ \printfield{note}%
|
|
635
|
+ \newunit\newblock
|
|
636
|
+ \printlist{organization}%
|
|
637
|
+ \newunit\newblock
|
|
638
|
+ \usebibmacro{date-ifmonth}%
|
|
639
|
+ \newunit\newblock
|
|
640
|
+ \iftoggle{bbx:eprint}
|
|
641
|
+ {\usebibmacro{eprint}}
|
|
642
|
+ {}%
|
|
643
|
+ \newunit\newblock
|
|
644
|
+ \usebibmacro{url+urldate}%
|
|
645
|
+ \newunit\newblock
|
|
646
|
+ \usebibmacro{addendum+pubstate}%
|
|
647
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
648
|
+ \usebibmacro{pageref}%
|
|
649
|
+ \newunit\newblock
|
|
650
|
+ \iftoggle{bbx:related}
|
|
651
|
+ {\usebibmacro{related:init}%
|
|
652
|
+ \usebibmacro{related}}
|
|
653
|
+ {}%
|
|
654
|
+ \usebibmacro{finentry}}
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+\DeclareFieldFormat[patent]{number}{Patent No.~#1}
|
|
659
|
+
|
|
660
|
+\DeclareBibliographyDriver{patent}{%
|
|
661
|
+ \usebibmacro{bibindex}%
|
|
662
|
+ \usebibmacro{begentry}%
|
|
663
|
+ \usebibmacro{author}%
|
|
664
|
+ \setunit{\labelnamepunct}\newblock
|
|
665
|
+ \usebibmacro{year}%
|
|
666
|
+ \newunit
|
|
667
|
+ \usebibmacro{title}%
|
|
668
|
+ \newunit
|
|
669
|
+ \printlist{language}%
|
|
670
|
+ \newunit\newblock
|
|
671
|
+ \usebibmacro{byauthor}%
|
|
672
|
+ \newunit\newblock
|
|
673
|
+ \usebibmacro{date}%
|
|
674
|
+ \newunit\newblock
|
|
675
|
+ \printfield{type}%
|
|
676
|
+ \setunit*{\addspace}%
|
|
677
|
+ \printfield{number}%
|
|
678
|
+ \iflistundef{location}
|
|
679
|
+ {}
|
|
680
|
+ {\setunit*{\addspace}%
|
|
681
|
+ \printtext[parens]{%
|
|
682
|
+ \printlist[][-\value{listtotal}]{location}}}%
|
|
683
|
+ \newunit\newblock
|
|
684
|
+ \usebibmacro{byholder}%
|
|
685
|
+ \newunit\newblock
|
|
686
|
+ \printfield{note}%
|
|
687
|
+ \newunit\newblock
|
|
688
|
+ \usebibmacro{doi+eprint+url}%
|
|
689
|
+ \newunit\newblock
|
|
690
|
+ \usebibmacro{addendum+pubstate}%
|
|
691
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
692
|
+ \usebibmacro{pageref}%
|
|
693
|
+ \newunit\newblock
|
|
694
|
+ \iftoggle{bbx:related}
|
|
695
|
+ {\usebibmacro{related:init}%
|
|
696
|
+ \usebibmacro{related}}
|
|
697
|
+ {}%
|
|
698
|
+ \usebibmacro{finentry}}
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+\DeclareBibliographyDriver{periodical}{%
|
|
703
|
+ \usebibmacro{bibindex}%
|
|
704
|
+ \usebibmacro{begentry}%
|
|
705
|
+ \usebibmacro{editor}%
|
|
706
|
+ \setunit{\labelnamepunct}\newblock
|
|
707
|
+ \usebibmacro{year}
|
|
708
|
+ \newunit
|
|
709
|
+ \usebibmacro{title+issuetitle}%
|
|
710
|
+ \newunit
|
|
711
|
+ \printlist{language}%
|
|
712
|
+ \newunit\newblock
|
|
713
|
+ \usebibmacro{byeditor}%
|
|
714
|
+ \newunit\newblock
|
|
715
|
+ \printfield{note}%
|
|
716
|
+ \newunit\newblock
|
|
717
|
+ \iftoggle{bbx:isbn}
|
|
718
|
+ {\printfield{issn}}
|
|
719
|
+ {}%
|
|
720
|
+ \newunit\newblock
|
|
721
|
+ \usebibmacro{doi+eprint+url}%
|
|
722
|
+ \newunit\newblock
|
|
723
|
+ \usebibmacro{addendum+pubstate}%
|
|
724
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
725
|
+ \usebibmacro{pageref}%
|
|
726
|
+ \newunit\newblock
|
|
727
|
+ \iftoggle{bbx:related}
|
|
728
|
+ {\usebibmacro{related:init}%
|
|
729
|
+ \usebibmacro{related}}
|
|
730
|
+ {}%
|
|
731
|
+ \usebibmacro{finentry}}
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+\DeclareBibliographyDriver{report}{%
|
|
736
|
+ \usebibmacro{bibindex}%
|
|
737
|
+ \usebibmacro{begentry}%
|
|
738
|
+ \usebibmacro{author}%
|
|
739
|
+ \setunit{\labelnamepunct}\newblock
|
|
740
|
+ \usebibmacro{year}
|
|
741
|
+ \newunit
|
|
742
|
+ \usebibmacro{title}%
|
|
743
|
+ \newunit
|
|
744
|
+ \printlist{language}%
|
|
745
|
+ \newunit\newblock
|
|
746
|
+ \usebibmacro{byauthor}%
|
|
747
|
+ \newunit\newblock
|
|
748
|
+ \printfield{type}%
|
|
749
|
+ \setunit*{\addspace}%
|
|
750
|
+ \printfield{number}%
|
|
751
|
+ \newunit\newblock
|
|
752
|
+ \printfield{version}%
|
|
753
|
+ \newunit
|
|
754
|
+ \printfield{note}%
|
|
755
|
+ \newunit\newblock
|
|
756
|
+ \usebibmacro{institution+location+date}%
|
|
757
|
+ \newunit\newblock
|
|
758
|
+ \usebibmacro{chapter+pages}%
|
|
759
|
+ \newunit
|
|
760
|
+ \printfield{pagetotal}%
|
|
761
|
+ \newunit\newblock
|
|
762
|
+ \iftoggle{bbx:isbn}
|
|
763
|
+ {\printfield{isrn}}
|
|
764
|
+ {}%
|
|
765
|
+ \newunit\newblock
|
|
766
|
+ \usebibmacro{doi+eprint+url}%
|
|
767
|
+ \newunit\newblock
|
|
768
|
+ \usebibmacro{addendum+pubstate}%
|
|
769
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
770
|
+ \usebibmacro{pageref}%
|
|
771
|
+ \newunit\newblock
|
|
772
|
+ \iftoggle{bbx:related}
|
|
773
|
+ {\usebibmacro{related:init}%
|
|
774
|
+ \usebibmacro{related}}
|
|
775
|
+ {}%
|
|
776
|
+ \usebibmacro{finentry}}
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+\DeclareBibliographyDriver{thesis}{%
|
|
781
|
+ \usebibmacro{bibindex}%
|
|
782
|
+ \usebibmacro{begentry}%
|
|
783
|
+ \usebibmacro{author}%
|
|
784
|
+ \setunit{\labelnamepunct}\newblock
|
|
785
|
+ \usebibmacro{year}
|
|
786
|
+ \newunit
|
|
787
|
+ \usebibmacro{title}%
|
|
788
|
+ \newunit
|
|
789
|
+ \printlist{language}%
|
|
790
|
+ \newunit\newblock
|
|
791
|
+ \usebibmacro{byauthor}%
|
|
792
|
+ \newunit\newblock
|
|
793
|
+ \printfield{type}%
|
|
794
|
+ \newunit
|
|
795
|
+ \usebibmacro{institution+location+date}%
|
|
796
|
+ \newunit\newblock
|
|
797
|
+ \usebibmacro{chapter+pages}%
|
|
798
|
+ \newunit
|
|
799
|
+ \printfield{pagetotal}%
|
|
800
|
+ \newunit\newblock
|
|
801
|
+ \iftoggle{bbx:isbn}
|
|
802
|
+ {\printfield{isbn}}
|
|
803
|
+ {}%
|
|
804
|
+ \newunit\newblock
|
|
805
|
+ \usebibmacro{doi+eprint+url}%
|
|
806
|
+ \newunit\newblock
|
|
807
|
+ \usebibmacro{addendum+pubstate}%
|
|
808
|
+ \setunit{\bibpagerefpunct}\newblock
|
|
809
|
+ \usebibmacro{pageref}%
|
|
810
|
+ \newunit\newblock
|
|
811
|
+ \printfield{note}%
|
|
812
|
+ \newunit\newblock
|
|
813
|
+ \iftoggle{bbx:related}
|
|
814
|
+ {\usebibmacro{related:init}%
|
|
815
|
+ \usebibmacro{related}}
|
|
816
|
+ {}%
|
|
817
|
+ \usebibmacro{finentry}}
|
|
818
|
+
|
|
819
|
+
|