Debian Codegraph @

texmf-dist/bibtex/bst/revtex/apsrmp4-2.bst

raw
1 %%
2 %% This is file `apsrmp4-2.bst', and is a hand-edited version of apsrmp4-1.bst
3 % ===============================================================
4 % IMPORTANT NOTICE:
5 % This file can be redistributed and/or modified under the terms
6 % of the LaTeX Project Public License Distributed from CTAN
7 % archives in directory macros/latex/base/lppl.txt; either
8 % version 1 of the License, or any later version.
9 % ===============================================================
10 %-------------------------------------------------------------------
11 % This bibliography style file is intended for texts in ENGLISH
12 % This is an author-year citation style bibliography. As such, it is
13 % non-standard LaTeX, and requires a special package file to function properly.
14 % Such a package is natbib.sty by Patrick W. Daly
15 % The form of the \bibitem entries is
16 % \bibitem[Jones et al.(1990)]{key}...
17 % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
18 % The essential feature is that the label (the part in brackets) consists
19 % of the author names, as they should appear in the citation, with the year
20 % in parentheses following. There must be no space before the opening
21 % parenthesis!
22 % With natbib v5.3, a full list of authors may also follow the year.
23 % In natbib.sty, it is possible to define the type of enclosures that is
24 % really wanted (brackets or parentheses), but in either case, there must
25 % be parentheses in the label.
26 % The \cite command functions as follows:
27 % \citet{key} ==>> Jones et al. (1990)
28 % \citet*{key} ==>> Jones, Baker, and Smith (1990)
29 % \citep{key} ==>> (Jones et al., 1990)
30 % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
31 % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
32 % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
33 % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
34 % \citeauthor{key} ==>> Jones et al.
35 % \citeauthor*{key} ==>> Jones, Baker, and Smith
36 % \citeyear{key} ==>> 1990
37 %---------------------------------------------------------------------
38
39 FUNCTION {id.bst} {"apsrmp4-2.bst 2018-12-27 (MD) hand-edited version of apsrmp4-1.bst"}
40 ENTRY
41 {
42 address
43 archive
44 archivePrefix
45 author
46 bookaddress
47 booktitle
48 chapter
49 collaboration
50 doi
51 edition
52 editor
53 eid
54 eprint
55 howpublished
56 institution
57 isbn
58 issn
59 journal
60 key
61 language
62 month
63 note
64 number
65 organization
66 pages
67 primaryClass
68 publisher
69 school
70 SLACcitation
71 series
72 title
73 translation
74 type
75 url
76 volume
77 year
78 }{
79 }{
80 label
81 extra.label sort.label
82 short.list
83 }
84
85 INTEGERS
86 {
87 output.state before.all
88 after.word after.punctuation
89 after.sentence after.block
90 }
91
92 INTEGERS
93 {
94 punctuation.state punctuation.no punctuation.space punctuation.yes
95 }
96
97 STRINGS { bibfield output.bibfield }
98
99 FUNCTION {not}
100 { { #0 }
101 { #1 }
102 if$
103 }
104
105 FUNCTION {and}
106 { 'skip$
107 { pop$ #0 }
108 if$
109 }
110
111 FUNCTION {or}
112 { { pop$ #1 }
113 'skip$
114 if$
115 }
116
117 FUNCTION {non.stop}
118 { duplicate$
119 "}" * add.period$
120 #-1 #1 substring$ "." =
121 }
122
123 INTEGERS { arith.mulitplier arith.multiplicand }
124
125 FUNCTION {multiply}
126 {
127 'arith.multiplicand :=
128 'arith.mulitplier :=
129 #0
130 { arith.mulitplier #0 > }
131 { arith.multiplicand +
132 arith.mulitplier #1 - 'arith.mulitplier :=
133 }
134 while$
135 }
136
137 FUNCTION {chr.to.hex}
138 {
139 chr.to.int$
140 duplicate$ "0" chr.to.int$ -
141 duplicate$ duplicate$ #0 < swap$ #9 > or not
142 { swap$ pop$ }
143 { pop$
144 duplicate$ "A" chr.to.int$ -
145 duplicate$ duplicate$ #0 < swap$ #5 > or not
146 { swap$ pop$ #10 + }
147 { pop$
148 duplicate$ "a" chr.to.int$ -
149 duplicate$ duplicate$ #0 < swap$ #5 > or not
150 { swap$ pop$ #10 + }
151 { pop$
152 pop$ #-1
153 }
154 if$
155 }
156 if$
157 }
158 if$
159 }
160
161 INTEGERS { arith.accumulator }
162
163 FUNCTION {str.to.hex}
164 { #0 'arith.accumulator :=
165 { duplicate$ empty$ not }
166 { duplicate$ #1 #1 substring$ chr.to.hex
167 duplicate$ #0 <
168 { pop$ pop$ ""
169 }
170 { arith.accumulator #16 multiply + 'arith.accumulator :=
171 #2 global.max$ substring$
172 }
173 if$
174 }
175 while$
176 pop$ arith.accumulator
177 }
178
179 FUNCTION {diagn.cmntlog}
180 {
181 duplicate$ top$ "%" swap$ * write$ newline$
182 }
183
184 INTEGERS { control.key control.author control.editor control.title control.pages control.eprint control.year }
185
186 INTEGERS { control.author.jnrlst control.author.dotless control.author.nospace control.author.initials control.author.nocomma control.author.first control.author.reversed }
187
188 FUNCTION { control.init }
189 {
190 #0
191 'control.key :=
192 #0
193 #1 +
194 #2 +
195 #8 +
196 #64 +
197 'control.author :=
198 #1
199 'control.author.jnrlst :=
200 #0
201 'control.author.dotless :=
202 #0
203 'control.author.nospace :=
204 #1
205 'control.author.initials :=
206 #0
207 'control.author.nocomma :=
208 #1
209 'control.author.first :=
210 #1
211 'control.author.reversed :=
212 #0
213 'control.editor :=
214 #-1
215 'control.title :=
216 #0
217 'control.pages :=
218 #0
219 'control.eprint :=
220 #1
221 'control.year :=
222 }
223
224 FUNCTION {warning.dependency}
225 {
226 " (dependency: " * swap$ * ") set " * swap$ int.to.str$ * warning$
227 }
228
229 FUNCTION {control.check}
230 {
231 control.editor
232 {
233 "editor formatted same as author"
234 control.author.reversed {
235 duplicate$ #0 swap$ "reversed" warning.dependency
236 #0 'control.author.reversed :=
237 } 'skip$ if$
238 control.author.first {
239 duplicate$ #0 swap$ "first" warning.dependency
240 #0 'control.author.first :=
241 } 'skip$ if$
242 control.author.nocomma {
243 duplicate$ #0 swap$ "nocomma" warning.dependency
244 #0 'control.author.nocomma :=
245 } 'skip$ if$
246 pop$
247 } 'skip$ if$
248 control.author.reversed 'skip$
249 {
250 "not reversed"
251 control.author.nospace {
252 duplicate$ #0 swap$ "nospace" warning.dependency
253 #0 'control.author.nospace :=
254 } 'skip$ if$
255 control.author.jnrlst 'skip$ {
256 duplicate$ #1 swap$ "jnrlst" warning.dependency
257 #1 'control.author.jnrlst :=
258 } if$
259 control.author.initials {
260 duplicate$ ", initials" *
261 control.author.dotless {
262 duplicate$ #0 swap$ "dotless" warning.dependency
263 #0 'control.author.dotless :=
264 } 'skip$ if$
265 pop$
266 } 'skip$ if$
267 pop$
268 }
269 if$
270 control.author.initials 'skip$ {
271 "not initials"
272 control.author.nocomma {
273 duplicate$ #0 swap$ "nocomma" warning.dependency
274 #0 'control.author.nocomma :=
275 } 'skip$ if$
276 control.author.nospace {
277 duplicate$ #0 swap$ "nospace" warning.dependency
278 #0 'control.author.nospace :=
279 } 'skip$ if$
280 control.author.dotless 'skip$ {
281 duplicate$ #1 swap$ "dotless" warning.dependency
282 #1 'control.author.dotless :=
283 } if$
284 pop$
285 } if$
286 }
287
288 FUNCTION {control.parse}
289 {
290 duplicate$ duplicate$ missing$
291 {
292 pop$ pop$ pop$
293 }
294 { empty$
295 {
296 pop$ #-1
297 }{
298 str.to.hex
299 }
300 if$
301 swap$ :=
302 }
303 if$
304 }
305
306 FUNCTION {control.dump}
307 {
308 duplicate$ missing$ { pop$ "N/A" } 'skip$ if$
309 "{" swap$ * "}, " *
310 *
311 }
312
313 INTEGERS { decode.threshold }
314
315 FUNCTION {control.decode}
316 {
317 - duplicate$
318 #0 <
319 {
320 skip$ pop$ swap$ #0
321 }
322 {
323 swap$ pop$ swap$ #1
324 }
325 if$
326 swap$ :=
327 }
328
329 FUNCTION {control.author.decode}
330 {
331 control.author
332 duplicate$ duplicate$ #0 < swap$ #128 < not or
333 {
334 int.to.str$ "(" swap$ * ")" *
335 "Control cannot interpret author " swap$ *
336 warning$
337 }{
338 'control.author.jnrlst swap$ duplicate$ #64 control.decode
339 'control.author.dotless swap$ duplicate$ #32 control.decode
340 'control.author.nospace swap$ duplicate$ #16 control.decode
341 'control.author.initials swap$ duplicate$ #8 control.decode
342 'control.author.nocomma swap$ duplicate$ #4 control.decode
343 'control.author.first swap$ duplicate$ #2 control.decode
344 'control.author.reversed swap$ duplicate$ #1 control.decode
345 duplicate$ #0 =
346 'skip$
347 {
348 "Control: residue of author"
349 "(" swap$ * ")" * *
350 warning$
351 }
352 if$
353 pop$
354 }
355 if$
356 }
357
358 FUNCTION {control.setup}
359 {
360 type$ cite$ "{" swap$ * "}, " * *
361 "control.key" key control.dump *
362 "control.author" author control.dump *
363 "control.editor" editor control.dump *
364 "control.title" title control.dump *
365 "control.pages" pages control.dump *
366 "control.year" year control.dump *
367 "control.eprint" eprint control.dump *
368 top$
369 'control.key key control.parse
370 'control.author author control.parse
371 'control.editor editor control.parse
372 'control.title title control.parse
373 'control.pages pages control.parse
374 'control.year year control.parse
375 'control.eprint eprint control.parse
376 control.author.decode
377 }
378
379 FUNCTION {control.pass}
380 { type$ "control" = 'control.setup 'skip$ if$
381 }
382
383 FUNCTION {control.presort}
384 {
385 }
386
387 FUNCTION {control.forward}
388 {
389 }
390
391 FUNCTION {control.reverse}
392 {
393 }
394
395 FUNCTION {control.sort}
396 {
397 }
398
399 FUNCTION {control.longest.label}
400 {
401 }
402
403 FUNCTION {control.key.bib}
404 {
405 "Control: key "
406 control.key
407 duplicate$ "(" swap$ int.to.str$ * ") " * swap$
408 pop$ *
409 diagn.cmntlog
410 }
411
412 FUNCTION {control.author.bib}
413 {
414 "Control: author "
415 control.author "(" swap$ int.to.str$ * ")" * *
416 control.author.reversed { " reversed" * }{} if$
417 control.author.first { " first" * }{} if$
418 control.author.nocomma { " nocomma" * }{} if$
419 control.author.initials { " initials" * }{} if$
420 control.author.nospace { " nospace" * }{} if$
421 control.author.dotless { " dotless" * }{} if$
422 control.author.jnrlst { " jnrlst" * }{} if$
423 diagn.cmntlog
424 }
425
426 FUNCTION {control.editor.bib}
427 {
428 "Control: editor formatted "
429 control.editor
430 duplicate$ "(" swap$ int.to.str$ * ") " * swap$
431 duplicate$ #0 < {
432 pop$
433 "disabled!"
434 } {
435 #0 > {
436 "identically to author"
437 } {
438 "differently from author"
439 } if$
440 } if$ * *
441 diagn.cmntlog
442 }
443
444 FUNCTION {control.title.bib}
445 {
446 "Control: production of article title "
447 control.title
448 duplicate$ "(" swap$ int.to.str$ * ") " * swap$
449 duplicate$ #0 < {
450 pop$
451 "disabled"
452 } {
453 #0 > {
454 "required"
455 } {
456 "allowed"
457 } if$
458 } if$ * *
459 diagn.cmntlog
460 }
461
462 FUNCTION {control.pages.bib}
463 {
464 "Control: page "
465 control.pages
466 duplicate$ "(" swap$ int.to.str$ * ") " * swap$
467 duplicate$ #0 < {
468 pop$
469 "none"
470 } {
471 #0 > {
472 "range"
473 } {
474 "single"
475 } if$
476 } if$ * *
477 diagn.cmntlog
478 }
479
480 FUNCTION {control.year.bib}
481 {
482 "Control: year "
483 control.year
484 duplicate$ "(" swap$ int.to.str$ * ") " * swap$
485 duplicate$ #0 < {
486 pop$
487 "disabled!"
488 } {
489 #0 > {
490 "truncated"
491 } {
492 "verbatim"
493 } if$
494 } if$ * *
495 diagn.cmntlog
496 }
497
498 FUNCTION {control.eprint.bib}
499 {
500 "Control: production of eprint "
501 control.eprint
502 duplicate$ "(" swap$ int.to.str$ * ") " * swap$
503 #0 < { "disabled" } { "enabled" } if$ * *
504 diagn.cmntlog
505 }
506
507 FUNCTION {control.bib}
508 {
509 control.key.bib
510 control.author.bib
511 control.editor.bib
512 control.title.bib
513 control.pages.bib
514 control.year.bib
515 control.eprint.bib
516 }
517
518 FUNCTION {init.state.consts}
519 {
520 #0 'before.all :=
521 #1 'after.word :=
522 #2 'after.punctuation :=
523 #3 'after.sentence :=
524 #4 'after.block :=
525 #0 'punctuation.no :=
526 #1 'punctuation.space :=
527 #2 'punctuation.yes :=
528 "" 'bibfield :=
529 "" 'output.bibfield :=
530 }
531
532 STRINGS { s t}
533 FUNCTION {block.punctuation}
534 { ""
535 "," *
536 }
537
538 FUNCTION {word.space}
539 {
540 "\ "
541 }
542
543 FUNCTION {show.stackstring.one}{
544 "(" *
545 output.state int.to.str$ *
546 "," * punctuation.state int.to.str$ *
547 ")" * top$
548 duplicate$ "1(" swap$ * ")" * top$
549 }
550
551 FUNCTION {show.stackstring.two}{
552 "(" *
553 output.state int.to.str$ *
554 "," * punctuation.state int.to.str$ *
555 ")" * top$
556 swap$
557 duplicate$ "1(" swap$ * ")" * top$
558 swap$
559 duplicate$ "2(" swap$ * ")" * top$
560 }
561
562 FUNCTION {bibfield.command}{ "\bibfield "}
563
564 FUNCTION {output.nonnull}
565 {
566 swap$
567 output.state after.word =
568 {
569 block.punctuation *
570 word.space *
571 }
572 {
573 output.state after.punctuation =
574 {
575 word.space *
576 }
577 {
578 output.state after.block = output.state after.sentence = or
579 {
580 add.period$
581 "\EOS\ " *
582 }{
583 }
584 if$
585 }
586 if$
587 }
588 if$
589 output.bibfield duplicate$ empty$ 'pop$
590 {
591 bibfield.command
592 " {" * swap$ * "} {" * swap$ * "}" *
593 }
594 if$
595 write$
596 bibfield 'output.bibfield := "" 'bibfield :=
597 output.state after.block =
598 {
599 newline$
600 "\newblock " write$
601 }
602 'skip$
603 if$
604 punctuation.state duplicate$
605 punctuation.yes 'punctuation.state :=
606 punctuation.no =
607 { pop$ before.all }
608 { punctuation.yes = { after.word }{ after.punctuation } if$ }
609 if$
610 'output.state :=
611 }
612
613 FUNCTION {output}
614 { duplicate$ empty$
615 {
616 pop$
617 "" 'bibfield :=
618 }
619 'output.nonnull
620 if$
621 }
622
623 FUNCTION {output.nopunct}
624 {
625 punctuation.no 'punctuation.state :=
626 output.nonnull
627 }
628
629 FUNCTION {output.check}
630 { swap$
631 duplicate$ empty$
632 { pop$ "empty " swap$ * " in " * cite$ * warning$ }
633 { swap$ pop$ output.nonnull }
634 if$
635 }
636
637 FUNCTION {bbl.open} { "\BibitemOpen " }
638
639 FUNCTION {bbl.shut} { "\BibitemShut " }
640
641 FUNCTION {bibitem.shut.stop} { bbl.shut "{Stop}%" * }
642
643 FUNCTION {bibitem.shut.nostop} { bbl.shut "{NoStop}%" * }
644
645 FUNCTION {bibitem.shut}
646 {
647 non.stop
648 {
649 bibitem.shut.nostop *
650 }{
651 bibitem.shut.stop *
652 }
653 if$
654 }
655
656 FUNCTION {html.itag} {
657 "p"
658 }
659
660 FUNCTION {html.ltag} {
661 ""
662 }
663
664 FUNCTION {output.SLACcitation}
665 { SLACcitation empty$
666 'skip$
667 {
668 newline$
669 SLACcitation write$
670 }
671 if$
672 }
673
674 FUNCTION {fin.entry}
675 {
676 bibitem.shut
677 write$
678 output.SLACcitation
679 }
680
681 FUNCTION {new.block}
682 { output.state before.all =
683 'skip$
684 { after.block 'output.state := }
685 if$
686 }
687
688 FUNCTION {new.block.comma}
689 {
690 }
691
692 FUNCTION {new.sentence}
693 { output.state after.block = output.state before.all = or
694 'skip$
695 { after.sentence 'output.state := }
696 if$
697 }
698
699 FUNCTION {new.sentence.comma}
700 {
701 }
702
703 FUNCTION {sentence.or.colon}
704 {
705 new.sentence
706 }
707
708 FUNCTION {add.blank}
709 {
710 word.space *
711 before.all 'output.state :=
712 }
713
714 FUNCTION {no.blank.or.punct}
715 {
716 "\hspace {0pt}" *
717 before.all 'output.state :=
718 }
719
720 FUNCTION {date.block}
721 {
722 new.block.comma
723 skip$
724 }
725
726 STRINGS {z}
727 FUNCTION {remove.dots}
728 {
729 control.author.dotless {
730 'z :=
731 ""
732 { z empty$ not }
733 { z #1 #1 substring$
734 z #2 global.max$ substring$ 'z :=
735 duplicate$ "." = 'pop$
736 { * }
737 if$
738 }
739 while$
740 } 'skip$ if$
741 }
742
743 FUNCTION {new.block.checkb}
744 { empty$
745 swap$ empty$
746 and
747 'skip$
748 'new.block
749 if$
750 }
751
752 FUNCTION {field.or.null}
753 { duplicate$ empty$
754 { pop$ "" }
755 'skip$
756 if$
757 }
758
759 FUNCTION {emphasize}
760 {
761 duplicate$ empty$
762 { pop$ "" }
763 {
764 "\emph {" swap$ * "}" *
765 }
766 if$
767 }
768
769 FUNCTION {bolden}
770 { duplicate$ empty$
771 { pop$ "" }
772 { "\textbf {" swap$ * "}" * }
773 if$
774 }
775
776 FUNCTION {bib.name.font}
777 {
778 duplicate$ empty$
779 { pop$ "" }
780 {
781 "\bibnamefont {" swap$ * "}" *
782 }
783 if$
784 }
785
786 FUNCTION {bib.fname.font}
787 {
788 duplicate$ empty$
789 { pop$ "" }
790 {
791 "\bibfnamefont {" swap$ * "}" *
792 }
793 if$
794 }
795
796 FUNCTION {cite.name.font}
797 {
798 duplicate$ empty$
799 { pop$ "" }
800 {
801 "\citenamefont {" swap$ * "}" *
802 }
803 if$
804 }
805
806 FUNCTION {tie.or.space.prefix}
807 { duplicate$ text.length$ #3 <
808 { "~" }
809 { word.space }
810 if$
811 swap$
812 }
813
814 FUNCTION {capitalize}
815 {
816 "u" change.case$ "t" change.case$
817 }
818
819 FUNCTION {space.word}
820 { word.space swap$ * word.space * }
821
822 % Here are the language-specific definitions for explicit words.
823 % Each function has a name bbl.xxx where xxx is the English word.
824 % The language selected here is ENGLISH
825
826 FUNCTION {bbl.and}
827 {
828 "and"
829 }
830
831 FUNCTION {bbl.etal}
832 {
833 "et~al."
834 }
835
836 FUNCTION {bbl.editors}
837 {
838 "eds."
839 }
840
841 FUNCTION {bbl.editor}
842 {
843 "ed."
844 }
845
846 FUNCTION {bbl.edby}
847 { "edited by" }
848
849 FUNCTION {bbl.edition}
850 {
851 "ed."
852 }
853
854 FUNCTION {bbl.volume}
855 {
856 "vol."
857 }
858
859 FUNCTION {bbl.of}
860 { "of" }
861
862 FUNCTION {bbl.number}
863 {
864 "no."
865 }
866
867 FUNCTION {bbl.nr}
868 { "no." }
869
870 FUNCTION {bbl.in}
871 { "in" }
872
873 FUNCTION {bbl.pages}
874 {
875 "pp."
876 }
877
878 FUNCTION {bbl.page}
879 {
880 "p."
881 }
882
883 FUNCTION {bbl.eidpp}
884 { "pages" }
885
886 FUNCTION {bbl.chapter}
887 {
888 "chap."
889 }
890
891 FUNCTION {bbl.techrep}
892 {
893 "Tech. Rep."
894 }
895
896 FUNCTION {bbl.mthesis}
897 { "Master's thesis" }
898
899 FUNCTION {bbl.phdthesis}
900 { "Ph.D. thesis" }
901
902 FUNCTION {bbl.first}
903 {
904 "1st"
905 }
906
907 FUNCTION {bbl.second}
908 {
909 "2nd"
910 }
911
912 FUNCTION {bbl.third}
913 {
914 "3rd"
915 }
916
917 FUNCTION {bbl.fourth}
918 {
919 "4th"
920 }
921
922 FUNCTION {bbl.fifth}
923 {
924 "5th"
925 }
926
927 FUNCTION {bbl.st}
928 { "st" }
929
930 FUNCTION {bbl.nd}
931 { "nd" }
932
933 FUNCTION {bbl.rd}
934 { "rd" }
935
936 FUNCTION {bbl.th}
937 { "th" }
938
939 MACRO {jan} {"Jan."}
940
941 MACRO {feb} {"Feb."}
942
943 MACRO {mar} {"Mar."}
944
945 MACRO {apr} {"Apr."}
946
947 MACRO {may} {"May"}
948
949 MACRO {jun} {"Jun."}
950
951 MACRO {jul} {"Jul."}
952
953 MACRO {aug} {"Aug."}
954
955 MACRO {sep} {"Sep."}
956
957 MACRO {oct} {"Oct."}
958
959 MACRO {nov} {"Nov."}
960
961 MACRO {dec} {"Dec."}
962
963 FUNCTION {bbl.url.prefix}
964 {
965 "\urlprefix "
966 }
967
968 FUNCTION {eng.ord}
969 { duplicate$ "1" swap$ *
970 #-2 #1 substring$ "1" =
971 { bbl.th * }
972 { duplicate$ #-1 #1 substring$
973 duplicate$ "1" =
974 { pop$ bbl.st * }
975 { duplicate$ "2" =
976 { pop$ bbl.nd * }
977 { "3" =
978 { bbl.rd * }
979 { bbl.th * }
980 if$
981 }
982 if$
983 }
984 if$
985 }
986 if$
987 }
988
989 %-------------------------------------------------------------------
990 % Begin module:
991 % \ProvidesFile{physjour.mbs}[2002/01/14 2.2 (PWD)]
992 MACRO {aa}{"Astron. \& Astrophys."}
993 MACRO {aasup}{"Astron. \& Astrophys. Suppl. Ser."}
994 MACRO {aj} {"Astron. J."}
995 MACRO {aph} {"Acta Phys."}
996 MACRO {advp} {"Adv. Phys."}
997 MACRO {ajp} {"Amer. J. Phys."}
998 MACRO {ajm} {"Amer. J. Math."}
999 MACRO {amsci} {"Amer. Sci."}
1000 MACRO {anofd} {"Ann. Fluid Dyn."}
1001 MACRO {am} {"Ann. Math."}
1002 MACRO {ap} {"Ann. Phys. (NY)"}
1003 MACRO {adp} {"Ann. Phys. (Leipzig)"}
1004 MACRO {ao} {"Appl. Opt."}
1005 MACRO {apl} {"Appl. Phys. Lett."}
1006 MACRO {app} {"Astroparticle Phys."}
1007 MACRO {apj} {"Astrophys. J."}
1008 MACRO {apjsup} {"Astrophys. J. Suppl."}
1009 MACRO {apss} {"Astrophys. Space Sci."}
1010 MACRO {araa} {"Ann. Rev. Astron. Astrophys."}
1011 MACRO {baas} {"Bull. Amer. Astron. Soc."}
1012 MACRO {baps} {"Bull. Amer. Phys. Soc."}
1013 MACRO {cmp} {"Comm. Math. Phys."}
1014 MACRO {cpam} {"Commun. Pure Appl. Math."}
1015 MACRO {cppcf} {"Comm. Plasma Phys. \& Controlled Fusion"}
1016 MACRO {cpc} {"Comp. Phys. Comm."}
1017 MACRO {cqg} {"Class. Quant. Grav."}
1018 MACRO {cra} {"C. R. Acad. Sci. A"}
1019 MACRO {fed} {"Fusion Eng. \& Design"}
1020 MACRO {ft} {"Fusion Tech."}
1021 MACRO {grg} {"Gen. Relativ. Gravit."}
1022 MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
1023 MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
1024 MACRO {ijimw} {"Interntl. J. Infrared \& Millimeter Waves"}
1025 MACRO {ip} {"Infrared Phys."}
1026 MACRO {irp} {"Infrared Phys."}
1027 MACRO {jap} {"J. Appl. Phys."}
1028 MACRO {jasa} {"J. Acoust. Soc. America"}
1029 MACRO {jcp} {"J. Comp. Phys."}
1030 MACRO {jetp} {"Sov. Phys.--JETP"}
1031 MACRO {jfe} {"J. Fusion Energy"}
1032 MACRO {jfm} {"J. Fluid Mech."}
1033 MACRO {jmp} {"J. Math. Phys."}
1034 MACRO {jne} {"J. Nucl. Energy"}
1035 MACRO {jnec} {"J. Nucl. Energy, C: Plasma Phys., Accelerators, Thermonucl. Res."}
1036 MACRO {jnm} {"J. Nucl. Mat."}
1037 MACRO {jpc} {"J. Phys. Chem."}
1038 MACRO {jpp} {"J. Plasma Phys."}
1039 MACRO {jpsj} {"J. Phys. Soc. Japan"}
1040 MACRO {jsi} {"J. Sci. Instrum."}
1041 MACRO {jvst} {"J. Vac. Sci. \& Tech."}
1042 MACRO {nat} {"Nature"}
1043 MACRO {nature} {"Nature"}
1044 MACRO {nedf} {"Nucl. Eng. \& Design/Fusion"}
1045 MACRO {nf} {"Nucl. Fusion"}
1046 MACRO {nim} {"Nucl. Inst. \& Meth."}
1047 MACRO {nimpr} {"Nucl. Inst. \& Meth. in Phys. Res."}
1048 MACRO {np} {"Nucl. Phys."}
1049 MACRO {npb} {"Nucl. Phys. B"}
1050 MACRO {nt/f} {"Nucl. Tech./Fusion"}
1051 MACRO {npbpc} {"Nucl. Phys. B (Proc. Suppl.)"}
1052 MACRO {inc} {"Nuovo Cimento"}
1053 MACRO {nc} {"Nuovo Cimento"}
1054 MACRO {pf} {"Phys. Fluids"}
1055 MACRO {pfa} {"Phys. Fluids A: Fluid Dyn."}
1056 MACRO {pfb} {"Phys. Fluids B: Plasma Phys."}
1057 MACRO {pl} {"Phys. Lett."}
1058 MACRO {pla} {"Phys. Lett. A"}
1059 MACRO {plb} {"Phys. Lett. B"}
1060 MACRO {prep} {"Phys. Rep."}
1061 MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
1062 MACRO {pp} {"Phys. Plasmas"}
1063 MACRO {ppcf} {"Plasma Phys. \& Controlled Fusion"}
1064 MACRO {phitrsl} {"Philos. Trans. Roy. Soc. London"}
1065 MACRO {prl} {"Phys. Rev. Lett."}
1066 MACRO {pr} {"Phys. Rev."}
1067 MACRO {physrev} {"Phys. Rev."}
1068 MACRO {pra} {"Phys. Rev. A"}
1069 MACRO {prb} {"Phys. Rev. B"}
1070 MACRO {prc} {"Phys. Rev. C"}
1071 MACRO {prd} {"Phys. Rev. D"}
1072 MACRO {pre} {"Phys. Rev. E"}
1073 MACRO {ps} {"Phys. Scripta"}
1074 MACRO {procrsl} {"Proc. Roy. Soc. London"}
1075 MACRO {rmp} {"Rev. Mod. Phys."}
1076 MACRO {rsi} {"Rev. Sci. Inst."}
1077 MACRO {science} {"Science"}
1078 MACRO {sciam} {"Sci. Am."}
1079 MACRO {sam} {"Stud. Appl. Math."}
1080 MACRO {sjpp} {"Sov. J. Plasma Phys."}
1081 MACRO {spd} {"Sov. Phys.--Doklady"}
1082 MACRO {sptp} {"Sov. Phys.--Tech. Phys."}
1083 MACRO {spu} {"Sov. Phys.--Uspeki"}
1084 MACRO {st} {"Sky and Telesc."}
1085 % End module: physjour.mbs
1086 %-------------------------------------------------------------------
1087 % Begin module:
1088 % \ProvidesFile{geojour.mbs}[2002/07/10 2.0h (PWD)]
1089 MACRO {aisr} {"Adv. Space Res."}
1090 MACRO {ag} {"Ann. Geophys."}
1091 MACRO {anigeo} {"Ann. Geofis."}
1092 MACRO {angl} {"Ann. Glaciol."}
1093 MACRO {andmet} {"Ann. d. Meteor."}
1094 MACRO {andgeo} {"Ann. d. Geophys."}
1095 MACRO {andphy} {"Ann. Phys.-Paris"}
1096 MACRO {afmgb} {"Arch. Meteor. Geophys. Bioklimatol."}
1097 MACRO {atph} {"Atm\'osphera"}
1098 MACRO {aao} {"Atmos. Ocean"}
1099 MACRO {ass}{"Astrophys. Space Sci."}
1100 MACRO {atenv} {"Atmos. Environ."}
1101 MACRO {aujag} {"Aust. J. Agr. Res."}
1102 MACRO {aumet} {"Aust. Meteorol. Mag."}
1103 MACRO {blmet} {"Bound.-Lay. Meteorol."}
1104 MACRO {bams} {"Bull. Amer. Meteorol. Soc."}
1105 MACRO {cch} {"Clim. Change"}
1106 MACRO {cdyn} {"Clim. Dynam."}
1107 MACRO {cbul} {"Climatol. Bull."}
1108 MACRO {cap} {"Contrib. Atmos. Phys."}
1109 MACRO {dsr} {"Deep-Sea Res."}
1110 MACRO {dhz} {"Dtsch. Hydrogr. Z."}
1111 MACRO {dao} {"Dynam. Atmos. Oceans"}
1112 MACRO {eco} {"Ecology"}
1113 MACRO {empl}{"Earth, Moon and Planets"}
1114 MACRO {envres} {"Environ. Res."}
1115 MACRO {envst} {"Environ. Sci. Technol."}
1116 MACRO {ecms} {"Estuarine Coastal Mar. Sci."}
1117 MACRO {expa}{"Exper. Astron."}
1118 MACRO {geoint} {"Geofis. Int."}
1119 MACRO {geopub} {"Geofys. Publ."}
1120 MACRO {geogeo} {"Geol. Geofiz."}
1121 MACRO {gafd} {"Geophys. Astrophys. Fluid Dyn."}
1122 MACRO {gfd} {"Geophys. Fluid Dyn."}
1123 MACRO {geomag} {"Geophys. Mag."}
1124 MACRO {georl} {"Geophys. Res. Lett."}
1125 MACRO {grl} {"Geophys. Res. Lett."}
1126 MACRO {ga} {"Geophysica"}
1127 MACRO {gs} {"Geophysics"}
1128 MACRO {ieeetap} {"IEEE Trans. Antenn. Propag."}
1129 MACRO {ijawp} {"Int. J. Air Water Pollut."}
1130 MACRO {ijc} {"Int. J. Climatol."}
1131 MACRO {ijrs} {"Int. J. Remote Sens."}
1132 MACRO {jam} {"J. Appl. Meteorol."}
1133 MACRO {jaot} {"J. Atmos. Ocean. Technol."}
1134 MACRO {jatp} {"J. Atmos. Terr. Phys."}
1135 MACRO {jastp} {"J. Atmos. Solar-Terr. Phys."}
1136 MACRO {jce} {"J. Climate"}
1137 MACRO {jcam} {"J. Climate Appl. Meteor."}
1138 MACRO {jcm} {"J. Climate Meteor."}
1139 MACRO {jcy} {"J. Climatol."}
1140 MACRO {jgr} {"J. Geophys. Res."}
1141 MACRO {jga} {"J. Glaciol."}
1142 MACRO {jh} {"J. Hydrol."}
1143 MACRO {jmr} {"J. Mar. Res."}
1144 MACRO {jmrj} {"J. Meteor. Res. Japan"}
1145 MACRO {jm} {"J. Meteor."}
1146 MACRO {jpo} {"J. Phys. Oceanogr."}
1147 MACRO {jra} {"J. Rech. Atmos."}
1148 MACRO {jaes} {"J. Aeronaut. Sci."}
1149 MACRO {japca} {"J. Air Pollut. Control Assoc."}
1150 MACRO {jas} {"J. Atmos. Sci."}
1151 MACRO {jmts} {"J. Mar. Technol. Soc."}
1152 MACRO {jmsj} {"J. Meteorol. Soc. Japan"}
1153 MACRO {josj} {"J. Oceanogr. Soc. Japan"}
1154 MACRO {jwm} {"J. Wea. Mod."}
1155 MACRO {lao} {"Limnol. Oceanogr."}
1156 MACRO {mwl} {"Mar. Wea. Log"}
1157 MACRO {mau} {"Mausam"}
1158 MACRO {meteor} {"``Meteor'' Forschungsergeb."}
1159 MACRO {map} {"Meteorol. Atmos. Phys."}
1160 MACRO {metmag} {"Meteor. Mag."}
1161 MACRO {metmon} {"Meteor. Monogr."}
1162 MACRO {metrun} {"Meteor. Rundsch."}
1163 MACRO {metzeit} {"Meteor. Z."}
1164 MACRO {metgid} {"Meteor. Gidrol."}
1165 MACRO {mwr} {"Mon. Weather Rev."}
1166 MACRO {nwd} {"Natl. Weather Dig."}
1167 MACRO {nzjmfr} {"New Zeal. J. Mar. Freshwater Res."}
1168 MACRO {npg} {"Nonlin. Proc. Geophys."}
1169 MACRO {om} {"Oceanogr. Meteorol."}
1170 MACRO {ocac} {"Oceanol. Acta"}
1171 MACRO {oceanus} {"Oceanus"}
1172 MACRO {paleoc} {"Paleoceanography"}
1173 MACRO {pce} {"Phys. Chem. Earth"}
1174 MACRO {pmg} {"Pap. Meteor. Geophys."}
1175 MACRO {ppom} {"Pap. Phys. Oceanogr. Meteor."}
1176 MACRO {physzeit} {"Phys. Z."}
1177 MACRO {pps} {"Planet. Space Sci."}
1178 MACRO {pss} {"Planet. Space Sci."}
1179 MACRO {pag} {"Pure Appl. Geophys."}
1180 MACRO {qjrms} {"Quart. J. Roy. Meteorol. Soc."}
1181 MACRO {quatres} {"Quat. Res."}
1182 MACRO {rsci} {"Radio Sci."}
1183 MACRO {rse} {"Remote Sens. Environ."}
1184 MACRO {rgeo} {"Rev. Geophys."}
1185 MACRO {rgsp} {"Rev. Geophys. Space Phys."}
1186 MACRO {rdgeo} {"Rev. Geofis."}
1187 MACRO {revmeta} {"Rev. Meteorol."}
1188 MACRO {sgp}{"Surveys in Geophys."}
1189 MACRO {sp} {"Solar Phys."}
1190 MACRO {ssr} {"Space Sci. Rev."}
1191 MACRO {tellus} {"Tellus"}
1192 MACRO {tac} {"Theor. Appl. Climatol."}
1193 MACRO {tagu} {"Trans. Am. Geophys. Union (EOS)"}
1194 MACRO {wrr} {"Water Resour. Res."}
1195 MACRO {weather} {"Weather"}
1196 MACRO {wafc} {"Weather Forecast."}
1197 MACRO {ww} {"Weatherwise"}
1198 MACRO {wmob} {"WMO Bull."}
1199 MACRO {zeitmet} {"Z. Meteorol."}
1200 % End module: geojour.mbs
1201 %-------------------------------------------------------------------
1202 % Begin module:
1203 % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)]
1204
1205 MACRO {appopt} {"Appl. Opt."}
1206 MACRO {bell} {"Bell Syst. Tech. J."}
1207 MACRO {ell} {"Electron. Lett."}
1208 MACRO {jasp} {"J. Appl. Spectr."}
1209 MACRO {jqe} {"IEEE J. Quantum Electron."}
1210 MACRO {jlwt} {"J. Lightwave Technol."}
1211 MACRO {jmo} {"J. Mod. Opt."}
1212 MACRO {josa} {"J. Opt. Soc. America"}
1213 MACRO {josaa} {"J. Opt. Soc. Amer.~A"}
1214 MACRO {josab} {"J. Opt. Soc. Amer.~B"}
1215 MACRO {jdp} {"J. Phys. (Paris)"}
1216 MACRO {oc} {"Opt. Commun."}
1217 MACRO {ol} {"Opt. Lett."}
1218 MACRO {phtl} {"IEEE Photon. Technol. Lett."}
1219 MACRO {pspie} {"Proc. Soc. Photo-Opt. Instrum. Eng."}
1220 MACRO {sse} {"Solid-State Electron."}
1221 MACRO {sjot} {"Sov. J. Opt. Technol."}
1222 MACRO {sjqe} {"Sov. J. Quantum Electron."}
1223 MACRO {sleb} {"Sov. Phys.--Leb. Inst. Rep."}
1224 MACRO {stph} {"Sov. Phys.--Techn. Phys."}
1225 MACRO {stphl} {"Sov. Techn. Phys. Lett."}
1226 MACRO {vr} {"Vision Res."}
1227 MACRO {zph} {"Z. f. Physik"}
1228 MACRO {zphb} {"Z. f. Physik~B"}
1229 MACRO {zphd} {"Z. f. Physik~D"}
1230
1231 MACRO {CLEO} {"CLEO"}
1232 MACRO {ASSL} {"Adv. Sol.-State Lasers"}
1233 MACRO {OSA} {"OSA"}
1234 % End module: photjour.mbs
1235 %% Copyright 1994-2007 Patrick W Daly
1236 MACRO {acmcs} {"ACM Comput. Surv."}
1237 MACRO {acta} {"Acta Inf."}
1238 MACRO {cacm} {"Commun. ACM"}
1239 MACRO {ibmjrd} {"IBM J. Res. Dev."}
1240 MACRO {ibmsj} {"IBM Syst.~J."}
1241 MACRO {ieeese} {"IEEE Trans. Software Eng."}
1242 MACRO {ieeetc} {"IEEE Trans. Comput."}
1243 MACRO {ieeetcad}
1244 {"IEEE Trans. Comput. Aid. Des."}
1245 MACRO {ipl} {"Inf. Process. Lett."}
1246 MACRO {jacm} {"J.~ACM"}
1247 MACRO {jcss} {"J.~Comput. Syst. Sci."}
1248 MACRO {scp} {"Sci. Comput. Program."}
1249 MACRO {sicomp} {"SIAM J. Comput."}
1250 MACRO {tocs} {"ACM Trans. Comput. Syst."}
1251 MACRO {tods} {"ACM Trans. Database Syst."}
1252 MACRO {tog} {"ACM Trans. Graphic."}
1253 MACRO {toms} {"ACM Trans. Math. Software"}
1254 MACRO {toois} {"ACM Trans. Office Inf. Syst."}
1255 MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
1256 MACRO {tcs} {"Theor. Comput. Sci."}
1257
1258 MACRO {jhep} {"J. High Energy Phys."}
1259 MACRO {jcap} {"J. Cosmol. Astropart. Phys."}
1260 MACRO {jinst} {"J. Instrum."}
1261 MACRO {jstat} {"J. Stat. Mech.: Theory Exp."}
1262
1263 FUNCTION {bibinfo.command} { "\bibinfo " }
1264
1265 FUNCTION {bibinfo.check}
1266 { swap$
1267 duplicate$ missing$
1268 {
1269 pop$
1270 pop$ ""
1271 }{
1272 duplicate$ empty$
1273 {
1274 swap$ pop$
1275 }{
1276 swap$
1277 bibinfo.command "{" * swap$ * "} {" * swap$ * "}" *
1278 }
1279 if$
1280 }
1281 if$
1282 }
1283
1284 FUNCTION {bibinfo.warn}
1285 { swap$
1286 duplicate$ missing$
1287 {
1288 swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
1289 ""
1290 }{
1291 duplicate$ empty$
1292 {
1293 swap$ "empty " swap$ * " in " * cite$ * warning$
1294 }{
1295 swap$
1296 bibinfo.command " {" * swap$ * "} {" * swap$ * "}" *
1297 }
1298 if$
1299 }
1300 if$
1301 }
1302
1303 FUNCTION {archiv.base}
1304 {
1305 "https://arxiv.org/abs"
1306 }
1307
1308 FUNCTION {archiv.prefix.base}
1309 {
1310 "arXiv"
1311 }
1312
1313 FUNCTION {eprint.command}
1314 {
1315 "\Eprint "
1316 }
1317
1318 FUNCTION {format.eprint.controlled}
1319 {
1320 eprint duplicate$ empty$
1321 control.eprint #1 =
1322 or
1323 { pop$ "" }
1324 {
1325 duplicate$
1326 ""
1327 archive duplicate$ empty$ { pop$ archiv.base } 'skip$ if$ *
1328 "/" *
1329 swap$ *
1330 "{" swap$ * "} " *
1331 swap$
1332 ""
1333 archivePrefix duplicate$ empty$ { pop$ "" } { ":" * } if$ *
1334 swap$ *
1335 primaryClass duplicate$ empty$ { pop$ "" } { " [" swap$ * "]" * } if$ *
1336 "{" swap$ * "} " *
1337 *
1338 eprint.command swap$ *
1339 }
1340 if$
1341 }
1342
1343 FUNCTION {format.eprint}
1344 {
1345 eprint duplicate$ empty$
1346 { pop$ "" }
1347 {
1348 duplicate$
1349 ""
1350 archive duplicate$ empty$ { pop$ archiv.base } 'skip$ if$ *
1351 "/" *
1352 swap$ *
1353 "{" swap$ * "} " *
1354 swap$
1355 ""
1356 archivePrefix duplicate$ empty$ { pop$ "" } { ":" * } if$ *
1357 swap$ *
1358 primaryClass duplicate$ empty$ { pop$ "" } { " [" swap$ * "]" * } if$ *
1359 "{" swap$ * "} " *
1360 *
1361 eprint.command swap$ *
1362 }
1363 if$
1364 }
1365
1366 FUNCTION {format.translation}
1367 { translation duplicate$ empty$
1368 'skip$
1369 { ""
1370 "\translation{" * swap$ * "}" *
1371 punctuation.space 'punctuation.state :=
1372 }
1373 if$
1374 }
1375
1376 FUNCTION {format.url}
1377 {
1378 url duplicate$ empty$
1379 { pop$ "" }
1380 {
1381 "\url "
1382 "{" * swap$ * "}" *
1383 }
1384 if$
1385 }
1386
1387 INTEGERS { nameptr namesleft numnames }
1388
1389 FUNCTION {check.speaker}
1390 { key empty$ 'skip$
1391 { key nameptr int.to.str$ =
1392 {
1393 bolden
1394 }
1395 'skip$
1396 if$
1397 }
1398 if$
1399 }
1400
1401 STRINGS { bibinfo}
1402
1403 FUNCTION {format.names.fname}
1404 {
1405 control.author.initials {
1406 control.author.dotless {
1407 control.author.nospace {
1408 "f{}"
1409 } {
1410 "f{~}"
1411 } if$
1412 } {
1413 control.author.nospace {
1414 "f{.}."
1415 } {
1416 "f."
1417 } if$
1418 } if$
1419 } {
1420 "ff"
1421 } if$
1422 }
1423
1424 FUNCTION {bracify}
1425 {
1426 "{" swap$ * "}" *
1427 }
1428
1429 FUNCTION {name.comma}
1430 {
1431 control.author.nocomma 'skip$ { "," swap$ * } if$
1432 }
1433
1434 FUNCTION {format.names.format.onefont}
1435 {
1436 "{vv~}{ll}"
1437 nameptr #1 >
1438 control.author.first
1439 and
1440 control.author.reversed not
1441 or
1442 {
1443 control.author.initials {
1444 "f"
1445 control.author.dotless 'skip$ {
1446 "." *
1447 } if$
1448 "~" *
1449 } {
1450 "ff"
1451 } if$
1452 bracify
1453 swap$
1454 } {
1455 format.names.fname
1456 " " swap$ *
1457 name.comma
1458 bracify
1459 }
1460 if$
1461 "jj"
1462 " " swap$ *
1463 name.comma
1464 bracify
1465 control.author.jnrlst 'skip$ 'swap$ if$
1466 * *
1467 }
1468
1469 FUNCTION {format.names.onefont}
1470 {
1471 s nameptr format.names.format.onefont format.name$
1472 remove.dots
1473 bib.name.font
1474 }
1475
1476 FUNCTION {format.names.morfont}
1477 { s nameptr
1478 "{vv~}{ll}" format.name$ bib.name.font
1479 nameptr #1 >
1480 control.author.first
1481 and
1482 control.author.reversed not
1483 or
1484 {
1485 s nameptr
1486 control.author.initials {
1487 "f" % default: name + surname + comma junior
1488 } {
1489 "ff"
1490 } if$
1491 control.author.dotless 'skip$ {
1492 "." * % nm-init % Initials. + surname (J. F. Smith) control.author.initials
1493 } if$
1494 bracify
1495 format.name$ duplicate$ empty$ 'skip$
1496 { tie.or.space.prefix bib.fname.font swap$ * }
1497 if$
1498 swap$
1499 *
1500 s nameptr
1501 "{jj}" format.name$ duplicate$ empty$ 'skip$
1502 { bib.fname.font ", " swap$ * }
1503 if$
1504 } {
1505 "," *
1506 s nameptr
1507 format.names.fname
1508 "jj"
1509 " "
1510 name.comma
1511 control.author.jnrlst {
1512 swap$ * skip$
1513 } {
1514 skip$ * swap$
1515 } if$
1516 bracify swap$ bracify swap$
1517 *
1518 format.name$
1519 remove.dots
1520 duplicate$ empty$ 'skip$
1521 { bib.fname.font " " swap$ * }
1522 if$
1523 } if$
1524 *
1525 }
1526
1527 FUNCTION {names.punctuate}
1528 {
1529 "," *
1530 " " *
1531 }
1532
1533 FUNCTION {format.names}
1534 { 'bibinfo :=
1535 duplicate$ empty$ { pop$ "" } {
1536 duplicate$ num.names$
1537 duplicate$ 'numnames :=
1538 'namesleft :=
1539 's :=
1540 #1 'nameptr :=
1541 ""
1542 { namesleft #0 > }
1543 {
1544 format.names.morfont
1545 bibinfo bibinfo.check
1546 type$ "presentation" =
1547 'check.speaker
1548 'skip$
1549 if$
1550 't :=
1551 nameptr #1 > not
1552 {
1553 t *
1554 } {
1555 namesleft #1 >
1556 {
1557 names.punctuate
1558 t *
1559 } {
1560 s nameptr "{ll}" format.name$ duplicate$ "others" =
1561 { 't := }
1562 { pop$ }
1563 if$
1564 names.punctuate
1565 t "others" =
1566 {
1567 " " *
1568 bbl.etal
1569 emphasize
1570 *
1571 } {
1572 bbl.and
1573 word.space * *
1574 t *
1575 }
1576 if$
1577 }
1578 if$
1579 }
1580 if$
1581 nameptr #1 + 'nameptr :=
1582 namesleft #1 - 'namesleft :=
1583 }
1584 while$
1585 } if$
1586 }
1587
1588 FUNCTION {format.names.ed.onefont}
1589 {
1590 s nameptr
1591 control.author.initials {
1592 control.author.dotless {
1593 control.author.nospace {
1594 "{f{}~}{vv~}{ll}{ jj}" % nm-rvx|nm-rvcx
1595 } {
1596 "{f{~}~}{vv~}{ll}{ jj}" % nm-rv
1597 } if$
1598 } {
1599 control.author.nospace {
1600 "{f{.}.~}{vv~}{ll}{ jj}" % nm-rvv|nm-rvvc
1601 }{
1602 "{f.~}{vv~}{ll}{, jj}" % nm-init|nm-rev|nm-rev1
1603 } if$
1604 } if$
1605 } {
1606 "{ff~}{vv~}{ll}{, jj}"
1607 } if$
1608 format.name$
1609 remove.dots
1610 bib.name.font
1611 }
1612
1613 FUNCTION {format.names.ed.morfont}
1614 {
1615 control.author.reversed { %
1616 control.author.initials { %
1617 control.author.dotless { %
1618 s nameptr
1619 control.author.nospace { % nm-rvx nm-rvcx
1620 "{f{}}"
1621 } { % nm-rv
1622 "{f{~}}"
1623 } if$
1624 format.name$ duplicate$ empty$ 'skip$
1625 { tie.or.space.prefix bib.fname.font swap$ * }
1626 if$
1627 s nameptr
1628 "{vv~}{ll}" format.name$ bib.name.font *
1629 s nameptr
1630 "{jj}" format.name$
1631 remove.dots
1632 duplicate$ empty$ 'skip$
1633 { bib.fname.font " " swap$ * }
1634 if$
1635 } { % !control.author.dotless
1636 s nameptr
1637 control.author.nospace { % nm-rvv
1638 "{ff}"
1639 } { % nm-rev nm-rev1
1640 "{f.}"
1641 } if$
1642 format.name$ duplicate$ empty$ 'skip$
1643 { tie.or.space.prefix bib.fname.font swap$ * }
1644 if$
1645 s nameptr
1646 "{vv~}{ll}" format.name$ bib.name.font *
1647 s nameptr
1648 "{jj}" format.name$
1649 duplicate$ empty$ 'skip$
1650 { bib.fname.font ", " swap$ * }
1651 if$
1652 } if$
1653 } { % Full names !control.author.initials nm-revf nm-revv1
1654 s nameptr
1655 "{ff}"
1656 format.name$ duplicate$ empty$ 'skip$
1657 { tie.or.space.prefix bib.fname.font swap$ * }
1658 if$
1659 s nameptr
1660 "{vv~}{ll}" format.name$ bib.name.font *
1661 s nameptr
1662 "{jj}" format.name$
1663 duplicate$ empty$ 'skip$
1664 { bib.fname.font ", " swap$ * }
1665 if$
1666 } if$
1667 } { % !control.author.reversed nm-init
1668 s nameptr
1669 "{f.}"
1670 format.name$ duplicate$ empty$ 'skip$
1671 { tie.or.space.prefix bib.fname.font swap$ * }
1672 if$
1673 s nameptr
1674 "{vv~}{ll}" format.name$ bib.name.font *
1675 s nameptr
1676 "{jj}" format.name$
1677 duplicate$ empty$ 'skip$
1678 { bib.fname.font ", " swap$ * }
1679 if$
1680 } if$
1681 *
1682 }
1683
1684 FUNCTION {format.names.ed}
1685 {
1686 control.editor #0 > {
1687 format.names
1688 } {
1689 'bibinfo :=
1690 duplicate$ empty$ 'skip$ {
1691 's :=
1692 "" 't :=
1693 #1 'nameptr :=
1694 s num.names$ 'numnames :=
1695 numnames 'namesleft :=
1696 { namesleft #0 > }
1697 {
1698 format.names.ed.morfont
1699 bibinfo bibinfo.check
1700 't :=
1701 nameptr #1 >
1702 {
1703 namesleft #1 >
1704 {
1705 names.punctuate
1706 t *
1707 }{
1708 s nameptr "{ll}" format.name$ duplicate$ "others" =
1709 { 't := }
1710 { pop$ }
1711 if$
1712 numnames #2 >
1713 'names.punctuate
1714 'skip$
1715 if$
1716 t "others" =
1717 {
1718 " " * bbl.etal emphasize *
1719 }{
1720 bbl.and
1721 space.word * t *
1722 }
1723 if$
1724 }
1725 if$
1726 }
1727 't
1728 if$
1729 nameptr #1 + 'nameptr :=
1730 namesleft #1 - 'namesleft :=
1731 }
1732 while$
1733 } if$
1734 } if$
1735 }
1736
1737 FUNCTION {format.key}
1738 { empty$
1739 { key field.or.null }
1740 { "" }
1741 if$
1742 }
1743
1744 FUNCTION {format.authors}
1745 { author "author" format.names
1746 duplicate$ empty$ 'skip$
1747 { collaboration "collaboration" bibinfo.check
1748 duplicate$ empty$ 'skip$
1749 { " (" swap$ * ")" * }
1750 if$
1751 *
1752 }
1753 if$
1754 "author" 'bibfield :=
1755 }
1756
1757 FUNCTION {get.bbl.editor}
1758 { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$
1759 }
1760
1761 FUNCTION {format.editors}
1762 { editor "editor" format.names duplicate$ empty$ 'skip$
1763 {
1764 "," *
1765 word.space *
1766 get.bbl.editor
1767 capitalize
1768 *
1769 }
1770 if$
1771 }
1772
1773 FUNCTION {format.isbn.output}
1774 {
1775 }
1776
1777 FUNCTION {format.issn.output}
1778 {
1779 }
1780
1781 FUNCTION {doi.base}
1782 {
1783 "https://doi.org/"
1784 }
1785
1786 FUNCTION {doi.base.command}
1787 {
1788 "\doibase "
1789 }
1790
1791 FUNCTION {noop.command}
1792 {
1793 "\href@noop "
1794 }
1795
1796 FUNCTION {href.command}
1797 {
1798 "\href "
1799 }
1800
1801 FUNCTION {link.tag.open}
1802 {
1803 doi duplicate$ empty$
1804 {
1805 pop$
1806 url duplicate$ empty$
1807 {
1808 pop$ "" noop.command
1809 }{
1810 href.command
1811 }
1812 if$
1813 }
1814 {
1815 "https://doi.org/" swap$ *
1816 href.command
1817 }
1818 if$
1819 "{" * swap$ * "} {" *
1820 }
1821
1822 FUNCTION {link.tag.shut}
1823 {
1824 "}"
1825 }
1826
1827 FUNCTION {link.open}
1828 {
1829 link.tag.open output.nopunct
1830 }
1831
1832 FUNCTION {link.shut}
1833 {
1834 link.tag.shut *
1835 }
1836
1837 FUNCTION {add.doi}
1838 {
1839 link.tag.open swap$ * link.tag.shut *
1840 }
1841
1842 FUNCTION {select.language}
1843 { duplicate$ empty$
1844 'pop$
1845 { language empty$
1846 'skip$
1847 { "{\selectlanguage {" language * "}" * swap$ * "}" * }
1848 if$
1849 }
1850 if$
1851 }
1852
1853 FUNCTION {format.note}
1854 {
1855 note empty$
1856 { "" }
1857 { note #1 #1 substring$
1858 duplicate$ "{" =
1859 'skip$
1860 {
1861 output.state after.word = output.state after.punctuation = or
1862 { "l" }
1863 { "u" }
1864 if$ change.case$
1865 }
1866 if$
1867 note #2 global.max$ substring$ * "note" bibinfo.check
1868 }
1869 if$
1870 }
1871
1872 FUNCTION {bbl.enquote}
1873 {
1874 "\enquote "
1875 }
1876
1877 FUNCTION {string.enquote}
1878 {
1879 punctuation.no 'punctuation.state :=
1880 non.stop {
1881 block.punctuation
1882 } { "" } if$
1883 swap$ pop$
1884 *
1885 bbl.enquote "{" * swap$ * "}" *
1886 word.space *
1887 }
1888
1889 FUNCTION {format.title}
1890 { title
1891 duplicate$ empty$ 'skip$ { "t" change.case$ } if$
1892 duplicate$ "title" bibinfo.check swap$
1893 duplicate$ empty$ 'pop$
1894 {
1895 punctuation.yes 'punctuation.state :=
1896 string.enquote
1897 select.language
1898 }
1899 if$
1900 }
1901
1902 FUNCTION {end.quote.title}
1903 { title empty$
1904 'skip$
1905 { before.all 'output.state := }
1906 if$
1907 }
1908
1909 FUNCTION {format.name.apply}
1910 {
1911 s nameptr
1912 "{vv~}{ll}"
1913 format.name$
1914 cite.name.font
1915 }
1916
1917 FUNCTION {format.full.names}
1918 {
1919 's :=
1920 "" 't :=
1921 #1 'nameptr :=
1922 s num.names$ 'numnames :=
1923 numnames 'namesleft :=
1924 { namesleft #0 > }
1925 { format.name.apply
1926 't :=
1927 nameptr #1 >
1928 {
1929 namesleft #1 >
1930 { ", " * t * }
1931 {
1932 s nameptr "{ll}" format.name$ duplicate$ "others" =
1933 {
1934 't :=
1935 }
1936 'pop$
1937 if$
1938 t "others" =
1939 {
1940 " " * bbl.etal
1941 emphasize *
1942 }{
1943 numnames #2 > { "," * }{ skip$ } if$
1944 bbl.and
1945 space.word * t *
1946 }
1947 if$
1948 }
1949 if$
1950 }
1951 't
1952 if$
1953 nameptr #1 + 'nameptr :=
1954 namesleft #1 - 'namesleft :=
1955 }
1956 while$
1957 }
1958
1959 FUNCTION {make.full.names}
1960 {
1961 key editor author
1962 type$ "proceedings" =
1963 type$ "book" =
1964 type$ "inbook" =
1965 or { pop$ }{ { pop$ "" }{ swap$ pop$ "" swap$ } if$ } if$
1966 duplicate$ empty$
1967 { pop$
1968 duplicate$ empty$
1969 { pop$
1970 duplicate$ empty$
1971 { pop$
1972 cite$ #1 #3 substring$
1973 }{
1974 skip$
1975 }
1976 if$
1977 }
1978 { swap$ pop$ format.full.names }
1979 if$
1980 }
1981 { swap$ pop$ swap$ pop$ format.full.names }
1982 if$
1983 }
1984
1985 FUNCTION {year.bibitem}
1986 {
1987 year duplicate$ empty$
1988 { pop$ ""
1989 "????" *
1990 }{
1991 skip$
1992 } if$
1993 extra.label *
1994 }
1995
1996 FUNCTION {output.bibitem}
1997 {
1998 newline$
1999 ""
2000 label
2001 * ")" *
2002 make.full.names duplicate$ short.list =
2003 { pop$ }{ * } if$
2004 bracify
2005 "[" swap$ * "]" *
2006 cite$ bracify "%" *
2007 *
2008 "\bibitem "
2009 swap$ *
2010 write$ newline$
2011 " "
2012 duplicate$ bbl.open * write$ newline$
2013 before.all 'output.state :=
2014 punctuation.yes 'punctuation.state :=
2015 }
2016
2017 FUNCTION {n.dashify}
2018 {
2019 't :=
2020 ""
2021 { t empty$ not }
2022 { t #1 #1 substring$ "-" =
2023 { t #1 #2 substring$ "--" = not
2024 { "--" *
2025 t #2 global.max$ substring$ 't :=
2026 }{
2027 { t #1 #1 substring$ "-" = }
2028 { "-" *
2029 t #2 global.max$ substring$ 't :=
2030 }
2031 while$
2032 }
2033 if$
2034 }{
2035 t #1 #1 substring$ *
2036 t #2 global.max$ substring$ 't :=
2037 }
2038 if$
2039 }
2040 while$
2041 }
2042
2043 FUNCTION {word.in}
2044 {
2045 bbl.in
2046 word.space *
2047 }
2048
2049 FUNCTION {date.encapsulate}
2050 {
2051 duplicate$ empty$
2052 'skip$
2053 {
2054 before.all 'output.state :=
2055 " (" swap$ * ")" *
2056 }
2057 if$
2058 }
2059
2060 FUNCTION {format.date}
2061 {
2062 year "year" bibinfo.check duplicate$ empty$
2063 {
2064 "empty year in " cite$ * "; set to ????" * warning$
2065 pop$ "????"
2066 }
2067 'skip$
2068 if$
2069 extra.label *
2070 date.encapsulate
2071 }
2072
2073 FUNCTION {format.date.output.check}
2074 {
2075 format.date
2076 "year" output.check
2077 }
2078
2079 FUNCTION {format.date.output}
2080 {
2081 format.date.output.check
2082 }
2083
2084 FUNCTION {format.btitle}
2085 {
2086 booktitle duplicate$ empty$ { pop$
2087 title
2088 } 'skip$ if$
2089 "title" bibinfo.check
2090 duplicate$ empty$ 'skip$
2091 {
2092 emphasize
2093 select.language
2094 }
2095 if$
2096 }
2097
2098 FUNCTION {either.or.check}
2099 { empty$
2100 'pop$
2101 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
2102 if$
2103 }
2104
2105 FUNCTION {editor.check.book}
2106 { editor empty$ 'skip$
2107 {
2108 "can't use both author and editor fields in " cite$ *
2109 ": try using @inbook instead" *
2110 warning$
2111 }
2112 if$
2113 }
2114
2115 FUNCTION {format.bvolume}
2116 { volume duplicate$ empty$
2117 { pop$ "" }
2118 {
2119 "volume and number" number either.or.check
2120 bbl.volume
2121 capitalize
2122 swap$
2123 tie.or.space.prefix "volume" bibinfo.check * *
2124 series "series" bibinfo.check duplicate$ empty$ 'pop$
2125 {
2126 ", "
2127 * swap$ *
2128 }
2129 if$
2130 }
2131 if$
2132 }
2133
2134 FUNCTION {format.number}
2135 {
2136 bbl.number
2137 output.state after.word = output.state after.punctuation = or
2138 #1 or
2139 #0 and
2140 'skip$
2141 { capitalize }
2142 if$
2143 number tie.or.space.prefix "number" bibinfo.check * *
2144 }
2145
2146 FUNCTION {format.number.series}
2147 { volume empty$
2148 { number empty$
2149 { series field.or.null }
2150 {
2151 series empty$
2152 {
2153 number "number" bibinfo.check
2154 }{
2155 format.number
2156 series "series" bibinfo.check
2157 word.space * swap$ *
2158 }
2159 if$
2160 }
2161 if$
2162 }
2163 { "" }
2164 if$
2165 }
2166
2167 FUNCTION {is.num}
2168 { chr.to.int$
2169 duplicate$ "0" chr.to.int$ < not
2170 swap$ "9" chr.to.int$ > not and
2171 }
2172
2173 FUNCTION {extract.num}
2174 { duplicate$ 't :=
2175 "" 's :=
2176 { t empty$ not }
2177 { t #1 #1 substring$
2178 t #2 global.max$ substring$ 't :=
2179 duplicate$ is.num
2180 { s swap$ * 's := }
2181 { pop$ "" 't := }
2182 if$
2183 }
2184 while$
2185 s empty$
2186 'skip$
2187 { pop$ s }
2188 if$
2189 }
2190
2191 FUNCTION {convert.edition}
2192 { extract.num "l" change.case$ 's :=
2193 s "first" = s "1" = or
2194 { bbl.first 't := }
2195 { s "second" = s "2" = or
2196 { bbl.second 't := }
2197 { s "third" = s "3" = or
2198 { bbl.third 't := }
2199 { s "fourth" = s "4" = or
2200 { bbl.fourth 't := }
2201 { s "fifth" = s "5" = or
2202 { bbl.fifth 't := }
2203 { s #1 #1 substring$ is.num
2204 { s
2205 eng.ord
2206 't := }
2207 { edition 't := }
2208 if$
2209 }
2210 if$
2211 }
2212 if$
2213 }
2214 if$
2215 }
2216 if$
2217 }
2218 if$
2219 t
2220 }
2221
2222 FUNCTION {format.edition}
2223 { edition duplicate$ empty$ 'skip$
2224 {
2225 convert.edition
2226 output.state after.word = output.state after.punctuation = or
2227 { "l" }
2228 { "t" }
2229 if$ change.case$
2230 "edition" bibinfo.check
2231 word.space * bbl.edition *
2232 }
2233 if$
2234 }
2235
2236 INTEGERS { multiresult }
2237 FUNCTION {multi.page.check}
2238 { 't :=
2239 #0 'multiresult :=
2240 { multiresult not
2241 t empty$ not
2242 and
2243 }
2244 { t #1 #1 substring$
2245 duplicate$ "-" =
2246 swap$ duplicate$ "," =
2247 swap$ "+" =
2248 or or
2249 { #1 'multiresult := }
2250 { t #2 global.max$ substring$ 't := }
2251 if$
2252 }
2253 while$
2254 multiresult
2255 }
2256
2257 FUNCTION {format.pages}
2258 { pages duplicate$ empty$
2259 'skip$
2260 { duplicate$ multi.page.check
2261 {
2262 bbl.pages swap$
2263 n.dashify
2264 }{
2265 bbl.page swap$
2266 }
2267 if$
2268 tie.or.space.prefix
2269 "pages" bibinfo.check
2270 * *
2271 }
2272 if$
2273 }
2274
2275 FUNCTION {first.page}
2276 { 't :=
2277 ""
2278 { t empty$ not t #1 #1 substring$ "-" = not and }
2279 { t #1 #1 substring$ *
2280 t #2 global.max$ substring$ 't :=
2281 }
2282 while$
2283 }
2284
2285 FUNCTION {format.book.pages}
2286 {
2287 pages duplicate$ empty$ 'skip$
2288 {
2289 "pages" bibinfo.check word.space bbl.pages * *
2290 }
2291 if$
2292 }
2293
2294 FUNCTION {volnum.punct}
2295 {
2296 ","
2297 word.space *
2298 }
2299
2300 FUNCTION {format.journal.pages}
2301 { pages duplicate$ empty$ 'pop$
2302 { swap$ duplicate$ empty$
2303 { pop$ pop$ format.pages }
2304 { volnum.punct *
2305 swap$
2306 control.pages duplicate$ #0 < {
2307 pop$ pop$
2308 }{
2309 #0 >
2310 {
2311 n.dashify
2312 }{
2313 first.page
2314 } if$
2315 } if$
2316 "pages" bibinfo.check
2317 *
2318 }
2319 if$
2320 }
2321 if$
2322 }
2323
2324 FUNCTION {format.journal.eid}
2325 { eid "eid" bibinfo.check
2326 duplicate$ empty$ 'pop$
2327 { swap$ duplicate$ empty$ 'skip$
2328 { volnum.punct * }
2329 if$
2330 swap$ *
2331 }
2332 if$
2333 }
2334
2335 FUNCTION {eid.or.pages}
2336 {
2337 eid empty$
2338 { format.journal.pages }
2339 { format.journal.eid }
2340 if$
2341 }
2342
2343 FUNCTION {format.ser.vol.num}
2344 {
2345 series "series" bibinfo.check output
2346 volume field.or.null
2347 duplicate$ empty$ 'skip$
2348 {
2349 "volume" bibinfo.check
2350 }
2351 if$
2352 bolden
2353 number "number" bibinfo.check duplicate$ empty$ 'skip$
2354 {
2355 swap$ duplicate$ empty$
2356 { "there's a number but no volume in " cite$ * warning$ }
2357 'skip$
2358 if$
2359 swap$
2360 "~(" swap$ * ")" *
2361 }
2362 if$ *
2363 }
2364
2365 FUNCTION {format.chapter.pages}
2366 { chapter empty$
2367 {
2368 ""
2369 }
2370 { type empty$
2371 {
2372 bbl.chapter
2373 capitalize
2374 }{
2375 type
2376 capitalize
2377 "type" bibinfo.check
2378 }
2379 if$
2380 chapter tie.or.space.prefix
2381 "chapter" bibinfo.check
2382 * *
2383 }
2384 if$
2385 }
2386
2387 FUNCTION {format.booktitle}
2388 {
2389 booktitle duplicate$ "booktitle" bibinfo.check swap$
2390 duplicate$ empty$ 'pop$
2391 {
2392 punctuation.yes 'punctuation.state :=
2393 pop$ emphasize
2394 select.language
2395 }
2396 if$
2397 }
2398
2399 FUNCTION {format.editor.in}
2400 {
2401 editor "editor" format.names.ed duplicate$ empty$ 'skip$
2402 {
2403 bbl.edby
2404 word.space * swap$ *
2405 }
2406 if$
2407 }
2408
2409 FUNCTION {output.article.booktitle}
2410 {
2411 format.booktitle
2412 "booktitle" 'bibfield :=
2413 output
2414 bookaddress "address" bibinfo.check duplicate$ empty$ 'pop$
2415 {
2416 "address" 'bibfield :=
2417 output.nonnull after.punctuation 'output.state :=
2418 }
2419 if$
2420 }
2421
2422 FUNCTION {format.in.ed.booktitle}
2423 {
2424 format.booktitle duplicate$ empty$ 'pop$
2425 {
2426 add.doi
2427 word.in swap$ * output.nonnull
2428 bookaddress "address" bibinfo.check output
2429 format.number.series "series and number" bibinfo.check output
2430 format.bvolume output
2431 format.editor.in "editor" bibinfo.check output
2432 }
2433 if$
2434 }
2435
2436 FUNCTION {format.in.ed.booktitle.inbook}
2437 {
2438 format.booktitle duplicate$ empty$ 'pop$
2439 {
2440 add.doi
2441 word.in swap$ * output.nonnull
2442 bookaddress "address" bibinfo.check output
2443 format.number.series "series and number" bibinfo.check output
2444 format.bvolume output
2445 author empty$ 'skip$
2446 { format.editor.in "editor" bibinfo.check output }
2447 if$
2448 }
2449 if$
2450 }
2451
2452 FUNCTION {format.thesis.type}
2453 { type duplicate$ empty$
2454 'pop$
2455 { swap$ pop$
2456 "t" change.case$ "type" bibinfo.check
2457 }
2458 if$
2459 }
2460
2461 FUNCTION {format.tr.number}
2462 { number "number" bibinfo.check
2463 type duplicate$ empty$
2464 { pop$ bbl.techrep }
2465 'skip$
2466 if$
2467 "type" bibinfo.check
2468 swap$ duplicate$ empty$
2469 { pop$ "t" change.case$ }
2470 { tie.or.space.prefix * * }
2471 if$
2472 }
2473
2474 FUNCTION {format.article.crossref}
2475 {
2476 word.in
2477 " \cite{" * crossref * "}" *
2478 }
2479
2480 FUNCTION {format.book.crossref}
2481 { volume duplicate$ empty$
2482 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
2483 pop$ word.in
2484 }
2485 { bbl.volume
2486 swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
2487 }
2488 if$
2489 " \cite{" * crossref * "}" *
2490 }
2491
2492 FUNCTION {format.incoll.inproc.crossref}
2493 {
2494 word.in
2495 " \cite{" * crossref * "}" *
2496 }
2497
2498 FUNCTION {format.org.or.pub}
2499 { 't :=
2500 ""
2501 address "address" bibinfo.check
2502 duplicate$ empty$
2503 { pop$ t }
2504 { t duplicate$ empty$
2505 { pop$ }
2506 {
2507 "," word.space *
2508 * swap$ *
2509 }
2510 if$
2511 }
2512 if$
2513 *
2514 duplicate$ empty$ 'skip$ {
2515 ""
2516 "(" * swap$ * ")" *
2517 after.punctuation 'output.state :=
2518 punctuation.space 'punctuation.state :=
2519 } if$
2520 }
2521
2522 FUNCTION {format.publisher.address}
2523 { publisher "publisher" bibinfo.warn format.org.or.pub
2524 }
2525
2526 FUNCTION {format.organization.address}
2527 { organization "organization" bibinfo.check format.org.or.pub
2528 }
2529
2530 FUNCTION {format.organization.publisher.address}
2531 {
2532 publisher empty$
2533 { format.organization.address }
2534 { organization "organization" bibinfo.check output
2535 format.publisher.address
2536 }
2537 if$
2538 }
2539
2540 FUNCTION {format.school.address.output}
2541 {
2542 school "school" bibinfo.warn
2543 address "address" bibinfo.check
2544 duplicate$ empty$ 'skip$
2545 {
2546 swap$
2547 duplicate$ empty$ 'skip$
2548 {
2549 ", " *
2550 }
2551 if$
2552 swap$
2553 }
2554 if$
2555 *
2556 duplicate$ empty$ 'skip$ { "(" swap$ * ")" * } if$ after.punctuation 'output.state :=
2557 output
2558 }
2559
2560 FUNCTION {article.title.produce}
2561 {
2562 control.title duplicate$ #0 <
2563 { pop$
2564 }{
2565 format.title
2566 "title" 'bibfield :=
2567 swap$ #0 >
2568 {
2569 "title" output.check
2570 }{
2571 output
2572 } if$
2573 new.block.comma
2574 } if$
2575 }
2576
2577 FUNCTION {control}
2578 {
2579 }
2580
2581 FUNCTION {article}
2582 { output.bibitem
2583 format.authors
2584 booktitle empty$ {
2585 "author" output.check
2586 }{ output } if$
2587 author format.key output
2588 format.date.output.check date.block
2589 article.title.produce
2590 output.article.booktitle
2591 crossref missing$
2592 {
2593 link.open
2594 journal
2595 "journal" bibinfo.warn
2596 "journal" 'bibfield :=
2597 output
2598 add.blank
2599 format.ser.vol.num
2600 output
2601 eid.or.pages
2602 pages empty$ {
2603 doi output
2604 } 'skip$ if$
2605 link.shut
2606 }{
2607 format.article.crossref output.nonnull
2608 eid.or.pages
2609 }
2610 if$
2611 new.block.comma
2612 new.sentence.comma
2613 format.note output
2614 format.eprint.controlled output
2615 format.translation output
2616 fin.entry
2617 }
2618
2619 FUNCTION {book}
2620 { output.bibitem
2621 author empty$
2622 {
2623 format.editors "author and editor" output.check
2624 editor format.key output
2625 }{
2626 format.authors output.nonnull
2627 %% crossref missing$ { editor.check.book } 'skip$ if$
2628 }
2629 if$
2630 format.date.output.check date.block
2631 link.open
2632 format.btitle
2633 "title" output.check
2634 link.shut
2635 format.edition output
2636 author empty$
2637 {
2638 }
2639 {
2640 format.editor.in output
2641 editor format.key output
2642 }
2643 if$
2644 format.number.series output
2645 crossref missing$
2646 {
2647 format.bvolume output
2648 new.block.comma
2649 format.publisher.address output
2650 }{
2651 new.block.comma
2652 format.book.crossref output.nonnull
2653 }
2654 if$
2655 format.isbn.output
2656 format.chapter.pages
2657 output
2658 new.block.comma
2659 new.sentence.comma
2660 format.note output
2661 format.eprint output
2662 fin.entry
2663 }
2664
2665 FUNCTION {booklet}
2666 { output.bibitem
2667 format.authors output
2668 author format.key output
2669 format.date.output date.block
2670 link.open
2671 format.title
2672 "title" output.check
2673 link.shut
2674 new.block.comma
2675 howpublished "howpublished" bibinfo.check output
2676 address "address" bibinfo.check output
2677 format.isbn.output
2678 format.book.pages output
2679 new.block.comma
2680 new.sentence.comma
2681 format.note output
2682 format.eprint output
2683 fin.entry
2684 }
2685
2686 FUNCTION {footnote}
2687 { output.bibitem
2688 format.note output
2689 fin.entry
2690 }
2691
2692 FUNCTION {inbook}
2693 { output.bibitem
2694 author empty$
2695 {
2696 format.editors "editor" output.check
2697 editor format.key output
2698 }{
2699 format.authors output.nonnull
2700 author format.key output
2701 }
2702 if$
2703 format.date.output.check date.block
2704
2705 format.title output
2706 new.block.comma
2707
2708 crossref missing$
2709 {
2710 format.in.ed.booktitle.inbook
2711 format.chapter.pages
2712 "chapter"
2713 output.check
2714 new.block.comma
2715 format.edition output
2716 new.block.comma
2717 format.publisher.address output
2718 }{
2719 format.chapter.pages
2720 "chapter"
2721 output.check
2722 new.block.comma
2723 format.book.crossref output.nonnull
2724 }
2725 if$
2726 crossref missing$
2727 { format.isbn.output }
2728 'skip$
2729 if$
2730 format.pages "pages" output.check
2731 new.block.comma
2732 new.sentence.comma
2733 format.note output
2734 format.eprint output
2735 fin.entry
2736 }
2737
2738 FUNCTION {incollection}
2739 { output.bibitem
2740 format.authors "author" output.check
2741 author format.key output
2742 format.date.output.check date.block
2743 article.title.produce
2744 crossref missing$
2745 {
2746 format.in.ed.booktitle
2747 format.edition output
2748 format.chapter.pages output
2749 format.publisher.address output
2750 format.isbn.output
2751 }{
2752 format.incoll.inproc.crossref output.nonnull
2753 format.chapter.pages output
2754 }
2755 if$
2756 format.pages "pages" output.check
2757 new.block.comma
2758 new.sentence.comma
2759 format.note output
2760 format.eprint output
2761 fin.entry
2762 }
2763
2764 FUNCTION {inproceedings}
2765 { output.bibitem
2766 format.authors "author" output.check
2767 author format.key output
2768 format.date.output.check date.block
2769 article.title.produce
2770 crossref missing$
2771 {
2772 format.in.ed.booktitle
2773 format.organization.publisher.address output
2774 format.isbn.output
2775 format.issn.output
2776 }{
2777 format.incoll.inproc.crossref output.nonnull
2778 }
2779 if$
2780 format.chapter.pages "chapter and pages" output.check
2781 format.pages "pages" output.check
2782 new.block.comma
2783 new.sentence.comma
2784 format.note output
2785 format.eprint output
2786 fin.entry
2787 }
2788
2789 FUNCTION {conference} { inproceedings }
2790 FUNCTION {manual}
2791 { output.bibitem
2792 format.authors output
2793 author format.key output
2794 format.date.output date.block
2795 link.open
2796 format.btitle
2797 "title" output.check
2798 link.shut
2799 organization "organization" bibinfo.check output
2800 address "address" bibinfo.check output
2801 format.edition output
2802 new.block.comma
2803 new.sentence.comma
2804 format.note output
2805 format.eprint output
2806 fin.entry
2807 }
2808
2809 FUNCTION {mastersthesis}
2810 { output.bibitem
2811 format.authors "author" output.check
2812 author format.key output
2813 format.date.output.check date.block
2814 format.btitle
2815 output
2816 new.block.comma
2817 link.open
2818 bbl.mthesis
2819 format.thesis.type
2820 output.nonnull
2821 link.shut
2822 format.school.address.output
2823 new.block.comma
2824 new.sentence.comma
2825 format.note output
2826 format.eprint output
2827 fin.entry
2828 }
2829
2830 FUNCTION {misc}
2831 { output.bibitem
2832 format.authors output
2833 author format.key output
2834 format.date.output
2835 date.block
2836 link.open
2837 format.title
2838 output
2839 link.shut
2840 new.block.comma
2841 howpublished "howpublished" bibinfo.check output
2842 new.block.comma
2843 new.sentence.comma
2844 format.note output
2845 format.eprint output
2846 fin.entry
2847 }
2848
2849 FUNCTION {phdthesis}
2850 { output.bibitem
2851 format.authors "author" output.check
2852 author format.key output
2853 format.date.output.check date.block
2854 format.btitle
2855 output
2856 new.block.comma
2857 link.open
2858 bbl.phdthesis
2859 format.thesis.type
2860 output.nonnull
2861 link.shut
2862 format.school.address.output
2863 new.block.comma
2864 new.sentence.comma
2865 format.note output
2866 format.eprint output
2867 fin.entry
2868 }
2869
2870 FUNCTION {presentation}
2871 { output.bibitem
2872 format.authors output
2873 author format.key output
2874 new.block.comma
2875 link.open
2876 format.title
2877 output
2878 link.shut
2879 new.block.comma
2880 format.organization.address "organization and address" output.check
2881 month "month" output.check
2882 year "year" output.check
2883 new.block.comma
2884 new.sentence.comma
2885 format.note output
2886 new.sentence
2887 type missing$ 'skip$
2888 {"(" type capitalize * ")" * output}
2889 if$
2890 fin.entry
2891 }
2892
2893 FUNCTION {proceedings}
2894 { output.bibitem
2895 format.editors output
2896 editor format.key output
2897 format.date.output.check date.block
2898 link.open
2899 format.btitle
2900 "title" output.check
2901 link.shut
2902 bookaddress "address" bibinfo.check output
2903 format.number.series output
2904 format.bvolume output
2905 format.organization.publisher.address output
2906 format.isbn.output
2907 format.issn.output
2908 new.block.comma
2909 new.sentence.comma
2910 format.note output
2911 format.eprint output
2912 fin.entry
2913 }
2914
2915 FUNCTION {techreport}
2916 { output.bibitem
2917 format.authors "author" output.check
2918 author format.key output
2919 format.date.output.check date.block
2920 link.open
2921 format.btitle
2922 "title" output.check
2923 link.shut
2924 new.block.comma
2925 format.tr.number
2926 output.nonnull
2927 institution "institution" bibinfo.warn
2928 format.org.or.pub output
2929 new.block.comma
2930 new.sentence.comma
2931 format.note output
2932 format.eprint output
2933 fin.entry
2934 }
2935
2936 FUNCTION {unpublished}
2937 { output.bibitem
2938 format.authors "author" output.check
2939 author format.key output
2940 format.date.output date.block
2941 link.open
2942 format.title
2943 "title" output.check
2944 link.shut
2945 new.block.comma
2946 new.sentence.comma
2947 format.note "note" output.check
2948 format.eprint output
2949 fin.entry
2950 }
2951
2952 FUNCTION {dataset}
2953 {
2954 output.bibitem
2955 format.authors "author" output.check
2956 author format.key output
2957 format.date.output date.block
2958 article.title.produce
2959 doi missing$
2960 url missing$ not and
2961 {
2962 link.open
2963 url "url" output.check
2964 link.shut
2965 }
2966 {
2967 link.open
2968 doi "doi" output.check
2969 link.shut
2970 } if$
2971 format.note output
2972 fin.entry
2973 }
2974
2975 FUNCTION {default.type} { misc }
2976
2977 READ
2978
2979 EXECUTE {control.init}
2980
2981 ITERATE {control.pass}
2982
2983 EXECUTE {control.check}
2984
2985 FUNCTION {sortify}
2986 { purify$
2987 "l" change.case$
2988 }
2989
2990 INTEGERS { len }
2991
2992 FUNCTION {chop.word}
2993 { 's :=
2994 'len :=
2995 s #1 len substring$ =
2996 { s len #1 + global.max$ substring$ }
2997 's
2998 if$
2999 }
3000
3001 FUNCTION {cite.name.font.apply}
3002 {
3003 word.space * bbl.etal
3004 emphasize
3005 *
3006 }
3007
3008 FUNCTION {format.lab.names}
3009 { 's :=
3010 "" 't :=
3011 #1 'nameptr :=
3012 format.name.apply
3013 s num.names$ duplicate$
3014 #2 >
3015 { pop$
3016 cite.name.font.apply
3017 }{
3018 #2 <
3019 'skip$
3020 {
3021 s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
3022 {
3023 cite.name.font.apply
3024 }{
3025 bbl.and space.word *
3026 s #2 "{vv~}{ll}" format.name$
3027 cite.name.font
3028 *
3029 }
3030 if$
3031 }
3032 if$
3033 }
3034 if$
3035 }
3036
3037 FUNCTION {author.key.label}
3038 { author empty$
3039 { key empty$
3040 { cite$ #1 #3 substring$ }
3041 'key
3042 if$
3043 }
3044 { author format.lab.names }
3045 if$
3046 }
3047
3048 FUNCTION {author.editor.key.label}
3049 { author empty$
3050 { editor empty$
3051 { key empty$
3052 { cite$ #1 #3 substring$ }
3053 'key
3054 if$
3055 }
3056 { editor format.lab.names }
3057 if$
3058 }
3059 { author format.lab.names }
3060 if$
3061 }
3062
3063 FUNCTION {editor.key.label}
3064 { editor empty$
3065 { key empty$
3066 { cite$ #1 #3 substring$ }
3067 'key
3068 if$
3069 }
3070 { editor format.lab.names }
3071 if$
3072 }
3073
3074 FUNCTION {calc.short.authors}
3075 { type$ "book" =
3076 type$ "inbook" =
3077 or
3078 'author.editor.key.label
3079 { type$ "proceedings" =
3080 'editor.key.label
3081 'author.key.label
3082 if$
3083 }
3084 if$
3085 'short.list :=
3086 }
3087
3088 FUNCTION {calc.label}
3089 {
3090 calc.short.authors
3091 short.list
3092 year duplicate$ empty$
3093 short.list key field.or.null = or
3094 {
3095 pop$ ""
3096 "????" *
3097 }{
3098 control.year #0 > { purify$ #-1 #4 substring$ } 'skip$ if$
3099 }
3100 if$
3101 "(" swap$ *
3102 * 'label :=
3103 }
3104
3105 FUNCTION {sort.format.names}
3106 { 's :=
3107 #1 'nameptr :=
3108 ""
3109 s num.names$ 'numnames :=
3110 numnames 'namesleft :=
3111 { namesleft #0 > }
3112 { s nameptr
3113 "{ll{ }}"
3114 control.author.initials {
3115 "{ f{ }}" *
3116 }{
3117 "{ ff{ }}" *
3118 } if$
3119 "{ jj{ }}" *
3120 format.name$ 't :=
3121 nameptr #1 >
3122 {
3123 " " *
3124 namesleft #1 = t "others" = and
3125 { "zzzzz" * }
3126 {
3127 t sortify *
3128 }
3129 if$
3130 }
3131 { t sortify * }
3132 if$
3133 nameptr #1 + 'nameptr :=
3134 namesleft #1 - 'namesleft :=
3135 }
3136 while$
3137 }
3138
3139 FUNCTION {sort.format.title}
3140 { 't :=
3141 "A " #2
3142 "An " #3
3143 "The " #4 t chop.word
3144 chop.word
3145 chop.word
3146 sortify
3147 #1 global.max$ substring$
3148 }
3149
3150 FUNCTION {author.sort}
3151 { author empty$
3152 { key empty$
3153 { "to sort, need author or key in " cite$ * warning$
3154 ""
3155 }
3156 { key sortify }
3157 if$
3158 }
3159 { author sort.format.names }
3160 if$
3161 }
3162
3163 FUNCTION {author.editor.sort}
3164 { author empty$
3165 { editor empty$
3166 { key empty$
3167 { "to sort, need author, editor, or key in " cite$ * warning$
3168 ""
3169 }
3170 { key sortify }
3171 if$
3172 }
3173 { editor sort.format.names }
3174 if$
3175 }
3176 { author sort.format.names }
3177 if$
3178 }
3179
3180 FUNCTION {year.sort.key}
3181 {
3182 year
3183 }
3184
3185 FUNCTION {editor.sort}
3186 { editor empty$
3187 { key empty$
3188 { "to sort, need editor or key in " cite$ * warning$
3189 ""
3190 }
3191 { key sortify }
3192 if$
3193 }
3194 { editor sort.format.names }
3195 if$
3196 }
3197
3198 INTEGERS { seq.num }
3199
3200 FUNCTION {init.seq}
3201 { #0 'seq.num :=}
3202
3203 EXECUTE {init.seq}
3204
3205 FUNCTION {int.to.fix}
3206 { "000000000" swap$ int.to.str$ *
3207 #-1 #10 substring$
3208 }
3209
3210 FUNCTION {label.presort}
3211 {
3212 calc.label
3213 label sortify
3214 " "
3215 *
3216 type$ "book" =
3217 type$ "inbook" =
3218 or
3219 'author.editor.sort
3220 { type$ "proceedings" =
3221 'editor.sort
3222 'author.sort
3223 if$
3224 }
3225 if$
3226 #1 entry.max$ substring$
3227 'sort.label :=
3228 sort.label
3229 *
3230 " "
3231 *
3232 title field.or.null sort.format.title
3233 *
3234 #1 entry.max$ substring$
3235 'sort.key$ :=
3236 }
3237
3238 FUNCTION {presort.pass}
3239 { type$ "control" = 'control.presort 'label.presort if$
3240 }
3241
3242 ITERATE {presort.pass}
3243
3244 SORT
3245
3246 STRINGS { last.label next.extra }
3247
3248 INTEGERS { last.extra.num number.label }
3249
3250 FUNCTION {initialize.extra.label.stuff}
3251 { #0 int.to.chr$ 'last.label :=
3252 "" 'next.extra :=
3253 #0 'last.extra.num :=
3254 #0 'number.label :=
3255 }
3256
3257 FUNCTION {label.forward}
3258 {
3259 last.label label =
3260 { last.extra.num #1 + 'last.extra.num :=
3261 last.extra.num int.to.chr$ 'extra.label :=
3262 }
3263 { "a" chr.to.int$ 'last.extra.num :=
3264 "" 'extra.label :=
3265 label 'last.label :=
3266 }
3267 if$
3268 number.label #1 + 'number.label :=
3269 }
3270
3271 FUNCTION {label.reverse}
3272 { next.extra "b" =
3273 { "a" 'extra.label := }
3274 'skip$
3275 if$
3276 extra.label 'next.extra :=
3277 extra.label
3278 duplicate$ empty$
3279 'skip$
3280 { "{\natexlab{" swap$ * "}}" * }
3281 if$
3282 'extra.label :=
3283 label extra.label * 'label :=
3284 }
3285
3286 EXECUTE {initialize.extra.label.stuff}
3287
3288 FUNCTION {forward.pass}
3289 { type$ "control" = 'control.forward 'label.forward if$
3290 }
3291
3292 ITERATE {forward.pass}
3293
3294 FUNCTION {reverse.pass}
3295 { type$ "control" = 'control.reverse 'label.reverse if$
3296 }
3297
3298 REVERSE {reverse.pass}
3299
3300 FUNCTION {sortkey.sort}
3301 { sort.label
3302 " "
3303 *
3304 year.sort.key
3305 field.or.null sortify
3306 *
3307 " "
3308 *
3309 title field.or.null sort.format.title
3310 *
3311 #1 entry.max$ substring$
3312 'sort.key$ :=
3313 }
3314
3315 FUNCTION {bib.sort.pass}
3316 { type$ "control" = 'control.sort 'sortkey.sort if$
3317 }
3318
3319 ITERATE {bib.sort.pass}
3320
3321 SORT
3322
3323 FUNCTION {init.bib.eprint}
3324 {
3325 "\texttt {"
3326 pop$
3327 "\providecommand \url [0]{\begingroup\@sanitize@url \@url }%" write$ newline$
3328 "\providecommand \@url [1]{\endgroup\@href {#1}{" "}}%" bbl.url.prefix swap$ * * write$ newline$
3329 "\providecommand " " [0]{URL }%" bbl.url.prefix swap$ * * write$ newline$
3330 eprint.command "\providecommand " swap$ * "[0]{\href }%" * write$ newline$
3331 }
3332
3333 FUNCTION {init.bib.doi}
3334 {
3335 "\providecommand \doibase [0]{" doi.base "}%" * * write$ newline$
3336 }
3337
3338 FUNCTION {init.bib.hypertex}
3339 {
3340 "\providecommand " noop.command "[0]{\@secondoftwo}%" * * write$ newline$
3341 "\providecommand " href.command "[0]{\begingroup \@sanitize@url \@href}%" * * write$ newline$
3342 "\providecommand \@href[1]{\@@startlink{#1}\@@href}%" write$ newline$
3343 "\providecommand \@@href[1]{\endgroup#1\@@endlink}%" write$ newline$
3344 "\providecommand \@sanitize@url [0]{\catcode `\\12\catcode `\$12\catcode `\&12\catcode `\#12\catcode `\^12\catcode `\_12\catcode `\%12\relax}%" write$ newline$
3345 "\providecommand \@@startlink[1]{}%" write$ newline$
3346 "\providecommand \@@endlink[0]{}%" write$ newline$
3347 }
3348
3349 FUNCTION {init.bib.namefont}
3350 {
3351 "\providecommand \bibnamefont [1]{#1}%" write$ newline$
3352 "\providecommand \bibfnamefont [1]{#1}%" write$ newline$
3353 "\providecommand \citenamefont [1]{#1}%" write$ newline$
3354 }
3355
3356 FUNCTION {init.bib.quote}
3357 {
3358 "\providecommand " bbl.enquote * " [1]{" *
3359 "``" "''"
3360 "#1" swap$ "}%" * * * * write$ newline$
3361 }
3362
3363 FUNCTION {init.bib.ay}
3364 {
3365 "\providecommand \natexlab [1]{#1}%"
3366 write$ newline$
3367 }
3368
3369 FUNCTION {init.bib.bibinfo}
3370 {
3371 bibinfo.command "\providecommand " swap$ * " [0]{\@secondoftwo}%" * write$ newline$
3372 bibfield.command "\providecommand " swap$ * " [0]{\@secondoftwo}%" * write$ newline$
3373 }
3374
3375 FUNCTION {init.bib.lang}
3376 {
3377 "\providecommand \selectlanguage [0]{\@gobble}%" write$ newline$
3378 }
3379
3380 FUNCTION {init.bib.endbibitem}
3381 {
3382 "\providecommand " bbl.open * "[0]{}%" * write$ newline$
3383 "\providecommand \bibitemStop [0]{}%" write$ newline$
3384 "\providecommand \bibitemNoStop [0]{.\EOS\space}%" write$ newline$
3385 "\providecommand \EOS [0]{\spacefactor3000\relax}%" write$ newline$
3386 }
3387
3388 FUNCTION {init.bib.translation}
3389 {
3390 "\providecommand \translation [1]{[#1]}%" write$ newline$
3391 }
3392
3393 FUNCTION {warn.bib}
3394 {
3395 }
3396
3397 FUNCTION {init.bib}
3398 {
3399 warn.bib
3400 "\makeatletter" write$ newline$
3401 "\providecommand \@ifxundefined [1]{%" write$ newline$
3402 " \@ifx{#1\undefined}" write$ newline$
3403 "}%" write$ newline$
3404 "\providecommand \@ifnum [1]{%" write$ newline$
3405 " \ifnum #1\expandafter \@firstoftwo" write$ newline$
3406 " \else \expandafter \@secondoftwo" write$ newline$
3407 " \fi" write$ newline$
3408 "}%" write$ newline$
3409 "\providecommand \@ifx [1]{%" write$ newline$
3410 " \ifx #1\expandafter \@firstoftwo" write$ newline$
3411 " \else \expandafter \@secondoftwo" write$ newline$
3412 " \fi" write$ newline$
3413 "}%" write$ newline$
3414 init.bib.ay
3415 init.bib.quote
3416 init.bib.namefont
3417 init.bib.hypertex
3418 init.bib.eprint
3419 init.bib.doi
3420 init.bib.lang
3421 init.bib.bibinfo
3422 init.bib.translation
3423 init.bib.endbibitem
3424 "\providecommand " bbl.shut * " [1]{\csname bibitem#1\endcsname}%" * write$ newline$
3425 "\let\auto@bib@innerbib\@empty" write$ newline$
3426 "%</preamble>" write$
3427 }
3428
3429 FUNCTION {begin.bib}
3430 {
3431 id.bst diagn.cmntlog
3432 control.bib
3433 preamble$ empty$
3434 'skip$
3435 { preamble$ write$ newline$ }
3436 if$
3437 "\begin{thebibliography}{"
3438 number.label int.to.str$
3439 * "}%" *
3440 write$ newline$
3441 init.bib
3442 }
3443
3444 EXECUTE {begin.bib}
3445
3446 EXECUTE {init.state.consts}
3447
3448 ITERATE {call.type$}
3449
3450 FUNCTION {end.bib}
3451 { newline$
3452 "\end{thebibliography}%"
3453 write$ newline$
3454 }
3455
3456 EXECUTE {end.bib}
3457
3458 %% End of customized bst file
3459 %%
3460 %% End of file `apsrmp4-2.bst'.