Debian Codegraph @

texmf-dist/bibtex/bst/revtex4-1/apsrmp4-1.bst

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