Debian Codegraph @

texmf-dist/bibtex/bst/aiaa/aiaa.bst

raw
1 %%
2 %% This is file `aiaa.bst',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% aiaa.dtx (with options: `bibstyle')
8 %%
9 %% Welcome to the AIAA LaTeX package.
10 %%
11 %% For further details and support, read the Users Manual, aiaa.pdf.
12 %%
13 %% This software is released under the terms of the LaTeX Project Public
14 %% License. Copyright (C) 2004 by Bil Kleb, Bill Wood, and Erich Knausenberger.
15 %%
16 %% Description: LaTeX package for AIAA technical conference papers.
17 %% Keywords: LaTeX, class, AIAA, BibTeX, bibliographic-style
18 %% Author: Bil Kleb, Bill Wood, Erich Knausenberger
19 %% Maintainer: same
20 %% Version: 3.6 <23 May 2004>
21 %%
22 %% Run (PDF)LaTeX on `aiaa.dtx' to obtain a Users Manual and code
23 %% documentation. Note: to get detailed code documentation you need to
24 %% comment out the \OnlyDescription line in `aiaa.dtx'.
25 %%
26 %% See `aiaa.ins' and the Users Manual for installation instructions.
27 %%
28 %% \CharacterTable
29 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
30 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
31 %% Digits \0\1\2\3\4\5\6\7\8\9
32 %% Exclamation \! Double quote \" Hash (number) \#
33 %% Dollar \$ Percent \% Ampersand \&
34 %% Acute accent \' Left paren \( Right paren \)
35 %% Asterisk \* Plus \+ Comma \,
36 %% Minus \- Point \. Solidus \/
37 %% Colon \: Semicolon \; Less than \<
38 %% Equals \= Greater than \> Question mark \?
39 %% Commercial at \@ Left bracket \[ Backslash \\
40 %% Right bracket \] Circumflex \^ Underscore \_
41 %% Grave accent \` Left brace \{ Vertical bar \|
42 %% Right brace \} Tilde \~}
43 ENTRY
44 { address
45 author
46 booktitle
47 chapter
48 edition
49 editor
50 howpublished
51 institution
52 journal
53 key
54 month
55 note
56 number
57 organization
58 pages
59 publisher
60 school
61 series
62 title
63 type
64 volume
65 year
66 }
67 {}
68 { label }
69
70 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
71
72 FUNCTION {init.state.consts}
73 { #0 'before.all :=
74 #1 'mid.sentence :=
75 #2 'after.sentence :=
76 #3 'after.block :=
77 }
78
79 STRINGS { s t }
80
81 FUNCTION {output.nonnull}
82 { 's :=
83 output.state mid.sentence =
84 { ", " * write$ }
85 { output.state after.block =
86 { add.period$ write$
87 newline$
88 "\newblock " write$
89 }
90 { output.state before.all =
91 'write$
92 { add.period$ " " * write$ }
93 if$
94 }
95 if$
96 mid.sentence 'output.state :=
97 }
98 if$
99 s
100 }
101
102 FUNCTION {output}
103 { duplicate$ empty$
104 'pop$
105 'output.nonnull
106 if$
107 }
108
109 FUNCTION {output.check}
110 { 't :=
111 duplicate$ empty$
112 { pop$ "empty " t * " in " * cite$ * warning$ }
113 'output.nonnull
114 if$
115 }
116
117 FUNCTION {fin.entry}
118 { add.period$
119 write$
120 newline$
121 }
122
123 FUNCTION {new.block}
124 { output.state before.all =
125 'skip$
126 { after.block 'output.state := }
127 if$
128 }
129
130 FUNCTION {new.sentence}
131 { output.state after.block =
132 'skip$
133 { output.state before.all =
134 'skip$
135 { after.sentence 'output.state := }
136 if$
137 }
138 if$
139 }
140
141 FUNCTION {add.blank}
142 { " " * before.all 'output.state :=
143 }
144
145 FUNCTION {date.block}
146 {
147 skip$
148 }
149
150 FUNCTION {not}
151 { { #0 }
152 { #1 }
153 if$
154 }
155
156 FUNCTION {and}
157 { 'skip$
158 { pop$ #0 }
159 if$
160 }
161
162 FUNCTION {or}
163 { { pop$ #1 }
164 'skip$
165 if$
166 }
167
168 FUNCTION {non.stop}
169 { duplicate$
170 "}" * add.period$
171 #-1 #1 substring$ "." =
172 }
173
174 FUNCTION {new.block.checka}
175 { empty$
176 'skip$
177 'new.block
178 if$
179 }
180
181 FUNCTION {new.block.checkb}
182 { empty$
183 swap$ empty$
184 and
185 'skip$
186 'new.block
187 if$
188 }
189
190 FUNCTION {new.sentence.checka}
191 { empty$
192 'skip$
193 'new.sentence
194 if$
195 }
196
197 FUNCTION {new.sentence.checkb}
198 { empty$
199 swap$ empty$
200 and
201 'skip$
202 'new.sentence
203 if$
204 }
205
206 FUNCTION {field.or.null}
207 { duplicate$ empty$
208 { pop$ "" }
209 'skip$
210 if$
211 }
212
213 FUNCTION {emphasize}
214 { duplicate$ empty$
215 { pop$ "" }
216 { "{\em " swap$ * "\/}" * }
217 if$
218 }
219
220 FUNCTION {capitalize}
221 { "u" change.case$ "t" change.case$ }
222
223 FUNCTION {space.word}
224 { " " swap$ * " " * }
225
226 FUNCTION {bbl.and}
227 { "and"}
228
229 FUNCTION {bbl.editors}
230 { "editors" }
231
232 FUNCTION {bbl.editor}
233 { "editor" }
234
235 FUNCTION {bbl.edby}
236 { "edited by" }
237
238 FUNCTION {bbl.edition}
239 { "ed." }
240
241 FUNCTION {bbl.volume}
242 { "Vol." }
243
244 FUNCTION {bbl.of}
245 { "of" }
246
247 FUNCTION {bbl.number}
248 { "No." }
249
250 FUNCTION {bbl.nr}
251 { "No." }
252
253 FUNCTION {bbl.in}
254 { "in" }
255
256 FUNCTION {bbl.pages}
257 { "pp." }
258
259 FUNCTION {bbl.page}
260 { "p." }
261
262 FUNCTION {bbl.chapter}
263 { "chap." }
264
265 FUNCTION {bbl.techrep}
266 { "Tech. Rep." }
267
268 FUNCTION {bbl.mthesis}
269 { "Master's thesis" }
270
271 FUNCTION {bbl.phdthesis}
272 { "Ph.D. thesis" }
273
274 FUNCTION {bbl.first}
275 { "1st" }
276
277 FUNCTION {bbl.second}
278 { "2nd" }
279
280 FUNCTION {bbl.third}
281 { "3rd" }
282
283 FUNCTION {bbl.fourth}
284 { "4th" }
285
286 FUNCTION {bbl.fifth}
287 { "5th" }
288
289 FUNCTION {bbl.st}
290 { "st" }
291
292 FUNCTION {bbl.nd}
293 { "nd" }
294
295 FUNCTION {bbl.rd}
296 { "rd" }
297
298 FUNCTION {bbl.th}
299 { "th" }
300
301 MACRO {jan} {"Jan."}
302
303 MACRO {feb} {"Feb."}
304
305 MACRO {mar} {"March"}
306
307 MACRO {apr} {"April"}
308
309 MACRO {may} {"May"}
310
311 MACRO {jun} {"June"}
312
313 MACRO {jul} {"July"}
314
315 MACRO {aug} {"Aug."}
316
317 MACRO {sep} {"Sept."}
318
319 MACRO {oct} {"Oct."}
320
321 MACRO {nov} {"Nov."}
322
323 MACRO {dec} {"Dec."}
324
325 MACRO {jan-feb} {"Jan.-Feb."}
326
327 MACRO {mar-apr} {"Mar.-Apr."}
328
329 MACRO {may-jun} {"May-Jun."}
330
331 MACRO {jul-aug} {"Jul.-Aug."}
332
333 MACRO {sep-oct} {"Sep.-Oct."}
334
335 MACRO {nov-dec} {"Nov.-Dec."}
336
337 FUNCTION {eng.ord}
338 { duplicate$ "1" swap$ *
339 #-2 #1 substring$ "1" =
340 { bbl.th * }
341 { duplicate$ #-1 #1 substring$
342 duplicate$ "1" =
343 { pop$ bbl.st * }
344 { duplicate$ "2" =
345 { pop$ bbl.nd * }
346 { "3" =
347 { bbl.rd * }
348 { bbl.th * }
349 if$
350 }
351 if$
352 }
353 if$
354 }
355 if$
356 }
357
358 MACRO {jsr} {"Journal of Spacecraft and Rockets"}
359
360 MACRO {aa} {"Aerospace America"}
361
362 MACRO {Sb} {"Space News"}
363
364 MACRO {awst} {"Aviation Week \& Space Technology"}
365
366 MACRO {jcp} {"Journal of Computational Physics"}
367
368 MACRO {ijcfd} {"International Journal of Computational Fluid Dynamics"}
369
370 MACRO {ijnme} {"International Journal for Numerical Methods in Engineering"}
371
372 MACRO {acmcs} {"ACM Computing Surveys"}
373
374 MACRO {acta} {"Acta Informatica"}
375
376 MACRO {cacm} {"Communications of the ACM"}
377
378 MACRO {ibmjrd} {"IBM Journal of Research and Development"}
379
380 MACRO {ibmsj} {"IBM Systems Journal"}
381
382 MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
383
384 MACRO {ieeetc} {"IEEE Transactions on Computers"}
385
386 MACRO {ieeetcad}
387 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
388
389 MACRO {ipl} {"Information Processing Letters"}
390
391 MACRO {jacm} {"Journal of the ACM"}
392
393 MACRO {jcss} {"Journal of Computer and System Sciences"}
394
395 MACRO {scp} {"Science of Computer Programming"}
396
397 MACRO {sicomp} {"SIAM Journal on Computing"}
398
399 MACRO {tocs} {"ACM Transactions on Computer Systems"}
400
401 MACRO {tods} {"ACM Transactions on Database Systems"}
402
403 MACRO {tog} {"ACM Transactions on Graphics"}
404
405 MACRO {toms} {"ACM Transactions on Mathematical Software"}
406
407 MACRO {toois} {"ACM Transactions on Office Information Systems"}
408
409 MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
410
411 MACRO {tcs} {"Theoretical Computer Science"}
412
413 INTEGERS { nameptr namesleft numnames }
414
415 FUNCTION {format.names}
416 { 's :=
417 #1 'nameptr :=
418 s num.names$ 'numnames :=
419 numnames 'namesleft :=
420 { namesleft #0 > }
421 { s nameptr
422 "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
423 nameptr #1 >
424 {
425 namesleft #1 >
426 { ", " * t * }
427 {
428 numnames #2 >
429 { "," * }
430 'skip$
431 if$
432 t "others" =
433 { " et~al." * }
434 { bbl.and space.word * t * }
435 if$
436 }
437 if$
438 }
439 't
440 if$
441 nameptr #1 + 'nameptr :=
442 namesleft #1 - 'namesleft :=
443 }
444 while$
445 }
446
447 FUNCTION {format.names.ed}
448 { 's :=
449 #1 'nameptr :=
450 s num.names$ 'numnames :=
451 numnames 'namesleft :=
452 { namesleft #0 > }
453 { s nameptr
454 "{f.~}{vv~}{ll}{, jj}"
455 format.name$ 't :=
456 nameptr #1 >
457 {
458 namesleft #1 >
459 { ", " * t * }
460 {
461 numnames #2 >
462 { "," * }
463 'skip$
464 if$
465 t "others" =
466 { " et~al." * }
467 { bbl.and space.word * t * }
468 if$
469 }
470 if$
471 }
472 't
473 if$
474 nameptr #1 + 'nameptr :=
475 namesleft #1 - 'namesleft :=
476 }
477 while$
478 }
479
480 FUNCTION {format.authors}
481 { author empty$
482 { "" }
483 {
484 author format.names
485 }
486 if$
487 }
488
489 FUNCTION {format.editors}
490 { editor empty$
491 { "" }
492 {
493 editor format.names
494 editor num.names$ #1 >
495 { ", " * bbl.editors * }
496 { ", " * bbl.editor * }
497 if$
498 }
499 if$
500 }
501
502 FUNCTION {format.in.editors}
503 { editor empty$
504 { "" }
505 { editor format.names.ed
506 }
507 if$
508 }
509
510 FUNCTION {format.title}
511 { title empty$
512 { "" }
513 { title
514 "\enquote{" swap$ *
515 non.stop
516 { ",} " * }
517 { "} " * }
518 if$
519 }
520 if$
521 }
522
523 FUNCTION {end.quote.title}
524 { title empty$
525 'skip$
526 { before.all 'output.state := }
527 if$
528 }
529
530 FUNCTION {output.bibitem}
531 { newline$
532 "\bibitem{" write$
533 cite$ write$
534 "}" write$
535 newline$
536 ""
537 before.all 'output.state :=
538 }
539
540 FUNCTION {n.dashify}
541 { 't :=
542 ""
543 { t empty$ not }
544 { t #1 #1 substring$ "-" =
545 { t #1 #2 substring$ "--" = not
546 { "--" *
547 t #2 global.max$ substring$ 't :=
548 }
549 { { t #1 #1 substring$ "-" = }
550 { "-" *
551 t #2 global.max$ substring$ 't :=
552 }
553 while$
554 }
555 if$
556 }
557 { t #1 #1 substring$ *
558 t #2 global.max$ substring$ 't :=
559 }
560 if$
561 }
562 while$
563 }
564
565 FUNCTION {word.in}
566 { "" }
567
568 FUNCTION {format.date}
569 { year empty$
570 { month empty$
571 { "" }
572 { "there's a month but no year in " cite$ * warning$
573 month
574 }
575 if$
576 }
577 { month empty$
578 'year
579 { month " " * year * }
580 if$
581 }
582 if$
583 }
584
585 FUNCTION {format.btitle}
586 { title emphasize
587 }
588
589 FUNCTION {tie.or.space.connect}
590 { duplicate$ text.length$ #3 <
591 { "~" }
592 { " " }
593 if$
594 swap$ * *
595 }
596
597 FUNCTION {either.or.check}
598 { empty$
599 'pop$
600 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
601 if$
602 }
603
604 FUNCTION {format.bvolume}
605 { volume empty$
606 { "" }
607 { bbl.volume volume tie.or.space.connect
608 series empty$
609 'skip$
610 { bbl.of space.word * series emphasize * }
611 if$
612 "volume and number" number either.or.check
613 }
614 if$
615 }
616
617 FUNCTION {format.number.series}
618 { volume empty$
619 { number empty$
620 { series field.or.null }
621 { output.state mid.sentence =
622 { bbl.number }
623 { bbl.number capitalize }
624 if$
625 number tie.or.space.connect
626 series empty$
627 { "there's a number but no series in " cite$ * warning$ }
628 { bbl.in space.word * series * }
629 if$
630 }
631 if$
632 }
633 { "" }
634 if$
635 }
636
637 FUNCTION {is.num}
638 { chr.to.int$
639 duplicate$ "0" chr.to.int$ < not
640 swap$ "9" chr.to.int$ > not and
641 }
642
643 FUNCTION {extract.num}
644 { duplicate$ 't :=
645 "" 's :=
646 { t empty$ not }
647 { t #1 #1 substring$
648 t #2 global.max$ substring$ 't :=
649 duplicate$ is.num
650 { s swap$ * 's := }
651 { pop$ "" 't := }
652 if$
653 }
654 while$
655 s empty$
656 'skip$
657 { pop$ s }
658 if$
659 }
660
661 FUNCTION {convert.edition}
662 { edition extract.num "l" change.case$ 's :=
663 s "first" = s "1" = or
664 { bbl.first 't := }
665 { s "second" = s "2" = or
666 { bbl.second 't := }
667 { s "third" = s "3" = or
668 { bbl.third 't := }
669 { s "fourth" = s "4" = or
670 { bbl.fourth 't := }
671 { s "fifth" = s "5" = or
672 { bbl.fifth 't := }
673 { s #1 #1 substring$ is.num
674 { s eng.ord 't := }
675 { edition 't := }
676 if$
677 }
678 if$
679 }
680 if$
681 }
682 if$
683 }
684 if$
685 }
686 if$
687 t
688 }
689
690 FUNCTION {format.edition}
691 { edition empty$
692 { "" }
693 { output.state mid.sentence =
694 { convert.edition "l" change.case$ " " * bbl.edition * }
695 { convert.edition "t" change.case$ " " * bbl.edition * }
696 if$
697 }
698 if$
699 }
700
701 INTEGERS { multiresult }
702
703 FUNCTION {multi.page.check}
704 { 't :=
705 #0 'multiresult :=
706 { multiresult not
707 t empty$ not
708 and
709 }
710 { t #1 #1 substring$
711 duplicate$ "-" =
712 swap$ duplicate$ "," =
713 swap$ "+" =
714 or or
715 { #1 'multiresult := }
716 { t #2 global.max$ substring$ 't := }
717 if$
718 }
719 while$
720 multiresult
721 }
722
723 FUNCTION {format.pages}
724 { pages empty$
725 { "" }
726 { pages multi.page.check
727 { bbl.pages pages n.dashify tie.or.space.connect }
728 { bbl.page pages tie.or.space.connect }
729 if$
730 }
731 if$
732 }
733
734 FUNCTION {format.journal.pages}
735 {
736 pages empty$
737 'skip$
738 { duplicate$ empty$
739 { pop$ format.pages }
740 { ", " * bbl.pages "~" * * pages n.dashify * }
741 if$
742 }
743 if$
744 }
745
746 FUNCTION {format.vol.num.pages}
747 { volume field.or.null
748 volume empty$
749 'skip$
750 { bbl.volume "~" * swap$ * }
751 if$
752 number empty$
753 'skip$
754 {
755 ", " bbl.nr * number tie.or.space.connect *
756 volume empty$
757 { "there's a number but no volume in " cite$ * warning$ }
758 'skip$
759 if$
760 }
761 if$
762 }
763
764 FUNCTION {format.chapter.pages}
765 { chapter empty$
766 { "" }
767 { type empty$
768 { bbl.chapter }
769 { type "l" change.case$ }
770 if$
771 chapter tie.or.space.connect
772 }
773 if$
774 }
775
776 FUNCTION {format.in.ed.booktitle}
777 { booktitle empty$
778 { "" }
779 { editor empty$
780 { word.in booktitle emphasize * }
781 { word.in booktitle emphasize *
782 ", " *
783 bbl.edby
784 *
785 " " *
786 format.in.editors *
787 }
788 if$
789 }
790 if$
791 }
792
793 FUNCTION {empty.misc.check}
794 { author empty$ title empty$ howpublished empty$
795 month empty$ year empty$ note empty$
796 and and and and and
797 { "all relevant fields are empty in " cite$ * warning$ }
798 'skip$
799 if$
800 }
801
802 FUNCTION {format.thesis.type}
803 { type empty$
804 'skip$
805 { pop$
806 type "t" change.case$
807 }
808 if$
809 }
810
811 FUNCTION {format.tr.number}
812 { type empty$
813 { bbl.techrep }
814 'type
815 if$
816 number empty$
817 { "t" change.case$ }
818 { number tie.or.space.connect }
819 if$
820 }
821
822 FUNCTION {format.article.crossref}
823 {
824 key empty$
825 { journal empty$
826 { "need key or journal for " cite$ * " to crossref " * crossref *
827 warning$
828 ""
829 }
830 { word.in journal emphasize * }
831 if$
832 }
833 { word.in key * " " *}
834 if$
835 " \cite{" * crossref * "}" *
836 }
837
838 FUNCTION {format.crossref.editor}
839 { editor #1 "{vv~}{ll}" format.name$
840 editor num.names$ duplicate$
841 #2 >
842 { pop$ " et~al." * }
843 { #2 <
844 'skip$
845 { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
846 { " et~al." * }
847 { bbl.and space.word * editor #2 "{vv~}{ll}" format.name$ * }
848 if$
849 }
850 if$
851 }
852 if$
853 }
854
855 FUNCTION {format.book.crossref}
856 { volume empty$
857 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
858 word.in
859 }
860 { bbl.volume volume tie.or.space.connect
861 bbl.of space.word *
862 }
863 if$
864 editor empty$
865 editor field.or.null author field.or.null =
866 or
867 { key empty$
868 { series empty$
869 { "need editor, key, or series for " cite$ * " to crossref " *
870 crossref * warning$
871 "" *
872 }
873 { series emphasize * }
874 if$
875 }
876 { key * }
877 if$
878 }
879 { format.crossref.editor * }
880 if$
881 " \cite{" * crossref * "}" *
882 }
883
884 FUNCTION {format.incoll.inproc.crossref}
885 {
886 editor empty$
887 editor field.or.null author field.or.null =
888 or
889 { key empty$
890 { booktitle empty$
891 { "need editor, key, or booktitle for " cite$ * " to crossref " *
892 crossref * warning$
893 ""
894 }
895 { word.in booktitle emphasize * }
896 if$
897 }
898 { word.in key * " " *}
899 if$
900 }
901 { word.in format.crossref.editor * " " *}
902 if$
903 " \cite{" * crossref * "}" *
904 }
905
906 FUNCTION {format.publisher}
907 { publisher empty$
908 { "empty publisher in " cite$ * warning$ }
909 'skip$
910 if$
911 ""
912 address empty$ publisher empty$ and
913 'skip$
914 {
915 publisher empty$
916 { address empty$
917 'skip$
918 { address * }
919 if$
920 }
921 { publisher *
922 address empty$
923 'skip$
924 { ", " * address * }
925 if$
926 }
927 if$
928 }
929 if$
930 output
931 }
932
933 FUNCTION {article}
934 { output.bibitem
935 format.authors "author" output.check
936 format.title "title" output.check
937 end.quote.title
938 crossref missing$
939 { journal
940 emphasize
941 "journal" output.check
942 format.vol.num.pages output
943 format.date "year" output.check
944 }
945 { format.article.crossref output.nonnull
946 format.pages output
947 }
948 if$
949 format.journal.pages
950 note output
951 fin.entry
952 }
953
954 FUNCTION {book}
955 { output.bibitem
956 author empty$
957 { format.editors "author and editor" output.check
958 }
959 { format.authors output.nonnull
960 crossref missing$
961 { "author and editor" editor either.or.check }
962 'skip$
963 if$
964 }
965 if$
966 format.btitle "title" output.check
967 crossref missing$
968 { format.bvolume output
969 format.number.series output
970 format.publisher
971 }
972 {
973 format.book.crossref output.nonnull
974 }
975 if$
976 format.edition output
977 format.date "year" output.check
978 note output
979 fin.entry
980 }
981
982 FUNCTION {booklet}
983 { output.bibitem
984 format.authors output
985 format.title "title" output.check
986 end.quote.title
987 howpublished output
988 address output
989 format.date output
990 note output
991 fin.entry
992 }
993
994 FUNCTION {inbook}
995 { output.bibitem
996 author empty$
997 { format.editors "author and editor" output.check
998 }
999 { format.authors output.nonnull
1000 crossref missing$
1001 { "author and editor" editor either.or.check }
1002 'skip$
1003 if$
1004 }
1005 if$
1006 format.btitle "title" output.check
1007 crossref missing$
1008 {
1009 format.bvolume output
1010 format.chapter.pages "chapter and pages" output.check
1011 format.number.series output
1012 format.publisher
1013 }
1014 {
1015 format.chapter.pages "chapter and pages" output.check
1016 format.book.crossref output.nonnull
1017 }
1018 if$
1019 format.edition output
1020 format.date "year" output.check
1021 format.pages "pages" output.check
1022 note output
1023 fin.entry
1024 }
1025
1026 FUNCTION {incollection}
1027 { output.bibitem
1028 format.authors "author" output.check
1029 format.title "title" output.check
1030 end.quote.title
1031 crossref missing$
1032 { format.in.ed.booktitle "booktitle" output.check
1033 format.bvolume output
1034 format.number.series output
1035 format.chapter.pages output
1036 format.publisher
1037 format.edition output
1038 format.date "year" output.check
1039 }
1040 { format.incoll.inproc.crossref output.nonnull
1041 format.chapter.pages output
1042 }
1043 if$
1044 format.pages "pages" output.check
1045 note output
1046 fin.entry
1047 }
1048
1049 FUNCTION {inproceedings}
1050 { output.bibitem
1051 format.authors "author" output.check
1052 format.title "title" output.check
1053 end.quote.title
1054 crossref missing$
1055 { format.in.ed.booktitle "booktitle" output.check
1056 format.bvolume output
1057 format.number.series output
1058 publisher empty$
1059 { organization output
1060 address output
1061 }
1062 { organization output
1063 format.publisher
1064 }
1065 if$
1066 format.date "year" output.check
1067 }
1068 { format.incoll.inproc.crossref output.nonnull
1069 format.pages output
1070 }
1071 if$
1072 format.pages "pages" output.check
1073 note output
1074 fin.entry
1075 }
1076
1077 FUNCTION {conference} { inproceedings }
1078
1079 FUNCTION {manual}
1080 { output.bibitem
1081 author empty$
1082 { organization empty$
1083 'skip$
1084 { organization output.nonnull
1085 address output
1086 }
1087 if$
1088 }
1089 { format.authors output.nonnull }
1090 if$
1091 format.btitle "title" output.check
1092 author empty$
1093 { organization empty$
1094 {
1095 address output
1096 }
1097 'skip$
1098 if$
1099 }
1100 {
1101 organization output
1102 address output
1103 }
1104 if$
1105 format.edition output
1106 format.date output
1107 note output
1108 fin.entry
1109 }
1110
1111 FUNCTION {mastersthesis}
1112 { output.bibitem
1113 format.authors "author" output.check
1114 format.btitle "title" output.check
1115 bbl.mthesis format.thesis.type output.nonnull
1116 school "school" output.check
1117 address output
1118 format.date "year" output.check
1119 note output
1120 fin.entry
1121 }
1122
1123 FUNCTION {misc}
1124 { output.bibitem
1125 format.authors output
1126 format.title output
1127 end.quote.title
1128 howpublished output
1129 format.date output
1130 note output
1131 fin.entry
1132 empty.misc.check
1133 }
1134
1135 FUNCTION {phdthesis}
1136 { output.bibitem
1137 format.authors "author" output.check
1138 format.btitle "title" output.check
1139 bbl.phdthesis format.thesis.type output.nonnull
1140 school "school" output.check
1141 address output
1142 format.date "year" output.check
1143 note output
1144 fin.entry
1145 }
1146
1147 FUNCTION {proceedings}
1148 { output.bibitem
1149 editor empty$
1150 { organization output }
1151 { format.editors output.nonnull }
1152 if$
1153 format.btitle "title" output.check
1154 format.bvolume output
1155 format.number.series output
1156 address empty$
1157 { editor empty$
1158 { publisher new.sentence.checka }
1159 { organization publisher new.sentence.checkb
1160 organization output
1161 }
1162 if$
1163 publisher output
1164 format.date "year" output.check
1165 }
1166 { address output.nonnull
1167 format.date "year" output.check
1168 editor empty$
1169 'skip$
1170 { organization output }
1171 if$
1172 publisher output
1173 }
1174 if$
1175 note output
1176 fin.entry
1177 }
1178
1179 FUNCTION {techreport}
1180 { output.bibitem
1181 format.authors "author" output.check
1182 format.title "title" output.check
1183 end.quote.title
1184 format.tr.number output.nonnull
1185 institution "institution" output.check
1186 address output
1187 format.date "year" output.check
1188 note output
1189 fin.entry
1190 }
1191
1192 FUNCTION {unpublished}
1193 { output.bibitem
1194 format.authors "author" output.check
1195 format.title "title" output.check
1196 end.quote.title
1197 note "note" output.check
1198 fin.entry
1199 }
1200
1201 FUNCTION {default.type} { misc }
1202
1203 READ
1204
1205 STRINGS { longest.label }
1206
1207 INTEGERS { number.label longest.label.width }
1208
1209 FUNCTION {initialize.longest.label}
1210 { "" 'longest.label :=
1211 #1 'number.label :=
1212 #0 'longest.label.width :=
1213 }
1214
1215 FUNCTION {longest.label.pass}
1216 { number.label int.to.str$ 'label :=
1217 number.label #1 + 'number.label :=
1218 label width$ longest.label.width >
1219 { label 'longest.label :=
1220 label width$ 'longest.label.width :=
1221 }
1222 'skip$
1223 if$
1224 }
1225
1226 EXECUTE {initialize.longest.label}
1227
1228 ITERATE {longest.label.pass}
1229
1230 FUNCTION {begin.bib}
1231 { preamble$ empty$
1232 'skip$
1233 { preamble$ write$ newline$ }
1234 if$
1235 "\begin{thebibliography}{" longest.label * "}" *
1236 write$ newline$
1237 "\newcommand{\enquote}[1]{``#1''}"
1238 write$ newline$
1239 }
1240
1241 EXECUTE {begin.bib}
1242
1243 EXECUTE {init.state.consts}
1244
1245 ITERATE {call.type$}
1246
1247 FUNCTION {end.bib}
1248 { newline$
1249 "\end{thebibliography}" write$ newline$
1250 }
1251
1252 EXECUTE {end.bib}
1253 %%
1254 %%
1255 %% End of file `aiaa.bst'.