Debian Codegraph @

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

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