Debian Codegraph @

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

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