Debian Codegraph @

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

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