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