Debian Codegraph @

texmf-dist/bibtex/bst/aichej/aichej.bst

raw
1 %%
2 %% This is file `aichej.bst',
3 %% generated with the docstrip utility using the custom-bib package by
4 %% Patrick W. Daly
5 %%
6 %% Bibliography style file for American Institute of Chemical Engineers Journal
7 %% (AIChE Journal). Settings entered by SDS (University of Minnesota)
8 %%
9 %% BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
10 %% FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
11 %% OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
12 %% PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
13 %% OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
14 %% MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
15 %% TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
16 %% PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
17 %% REPAIR OR CORRECTION. (GNU GPL)
18 %%
19 %% The original source files were:
20 %%
21 %% merlin.mbs (with options: `pres,seq-no,nm-rvx,ed-rev,jnrlst,dt-jnl,yr-per,xmth,yrp-semi,yrpp-xsp,atit-u,jxper,thtit-a,trnum-it,num-xser,add-pub,edby,in-col,pp,ed,abr,ednx,ord,jabr,xand,etal-xc,url,url-nl,nfss,')
22 %% ----------------------------------------
23 %% *** AIChE Journal Bibliography Style File ***
24 %%
25 %% Copyright 1994-2007 Patrick W Daly
26 % ===============================================================
27 % IMPORTANT NOTICE:
28 % This bibliographic style (bst) file has been generated from one or
29 % more master bibliographic style (mbs) files, listed above.
30 %
31 % This generated file can be redistributed and/or modified under the terms
32 % of the LaTeX Project Public License Distributed from CTAN
33 % archives in directory macros/latex/base/lppl.txt; either
34 % version 1 of the License, or any later version.
35 % ===============================================================
36 % Name and version information of the main mbs file:
37 % \ProvidesFile{merlin.mbs}[2007/04/24 4.20 (PWD, AO, DPC)]
38 % For use with BibTeX version 0.99a or later
39 %-------------------------------------------------------------------
40 % This bibliography style file is intended for texts in ENGLISH
41 % This is a numerical citation style, and as such is standard LaTeX.
42 % It requires no extra package to interface to the main text.
43 % The form of the \bibitem entries is
44 % \bibitem{key}...
45 % Usage of \cite is as follows:
46 % \cite{key} ==>> [#]
47 % \cite[chap. 2]{key} ==>> [#, chap. 2]
48 % where # is a number determined by the ordering in the reference list.
49 % The order in the reference list is that by which the works were originally
50 % cited in the text, or that in the database.
51 %---------------------------------------------------------------------
52
53 ENTRY
54 { address
55 author
56 booktitle
57 chapter
58 edition
59 editor
60 eid
61 howpublished
62 institution
63 journal
64 key
65 month
66 note
67 number
68 organization
69 pages
70 publisher
71 school
72 series
73 title
74 type
75 url
76 volume
77 year
78 }
79 {}
80 { label }
81 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
82 FUNCTION {init.state.consts}
83 { #0 'before.all :=
84 #1 'mid.sentence :=
85 #2 'after.sentence :=
86 #3 'after.block :=
87 }
88 STRINGS { s t}
89 FUNCTION {output.nonnull}
90 { 's :=
91 output.state mid.sentence =
92 { ", " * write$ }
93 { output.state after.block =
94 { add.period$ write$
95 newline$
96 "\newblock " write$
97 }
98 { output.state before.all =
99 'write$
100 { add.period$ " " * write$ }
101 if$
102 }
103 if$
104 mid.sentence 'output.state :=
105 }
106 if$
107 s
108 }
109 FUNCTION {output}
110 { duplicate$ empty$
111 'pop$
112 'output.nonnull
113 if$
114 }
115 FUNCTION {output.check}
116 { 't :=
117 duplicate$ empty$
118 { pop$ "empty " t * " in " * cite$ * warning$ }
119 'output.nonnull
120 if$
121 }
122 FUNCTION {fin.entry}
123 { add.period$
124 write$
125 newline$
126 }
127
128 FUNCTION {new.block}
129 { output.state before.all =
130 'skip$
131 { after.block 'output.state := }
132 if$
133 }
134 FUNCTION {new.sentence}
135 { output.state after.block =
136 'skip$
137 { output.state before.all =
138 'skip$
139 { after.sentence 'output.state := }
140 if$
141 }
142 if$
143 }
144 FUNCTION {add.blank}
145 { " " * before.all 'output.state :=
146 }
147
148 FUNCTION {no.blank.or.punct}
149 { "\hspace{0pt}" * before.all 'output.state :=
150 }
151
152 FUNCTION {date.block}
153 {
154 ";" *
155 no.blank.or.punct
156 }
157
158 FUNCTION {not}
159 { { #0 }
160 { #1 }
161 if$
162 }
163 FUNCTION {and}
164 { 'skip$
165 { pop$ #0 }
166 if$
167 }
168 FUNCTION {or}
169 { { pop$ #1 }
170 'skip$
171 if$
172 }
173 STRINGS {z}
174 FUNCTION {remove.dots}
175 { 'z :=
176 ""
177 { z empty$ not }
178 { z #1 #1 substring$
179 z #2 global.max$ substring$ 'z :=
180 duplicate$ "." = 'pop$
181 { * }
182 if$
183 }
184 while$
185 }
186 FUNCTION {new.block.checka}
187 { empty$
188 'skip$
189 'new.block
190 if$
191 }
192 FUNCTION {new.block.checkb}
193 { empty$
194 swap$ empty$
195 and
196 'skip$
197 'new.block
198 if$
199 }
200 FUNCTION {new.sentence.checka}
201 { empty$
202 'skip$
203 'new.sentence
204 if$
205 }
206 FUNCTION {new.sentence.checkb}
207 { empty$
208 swap$ empty$
209 and
210 'skip$
211 'new.sentence
212 if$
213 }
214 FUNCTION {field.or.null}
215 { duplicate$ empty$
216 { pop$ "" }
217 'skip$
218 if$
219 }
220 FUNCTION {emphasize}
221 { duplicate$ empty$
222 { pop$ "" }
223 { "\emph{" swap$ * "}" * }
224 if$
225 }
226 FUNCTION {tie.or.space.prefix}
227 { duplicate$ text.length$ #3 <
228 { "~" }
229 { " " }
230 if$
231 swap$
232 }
233
234 FUNCTION {capitalize}
235 { "u" change.case$ "t" change.case$ }
236
237 FUNCTION {space.word}
238 { " " swap$ * " " * }
239 % Here are the language-specific definitions for explicit words.
240 % Each function has a name bbl.xxx where xxx is the English word.
241 % The language selected here is ENGLISH
242 FUNCTION {bbl.and}
243 { "and"}
244
245 FUNCTION {bbl.etal}
246 { "et~al." }
247
248 FUNCTION {bbl.editors}
249 { "eds." }
250
251 FUNCTION {bbl.editor}
252 { "ed." }
253
254 FUNCTION {bbl.edby}
255 { "edited by" }
256
257 FUNCTION {bbl.edition}
258 { "ed." }
259
260 FUNCTION {bbl.volume}
261 { "vol." }
262
263 FUNCTION {bbl.of}
264 { "of" }
265
266 FUNCTION {bbl.number}
267 { "no." }
268
269 FUNCTION {bbl.nr}
270 { "no." }
271
272 FUNCTION {bbl.in}
273 { "in" }
274
275 FUNCTION {bbl.pages}
276 { "pp." }
277
278 FUNCTION {bbl.page}
279 { "p." }
280
281 FUNCTION {bbl.chapter}
282 { "chap." }
283
284 FUNCTION {bbl.techrep}
285 { "Tech. Rep." }
286
287 FUNCTION {bbl.mthesis}
288 { "Master's thesis" }
289
290 FUNCTION {bbl.phdthesis}
291 { "Ph.D. thesis" }
292
293 FUNCTION {bbl.first}
294 { "1st" }
295
296 FUNCTION {bbl.second}
297 { "2nd" }
298
299 FUNCTION {bbl.third}
300 { "3rd" }
301
302 FUNCTION {bbl.fourth}
303 { "4th" }
304
305 FUNCTION {bbl.fifth}
306 { "5th" }
307
308 FUNCTION {bbl.st}
309 { "st" }
310
311 FUNCTION {bbl.nd}
312 { "nd" }
313
314 FUNCTION {bbl.rd}
315 { "rd" }
316
317 FUNCTION {bbl.th}
318 { "th" }
319
320 MACRO {jan} {"Jan."}
321
322 MACRO {feb} {"Feb."}
323
324 MACRO {mar} {"Mar."}
325
326 MACRO {apr} {"Apr."}
327
328 MACRO {may} {"May"}
329
330 MACRO {jun} {"Jun."}
331
332 MACRO {jul} {"Jul."}
333
334 MACRO {aug} {"Aug."}
335
336 MACRO {sep} {"Sep."}
337
338 MACRO {oct} {"Oct."}
339
340 MACRO {nov} {"Nov."}
341
342 MACRO {dec} {"Dec."}
343
344 FUNCTION {eng.ord}
345 { duplicate$ "1" swap$ *
346 #-2 #1 substring$ "1" =
347 { bbl.th * }
348 { duplicate$ #-1 #1 substring$
349 duplicate$ "1" =
350 { pop$ bbl.st * }
351 { duplicate$ "2" =
352 { pop$ bbl.nd * }
353 { "3" =
354 { bbl.rd * }
355 { bbl.th * }
356 if$
357 }
358 if$
359 }
360 if$
361 }
362 if$
363 }
364
365 MACRO {acmcs} {"ACM Comput. Surv."}
366
367 MACRO {acta} {"Acta Inf."}
368
369 MACRO {cacm} {"Commun. ACM"}
370
371 MACRO {ibmjrd} {"IBM J. Res. Dev."}
372
373 MACRO {ibmsj} {"IBM Syst.~J."}
374
375 MACRO {ieeese} {"IEEE Trans. Software Eng."}
376
377 MACRO {ieeetc} {"IEEE Trans. Comput."}
378
379 MACRO {ieeetcad}
380 {"IEEE Trans. Comput. Aid. Des."}
381
382 MACRO {ipl} {"Inf. Process. Lett."}
383
384 MACRO {jacm} {"J.~ACM"}
385
386 MACRO {jcss} {"J.~Comput. Syst. Sci."}
387
388 MACRO {scp} {"Sci. Comput. Program."}
389
390 MACRO {sicomp} {"SIAM J. Comput."}
391
392 MACRO {tocs} {"ACM Trans. Comput. Syst."}
393
394 MACRO {tods} {"ACM Trans. Database Syst."}
395
396 MACRO {tog} {"ACM Trans. Graphic."}
397
398 MACRO {toms} {"ACM Trans. Math. Software"}
399
400 MACRO {toois} {"ACM Trans. Office Inf. Syst."}
401
402 MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
403
404 MACRO {tcs} {"Theor. Comput. Sci."}
405
406 FUNCTION {bibinfo.check}
407 { swap$
408 duplicate$ missing$
409 {
410 pop$ pop$
411 ""
412 }
413 { duplicate$ empty$
414 {
415 swap$ pop$
416 }
417 { swap$
418 pop$
419 }
420 if$
421 }
422 if$
423 }
424 FUNCTION {bibinfo.warn}
425 { swap$
426 duplicate$ missing$
427 {
428 swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
429 ""
430 }
431 { duplicate$ empty$
432 {
433 swap$ "empty " swap$ * " in " * cite$ * warning$
434 }
435 { swap$
436 pop$
437 }
438 if$
439 }
440 if$
441 }
442 FUNCTION {write.url}
443 { url empty$
444 { skip$ }
445 { "\newline\urlprefix\url{" url * "}" * write$ newline$ }
446 if$
447 }
448
449 INTEGERS { nameptr namesleft numnames }
450
451
452 STRINGS { bibinfo}
453
454 FUNCTION {format.names}
455 { 'bibinfo :=
456 duplicate$ empty$ 'skip$ {
457 's :=
458 "" 't :=
459 #1 'nameptr :=
460 s num.names$ 'numnames :=
461 numnames 'namesleft :=
462 { namesleft #0 > }
463 { s nameptr
464 "{vv~}{ll}{ f{}}{ jj}"
465 format.name$
466 remove.dots
467 bibinfo bibinfo.check
468 't :=
469 nameptr #1 >
470 {
471 namesleft #1 >
472 { ", " * t * }
473 {
474 s nameptr "{ll}" format.name$ duplicate$ "others" =
475 { 't := }
476 { pop$ }
477 if$
478 "," *
479 t "others" =
480 {
481 " " * bbl.etal *
482 }
483 { " " * t * }
484 if$
485 }
486 if$
487 }
488 't
489 if$
490 nameptr #1 + 'nameptr :=
491 namesleft #1 - 'namesleft :=
492 }
493 while$
494 } if$
495 }
496 FUNCTION {format.names.ed}
497 {
498 format.names
499 }
500 FUNCTION {format.authors}
501 { author "author" format.names
502 }
503 FUNCTION {get.bbl.editor}
504 { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
505
506 FUNCTION {format.editors}
507 { editor "editor" format.names duplicate$ empty$ 'skip$
508 {
509 "," *
510 " " *
511 get.bbl.editor
512 *
513 }
514 if$
515 }
516 FUNCTION {format.note}
517 {
518 note empty$
519 { "" }
520 { note #1 #1 substring$
521 duplicate$ "{" =
522 'skip$
523 { output.state mid.sentence =
524 { "l" }
525 { "u" }
526 if$
527 change.case$
528 }
529 if$
530 note #2 global.max$ substring$ * "note" bibinfo.check
531 }
532 if$
533 }
534
535 FUNCTION {format.title}
536 { title
537 "title" bibinfo.check
538 }
539 FUNCTION {output.bibitem}
540 { newline$
541 "\bibitem{" write$
542 cite$ write$
543 "}" write$
544 newline$
545 ""
546 before.all 'output.state :=
547 }
548
549 FUNCTION {n.dashify}
550 {
551 't :=
552 ""
553 { t empty$ not }
554 { t #1 #1 substring$ "-" =
555 { t #1 #2 substring$ "--" = not
556 { "--" *
557 t #2 global.max$ substring$ 't :=
558 }
559 { { t #1 #1 substring$ "-" = }
560 { "-" *
561 t #2 global.max$ substring$ 't :=
562 }
563 while$
564 }
565 if$
566 }
567 { t #1 #1 substring$ *
568 t #2 global.max$ substring$ 't :=
569 }
570 if$
571 }
572 while$
573 }
574
575 FUNCTION {word.in}
576 { bbl.in capitalize
577 ":" *
578 " " * }
579
580 FUNCTION {format.date}
581 {
582 ""
583 duplicate$ empty$
584 year "year" bibinfo.check duplicate$ empty$
585 { swap$ 'skip$
586 { "there's a month but no year in " cite$ * warning$ }
587 if$
588 *
589 }
590 { swap$ 'skip$
591 {
592 swap$
593 " " * swap$
594 }
595 if$
596 *
597 }
598 if$
599 duplicate$ empty$
600 'skip$
601 {
602 before.all 'output.state :=
603 after.sentence 'output.state :=
604 }
605 if$
606 }
607 FUNCTION {format.btitle}
608 { title "title" bibinfo.check
609 duplicate$ empty$ 'skip$
610 {
611 emphasize
612 }
613 if$
614 }
615 FUNCTION {either.or.check}
616 { empty$
617 'pop$
618 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
619 if$
620 }
621 FUNCTION {format.bvolume}
622 { volume empty$
623 { "" }
624 { bbl.volume volume tie.or.space.prefix
625 "volume" bibinfo.check * *
626 series "series" bibinfo.check
627 duplicate$ empty$ 'pop$
628 { swap$ bbl.of space.word * swap$
629 emphasize * }
630 if$
631 "volume and number" number either.or.check
632 }
633 if$
634 }
635 FUNCTION {format.number.series}
636 { volume empty$
637 { number empty$
638 { series field.or.null }
639 { series empty$
640 { number "number" bibinfo.check }
641 { output.state mid.sentence =
642 { bbl.number }
643 { bbl.number capitalize }
644 if$
645 number tie.or.space.prefix "number" bibinfo.check * *
646 bbl.in space.word *
647 series "series" bibinfo.check *
648 }
649 if$
650 }
651 if$
652 }
653 { "" }
654 if$
655 }
656 FUNCTION {is.num}
657 { chr.to.int$
658 duplicate$ "0" chr.to.int$ < not
659 swap$ "9" chr.to.int$ > not and
660 }
661
662 FUNCTION {extract.num}
663 { duplicate$ 't :=
664 "" 's :=
665 { t empty$ not }
666 { t #1 #1 substring$
667 t #2 global.max$ substring$ 't :=
668 duplicate$ is.num
669 { s swap$ * 's := }
670 { pop$ "" 't := }
671 if$
672 }
673 while$
674 s empty$
675 'skip$
676 { pop$ s }
677 if$
678 }
679
680 FUNCTION {convert.edition}
681 { extract.num "l" change.case$ 's :=
682 s "first" = s "1" = or
683 { bbl.first 't := }
684 { s "second" = s "2" = or
685 { bbl.second 't := }
686 { s "third" = s "3" = or
687 { bbl.third 't := }
688 { s "fourth" = s "4" = or
689 { bbl.fourth 't := }
690 { s "fifth" = s "5" = or
691 { bbl.fifth 't := }
692 { s #1 #1 substring$ is.num
693 { s eng.ord 't := }
694 { edition 't := }
695 if$
696 }
697 if$
698 }
699 if$
700 }
701 if$
702 }
703 if$
704 }
705 if$
706 t
707 }
708
709 FUNCTION {format.edition}
710 { edition duplicate$ empty$ 'skip$
711 {
712 convert.edition
713 output.state mid.sentence =
714 { "l" }
715 { "t" }
716 if$ change.case$
717 "edition" bibinfo.check
718 " " * bbl.edition *
719 }
720 if$
721 }
722 INTEGERS { multiresult }
723 FUNCTION {multi.page.check}
724 { 't :=
725 #0 'multiresult :=
726 { multiresult not
727 t empty$ not
728 and
729 }
730 { t #1 #1 substring$
731 duplicate$ "-" =
732 swap$ duplicate$ "," =
733 swap$ "+" =
734 or or
735 { #1 'multiresult := }
736 { t #2 global.max$ substring$ 't := }
737 if$
738 }
739 while$
740 multiresult
741 }
742 FUNCTION {format.pages}
743 { pages duplicate$ empty$ 'skip$
744 { duplicate$ multi.page.check
745 {
746 bbl.pages swap$
747 n.dashify
748 }
749 {
750 bbl.page swap$
751 }
752 if$
753 tie.or.space.prefix
754 "pages" bibinfo.check
755 * *
756 }
757 if$
758 }
759 FUNCTION {format.journal.pages}
760 { pages duplicate$ empty$ 'pop$
761 { swap$ duplicate$ empty$
762 { pop$ pop$ format.pages }
763 {
764 ":" *
765 swap$
766 n.dashify
767 "pages" bibinfo.check
768 *
769 }
770 if$
771 }
772 if$
773 }
774 FUNCTION {format.journal.eid}
775 { eid "eid" bibinfo.check
776 duplicate$ empty$ 'pop$
777 { swap$ duplicate$ empty$ 'skip$
778 {
779 ":" *
780 }
781 if$
782 swap$ *
783 }
784 if$
785 }
786 FUNCTION {format.vol.num.pages}
787 { volume field.or.null
788 duplicate$ empty$ 'skip$
789 {
790 "volume" bibinfo.check
791 }
792 if$
793 number "number" bibinfo.check duplicate$ empty$ 'skip$
794 {
795 swap$ duplicate$ empty$
796 { "there's a number but no volume in " cite$ * warning$ }
797 'skip$
798 if$
799 swap$
800 "(" swap$ * ")" *
801 }
802 if$ *
803 eid empty$
804 { format.journal.pages }
805 { format.journal.eid }
806 if$
807 }
808
809 FUNCTION {format.chapter.pages}
810 { chapter empty$
811 'format.pages
812 { type empty$
813 { bbl.chapter }
814 { type "l" change.case$
815 "type" bibinfo.check
816 }
817 if$
818 chapter tie.or.space.prefix
819 "chapter" bibinfo.check
820 * *
821 pages empty$
822 'skip$
823 { ", " * format.pages * }
824 if$
825 }
826 if$
827 }
828
829 FUNCTION {format.booktitle}
830 {
831 booktitle "booktitle" bibinfo.check
832 emphasize
833 }
834 FUNCTION {format.in.ed.booktitle}
835 { format.booktitle duplicate$ empty$ 'skip$
836 {
837 editor "editor" format.names.ed duplicate$ empty$ 'pop$
838 {
839 bbl.edby
840 " " * swap$ *
841 swap$
842 "," *
843 " " * swap$
844 * }
845 if$
846 word.in swap$ *
847 }
848 if$
849 }
850 FUNCTION {empty.misc.check}
851 { author empty$ title empty$ howpublished empty$
852 month empty$ year empty$ note empty$
853 and and and and and
854 { "all relevant fields are empty in " cite$ * warning$ }
855 'skip$
856 if$
857 }
858 FUNCTION {format.thesis.type}
859 { type duplicate$ empty$
860 'pop$
861 { swap$ pop$
862 "t" change.case$ "type" bibinfo.check
863 }
864 if$
865 }
866 FUNCTION {format.tr.number}
867 { number "number" bibinfo.check
868 type duplicate$ empty$
869 { pop$ bbl.techrep }
870 'skip$
871 if$
872 "type" bibinfo.check
873 swap$ duplicate$ empty$
874 { pop$ "t" change.case$ }
875 { tie.or.space.prefix * * }
876 if$
877 }
878 FUNCTION {format.article.crossref}
879 {
880 key duplicate$ empty$
881 { pop$
882 journal duplicate$ empty$
883 { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
884 { "journal" bibinfo.check emphasize word.in swap$ * }
885 if$
886 }
887 { word.in swap$ * " " *}
888 if$
889 " \cite{" * crossref * "}" *
890 }
891 FUNCTION {format.crossref.editor}
892 { editor #1 "{vv~}{ll}" format.name$
893 "editor" bibinfo.check
894 editor num.names$ duplicate$
895 #2 >
896 { pop$
897 "editor" bibinfo.check
898 " " * bbl.etal
899 *
900 }
901 { #2 <
902 'skip$
903 { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
904 {
905 "editor" bibinfo.check
906 " " * bbl.etal
907 *
908 }
909 {
910 bbl.and space.word
911 * editor #2 "{vv~}{ll}" format.name$
912 "editor" bibinfo.check
913 *
914 }
915 if$
916 }
917 if$
918 }
919 if$
920 }
921 FUNCTION {format.book.crossref}
922 { volume duplicate$ empty$
923 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
924 pop$ word.in
925 }
926 { bbl.volume
927 capitalize
928 swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
929 }
930 if$
931 editor empty$
932 editor field.or.null author field.or.null =
933 or
934 { key empty$
935 { series empty$
936 { "need editor, key, or series for " cite$ * " to crossref " *
937 crossref * warning$
938 "" *
939 }
940 { series emphasize * }
941 if$
942 }
943 { key * }
944 if$
945 }
946 { format.crossref.editor * }
947 if$
948 " \cite{" * crossref * "}" *
949 }
950 FUNCTION {format.incoll.inproc.crossref}
951 {
952 editor empty$
953 editor field.or.null author field.or.null =
954 or
955 { key empty$
956 { format.booktitle duplicate$ empty$
957 { "need editor, key, or booktitle for " cite$ * " to crossref " *
958 crossref * warning$
959 }
960 { word.in swap$ * }
961 if$
962 }
963 { word.in key * " " *}
964 if$
965 }
966 { word.in format.crossref.editor * " " *}
967 if$
968 " \cite{" * crossref * "}" *
969 }
970 FUNCTION {format.org.or.pub}
971 { 't :=
972 ""
973 address empty$ t empty$ and
974 'skip$
975 {
976 address "address" bibinfo.check *
977 t empty$
978 'skip$
979 { address empty$
980 'skip$
981 { ": " * }
982 if$
983 t *
984 }
985 if$
986 }
987 if$
988 }
989 FUNCTION {format.publisher.address}
990 { publisher "publisher" bibinfo.warn format.org.or.pub
991 }
992
993 FUNCTION {format.organization.address}
994 { organization "organization" bibinfo.check format.org.or.pub
995 }
996
997 FUNCTION {article}
998 { output.bibitem
999 format.authors "author" output.check
1000 new.block
1001 format.title "title" output.check
1002 new.block
1003 crossref missing$
1004 {
1005 journal
1006 remove.dots
1007 "journal" bibinfo.check
1008 emphasize
1009 "journal" output.check
1010 format.date "year" output.check
1011 date.block
1012 format.vol.num.pages output
1013 }
1014 { format.article.crossref output.nonnull
1015 format.pages output
1016 }
1017 if$
1018 new.block
1019 format.note output
1020 fin.entry
1021 write.url
1022 }
1023 FUNCTION {book}
1024 { output.bibitem
1025 author empty$
1026 { format.editors "author and editor" output.check
1027 }
1028 { format.authors output.nonnull
1029 crossref missing$
1030 { "author and editor" editor either.or.check }
1031 'skip$
1032 if$
1033 }
1034 if$
1035 new.block
1036 format.btitle "title" output.check
1037 crossref missing$
1038 { format.bvolume output
1039 new.block
1040 format.number.series output
1041 new.sentence
1042 format.publisher.address output
1043 }
1044 {
1045 new.block
1046 format.book.crossref output.nonnull
1047 }
1048 if$
1049 format.edition output
1050 format.date "year" output.check
1051 new.block
1052 format.note output
1053 fin.entry
1054 write.url
1055 }
1056 FUNCTION {booklet}
1057 { output.bibitem
1058 format.authors output
1059 new.block
1060 format.title "title" output.check
1061 new.block
1062 howpublished "howpublished" bibinfo.check output
1063 address "address" bibinfo.check output
1064 format.date output
1065 new.block
1066 format.note output
1067 fin.entry
1068 write.url
1069 }
1070
1071 FUNCTION {inbook}
1072 { output.bibitem
1073 author empty$
1074 { format.editors "author and editor" output.check
1075 }
1076 { format.authors output.nonnull
1077 crossref missing$
1078 { "author and editor" editor either.or.check }
1079 'skip$
1080 if$
1081 }
1082 if$
1083 new.block
1084 format.btitle "title" output.check
1085 crossref missing$
1086 {
1087 format.bvolume output
1088 format.chapter.pages "chapter and pages" output.check
1089 new.block
1090 format.number.series output
1091 new.sentence
1092 format.publisher.address output
1093 }
1094 {
1095 format.chapter.pages "chapter and pages" output.check
1096 new.block
1097 format.book.crossref output.nonnull
1098 }
1099 if$
1100 format.edition output
1101 format.date "year" output.check
1102 date.block
1103 new.block
1104 format.note output
1105 fin.entry
1106 write.url
1107 }
1108
1109 FUNCTION {incollection}
1110 { output.bibitem
1111 format.authors "author" output.check
1112 new.block
1113 format.title "title" output.check
1114 new.block
1115 crossref missing$
1116 { format.in.ed.booktitle "booktitle" output.check
1117 format.bvolume output
1118 format.number.series output
1119 format.chapter.pages output
1120 new.sentence
1121 format.publisher.address output
1122 format.edition output
1123 }
1124 { format.incoll.inproc.crossref output.nonnull
1125 format.chapter.pages output
1126 }
1127 if$
1128 format.date "year" output.check
1129 date.block
1130 new.block
1131 format.note output
1132 fin.entry
1133 write.url
1134 }
1135 FUNCTION {inproceedings}
1136 { output.bibitem
1137 format.authors "author" output.check
1138 new.block
1139 format.title "title" output.check
1140 new.block
1141 crossref missing$
1142 { format.in.ed.booktitle "booktitle" output.check
1143 format.bvolume output
1144 format.number.series output
1145 new.sentence
1146 publisher empty$
1147 { format.organization.address output }
1148 { organization "organization" bibinfo.check output
1149 format.publisher.address output
1150 }
1151 if$
1152 }
1153 { format.incoll.inproc.crossref output.nonnull
1154 }
1155 if$
1156 format.date "year" output.check
1157 date.block
1158 add.blank
1159 format.pages "pages" output.check
1160 new.block
1161 format.note output
1162 fin.entry
1163 write.url
1164 }
1165 FUNCTION {conference} { inproceedings }
1166 FUNCTION {manual}
1167 { output.bibitem
1168 author empty$
1169 { organization "organization" bibinfo.check
1170 duplicate$ empty$ 'pop$
1171 { output
1172 address "address" bibinfo.check output
1173 }
1174 if$
1175 }
1176 { format.authors output.nonnull }
1177 if$
1178 new.block
1179 format.btitle "title" output.check
1180 author empty$
1181 { organization empty$
1182 {
1183 address new.block.checka
1184 address "address" bibinfo.check output
1185 }
1186 'skip$
1187 if$
1188 }
1189 {
1190 organization address new.block.checkb
1191 organization "organization" bibinfo.check output
1192 address "address" bibinfo.check output
1193 }
1194 if$
1195 format.edition output
1196 format.date output
1197 new.block
1198 format.note output
1199 fin.entry
1200 write.url
1201 }
1202
1203 FUNCTION {mastersthesis}
1204 { output.bibitem
1205 format.authors "author" output.check
1206 new.block
1207 format.title
1208 "title" output.check
1209 new.block
1210 bbl.mthesis format.thesis.type output.nonnull
1211 school "school" bibinfo.warn output
1212 address "address" bibinfo.check output
1213 format.date "year" output.check
1214 new.block
1215 format.note output
1216 fin.entry
1217 write.url
1218 }
1219
1220 FUNCTION {misc}
1221 { output.bibitem
1222 format.authors output
1223 title howpublished new.block.checkb
1224 format.title output
1225 howpublished new.block.checka
1226 howpublished "howpublished" bibinfo.check output
1227 format.date output
1228 new.block
1229 format.note output
1230 fin.entry
1231 write.url
1232 empty.misc.check
1233 }
1234 FUNCTION {phdthesis}
1235 { output.bibitem
1236 format.authors "author" output.check
1237 new.block
1238 format.title
1239 "title" output.check
1240 new.block
1241 bbl.phdthesis format.thesis.type output.nonnull
1242 school "school" bibinfo.warn output
1243 address "address" bibinfo.check output
1244 format.date "year" output.check
1245 new.block
1246 format.note output
1247 fin.entry
1248 write.url
1249 }
1250
1251 FUNCTION {presentation}
1252 { output.bibitem
1253 format.authors output
1254 new.block
1255 format.title output
1256 new.block
1257 format.organization.address "organization and address" output.check
1258 month "month" output.check
1259 year "year" output.check
1260 new.block
1261 format.note output
1262 new.sentence
1263 type missing$ 'skip$
1264 {"(" type capitalize * ")" * output}
1265 if$
1266 fin.entry
1267 write.url
1268 }
1269
1270 FUNCTION {proceedings}
1271 { output.bibitem
1272 editor empty$
1273 { organization "organization" bibinfo.check output
1274 }
1275 { format.editors output.nonnull }
1276 if$
1277 new.block
1278 format.btitle "title" output.check
1279 format.bvolume output
1280 format.number.series output
1281 editor empty$
1282 { publisher empty$
1283 {
1284 new.sentence
1285 format.publisher.address output
1286 }
1287 if$
1288 }
1289 { publisher empty$
1290 {
1291 new.sentence
1292 format.organization.address output }
1293 {
1294 new.sentence
1295 organization "organization" bibinfo.check output
1296 format.publisher.address output
1297 }
1298 if$
1299 }
1300 if$
1301 format.date "year" output.check
1302 new.block
1303 format.note output
1304 fin.entry
1305 write.url
1306 }
1307
1308 FUNCTION {techreport}
1309 { output.bibitem
1310 format.authors "author" output.check
1311 new.block
1312 format.title
1313 "title" output.check
1314 new.block
1315 format.tr.number emphasize output.nonnull
1316 institution "institution" bibinfo.warn output
1317 address "address" bibinfo.check output
1318 format.date "year" output.check
1319 new.block
1320 format.note output
1321 fin.entry
1322 write.url
1323 }
1324
1325 FUNCTION {unpublished}
1326 { output.bibitem
1327 format.authors "author" output.check
1328 new.block
1329 format.title "title" output.check
1330 format.date output
1331 new.block
1332 format.note "note" output.check
1333 fin.entry
1334 write.url
1335 }
1336
1337 FUNCTION {default.type} { misc }
1338 READ
1339 STRINGS { longest.label }
1340 INTEGERS { number.label longest.label.width }
1341 FUNCTION {initialize.longest.label}
1342 { "" 'longest.label :=
1343 #1 'number.label :=
1344 #0 'longest.label.width :=
1345 }
1346 FUNCTION {longest.label.pass}
1347 { number.label int.to.str$ 'label :=
1348 number.label #1 + 'number.label :=
1349 label width$ longest.label.width >
1350 { label 'longest.label :=
1351 label width$ 'longest.label.width :=
1352 }
1353 'skip$
1354 if$
1355 }
1356 EXECUTE {initialize.longest.label}
1357 ITERATE {longest.label.pass}
1358 FUNCTION {begin.bib}
1359 { preamble$ empty$
1360 'skip$
1361 { preamble$ write$ newline$ }
1362 if$
1363 "\begin{thebibliography}{" longest.label * "}" *
1364 write$ newline$
1365 "\providecommand{\url}[1]{\texttt{#1}}"
1366 write$ newline$
1367 "\providecommand{\urlprefix}{URL }"
1368 write$ newline$
1369 }
1370 EXECUTE {begin.bib}
1371 EXECUTE {init.state.consts}
1372 ITERATE {call.type$}
1373 FUNCTION {end.bib}
1374 { newline$
1375 "\end{thebibliography}" write$ newline$
1376 }
1377 EXECUTE {end.bib}
1378 %% End of customized bst file
1379 %%
1380 %% End of file `aichej.bst'.