Debian Codegraph @

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

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