Debian Codegraph @

texmf-dist/bibtex/bst/economic/oega.bst

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