Debian Codegraph @

texmf-dist/bibtex/bst/biolett-bst/biolett.bst

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