Debian Codegraph @

texmf-dist/bibtex/bst/fbs/fbs.bst

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