Debian Codegraph @

texmf-dist/bibtex/bst/munich/munich.bst

raw
1 %%
2 %% This is file `muc.bst',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% merlin.mbs (with options: `head,exlang,ay,nat,vonx,nm-rev,ed-rev,jnrlst,aunm-sl,nmft,nmft-sc,nmfted,lab,lab-sc,keyxyr,blkyear,dt-beg,yr-par,yrp-col,note-yr,atit-u,jttl-rm,vnum-nr,volp-com,pgsep-p,jwdpg,jwdvol,num-xser,btit-rm,bt-rm,isbn,issn,doi,edpar,bkedcap,blk-com,in-col,german,pp,ed,abr,ord,and-xcom,xand,url,url-nt,em-x,nfss,,{}')
8 %% german.mbs (with options: `exlang,ay,nat,vonx,nm-rev,ed-rev,jnrlst,aunm-sl,nmft,nmft-sc,nmfted,lab,lab-sc,keyxyr,blkyear,dt-beg,yr-par,yrp-col,note-yr,atit-u,jttl-rm,vnum-nr,volp-com,pgsep-p,jwdpg,jwdvol,num-xser,btit-rm,bt-rm,isbn,issn,doi,edpar,bkedcap,blk-com,in-col,german,pp,ed,abr,ord,and-xcom,xand,url,url-nt,em-x,nfss,,{}')
9 %% merlin.mbs (with options: `tail,exlang,ay,nat,vonx,nm-rev,ed-rev,jnrlst,aunm-sl,nmft,nmft-sc,nmfted,lab,lab-sc,keyxyr,blkyear,dt-beg,yr-par,yrp-col,note-yr,atit-u,jttl-rm,vnum-nr,volp-com,pgsep-p,jwdpg,jwdvol,num-xser,btit-rm,bt-rm,isbn,issn,doi,edpar,bkedcap,blk-com,in-col,german,pp,ed,abr,ord,and-xcom,xand,url,url-nt,em-x,nfss,,{}')
10 %% ----------------------------------------
11 %% *** Martin Brixner / [email protected] ***
12 %% *** Modifications leading to munich.bst ***
13 %% *** Thank you Patrick for your great tool! ***
14 %%
15 %% Copyright 1994-2004 Patrick W Daly
16 % ===============================================================
17 % IMPORTANT NOTICE:
18 % This bibliographic style (bst) file has been generated from one or
19 % more master bibliographic style (mbs) files, listed above.
20 %
21 % This generated file can be redistributed and/or modified under the terms
22 % of the LaTeX Project Public License Distributed from CTAN
23 % archives in directory macros/latex/base/lppl.txt; either
24 % version 1 of the License, or any later version.
25 % ===============================================================
26 % Name and version information of the main mbs file:
27 % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
28 % For use with BibTeX version 0.99a or later
29 %-------------------------------------------------------------------
30 % This bibliography style file is intended for texts in
31 % GERMAN
32 % This is an author-year citation style bibliography. As such, it is
33 % non-standard LaTeX, and requires a special package file to function properly.
34 % Such a package is natbib.sty by Patrick W. Daly
35 % The form of the \bibitem entries is
36 % \bibitem[Jones et al.(1990)]{key}...
37 % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
38 % The essential feature is that the label (the part in brackets) consists
39 % of the author names, as they should appear in the citation, with the year
40 % in parentheses following. There must be no space before the opening
41 % parenthesis!
42 % With natbib v5.3, a full list of authors may also follow the year.
43 % In natbib.sty, it is possible to define the type of enclosures that is
44 % really wanted (brackets or parentheses), but in either case, there must
45 % be parentheses in the label.
46 % The \cite command functions as follows:
47 % \citet{key} ==>> Jones et al. (1990)
48 % \citet*{key} ==>> Jones, Baker, and Smith (1990)
49 % \citep{key} ==>> (Jones et al., 1990)
50 % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
51 % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
52 % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
53 % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
54 % \citeauthor{key} ==>> Jones et al.
55 % \citeauthor*{key} ==>> Jones, Baker, and Smith
56 % \citeyear{key} ==>> 1990
57 %---------------------------------------------------------------------
58
59 ENTRY
60 { address
61 author
62 booktitle
63 chapter
64 doi
65 edition
66 editor
67 eid
68 howpublished
69 institution
70 isbn
71 issn
72 journal
73 key
74 month
75 note
76 number
77 organization
78 pages
79 publisher
80 school
81 series
82 title
83 type
84 url
85 volume
86 year
87 }
88 {}
89 { label extra.label sort.label short.list }
90 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
91 FUNCTION {init.state.consts}
92 { #0 'before.all :=
93 #1 'mid.sentence :=
94 #2 'after.sentence :=
95 #3 'after.block :=
96 }
97 STRINGS { s t}
98 FUNCTION {output.nonnull}
99 { 's :=
100 output.state mid.sentence =
101 { ", " * write$ }
102 { output.state after.block =
103 { add.period$ write$
104 newline$
105 "\newblock " write$
106 }
107 { output.state before.all =
108 'write$
109 { add.period$ " " * write$ }
110 if$
111 }
112 if$
113 mid.sentence 'output.state :=
114 }
115 if$
116 s
117 }
118 FUNCTION {output}
119 { duplicate$ empty$
120 'pop$
121 'output.nonnull
122 if$
123 }
124 FUNCTION {output.check}
125 { 't :=
126 duplicate$ empty$
127 { pop$ "empty " t * " in " * cite$ * warning$ }
128 'output.nonnull
129 if$
130 }
131 FUNCTION {fin.entry}
132 { add.period$
133 write$
134 newline$
135 }
136
137 FUNCTION {new.block}
138 { output.state before.all =
139 'skip$
140 { after.block 'output.state := }
141 if$
142 }
143 FUNCTION {new.sentence}
144 { output.state after.block =
145 'skip$
146 { output.state before.all =
147 'skip$
148 { after.sentence 'output.state := }
149 if$
150 }
151 if$
152 }
153 FUNCTION {add.blank}
154 { " " * before.all 'output.state :=
155 }
156
157 FUNCTION {date.block}
158 {
159 ":" *
160 add.blank
161 }
162
163 FUNCTION {not}
164 { { #0 }
165 { #1 }
166 if$
167 }
168 FUNCTION {and}
169 { 'skip$
170 { pop$ #0 }
171 if$
172 }
173 FUNCTION {or}
174 { { pop$ #1 }
175 'skip$
176 if$
177 }
178 FUNCTION {new.block.checkb}
179 { empty$
180 swap$ empty$
181 and
182 'skip$
183 'new.block
184 if$
185 }
186 FUNCTION {field.or.null}
187 { duplicate$ empty$
188 { pop$ "" }
189 'skip$
190 if$
191 }
192 FUNCTION {emphasize}
193 { skip$ }
194 FUNCTION {scaps}
195 { duplicate$ empty$
196 { pop$ "" }
197 { "\textsc{" swap$ * "}" * }
198 if$
199 }
200 FUNCTION {bib.name.font}
201 { scaps }
202 FUNCTION {bib.fname.font}
203 { bib.name.font }
204 FUNCTION {cite.name.font}
205 { scaps }
206 FUNCTION {tie.or.space.prefix}
207 { duplicate$ text.length$ #3 <
208 { "~" }
209 { " " }
210 if$
211 swap$
212 }
213
214 FUNCTION {capitalize}
215 { "u" change.case$ "t" change.case$ }
216
217 FUNCTION {space.word}
218 { "" swap$ * "" * }
219 % Here are the language-specific definitions for explicit words.
220 % Each function has a name bbl.xxx where xxx is the English word.
221 %-------------------------------------------------------------------
222 % Begin module:
223 % \ProvidesFile{german.mbs}[2003/11/06 4.2 (PWD)]
224
225 % The language selected here is GERMAN
226 FUNCTION {bbl.and}
227 { "/"}
228
229 FUNCTION {bbl.etal}
230 { "et~al." }
231
232 FUNCTION {bbl.editors}
233 { "Hrsg." }
234
235 FUNCTION {bbl.editor}
236 { "Hrsg." }
237
238 FUNCTION {bbl.edby}
239 { "herausgegeben von" }
240
241 FUNCTION {bbl.edition}
242 { "Aufl." }
243
244 FUNCTION {bbl.volume}
245 { "Bd." }
246
247 FUNCTION {bbl.of}
248 { "von" }
249
250 FUNCTION {bbl.number}
251 { "Nr." }
252
253 FUNCTION {bbl.nr}
254 { "Nr." }
255
256 FUNCTION {bbl.in}
257 { "in" }
258
259 FUNCTION {bbl.pages}
260 { "S." }
261
262 FUNCTION {bbl.page}
263 { "S." }
264
265 FUNCTION {bbl.chapter}
266 { "Kap." }
267
268 FUNCTION {bbl.techrep}
269 { "{Techn.\ Ber.}" }
270
271 FUNCTION {bbl.mthesis}
272 { "Diplomarbeit" }
273
274 FUNCTION {bbl.phdthesis}
275 { "Dissertation" }
276
277 FUNCTION {bbl.first}
278 { "1." }
279
280 FUNCTION {bbl.second}
281 { "2." }
282
283 FUNCTION {bbl.third}
284 { "3." }
285
286 FUNCTION {bbl.fourth}
287 { "4." }
288
289 FUNCTION {bbl.fifth}
290 { "5." }
291
292 FUNCTION {bbl.th}
293 { "." }
294
295 MACRO {jan} {"Jan."}
296
297 MACRO {feb} {"Febr."}
298
299 MACRO {mar} {"M\^^b{a}rz"}
300
301 MACRO {apr} {"Apr."}
302
303 MACRO {may} {"Mai"}
304
305 MACRO {jun} {"Juni"}
306
307 MACRO {jul} {"Juli"}
308
309 MACRO {aug} {"Aug."}
310
311 MACRO {sep} {"Sept."}
312
313 MACRO {oct} {"Okt."}
314
315 MACRO {nov} {"Nov."}
316
317 MACRO {dec} {"Dez."}
318
319 % End module: german.mbs
320 %% Copyright 1994-2004 Patrick W Daly
321 MACRO {acmcs} {"ACM Computing Surveys"}
322
323 MACRO {acta} {"Acta Informatica"}
324
325 MACRO {cacm} {"Communications of the ACM"}
326
327 MACRO {ibmjrd} {"IBM Journal of Research and Development"}
328
329 MACRO {ibmsj} {"IBM Systems Journal"}
330
331 MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
332
333 MACRO {ieeetc} {"IEEE Transactions on Computers"}
334
335 MACRO {ieeetcad}
336 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
337
338 MACRO {ipl} {"Information Processing Letters"}
339
340 MACRO {jacm} {"Journal of the ACM"}
341
342 MACRO {jcss} {"Journal of Computer and System Sciences"}
343
344 MACRO {scp} {"Science of Computer Programming"}
345
346 MACRO {sicomp} {"SIAM Journal on Computing"}
347
348 MACRO {tocs} {"ACM Transactions on Computer Systems"}
349
350 MACRO {tods} {"ACM Transactions on Database Systems"}
351
352 MACRO {tog} {"ACM Transactions on Graphics"}
353
354 MACRO {toms} {"ACM Transactions on Mathematical Software"}
355
356 MACRO {toois} {"ACM Transactions on Office Information Systems"}
357
358 MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
359
360 MACRO {tcs} {"Theoretical Computer Science"}
361 FUNCTION {bibinfo.check}
362 { swap$
363 duplicate$ missing$
364 {
365 pop$ pop$
366 ""
367 }
368 { duplicate$ empty$
369 {
370 swap$ pop$
371 }
372 { swap$
373 pop$
374 }
375 if$
376 }
377 if$
378 }
379 FUNCTION {bibinfo.warn}
380 { swap$
381 duplicate$ missing$
382 {
383 swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
384 ""
385 }
386 { duplicate$ empty$
387 {
388 swap$ "empty " swap$ * " in " * cite$ * warning$
389 }
390 { swap$
391 pop$
392 }
393 if$
394 }
395 if$
396 }
397 STRINGS { bibinfo}
398 INTEGERS { nameptr namesleft numnames }
399
400 FUNCTION {format.names}
401 { 'bibinfo :=
402 duplicate$ empty$ 'skip$ {
403 's :=
404 "" 't :=
405 #1 'nameptr :=
406 s num.names$ 'numnames :=
407 numnames 'namesleft :=
408 { namesleft #0 > }
409 { s nameptr
410 "{vv~}{ll}{, f.}{, jj}"
411 format.name$
412 bibinfo bibinfo.check
413 't :=
414 nameptr #1 >
415 {
416 namesleft #1 >
417 { "/" * t * }
418 {
419 "/" *
420 s nameptr "{ll}" format.name$ duplicate$ "others" =
421 { 't := }
422 { pop$ }
423 if$
424 t "others" =
425 {
426 " " * bbl.etal *
427 bib.name.font
428 }
429 { "" * t * }
430 if$
431 }
432 if$
433 }
434 't
435 if$
436 nameptr #1 + 'nameptr :=
437 namesleft #1 - 'namesleft :=
438 }
439 while$
440 t "others" =
441 'skip$
442 { bib.name.font }
443 if$
444 } if$
445 }
446 FUNCTION {format.names.ed}
447 {
448 format.names
449 }
450 FUNCTION {format.key}
451 { empty$
452 { key field.or.null }
453 { "" }
454 if$
455 }
456
457 FUNCTION {format.authors}
458 { author "author" format.names
459 }
460 FUNCTION {get.bbl.editor}
461 { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
462
463 FUNCTION {format.editors}
464 { editor "editor" format.names duplicate$ empty$ 'skip$
465 {
466 " " *
467 get.bbl.editor
468 capitalize
469 "(" swap$ * ")" *
470 *
471 }
472 if$
473 }
474 FUNCTION {format.isbn}
475 { isbn "isbn" bibinfo.check
476 duplicate$ empty$ 'skip$
477 {
478 "ISBN " swap$ *
479 }
480 if$
481 }
482
483 FUNCTION {format.issn}
484 { issn "issn" bibinfo.check
485 duplicate$ empty$ 'skip$
486 {
487 "ISSN " swap$ *
488 }
489 if$
490 }
491
492 FUNCTION {format.doi}
493 { doi "doi" bibinfo.check
494 duplicate$ empty$ 'skip$
495 {
496 "\doi{" swap$ * "}" *
497 }
498 if$
499 }
500 FUNCTION {format.note}
501 {
502 url empty$
503 'skip$
504 { "\urlprefix\url{" url * "}" * output }
505 if$
506 note empty$
507 { "" }
508 { note #1 #1 substring$
509 duplicate$ "{" =
510 'skip$
511 { output.state mid.sentence =
512 { "l" }
513 { "u" }
514 if$
515 change.case$
516 }
517 if$
518 note #2 global.max$ substring$ * "note" bibinfo.check
519 }
520 if$
521 }
522
523 FUNCTION {format.title}
524 { title
525 "title" bibinfo.check
526 }
527 FUNCTION {format.full.names}
528 {'s :=
529 "" 't :=
530 #1 'nameptr :=
531 s num.names$ 'numnames :=
532 numnames 'namesleft :=
533 { namesleft #0 > }
534 { s nameptr
535 "{vv~}{ll}" format.name$
536 't :=
537 nameptr #1 >
538 {
539 namesleft #1 >
540 { ", " * t * }
541 {
542 s nameptr "{ll}" format.name$ duplicate$ "others" =
543 { 't := }
544 { pop$ }
545 if$
546 t "others" =
547 {
548 " " * bbl.etal *
549 cite.name.font
550 }
551 {
552 bbl.and
553 space.word * t *
554 }
555 if$
556 }
557 if$
558 }
559 't
560 if$
561 nameptr #1 + 'nameptr :=
562 namesleft #1 - 'namesleft :=
563 }
564 while$
565 t "others" =
566 'skip$
567 { cite.name.font }
568 if$
569 }
570
571 FUNCTION {author.editor.key.full}
572 { author empty$
573 { editor empty$
574 { key empty$
575 { cite$ #1 #3 substring$ }
576 'key
577 if$
578 }
579 { editor format.full.names }
580 if$
581 }
582 { author format.full.names }
583 if$
584 }
585
586 FUNCTION {author.key.full}
587 { author empty$
588 { key empty$
589 { cite$ #1 #3 substring$ }
590 'key
591 if$
592 }
593 { author format.full.names }
594 if$
595 }
596
597 FUNCTION {editor.key.full}
598 { editor empty$
599 { key empty$
600 { cite$ #1 #3 substring$ }
601 'key
602 if$
603 }
604 { editor format.full.names }
605 if$
606 }
607
608 FUNCTION {make.full.names}
609 { type$ "book" =
610 type$ "inbook" =
611 or
612 'author.editor.key.full
613 { type$ "proceedings" =
614 'editor.key.full
615 'author.key.full
616 if$
617 }
618 if$
619 }
620
621 FUNCTION {output.bibitem}
622 { newline$
623 "\bibitem[{" write$
624 label write$
625 ")" make.full.names duplicate$ short.list =
626 { pop$ }
627 { * }
628 if$
629 "}]{" * write$
630 cite$ write$
631 "}" write$
632 newline$
633 ""
634 before.all 'output.state :=
635 }
636
637 FUNCTION {if.digit}
638 { duplicate$ "0" =
639 swap$ duplicate$ "1" =
640 swap$ duplicate$ "2" =
641 swap$ duplicate$ "3" =
642 swap$ duplicate$ "4" =
643 swap$ duplicate$ "5" =
644 swap$ duplicate$ "6" =
645 swap$ duplicate$ "7" =
646 swap$ duplicate$ "8" =
647 swap$ "9" = or or or or or or or or or
648 }
649 FUNCTION {n.separate}
650 { 't :=
651 ""
652 #0 'numnames :=
653 { t empty$ not }
654 { t #-1 #1 substring$ if.digit
655 { numnames #1 + 'numnames := }
656 { #0 'numnames := }
657 if$
658 t #-1 #1 substring$ swap$ *
659 t #-2 global.max$ substring$ 't :=
660 numnames #5 =
661 { duplicate$ #1 #2 substring$ swap$
662 #3 global.max$ substring$
663 "." swap$ * *
664 }
665 'skip$
666 if$
667 }
668 while$
669 }
670 FUNCTION {n.dashify}
671 {
672 n.separate
673 't :=
674 ""
675 { t empty$ not }
676 { t #1 #1 substring$ "-" =
677 { t #1 #2 substring$ "--" = not
678 { "--" *
679 t #2 global.max$ substring$ 't :=
680 }
681 { { t #1 #1 substring$ "-" = }
682 { "-" *
683 t #2 global.max$ substring$ 't :=
684 }
685 while$
686 }
687 if$
688 }
689 { t #1 #1 substring$ *
690 t #2 global.max$ substring$ 't :=
691 }
692 if$
693 }
694 while$
695 }
696
697 FUNCTION {word.in}
698 { bbl.in
699 ":" *
700 " " * }
701
702 FUNCTION {format.date}
703 { year "year" bibinfo.check duplicate$ empty$
704 {
705 }
706 'skip$
707 if$
708 extra.label *
709 before.all 'output.state :=
710 " (" swap$ * ")" *
711 }
712 FUNCTION {format.btitle}
713 { title "title" bibinfo.check
714 duplicate$ empty$ 'skip$
715 {
716 }
717 if$
718 }
719 FUNCTION {either.or.check}
720 { empty$
721 'pop$
722 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
723 if$
724 }
725 FUNCTION {format.bvolume}
726 { volume empty$
727 { "" }
728 { bbl.volume volume tie.or.space.prefix
729 "volume" bibinfo.check * *
730 series "series" bibinfo.check
731 duplicate$ empty$ 'pop$
732 { swap$ bbl.of space.word * swap$
733 emphasize * }
734 if$
735 "volume and number" number either.or.check
736 }
737 if$
738 }
739 FUNCTION {format.number.series}
740 { volume empty$
741 { number empty$
742 { series field.or.null }
743 { series empty$
744 { number "number" bibinfo.check }
745 { output.state mid.sentence =
746 { bbl.number }
747 { bbl.number capitalize }
748 if$
749 number tie.or.space.prefix "number" bibinfo.check * *
750 bbl.in space.word *
751 series "series" bibinfo.check *
752 }
753 if$
754 }
755 if$
756 }
757 { "" }
758 if$
759 }
760 FUNCTION {is.num}
761 { chr.to.int$
762 duplicate$ "0" chr.to.int$ < not
763 swap$ "9" chr.to.int$ > not and
764 }
765
766 FUNCTION {extract.num}
767 { duplicate$ 't :=
768 "" 's :=
769 { t empty$ not }
770 { t #1 #1 substring$
771 t #2 global.max$ substring$ 't :=
772 duplicate$ is.num
773 { s swap$ * 's := }
774 { pop$ "" 't := }
775 if$
776 }
777 while$
778 s empty$
779 'skip$
780 { pop$ s }
781 if$
782 }
783
784 FUNCTION {convert.edition}
785 { extract.num "l" change.case$ 's :=
786 s "first" = s "1" = or
787 { bbl.first 't := }
788 { s "second" = s "2" = or
789 { bbl.second 't := }
790 { s "third" = s "3" = or
791 { bbl.third 't := }
792 { s "fourth" = s "4" = or
793 { bbl.fourth 't := }
794 { s "fifth" = s "5" = or
795 { bbl.fifth 't := }
796 { s #1 #1 substring$ is.num
797 { s bbl.th * 't := }
798 { edition 't := }
799 if$
800 }
801 if$
802 }
803 if$
804 }
805 if$
806 }
807 if$
808 }
809 if$
810 t
811 }
812
813 FUNCTION {format.edition}
814 { edition duplicate$ empty$ 'skip$
815 {
816 convert.edition
817 output.state mid.sentence =
818 { "l" }
819 { "t" }
820 if$ change.case$
821 "edition" bibinfo.check
822 " " * bbl.edition *
823 }
824 if$
825 }
826 INTEGERS { multiresult }
827 FUNCTION {multi.page.check}
828 { 't :=
829 #0 'multiresult :=
830 { multiresult not
831 t empty$ not
832 and
833 }
834 { t #1 #1 substring$
835 duplicate$ "-" =
836 swap$ duplicate$ "," =
837 swap$ "+" =
838 or or
839 { #1 'multiresult := }
840 { t #2 global.max$ substring$ 't := }
841 if$
842 }
843 while$
844 multiresult
845 }
846 FUNCTION {format.pages}
847 { pages duplicate$ empty$ 'skip$
848 { duplicate$ multi.page.check
849 {
850 bbl.pages swap$
851 n.dashify
852 }
853 {
854 bbl.page swap$
855 }
856 if$
857 tie.or.space.prefix
858 "pages" bibinfo.check
859 * *
860 }
861 if$
862 }
863 FUNCTION {format.journal.pages}
864 { pages duplicate$ empty$ 'pop$
865 { swap$ duplicate$ empty$
866 { pop$ pop$ format.pages }
867 {
868 ", " *
869 swap$
870 n.dashify
871 pages multi.page.check
872 'bbl.pages
873 'bbl.page
874 if$
875 swap$ tie.or.space.prefix
876 "pages" bibinfo.check
877 * *
878 *
879 }
880 if$
881 }
882 if$
883 }
884 FUNCTION {format.journal.eid}
885 { eid "eid" bibinfo.check
886 duplicate$ empty$ 'pop$
887 { swap$ duplicate$ empty$ 'skip$
888 {
889 ", " *
890 }
891 if$
892 swap$ *
893 }
894 if$
895 }
896 FUNCTION {format.vol.num.pages}
897 { volume field.or.null
898 duplicate$ empty$ 'skip$
899 {
900 "volume" bibinfo.check
901 }
902 if$
903 number "number" bibinfo.check duplicate$ empty$ 'skip$
904 {
905 swap$ duplicate$ empty$
906 { "there's a number but no volume in " cite$ * warning$ }
907 'skip$
908 if$
909 swap$
910 "(" swap$ * ")" *
911 }
912 if$ *
913 eid empty$
914 { format.journal.pages }
915 { format.journal.eid }
916 if$
917 }
918
919 FUNCTION {format.chapter.pages}
920 { chapter empty$
921 'format.pages
922 { type empty$
923 { bbl.chapter }
924 { type "l" change.case$
925 "type" bibinfo.check
926 }
927 if$
928 chapter tie.or.space.prefix
929 "chapter" bibinfo.check
930 * *
931 pages empty$
932 'skip$
933 { ", " * format.pages * }
934 if$
935 }
936 if$
937 }
938
939 FUNCTION {format.booktitle}
940 {
941 booktitle "booktitle" bibinfo.check
942 }
943 FUNCTION {format.in.ed.booktitle}
944 { format.booktitle duplicate$ empty$ 'skip$
945 {
946 editor "editor" format.names.ed duplicate$ empty$ 'pop$
947 {
948 " " *
949 get.bbl.editor
950 capitalize
951 "(" swap$ * "), " *
952 * swap$
953 * }
954 if$
955 word.in swap$ *
956 }
957 if$
958 }
959 FUNCTION {format.thesis.type}
960 { type duplicate$ empty$
961 'pop$
962 { swap$ pop$
963 "t" change.case$ "type" bibinfo.check
964 }
965 if$
966 }
967 FUNCTION {format.tr.number}
968 { number "number" bibinfo.check
969 type duplicate$ empty$
970 { pop$ bbl.techrep }
971 'skip$
972 if$
973 "type" bibinfo.check
974 swap$ duplicate$ empty$
975 { pop$ "t" change.case$ }
976 { tie.or.space.prefix * * }
977 if$
978 }
979 FUNCTION {format.article.crossref}
980 {
981 word.in
982 " \cite{" * crossref * "}" *
983 }
984 FUNCTION {format.book.crossref}
985 { volume duplicate$ empty$
986 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
987 pop$ word.in
988 }
989 { bbl.volume
990 swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
991 }
992 if$
993 " \cite{" * crossref * "}" *
994 }
995 FUNCTION {format.incoll.inproc.crossref}
996 {
997 word.in
998 " \cite{" * crossref * "}" *
999 }
1000 FUNCTION {format.org.or.pub}
1001 { 't :=
1002 ""
1003 address empty$ t empty$ and
1004 'skip$
1005 {
1006 t empty$
1007 { address "address" bibinfo.check *
1008 }
1009 { t *
1010 address empty$
1011 'skip$
1012 { ", " * address "address" bibinfo.check * }
1013 if$
1014 }
1015 if$
1016 }
1017 if$
1018 }
1019 FUNCTION {format.publisher.address}
1020 { publisher "publisher" bibinfo.warn format.org.or.pub
1021 }
1022
1023 FUNCTION {format.organization.address}
1024 { organization "organization" bibinfo.check format.org.or.pub
1025 }
1026
1027 FUNCTION {article}
1028 { output.bibitem
1029 format.authors "author" output.check
1030 author format.key output
1031 format.date "year" output.check
1032 date.block
1033 format.title "title" output.check
1034 crossref missing$
1035 {
1036 journal
1037 "journal" bibinfo.check
1038 word.in swap$ *
1039 "journal" output.check
1040 format.vol.num.pages output
1041 }
1042 { format.article.crossref output.nonnull
1043 format.pages output
1044 }
1045 if$
1046 format.issn output
1047 format.doi output
1048 format.note output
1049 fin.entry
1050 }
1051 FUNCTION {book}
1052 { output.bibitem
1053 author empty$
1054 { format.editors "author and editor" output.check
1055 editor format.key output
1056 }
1057 { format.authors output.nonnull
1058 crossref missing$
1059 { "author and editor" editor either.or.check }
1060 'skip$
1061 if$
1062 }
1063 if$
1064 format.date "year" output.check
1065 date.block
1066 format.btitle "title" output.check
1067 crossref missing$
1068 { format.bvolume output
1069 format.number.series output
1070 format.edition output
1071 format.publisher.address output
1072 }
1073 {
1074 format.book.crossref output.nonnull
1075 }
1076 if$
1077 format.isbn output
1078 format.doi output
1079 format.note output
1080 fin.entry
1081 }
1082 FUNCTION {booklet}
1083 { output.bibitem
1084 format.authors output
1085 author format.key output
1086 format.date "year" output.check
1087 date.block
1088 format.title "title" output.check
1089 howpublished "howpublished" bibinfo.check output
1090 address "address" bibinfo.check output
1091 format.isbn output
1092 format.doi output
1093 format.note output
1094 fin.entry
1095 }
1096
1097 FUNCTION {inbook}
1098 { output.bibitem
1099 author empty$
1100 { format.editors "author and editor" output.check
1101 editor format.key output
1102 }
1103 { format.authors output.nonnull
1104 crossref missing$
1105 { "author and editor" editor either.or.check }
1106 'skip$
1107 if$
1108 }
1109 if$
1110 format.date "year" output.check
1111 date.block
1112 format.btitle "title" output.check
1113 crossref missing$
1114 {
1115 format.bvolume output
1116 format.chapter.pages "chapter and pages" output.check
1117 format.number.series output
1118 format.edition output
1119 format.publisher.address output
1120 }
1121 {
1122 format.chapter.pages "chapter and pages" output.check
1123 format.book.crossref output.nonnull
1124 }
1125 if$
1126 crossref missing$
1127 { format.isbn output }
1128 'skip$
1129 if$
1130 format.doi output
1131 format.note output
1132 fin.entry
1133 }
1134
1135 FUNCTION {incollection}
1136 { output.bibitem
1137 format.authors "author" output.check
1138 author format.key output
1139 format.date "year" output.check
1140 date.block
1141 format.title "title" output.check
1142 crossref missing$
1143 { format.in.ed.booktitle "booktitle" output.check
1144 format.bvolume output
1145 format.number.series output
1146 format.chapter.pages output
1147 format.edition output
1148 format.publisher.address output
1149 format.isbn output
1150 }
1151 { format.incoll.inproc.crossref output.nonnull
1152 format.chapter.pages output
1153 }
1154 if$
1155 format.doi output
1156 format.note output
1157 fin.entry
1158 }
1159 FUNCTION {inproceedings}
1160 { output.bibitem
1161 format.authors "author" output.check
1162 author format.key output
1163 format.date "year" output.check
1164 date.block
1165 format.title "title" output.check
1166 crossref missing$
1167 { format.in.ed.booktitle "booktitle" output.check
1168 format.bvolume output
1169 format.number.series output
1170 format.pages output
1171 publisher empty$
1172 { format.organization.address output }
1173 { organization "organization" bibinfo.check output
1174 format.publisher.address output
1175 }
1176 if$
1177 format.isbn output
1178 format.issn output
1179 }
1180 { format.incoll.inproc.crossref output.nonnull
1181 format.pages output
1182 }
1183 if$
1184 format.doi output
1185 format.note output
1186 fin.entry
1187 }
1188 FUNCTION {conference} { inproceedings }
1189 FUNCTION {manual}
1190 { output.bibitem
1191 format.authors output
1192 author format.key output
1193 format.date "year" output.check
1194 date.block
1195 format.btitle "title" output.check
1196 organization "organization" bibinfo.check output
1197 address "address" bibinfo.check output
1198 format.edition output
1199 format.doi output
1200 format.note output
1201 fin.entry
1202 }
1203
1204 FUNCTION {mastersthesis}
1205 { output.bibitem
1206 format.authors "author" output.check
1207 author format.key output
1208 format.date "year" output.check
1209 date.block
1210 format.btitle
1211 "title" output.check
1212 bbl.mthesis format.thesis.type output.nonnull
1213 school "school" bibinfo.warn output
1214 address "address" bibinfo.check output
1215 format.doi output
1216 format.note output
1217 fin.entry
1218 }
1219
1220 FUNCTION {misc}
1221 { output.bibitem
1222 format.authors output
1223 author format.key output
1224 format.date "year" output.check
1225 date.block
1226 format.title output
1227 howpublished "howpublished" bibinfo.check output
1228 format.doi output
1229 format.note output
1230 fin.entry
1231 }
1232 FUNCTION {phdthesis}
1233 { output.bibitem
1234 format.authors "author" output.check
1235 author format.key output
1236 format.date "year" output.check
1237 date.block
1238 format.btitle
1239 "title" output.check
1240 bbl.phdthesis format.thesis.type output.nonnull
1241 school "school" bibinfo.warn output
1242 address "address" bibinfo.check output
1243 format.doi output
1244 format.note output
1245 fin.entry
1246 }
1247
1248 FUNCTION {proceedings}
1249 { output.bibitem
1250 format.editors output
1251 editor format.key output
1252 format.date "year" output.check
1253 date.block
1254 format.btitle "title" output.check
1255 format.bvolume output
1256 format.number.series output
1257 publisher empty$
1258 { format.organization.address output }
1259 { organization "organization" bibinfo.check output
1260 format.publisher.address output
1261 }
1262 if$
1263 format.isbn output
1264 format.issn output
1265 format.doi output
1266 format.note output
1267 fin.entry
1268 }
1269
1270 FUNCTION {techreport}
1271 { output.bibitem
1272 format.authors "author" output.check
1273 author format.key output
1274 format.date "year" output.check
1275 date.block
1276 format.title
1277 "title" output.check
1278 format.tr.number output.nonnull
1279 institution "institution" bibinfo.warn output
1280 address "address" bibinfo.check output
1281 format.doi output
1282 format.note output
1283 fin.entry
1284 }
1285
1286 FUNCTION {unpublished}
1287 { output.bibitem
1288 format.authors "author" output.check
1289 author format.key output
1290 format.date "year" output.check
1291 date.block
1292 format.title "title" output.check
1293 format.doi output
1294 format.note "note" output.check
1295 fin.entry
1296 }
1297
1298 FUNCTION {default.type} { misc }
1299 READ
1300 FUNCTION {sortify}
1301 { purify$
1302 "l" change.case$
1303 }
1304 INTEGERS { len }
1305 FUNCTION {chop.word}
1306 { 's :=
1307 'len :=
1308 s #1 len substring$ =
1309 { s len #1 + global.max$ substring$ }
1310 's
1311 if$
1312 }
1313 FUNCTION {format.lab.names}
1314 { 's :=
1315 "" 't :=
1316 s #1 "{vv~}{ll}" format.name$
1317 s num.names$ duplicate$
1318 #2 >
1319 { pop$
1320 " " * bbl.etal *
1321 cite.name.font
1322 "others" 't :=
1323 }
1324 { #2 <
1325 'skip$
1326 { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
1327 {
1328 " " * bbl.etal *
1329 cite.name.font
1330 "others" 't :=
1331 }
1332 { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
1333 * }
1334 if$
1335 }
1336 if$
1337 }
1338 if$
1339 t "others" =
1340 'skip$
1341 { cite.name.font }
1342 if$
1343 }
1344
1345 FUNCTION {author.key.label}
1346 { author empty$
1347 { key empty$
1348 { cite$ #1 #3 substring$ }
1349 'key
1350 if$
1351 }
1352 { author format.lab.names }
1353 if$
1354 }
1355
1356 FUNCTION {author.editor.key.label}
1357 { author empty$
1358 { editor empty$
1359 { key empty$
1360 { cite$ #1 #3 substring$ }
1361 'key
1362 if$
1363 }
1364 { editor format.lab.names }
1365 if$
1366 }
1367 { author format.lab.names }
1368 if$
1369 }
1370
1371 FUNCTION {editor.key.label}
1372 { editor empty$
1373 { key empty$
1374 { cite$ #1 #3 substring$ }
1375 'key
1376 if$
1377 }
1378 { editor format.lab.names }
1379 if$
1380 }
1381
1382 FUNCTION {calc.short.authors}
1383 { type$ "book" =
1384 type$ "inbook" =
1385 or
1386 'author.editor.key.label
1387 { type$ "proceedings" =
1388 'editor.key.label
1389 'author.key.label
1390 if$
1391 }
1392 if$
1393 'short.list :=
1394 }
1395
1396 FUNCTION {calc.label}
1397 { calc.short.authors
1398 short.list
1399 "("
1400 *
1401 year duplicate$ empty$
1402 short.list key field.or.null = or
1403 { pop$ "" }
1404 'skip$
1405 if$
1406 *
1407 'label :=
1408 }
1409
1410 FUNCTION {sort.format.names}
1411 { 's :=
1412 #1 'nameptr :=
1413 ""
1414 s num.names$ 'numnames :=
1415 numnames 'namesleft :=
1416 { namesleft #0 > }
1417 { s nameptr
1418 "{ll{ }}{ f{ }}{ jj{ }}"
1419 format.name$ 't :=
1420 nameptr #1 >
1421 {
1422 " " *
1423 namesleft #1 = t "others" = and
1424 { "zzzzz" * }
1425 { t sortify * }
1426 if$
1427 }
1428 { t sortify * }
1429 if$
1430 nameptr #1 + 'nameptr :=
1431 namesleft #1 - 'namesleft :=
1432 }
1433 while$
1434 }
1435
1436 FUNCTION {sort.format.title}
1437 { 't :=
1438 "A " #2
1439 "An " #3
1440 "The " #4 t chop.word
1441 chop.word
1442 chop.word
1443 sortify
1444 #1 global.max$ substring$
1445 }
1446 FUNCTION {author.sort}
1447 { author empty$
1448 { key empty$
1449 { "to sort, need author or key in " cite$ * warning$
1450 ""
1451 }
1452 { key sortify }
1453 if$
1454 }
1455 { author sort.format.names }
1456 if$
1457 }
1458 FUNCTION {author.editor.sort}
1459 { author empty$
1460 { editor empty$
1461 { key empty$
1462 { "to sort, need author, editor, or key in " cite$ * warning$
1463 ""
1464 }
1465 { key sortify }
1466 if$
1467 }
1468 { editor sort.format.names }
1469 if$
1470 }
1471 { author sort.format.names }
1472 if$
1473 }
1474 FUNCTION {editor.sort}
1475 { editor empty$
1476 { key empty$
1477 { "to sort, need editor or key in " cite$ * warning$
1478 ""
1479 }
1480 { key sortify }
1481 if$
1482 }
1483 { editor sort.format.names }
1484 if$
1485 }
1486 FUNCTION {presort}
1487 { calc.label
1488 label sortify
1489 " "
1490 *
1491 type$ "book" =
1492 type$ "inbook" =
1493 or
1494 'author.editor.sort
1495 { type$ "proceedings" =
1496 'editor.sort
1497 'author.sort
1498 if$
1499 }
1500 if$
1501 #1 entry.max$ substring$
1502 'sort.label :=
1503 sort.label
1504 *
1505 " "
1506 *
1507 title field.or.null
1508 sort.format.title
1509 *
1510 #1 entry.max$ substring$
1511 'sort.key$ :=
1512 }
1513
1514 ITERATE {presort}
1515 SORT
1516 STRINGS { last.label next.extra }
1517 INTEGERS { last.extra.num number.label }
1518 FUNCTION {initialize.extra.label.stuff}
1519 { #0 int.to.chr$ 'last.label :=
1520 "" 'next.extra :=
1521 #0 'last.extra.num :=
1522 #0 'number.label :=
1523 }
1524 FUNCTION {forward.pass}
1525 { last.label label =
1526 { last.extra.num #1 + 'last.extra.num :=
1527 last.extra.num int.to.chr$ 'extra.label :=
1528 }
1529 { "a" chr.to.int$ 'last.extra.num :=
1530 "" 'extra.label :=
1531 label 'last.label :=
1532 }
1533 if$
1534 number.label #1 + 'number.label :=
1535 }
1536 FUNCTION {reverse.pass}
1537 { next.extra "b" =
1538 { "a" 'extra.label := }
1539 'skip$
1540 if$
1541 extra.label 'next.extra :=
1542 extra.label
1543 duplicate$ empty$
1544 'skip$
1545 { "{\natexlab{" swap$ * "}}" * }
1546 if$
1547 'extra.label :=
1548 label extra.label * 'label :=
1549 }
1550 EXECUTE {initialize.extra.label.stuff}
1551 ITERATE {forward.pass}
1552 REVERSE {reverse.pass}
1553 FUNCTION {bib.sort.order}
1554 { sort.label
1555 " "
1556 *
1557 year field.or.null sortify
1558 *
1559 " "
1560 *
1561 title field.or.null
1562 sort.format.title
1563 *
1564 #1 entry.max$ substring$
1565 'sort.key$ :=
1566 }
1567 ITERATE {bib.sort.order}
1568 SORT
1569 FUNCTION {begin.bib}
1570 { preamble$ empty$
1571 'skip$
1572 { preamble$ write$ newline$ }
1573 if$
1574 "\begin{thebibliography}{" number.label int.to.str$ * "}" *
1575 write$ newline$
1576 "\providecommand{\natexlab}[1]{#1}"
1577 write$ newline$
1578 "\providecommand{\url}[1]{\texttt{#1}}"
1579 write$ newline$
1580 "\providecommand{\urlprefix}{URL: }"
1581 write$ newline$
1582 "\expandafter\ifx\csname urlstyle\endcsname\relax"
1583 write$ newline$
1584 " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
1585 write$ newline$
1586 " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
1587 write$ newline$
1588 }
1589 EXECUTE {begin.bib}
1590 EXECUTE {init.state.consts}
1591 ITERATE {call.type$}
1592 FUNCTION {end.bib}
1593 { newline$
1594 "\end{thebibliography}" write$ newline$
1595 }
1596 EXECUTE {end.bib}
1597 %% End of customized bst file
1598 %%
1599 %% End of file `MBXCEFS.bst'.