Debian Codegraph @

texmf-dist/bibtex/bst/dlfltxb/dlfltxbbibtex.bst

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