Debian Codegraph @

texmf-dist/bibtex/bst/imac/imac.bst

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