Debian Codegraph @

texmf-dist/bibtex/bst/texsis/texsis.bst

raw
1 %%
2 %% This is file `texsis.bst', generated
3 %% on <1995/9/17> with the docstrip utility (2.2h).
4 %%
5 %% modified by Bernd Dammann <[email protected]> on <1995/9/17>
6 %%
7 %% The original source files were:
8 %%
9 %% texsis.mbs (with options: `,seq-no,nm-init,yr-par,tit-qq,atit-u,vol-bf,vnum-sp,volp-com,jpg-1,edpar,edby-par,blk-com,in-col,fin-bare,pp,ed,abr,ord,jabr,etal-it,em-it')
10 %% ----------------------------------------
11 %% *** ***
12 %%
13 %-------------------------------------------------------------------
14 % The original source file contains the following version information:
15 % \ProvidesFile{merlin.mbs}[1995/09/04 3.3 (PWD)]
16 %
17 % NOTICE:
18 % This file may be used for non-profit purposes.
19 % It may not be distributed in exchange for money,
20 % other than distribution costs.
21 %
22 % The author provides it `as is' and does not guarantee it in any way.
23 %
24 % Copyright (C) 1994, 1995 Patrick W. Daly
25 %-------------------------------------------------------------------
26 % For use with BibTeX version 0.99a or later
27 %-------------------------------------------------------------------
28 % This bibliography style file is intended for texts in ENGLISH
29 % This is a numerical citation style, and as such is standard LaTeX.
30 % It requires no extra package to interface to the main text.
31 % The form of the \bibitem entries is
32 % \bibitem{key}...
33 % Usage of \cite is as follows:
34 % \cite{key} ==>> [#]
35 % \cite[chap. 2]{key} ==>> [#, chap. 2]
36 % where # is a number determined by the ordering in the reference list.
37 % This is the order in which the works were originally cited in the text.
38 %---------------------------------------------------------------------
39
40 ENTRY
41 { address
42 author
43 booktitle
44 chapter
45 edition
46 editor
47 howpublished
48 institution
49 journal
50 key
51 month
52 note
53 number
54 organization
55 pages
56 publisher
57 school
58 series
59 title
60 type
61 volume
62 year
63 }
64 {}
65 { label }
66
67 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
68
69 FUNCTION {init.state.consts}
70 { #0 'before.all :=
71 #1 'mid.sentence :=
72 #2 'after.sentence :=
73 #3 'after.block :=
74 }
75
76 STRINGS { s t }
77
78 FUNCTION {output.nonnull}
79 { 's :=
80 output.state mid.sentence =
81 { ", " * write$ }
82 { output.state after.block =
83 { add.period$ write$
84 newline$
85 "\newblock " write$
86 }
87 { output.state before.all =
88 'write$
89 { add.period$ " " * write$ }
90 if$
91 }
92 if$
93 mid.sentence 'output.state :=
94 }
95 if$
96 s
97 }
98
99 FUNCTION {output}
100 { duplicate$ empty$
101 'pop$
102 'output.nonnull
103 if$
104 }
105
106 FUNCTION {output.check}
107 { 't :=
108 duplicate$ empty$
109 { pop$ "empty " t * " in " * cite$ * warning$ }
110 'output.nonnull
111 if$
112 }
113
114 FUNCTION {fin.entry}
115 { duplicate$ empty$
116 'pop$
117 'write$
118 if$
119 newline$
120 "\endreference" write$
121 newline$
122 }
123
124 FUNCTION {new.block}
125 { output.state before.all =
126 'skip$
127 { after.block 'output.state := }
128 if$
129 }
130
131 FUNCTION {new.sentence}
132 { output.state after.block =
133 'skip$
134 { output.state before.all =
135 'skip$
136 { after.sentence 'output.state := }
137 if$
138 }
139 if$
140 }
141
142 FUNCTION {add.blank}
143 { " " * before.all 'output.state :=
144 }
145
146 FUNCTION {date.block}
147 {
148 skip$
149 }
150
151 FUNCTION {not}
152 { { #0 }
153 { #1 }
154 if$
155 }
156
157 FUNCTION {and}
158 { 'skip$
159 { pop$ #0 }
160 if$
161 }
162
163 FUNCTION {or}
164 { { pop$ #1 }
165 'skip$
166 if$
167 }
168
169 FUNCTION {non.stop}
170 { duplicate$
171 "}" * add.period$
172 #-1 #1 substring$ "." =
173 }
174
175 FUNCTION {new.block.checka}
176 { empty$
177 'skip$
178 'new.block
179 if$
180 }
181
182 FUNCTION {new.block.checkb}
183 { empty$
184 swap$ empty$
185 and
186 'skip$
187 'new.block
188 if$
189 }
190
191 FUNCTION {new.sentence.checka}
192 { empty$
193 'skip$
194 'new.sentence
195 if$
196 }
197
198 FUNCTION {new.sentence.checkb}
199 { empty$
200 swap$ empty$
201 and
202 'skip$
203 'new.sentence
204 if$
205 }
206
207 FUNCTION {field.or.null}
208 { duplicate$ empty$
209 { pop$ "" }
210 'skip$
211 if$
212 }
213
214 FUNCTION {emphasize}
215 { duplicate$ empty$
216 { pop$ "" }
217 { "{\it " swap$ * "\/}" * }
218 if$
219 }
220
221 FUNCTION {bolden}
222 { duplicate$ empty$
223 { pop$ "" }
224 { "{\bf " swap$ * "}" * }
225 if$
226 }
227
228 FUNCTION {capitalize}
229 { "u" change.case$ "t" change.case$ }
230
231 FUNCTION {space.word}
232 { " " swap$ * " " * }
233
234 % Here are the language-specific definitions for explicit words.
235 % Each function has a name bbl.xxx where xxx is the English word.
236 % The language selected here is ENGLISH
237 FUNCTION {bbl.and}
238 { "and"}
239
240 FUNCTION {bbl.editors}
241 { "eds." }
242
243 FUNCTION {bbl.editor}
244 { "ed." }
245
246 FUNCTION {bbl.edby}
247 { "edited by" }
248
249 FUNCTION {bbl.edition}
250 { "edn." }
251
252 FUNCTION {bbl.volume}
253 { "vol." }
254
255 FUNCTION {bbl.of}
256 { "of" }
257
258 FUNCTION {bbl.number}
259 { "no." }
260
261 FUNCTION {bbl.nr}
262 { "no." }
263
264 FUNCTION {bbl.in}
265 { "in" }
266
267 FUNCTION {bbl.pages}
268 { "pp." }
269
270 FUNCTION {bbl.page}
271 { "p." }
272
273 FUNCTION {bbl.chapter}
274 { "chap." }
275
276 FUNCTION {bbl.techrep}
277 { "Tech. Rep." }
278
279 FUNCTION {bbl.mthesis}
280 { "Master's thesis" }
281
282 FUNCTION {bbl.phdthesis}
283 { "Ph.D. thesis" }
284
285 FUNCTION {bbl.first}
286 { "1st" }
287
288 FUNCTION {bbl.second}
289 { "2nd" }
290
291 FUNCTION {bbl.third}
292 { "3rd" }
293
294 FUNCTION {bbl.fourth}
295 { "4th" }
296
297 FUNCTION {bbl.fifth}
298 { "5th" }
299
300 FUNCTION {bbl.st}
301 { "st" }
302
303 FUNCTION {bbl.nd}
304 { "nd" }
305
306 FUNCTION {bbl.rd}
307 { "rd" }
308
309 FUNCTION {bbl.th}
310 { "th" }
311
312 MACRO {jan} {"Jan."}
313
314 MACRO {feb} {"Feb."}
315
316 MACRO {mar} {"Mar."}
317
318 MACRO {apr} {"Apr."}
319
320 MACRO {may} {"May"}
321
322 MACRO {jun} {"Jun."}
323
324 MACRO {jul} {"Jul."}
325
326 MACRO {aug} {"Aug."}
327
328 MACRO {sep} {"Sep."}
329
330 MACRO {oct} {"Oct."}
331
332 MACRO {nov} {"Nov."}
333
334 MACRO {dec} {"Dec."}
335
336 FUNCTION {eng.ord}
337 { duplicate$ "1" swap$ *
338 #-2 #1 substring$ "1" =
339 { bbl.th * }
340 { duplicate$ #-1 #1 substring$
341 duplicate$ "1" =
342 { pop$ bbl.st * }
343 { duplicate$ "2" =
344 { pop$ bbl.nd * }
345 { "3" =
346 { bbl.rd * }
347 { bbl.th * }
348 if$
349 }
350 if$
351 }
352 if$
353 }
354 if$
355 }
356
357 MACRO {acmcs} {"ACM Comput. Surv."}
358
359 MACRO {acta} {"Acta Inf."}
360
361 MACRO {cacm} {"Commun. ACM"}
362
363 MACRO {ibmjrd} {"IBM J. Res. Dev."}
364
365 MACRO {ibmsj} {"IBM Syst.~J."}
366
367 MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
368
369 MACRO {ieeetc} {"IEEE Trans. Comput."}
370
371 MACRO {ieeetcad}
372 {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
373
374 MACRO {ipl} {"Inf. Process. Lett."}
375
376 MACRO {jacm} {"J.~ACM"}
377
378 MACRO {jcss} {"J.~Comput. Syst. Sci."}
379
380 MACRO {scp} {"Sci. Comput. Programming"}
381
382 MACRO {sicomp} {"SIAM J. Comput."}
383
384 MACRO {tocs} {"ACM Trans. Comput. Syst."}
385
386 MACRO {tods} {"ACM Trans. Database Syst."}
387
388 MACRO {tog} {"ACM Trans. Gr."}
389
390 MACRO {toms} {"ACM Trans. Math. Softw."}
391
392 MACRO {toois} {"ACM Trans. Office Inf. Syst."}
393
394 MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
395
396 MACRO {tcs} {"Theoretical Comput. Sci."}
397
398 INTEGERS { nameptr namesleft numnames }
399
400 FUNCTION {format.names}
401 { 's :=
402 #1 'nameptr :=
403 s num.names$ 'numnames :=
404 numnames 'namesleft :=
405 { namesleft #0 > }
406 { s nameptr
407 "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
408 nameptr #1 >
409 {
410 namesleft #1 >
411 { ", " * t * }
412 {
413 numnames #2 >
414 { "," * }
415 'skip$
416 if$
417 t "others" =
418 { " " * "et~al." emphasize * }
419 { bbl.and space.word * t * }
420 if$
421 }
422 if$
423 }
424 't
425 if$
426 nameptr #1 + 'nameptr :=
427 namesleft #1 - 'namesleft :=
428 }
429 while$
430 }
431
432 FUNCTION {format.names.ed}
433 { 's :=
434 #1 'nameptr :=
435 s num.names$ 'numnames :=
436 numnames 'namesleft :=
437 { namesleft #0 > }
438 { s nameptr
439 "{f.~}{vv~}{ll}{, jj}"
440 format.name$ 't :=
441 nameptr #1 >
442 {
443 namesleft #1 >
444 { ", " * t * }
445 {
446 numnames #2 >
447 { "," * }
448 'skip$
449 if$
450 t "others" =
451 { " " * "et~al." emphasize * }
452 { bbl.and space.word * t * }
453 if$
454 }
455 if$
456 }
457 't
458 if$
459 nameptr #1 + 'nameptr :=
460 namesleft #1 - 'namesleft :=
461 }
462 while$
463 }
464
465 FUNCTION {format.authors}
466 { author empty$
467 { "" }
468 { author format.names }
469 if$
470 }
471
472 FUNCTION {format.editors}
473 { editor empty$
474 { "" }
475 { editor format.names
476 editor num.names$ #1 >
477 { " (" * bbl.editors * ")" * }
478 { " (" * bbl.editor * ")" * }
479 if$
480 }
481 if$
482 }
483
484 FUNCTION {format.in.editors}
485 { editor empty$
486 { "" }
487 { editor format.names.ed
488 }
489 if$
490 }
491
492 FUNCTION {format.title}
493 { title empty$
494 { "" }
495 { title
496 "\enquote{" swap$ *
497 non.stop
498 { "}, " * }
499 { "} " * }
500 if$
501 }
502 if$
503 }
504
505 FUNCTION {output.bibitem}
506 { newline$
507 "\reference{" write$
508 cite$ write$
509 "}" write$
510 newline$
511 ""
512 before.all 'output.state :=
513 }
514
515 FUNCTION {n.dashify}
516 { 't :=
517 ""
518 { t empty$ not }
519 { t #1 #1 substring$ "-" =
520 { t #1 #2 substring$ "--" = not
521 { "--" *
522 t #2 global.max$ substring$ 't :=
523 }
524 { { t #1 #1 substring$ "-" = }
525 { "-" *
526 t #2 global.max$ substring$ 't :=
527 }
528 while$
529 }
530 if$
531 }
532 { t #1 #1 substring$ *
533 t #2 global.max$ substring$ 't :=
534 }
535 if$
536 }
537 while$
538 }
539
540 FUNCTION {word.in}
541 { bbl.in
542 ":" *
543 " " * }
544
545 FUNCTION {format.date}
546 { year empty$
547 { month empty$
548 { "" }
549 { "there's a month but no year in " cite$ * warning$
550 month
551 }
552 if$
553 }
554 { month empty$
555 'year
556 { month " " * year * }
557 if$
558 }
559 if$
560 before.all 'output.state :=
561 " (" swap$ * ")" *
562 }
563
564 FUNCTION {format.btitle}
565 { title emphasize
566 }
567
568 FUNCTION {tie.or.space.connect}
569 { duplicate$ text.length$ #3 <
570 { "~" }
571 { " " }
572 if$
573 swap$ * *
574 }
575
576 FUNCTION {either.or.check}
577 { empty$
578 'pop$
579 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
580 if$
581 }
582
583 FUNCTION {format.bvolume}
584 { volume empty$
585 { "" }
586 { bbl.volume volume tie.or.space.connect
587 series empty$
588 'skip$
589 { bbl.of space.word * series emphasize * }
590 if$
591 "volume and number" number either.or.check
592 }
593 if$
594 }
595
596 FUNCTION {format.number.series}
597 { volume empty$
598 { number empty$
599 { series field.or.null }
600 { output.state mid.sentence =
601 { bbl.number }
602 { bbl.number capitalize }
603 if$
604 number tie.or.space.connect
605 series empty$
606 { "there's a number but no series in " cite$ * warning$ }
607 { bbl.in space.word * series * }
608 if$
609 }
610 if$
611 }
612 { "" }
613 if$
614 }
615
616 FUNCTION {is.num}
617 { chr.to.int$
618 duplicate$ "0" chr.to.int$ < not
619 swap$ "9" chr.to.int$ > not and
620 }
621
622 FUNCTION {extract.num}
623 { duplicate$ 't :=
624 "" 's :=
625 { t empty$ not }
626 { t #1 #1 substring$
627 t #2 global.max$ substring$ 't :=
628 duplicate$ is.num
629 { s swap$ * 's := }
630 { pop$ "" 't := }
631 if$
632 }
633 while$
634 s empty$
635 'skip$
636 { pop$ s }
637 if$
638 }
639
640 FUNCTION {convert.edition}
641 { edition extract.num "l" change.case$ 's :=
642 s "first" = s "1" = or
643 { bbl.first 't := }
644 { s "second" = s "2" = or
645 { bbl.second 't := }
646 { s "third" = s "3" = or
647 { bbl.third 't := }
648 { s "fourth" = s "4" = or
649 { bbl.fourth 't := }
650 { s "fifth" = s "5" = or
651 { bbl.fifth 't := }
652 { s #1 #1 substring$ is.num
653 { s eng.ord 't := }
654 { edition 't := }
655 if$
656 }
657 if$
658 }
659 if$
660 }
661 if$
662 }
663 if$
664 }
665 if$
666 t
667 }
668
669 FUNCTION {format.edition}
670 { edition empty$
671 { "" }
672 { output.state mid.sentence =
673 { convert.edition "l" change.case$ " " * bbl.edition * }
674 { convert.edition "t" change.case$ " " * bbl.edition * }
675 if$
676 }
677 if$
678 }
679
680 INTEGERS { multiresult }
681
682 FUNCTION {multi.page.check}
683 { 't :=
684 #0 'multiresult :=
685 { multiresult not
686 t empty$ not
687 and
688 }
689 { t #1 #1 substring$
690 duplicate$ "-" =
691 swap$ duplicate$ "," =
692 swap$ "+" =
693 or or
694 { #1 'multiresult := }
695 { t #2 global.max$ substring$ 't := }
696 if$
697 }
698 while$
699 multiresult
700 }
701
702 FUNCTION {format.pages}
703 { pages empty$
704 { "" }
705 { pages multi.page.check
706 { bbl.pages pages n.dashify tie.or.space.connect }
707 { bbl.page pages tie.or.space.connect }
708 if$
709 }
710 if$
711 }
712
713 FUNCTION {first.page}
714 { 't :=
715 ""
716 { t empty$ not t #1 #1 substring$ "-" = not and }
717 { t #1 #1 substring$ *
718 t #2 global.max$ substring$ 't :=
719 }
720 while$
721 }
722
723 FUNCTION {format.vol.num.pages}
724 { volume field.or.null
725 bolden
726 number empty$
727 'skip$
728 {
729 "~(" number * ")" * *
730 volume empty$
731 { "there's a number but no volume in " cite$ * warning$ }
732 'skip$
733 if$
734 }
735 if$
736 pages empty$
737 'skip$
738 { duplicate$ empty$
739 { pop$ format.pages }
740 { ", " * pages first.page * }
741 if$
742 }
743 if$
744 }
745
746 FUNCTION {format.chapter.pages}
747 { chapter empty$
748 'format.pages
749 { type empty$
750 { bbl.chapter }
751 { type "l" change.case$ }
752 if$
753 chapter tie.or.space.connect
754 pages empty$
755 'skip$
756 { ", " * format.pages * }
757 if$
758 }
759 if$
760 }
761
762 FUNCTION {format.in.ed.booktitle}
763 { booktitle empty$
764 { "" }
765 { editor empty$
766 { word.in booktitle emphasize * }
767 { word.in booktitle emphasize *
768 " (" *
769 bbl.edby
770 capitalize
771 * " " *
772 format.in.editors *
773 ")" *
774 }
775 if$
776 }
777 if$
778 }
779
780 FUNCTION {empty.misc.check}
781 { author empty$ title empty$ howpublished empty$
782 month empty$ year empty$ note empty$
783 and and and and and
784 key empty$ not and
785 { "all relevant fields are empty in " cite$ * warning$ }
786 'skip$
787 if$
788 }
789
790 FUNCTION {format.thesis.type}
791 { type empty$
792 'skip$
793 { pop$
794 type "t" change.case$
795 }
796 if$
797 }
798
799 FUNCTION {format.tr.number}
800 { type empty$
801 { bbl.techrep }
802 'type
803 if$
804 number empty$
805 { "t" change.case$ }
806 { number tie.or.space.connect }
807 if$
808 }
809
810 FUNCTION {format.article.crossref}
811 {
812 key empty$
813 { journal empty$
814 { "need key or journal for " cite$ * " to crossref " * crossref *
815 warning$
816 ""
817 }
818 { word.in journal emphasize * }
819 if$
820 }
821 { word.in key * " " *}
822 if$
823 " \cite{" * crossref * "}" *
824 }
825
826 FUNCTION {format.crossref.editor}
827 { editor #1 "{vv~}{ll}" format.name$
828 editor num.names$ duplicate$
829 #2 >
830 { pop$ " " * "et~al." emphasize * }
831 { #2 <
832 'skip$
833 { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
834 { " " * "et~al." emphasize * }
835 { bbl.and space.word * editor #2 "{vv~}{ll}" format.name$ * }
836 if$
837 }
838 if$
839 }
840 if$
841 }
842
843 FUNCTION {format.book.crossref}
844 { volume empty$
845 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
846 word.in
847 }
848 { bbl.volume volume tie.or.space.connect
849 bbl.of space.word *
850 }
851 if$
852 editor empty$
853 editor field.or.null author field.or.null =
854 or
855 { key empty$
856 { series empty$
857 { "need editor, key, or series for " cite$ * " to crossref " *
858 crossref * warning$
859 "" *
860 }
861 { series emphasize * }
862 if$
863 }
864 { key * }
865 if$
866 }
867 { format.crossref.editor * }
868 if$
869 " \cite{" * crossref * "}" *
870 }
871
872 FUNCTION {format.incoll.inproc.crossref}
873 {
874 editor empty$
875 editor field.or.null author field.or.null =
876 or
877 { key empty$
878 { booktitle empty$
879 { "need editor, key, or booktitle for " cite$ * " to crossref " *
880 crossref * warning$
881 ""
882 }
883 { word.in booktitle emphasize * }
884 if$
885 }
886 { word.in key * " " *}
887 if$
888 }
889 { word.in format.crossref.editor * " " *}
890 if$
891 " \cite{" * crossref * "}" *
892 }
893
894 FUNCTION {article}
895 { output.bibitem
896 format.authors "author" output.check
897 before.all 'output.state :=
898 ", " *
899 "\journal " * journal * ";" *
900 volume * "," *
901 pages first.page *
902 "(" * year * ")" *
903 fin.entry
904 }
905
906 FUNCTION {book}
907 { output.bibitem
908 author empty$
909 { format.editors "author and editor" output.check
910 }
911 { format.authors output.nonnull
912 crossref missing$
913 { "author and editor" editor either.or.check }
914 'skip$
915 if$
916 }
917 if$
918 format.btitle "title" output.check
919 crossref missing$
920 { format.bvolume output
921 format.number.series output
922 publisher "publisher" output.check
923 address output
924 }
925 {
926 format.book.crossref output.nonnull
927 }
928 if$
929 format.edition output
930 format.date "year" output.check
931 fin.entry
932 }
933
934 FUNCTION {booklet}
935 { output.bibitem
936 format.authors output
937 format.title "title" output.check
938 before.all 'output.state :=
939 howpublished output
940 address output
941 format.date output
942 fin.entry
943 }
944
945 FUNCTION {inbook}
946 { output.bibitem
947 author empty$
948 { format.editors "author and editor" output.check
949 }
950 { format.authors output.nonnull
951 crossref missing$
952 { "author and editor" editor either.or.check }
953 'skip$
954 if$
955 }
956 if$
957 format.btitle "title" output.check
958 crossref missing$
959 { format.bvolume output
960 format.chapter.pages "chapter and pages" output.check
961 format.number.series output
962 publisher "publisher" output.check
963 address output
964 }
965 {
966 format.chapter.pages "chapter and pages" output.check
967 format.book.crossref output.nonnull
968 }
969 if$
970 format.edition output
971 format.date "year" output.check
972 fin.entry
973 }
974
975 FUNCTION {incollection}
976 { output.bibitem
977 format.authors "author" output.check
978 format.title "title" output.check
979 before.all 'output.state :=
980 crossref missing$
981 { format.in.ed.booktitle "booktitle" output.check
982 format.bvolume output
983 format.number.series output
984 format.chapter.pages output
985 publisher "publisher" output.check
986 address output
987 format.edition output
988 format.date "year" output.check
989 }
990 { format.incoll.inproc.crossref output.nonnull
991 format.chapter.pages output
992 }
993 if$
994 fin.entry
995 }
996
997 FUNCTION {inproceedings}
998 { output.bibitem
999 format.authors "author" output.check
1000 format.title "title" output.check
1001 before.all 'output.state :=
1002 crossref missing$
1003 { format.in.ed.booktitle "booktitle" output.check
1004 format.bvolume output
1005 format.number.series output
1006 format.pages output
1007 address empty$
1008 { organization publisher new.sentence.checkb
1009 organization output
1010 publisher output
1011 format.date "year" output.check
1012 }
1013 { address output.nonnull
1014 format.date "year" output.check
1015 organization output
1016 publisher output
1017 }
1018 if$
1019 }
1020 { format.incoll.inproc.crossref output.nonnull
1021 format.pages output
1022 }
1023 if$
1024 fin.entry
1025 }
1026
1027 FUNCTION {conference} { inproceedings }
1028
1029 FUNCTION {manual}
1030 { output.bibitem
1031 author empty$
1032 { organization empty$
1033 'skip$
1034 { organization output.nonnull
1035 address output
1036 }
1037 if$
1038 }
1039 { format.authors output.nonnull }
1040 if$
1041 format.btitle "title" output.check
1042 author empty$
1043 { organization empty$
1044 {
1045 address output
1046 }
1047 'skip$
1048 if$
1049 }
1050 {
1051 organization output
1052 address output
1053 }
1054 if$
1055 format.edition output
1056 format.date output
1057 fin.entry
1058 }
1059
1060 FUNCTION {mastersthesis}
1061 { output.bibitem
1062 format.authors "author" output.check
1063 format.btitle "title" output.check
1064 bbl.mthesis format.thesis.type output.nonnull
1065 school "school" output.check
1066 address output
1067 format.date "year" output.check
1068 fin.entry
1069 }
1070
1071 FUNCTION {misc}
1072 { output.bibitem
1073 format.authors output
1074 format.title output
1075 before.all 'output.state :=
1076 howpublished output
1077 format.date output
1078 fin.entry
1079 }
1080
1081 FUNCTION {phdthesis}
1082 { output.bibitem
1083 format.authors "author" output.check
1084 format.btitle "title" output.check
1085 bbl.phdthesis format.thesis.type output.nonnull
1086 school "school" output.check
1087 address output
1088 format.date "year" output.check
1089 fin.entry
1090 }
1091
1092 FUNCTION {proceedings}
1093 { output.bibitem
1094 editor empty$
1095 { organization output }
1096 { format.editors output.nonnull }
1097 if$
1098 format.btitle "title" output.check
1099 format.bvolume output
1100 format.number.series output
1101 address empty$
1102 { editor empty$
1103 { publisher new.sentence.checka }
1104 { organization publisher new.sentence.checkb
1105 organization output
1106 }
1107 if$
1108 publisher output
1109 format.date "year" output.check
1110 }
1111 { address output.nonnull
1112 format.date "year" output.check
1113 editor empty$
1114 'skip$
1115 { organization output }
1116 if$
1117 publisher output
1118 }
1119 if$
1120 fin.entry
1121 }
1122
1123 FUNCTION {techreport}
1124 { output.bibitem
1125 format.authors "author" output.check
1126 format.title "title" output.check
1127 before.all 'output.state :=
1128 format.tr.number output.nonnull
1129 institution "institution" output.check
1130 address output
1131 format.date "year" output.check
1132 fin.entry
1133 }
1134
1135 FUNCTION {unpublished}
1136 { output.bibitem
1137 format.authors "author" output.check
1138 format.title "title" output.check
1139 before.all 'output.state :=
1140 note "note" output.check
1141 fin.entry
1142 }
1143
1144 FUNCTION {default.type} { misc }
1145
1146 READ
1147
1148 STRINGS { longest.label }
1149
1150 INTEGERS { number.label longest.label.width }
1151
1152 FUNCTION {initialize.longest.label}
1153 { "" 'longest.label :=
1154 #1 'number.label :=
1155 #0 'longest.label.width :=
1156 }
1157
1158 FUNCTION {longest.label.pass}
1159 { number.label int.to.str$ 'label :=
1160 number.label #1 + 'number.label :=
1161 label width$ longest.label.width >
1162 { label 'longest.label :=
1163 label width$ 'longest.label.width :=
1164 }
1165 'skip$
1166 if$
1167 }
1168
1169 EXECUTE {initialize.longest.label}
1170
1171 ITERATE {longest.label.pass}
1172
1173 FUNCTION {begin.bib}
1174 { preamble$ empty$
1175 'skip$
1176 { preamble$ write$ newline$ }
1177 if$
1178 "\def\enquote#1{``#1''}"
1179 write$ newline$
1180 "\referencelist" write$ newline$
1181 }
1182
1183 EXECUTE {begin.bib}
1184
1185 EXECUTE {init.state.consts}
1186
1187 ITERATE {call.type$}
1188
1189 FUNCTION {end.bib}
1190 { newline$
1191 "\endreferencelist" write$ newline$
1192 }
1193
1194 EXECUTE {end.bib}
1195 %% End of customized bst file