Debian Codegraph @

texmf-dist/source/latex/revtex4-1/revtex4-1-bst.dtx

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