| 1 |
%%%%% |
| 2 |
%%%%% *** This .bst produces the reference format for ASME conference papers. *** |
| 3 |
%%%%% *** Follows the examples given on ASME's conference web pages in early 2022. *** |
| 4 |
%%%%% *** https://www.asme.org/publications-submissions/proceedings/author-guidelines/elements-of-a-paper/references *** |
| 5 |
%%%%% *** The examples given by ASME do *not* cover all possibilities *** |
| 6 |
%%%%% |
| 7 |
%%%%% This file is version 1.17 dated 2025/11/02 |
| 8 |
%%%%% |
| 9 |
%%%%% Author: John H. Lienhard V |
| 10 |
%%%%% Department of Mechanical Engineering |
| 11 |
%%%%% Massachusetts Institute of Technology |
| 12 |
%%%%% Cambridge, MA 02139-4307 USA |
| 13 |
%%%%% |
| 14 |
%%%%% The source files used are described below. The resultant bst has been edited to improve |
| 15 |
%%%%% conformance to ASME specifications. Two new fields have been introduced for ASME |
| 16 |
%%%%% conference papers: |
| 17 |
%%%%% |
| 18 |
%%%%% venue = {city of conference}, |
| 19 |
%%%%% eventdate = {month, day[s] on which conference was held}, %% called confmonth in version 1.0 |
| 20 |
%%%%% |
| 21 |
%%%%% This approach leaves the address field as publisher's address, |
| 22 |
%%%%% and it leaves the notes field open for other uses. |
| 23 |
%%%%% |
| 24 |
%%%%% Added fields: eventdate, urldate, urltype, venue |
| 25 |
%%%%% Added: @online{...} for web publications (and aliased it to @www and @electronic) |
| 26 |
%%%%% Added: urlprefix = {}, format.web.urldate, bbl.urldate; urltype field changes "accessed" to something else. |
| 27 |
%%%%% Added: venue and eventdate to @inproceedings |
| 28 |
%%%%% |
| 29 |
%%%%% |
| 30 |
%%%%% Edits in version 1.17, 2025/11/02 |
| 31 |
%%%%% replace "\textit" by "\emph" in emphasis function |
| 32 |
%%%%% |
| 33 |
%%%%% Edits in version 1.16, 2024/02/03 |
| 34 |
%%%%% fix spacing and punctuation in journal title macros |
| 35 |
%%%%% |
| 36 |
%%%%% Edits in version 1.15, 2022/12/30 |
| 37 |
%%%%% Add macro "jhmt" for "ASME J. Heat Mass Transfer" |
| 38 |
%%%%% |
| 39 |
%%%%% Edits in version 1.14, 2022/09/13 |
| 40 |
%%%%% Add code to format.journal.pages to deal with empty pages |
| 41 |
%%%%% |
| 42 |
%%%%% Edits in version 1.13, 2021/12/02 |
| 43 |
%%%%% Switched remaining http:// prefixes to https:// |
| 44 |
%%%%% Replace \href{}{} in \eprint by \url |
| 45 |
%%%%% |
| 46 |
%%%%% Edits in version 1.12, 2021/01/04: |
| 47 |
%%%%% Added fields: version={}, format.version, to @book, @inbook, @online, @manual; |
| 48 |
%%%%% versiontype = {}, with bbl.version, changes "Version" to other |
| 49 |
%%%%% |
| 50 |
%%%%% Edits in version 1.11, 2020/04/14: |
| 51 |
%%%%% correct error in journal eid code. |
| 52 |
%%%%% remove comma between Vol. and No. in article, per ASME style |
| 53 |
%%%%% capitalize "Thesis", per ASME style |
| 54 |
%%%%% insert "." after techreport number, per ASME style |
| 55 |
%%%%% edits to @inbook, @proceedings, @incollection related to chapter and series. |
| 56 |
%%%%% make punctuation after "(ed.)" consistent across entries. |
| 57 |
%%%%% adjust block breaks in @online. |
| 58 |
%%%%% allow for venue and eventdate in @proceedings |
| 59 |
%%%%% add macros for ASME journal titles. add hdl as an equivalent to hndl archive macro. |
| 60 |
%%%%% add numpages functionality for eid: "eid (numpages pages)" |
| 61 |
%%%%% remove "doi" field from @online (since doi is a digital object identifier, not a web page). |
| 62 |
%%%%% add "urldate" to eprint format, for optional use. |
| 63 |
%%%%% warn in @online not to use both eprint and url, and warn if neither is given. |
| 64 |
%%%%% remove series and add volume to @inproceedings. |
| 65 |
%%%%% |
| 66 |
%%%%% Feel free to edit this file to suit your own needs, but please make note of changes in this header. |
| 67 |
%%%%% |
| 68 |
%%========================================================= |
| 69 |
%% LICENSE: |
| 70 |
%% This file is a derivative work from the generated file, as envisioned by the LaTeX Project Public License. |
| 71 |
%% |
| 72 |
%% Copyright (c) 2020 John Lienhard |
| 73 |
%% |
| 74 |
%% Permission is hereby granted, free of charge, to any person obtaining a copy of this software and |
| 75 |
%% associated documentation files (the "Software"), to deal in the Software without restriction, |
| 76 |
%% including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 77 |
%% and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, |
| 78 |
%% subject to the following conditions: |
| 79 |
%% |
| 80 |
%% The above copyright notice and this permission notice shall be included in all copies or |
| 81 |
%% substantial portions of the Software. |
| 82 |
%% |
| 83 |
%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT |
| 84 |
%% NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 85 |
%% IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 86 |
%% WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 87 |
%% SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 88 |
%% |
| 89 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 90 |
%% |
| 91 |
%% This is file `asmeconf.bst', |
| 92 |
%% generated with the docstrip utility. |
| 93 |
%% |
| 94 |
%% The original source files were: |
| 95 |
%% |
| 96 |
%% merlin.mbs (with options: `seq-no,nm-revf,ed-rev,jnrlst,dt-jnl,yr-par,xmth,yrp-col,tit-qq,atit-u,thtit-a,vnum-nr,volp-blk,jdt-pc,jwdpg,pp-last,jwdvol,num-xser,numser,jnm-x,pre-pub,doi,edparc,in-x,pp,ed,abr,ednx,ord,and-xcom,etal-xc,revdata,eprint,url,url-blk,em-it,nfss,') |
| 97 |
%% ---------------------------------------- |
| 98 |
%% *** This .bst produces the reference format for ASME conference papers. *** |
| 99 |
%% |
| 100 |
%% Copyright 1994-2011 Patrick W Daly |
| 101 |
%% |
| 102 |
% =============================================================== |
| 103 |
% IMPORTANT NOTICE: |
| 104 |
% This bibliographic style (bst) file has been generated from one or |
| 105 |
% more master bibliographic style (mbs) files, listed above. |
| 106 |
% |
| 107 |
% This generated file can be redistributed and/or modified under the terms |
| 108 |
% of the LaTeX Project Public License Distributed from CTAN |
| 109 |
% archives in directory macros/latex/base/lppl.txt; either |
| 110 |
% version 1 of the License, or any later version. |
| 111 |
% =============================================================== |
| 112 |
% Name and version information of the main mbs file: |
| 113 |
% \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)] |
| 114 |
% For use with BibTeX version 0.99a or later |
| 115 |
%------------------------------------------------------------------- |
| 116 |
% This bibliography style file is intended for texts in ENGLISH |
| 117 |
% This is a numerical citation style, and as such is standard LaTeX. |
| 118 |
% It requires no extra package to interface to the main text. |
| 119 |
% The form of the \bibitem entries is |
| 120 |
% \bibitem{key}... |
| 121 |
% Usage of \cite is as follows: |
| 122 |
% \cite{key} ==>> [#] |
| 123 |
% \cite[chap. 2]{key} ==>> [#, chap. 2] |
| 124 |
% where # is a number determined by the ordering in the reference list. |
| 125 |
% The order in the reference list is that by which the works were originally |
| 126 |
% cited in the text, or that in the database. |
| 127 |
%--------------------------------------------------------------------- |
| 128 |
|
| 129 |
ENTRY |
| 130 |
{ address |
| 131 |
archive |
| 132 |
author |
| 133 |
booktitle |
| 134 |
chapter |
| 135 |
collaboration |
| 136 |
doi |
| 137 |
edition |
| 138 |
editor |
| 139 |
eid |
| 140 |
eprint |
| 141 |
eventdate |
| 142 |
howpublished |
| 143 |
institution |
| 144 |
journal |
| 145 |
key |
| 146 |
month |
| 147 |
note |
| 148 |
number |
| 149 |
numpages |
| 150 |
organization |
| 151 |
pages |
| 152 |
publisher |
| 153 |
school |
| 154 |
series |
| 155 |
title |
| 156 |
type |
| 157 |
url |
| 158 |
urldate |
| 159 |
urltype |
| 160 |
venue |
| 161 |
version |
| 162 |
versiontype |
| 163 |
volume |
| 164 |
year |
| 165 |
} |
| 166 |
{} |
| 167 |
{ label } |
| 168 |
INTEGERS { output.state before.all mid.sentence after.sentence after.block } |
| 169 |
FUNCTION {init.state.consts} |
| 170 |
{ #0 'before.all := |
| 171 |
#1 'mid.sentence := |
| 172 |
#2 'after.sentence := |
| 173 |
#3 'after.block := |
| 174 |
} |
| 175 |
STRINGS { s t} |
| 176 |
FUNCTION {output.nonnull} |
| 177 |
{ 's := |
| 178 |
output.state mid.sentence = |
| 179 |
{ ", " * write$ } |
| 180 |
{ output.state after.block = |
| 181 |
{ add.period$ write$ |
| 182 |
newline$ |
| 183 |
"\newblock " write$ |
| 184 |
} |
| 185 |
{ output.state before.all = |
| 186 |
'write$ |
| 187 |
{ add.period$ " " * write$ } |
| 188 |
if$ |
| 189 |
} |
| 190 |
if$ |
| 191 |
mid.sentence 'output.state := |
| 192 |
} |
| 193 |
if$ |
| 194 |
s |
| 195 |
} |
| 196 |
FUNCTION {output} |
| 197 |
{ duplicate$ empty$ |
| 198 |
'pop$ |
| 199 |
'output.nonnull |
| 200 |
if$ |
| 201 |
} |
| 202 |
FUNCTION {output.check} |
| 203 |
{ 't := |
| 204 |
duplicate$ empty$ |
| 205 |
{ pop$ "empty " t * " in " * cite$ * warning$ } |
| 206 |
'output.nonnull |
| 207 |
if$ |
| 208 |
} |
| 209 |
FUNCTION {fin.entry} |
| 210 |
{ add.period$ |
| 211 |
write$ |
| 212 |
newline$ |
| 213 |
} |
| 214 |
|
| 215 |
FUNCTION {new.block} |
| 216 |
{ output.state before.all = |
| 217 |
'skip$ |
| 218 |
{ after.block 'output.state := } |
| 219 |
if$ |
| 220 |
} |
| 221 |
FUNCTION {new.sentence} |
| 222 |
{ output.state after.block = |
| 223 |
'skip$ |
| 224 |
{ output.state before.all = |
| 225 |
'skip$ |
| 226 |
{ after.sentence 'output.state := } |
| 227 |
if$ |
| 228 |
} |
| 229 |
if$ |
| 230 |
} |
| 231 |
FUNCTION {add.blank} |
| 232 |
{ " " * before.all 'output.state := |
| 233 |
} |
| 234 |
|
| 235 |
FUNCTION {date.block} |
| 236 |
{ |
| 237 |
":" * |
| 238 |
add.blank |
| 239 |
} |
| 240 |
|
| 241 |
FUNCTION {conf.date.block} |
| 242 |
{ pages empty$ |
| 243 |
'skip$ |
| 244 |
{ |
| 245 |
":" * |
| 246 |
add.blank |
| 247 |
} |
| 248 |
if$ |
| 249 |
} |
| 250 |
|
| 251 |
FUNCTION {not} |
| 252 |
{ { #0 } |
| 253 |
{ #1 } |
| 254 |
if$ |
| 255 |
} |
| 256 |
FUNCTION {and} |
| 257 |
{ 'skip$ |
| 258 |
{ pop$ #0 } |
| 259 |
if$ |
| 260 |
} |
| 261 |
FUNCTION {or} |
| 262 |
{ { pop$ #1 } |
| 263 |
'skip$ |
| 264 |
if$ |
| 265 |
} |
| 266 |
FUNCTION {non.stop} |
| 267 |
{ duplicate$ |
| 268 |
"}" * add.period$ |
| 269 |
#-1 #1 substring$ "." = |
| 270 |
} |
| 271 |
|
| 272 |
FUNCTION {new.block.checka} |
| 273 |
{ empty$ |
| 274 |
'skip$ |
| 275 |
'new.block |
| 276 |
if$ |
| 277 |
} |
| 278 |
FUNCTION {new.block.checkb} |
| 279 |
{ empty$ |
| 280 |
swap$ empty$ |
| 281 |
and |
| 282 |
'skip$ |
| 283 |
'new.block |
| 284 |
if$ |
| 285 |
} |
| 286 |
FUNCTION {new.sentence.checka} |
| 287 |
{ empty$ |
| 288 |
'skip$ |
| 289 |
'new.sentence |
| 290 |
if$ |
| 291 |
} |
| 292 |
FUNCTION {new.sentence.checkb} |
| 293 |
{ empty$ |
| 294 |
swap$ empty$ |
| 295 |
and |
| 296 |
'skip$ |
| 297 |
'new.sentence |
| 298 |
if$ |
| 299 |
} |
| 300 |
FUNCTION {field.or.null} |
| 301 |
{ duplicate$ empty$ |
| 302 |
{ pop$ "" } |
| 303 |
'skip$ |
| 304 |
if$ |
| 305 |
} |
| 306 |
FUNCTION {emphasize} |
| 307 |
{ duplicate$ empty$ |
| 308 |
{ pop$ "" } |
| 309 |
{ "\emph{" swap$ * "}" * } |
| 310 |
if$ |
| 311 |
} |
| 312 |
FUNCTION {tie.or.space.prefix} |
| 313 |
{ duplicate$ text.length$ #3 < |
| 314 |
{ "~" } |
| 315 |
{ " " } |
| 316 |
if$ |
| 317 |
swap$ |
| 318 |
} |
| 319 |
|
| 320 |
FUNCTION {capitalize} |
| 321 |
{ "u" change.case$ "t" change.case$ } |
| 322 |
|
| 323 |
FUNCTION {space.word} |
| 324 |
{ " " swap$ * " " * } |
| 325 |
% Here are the language-specific definitions for explicit words. |
| 326 |
% Each function has a name bbl.xxx where xxx is the English word. |
| 327 |
% The language selected here is ENGLISH |
| 328 |
FUNCTION {bbl.and} |
| 329 |
{ "and"} |
| 330 |
|
| 331 |
FUNCTION {bbl.etal} |
| 332 |
{ "et~al." } |
| 333 |
|
| 334 |
FUNCTION {bbl.editors} |
| 335 |
{ "eds." } |
| 336 |
|
| 337 |
FUNCTION {bbl.editor} |
| 338 |
{ "ed." } |
| 339 |
|
| 340 |
FUNCTION {bbl.edby} |
| 341 |
{ "edited by" } |
| 342 |
|
| 343 |
FUNCTION {bbl.edition} |
| 344 |
{ "ed." } |
| 345 |
|
| 346 |
FUNCTION {bbl.volume} |
| 347 |
{ "Vol." } |
| 348 |
|
| 349 |
FUNCTION {bbl.of} |
| 350 |
{ "of" } |
| 351 |
|
| 352 |
FUNCTION {bbl.number} |
| 353 |
{ "No." } |
| 354 |
|
| 355 |
FUNCTION {bbl.nr} |
| 356 |
{ "No." } |
| 357 |
|
| 358 |
FUNCTION {bbl.in} |
| 359 |
{ "in" } |
| 360 |
|
| 361 |
FUNCTION {bbl.paperno} |
| 362 |
{ "" } |
| 363 |
|
| 364 |
FUNCTION {bbl.pages} |
| 365 |
{ "pp." } |
| 366 |
|
| 367 |
FUNCTION {bbl.page} |
| 368 |
{ "p." } |
| 369 |
|
| 370 |
FUNCTION {bbl.eidpp} |
| 371 |
{ "pages" } |
| 372 |
|
| 373 |
FUNCTION {bbl.chapter} |
| 374 |
{ "Chap." } |
| 375 |
|
| 376 |
FUNCTION {bbl.techrep} |
| 377 |
{ "Technical Report" } |
| 378 |
|
| 379 |
FUNCTION {bbl.mthesis} |
| 380 |
{ "Master's Thesis" } |
| 381 |
|
| 382 |
FUNCTION {bbl.phdthesis} |
| 383 |
{ "Ph.D. Thesis" } |
| 384 |
|
| 385 |
FUNCTION {bbl.first} |
| 386 |
{ "1st" } |
| 387 |
|
| 388 |
FUNCTION {bbl.second} |
| 389 |
{ "2nd" } |
| 390 |
|
| 391 |
FUNCTION {bbl.third} |
| 392 |
{ "3rd" } |
| 393 |
|
| 394 |
FUNCTION {bbl.fourth} |
| 395 |
{ "4th" } |
| 396 |
|
| 397 |
FUNCTION {bbl.fifth} |
| 398 |
{ "5th" } |
| 399 |
|
| 400 |
FUNCTION {bbl.st} |
| 401 |
{ "st" } |
| 402 |
|
| 403 |
FUNCTION {bbl.nd} |
| 404 |
{ "nd" } |
| 405 |
|
| 406 |
FUNCTION {bbl.rd} |
| 407 |
{ "rd" } |
| 408 |
|
| 409 |
FUNCTION {bbl.th} |
| 410 |
{ "th" } |
| 411 |
|
| 412 |
FUNCTION {bbl.urldate} |
| 413 |
{ "Accessed" } |
| 414 |
|
| 415 |
FUNCTION {bbl.version} |
| 416 |
{ "Version" } |
| 417 |
|
| 418 |
MACRO {jan} {"Jan."} |
| 419 |
|
| 420 |
MACRO {feb} {"Feb."} |
| 421 |
|
| 422 |
MACRO {mar} {"Mar."} |
| 423 |
|
| 424 |
MACRO {apr} {"Apr."} |
| 425 |
|
| 426 |
MACRO {may} {"May"} |
| 427 |
|
| 428 |
MACRO {jun} {"Jun."} |
| 429 |
|
| 430 |
MACRO {jul} {"Jul."} |
| 431 |
|
| 432 |
MACRO {aug} {"Aug."} |
| 433 |
|
| 434 |
MACRO {sep} {"Sep."} |
| 435 |
|
| 436 |
MACRO {oct} {"Oct."} |
| 437 |
|
| 438 |
MACRO {nov} {"Nov."} |
| 439 |
|
| 440 |
MACRO {dec} {"Dec."} |
| 441 |
|
| 442 |
FUNCTION {eng.ord} |
| 443 |
{ duplicate$ "1" swap$ * |
| 444 |
#-2 #1 substring$ "1" = |
| 445 |
{ bbl.th * } |
| 446 |
{ duplicate$ #-1 #1 substring$ |
| 447 |
duplicate$ "1" = |
| 448 |
{ pop$ bbl.st * } |
| 449 |
{ duplicate$ "2" = |
| 450 |
{ pop$ bbl.nd * } |
| 451 |
{ "3" = |
| 452 |
{ bbl.rd * } |
| 453 |
{ bbl.th * } |
| 454 |
if$ |
| 455 |
} |
| 456 |
if$ |
| 457 |
} |
| 458 |
if$ |
| 459 |
} |
| 460 |
if$ |
| 461 |
} |
| 462 |
|
| 463 |
MACRO {arxiv} {"https://arxiv.org/abs/"} |
| 464 |
|
| 465 |
MACRO {googlebooks} {"https://books.google.com/books?id="} |
| 466 |
|
| 467 |
MACRO {hdl} {"https://hdl.handle.net/"} |
| 468 |
MACRO {hndl} {"https://hdl.handle.net/"} |
| 469 |
|
| 470 |
MACRO {jstor} {"https://www.jstor.org/stable/"} |
| 471 |
|
| 472 |
MACRO {oclc} {"https://www.worldcat.org/oclc/"} |
| 473 |
|
| 474 |
MACRO {pubmed} {"https://www.ncbi.nlm.nih.gov/pubmed/"} |
| 475 |
|
| 476 |
|
| 477 |
MACRO {amr} {"Appl.\ Mech. Rev."} |
| 478 |
|
| 479 |
MACRO {lds} {"ASME Letters Dynamic Systems"} |
| 480 |
|
| 481 |
MACRO {jru} {"ASME J. Risk Uncertainty"} |
| 482 |
|
| 483 |
MACRO {jsbc} {"ASME J. Sustainable Bldg.\ and Cities"} |
| 484 |
|
| 485 |
MACRO {jam} {"ASME J. Appl.\ Mech."} |
| 486 |
|
| 487 |
MACRO {jbe} {"ASME J. Biomed.\ Eng."} |
| 488 |
|
| 489 |
MACRO {jcnd} {"ASME J. Comput.\ Nonlin.\ Dyn."} |
| 490 |
|
| 491 |
MACRO {jcise} {"ASME J. Comput.\ Inf.\ Sci.\ Eng."} |
| 492 |
|
| 493 |
MACRO {jds} {"J. Dyn. Syst.---T. ASME"} |
| 494 |
|
| 495 |
MACRO {jep} {"ASME J. Electron.\ Packag."} |
| 496 |
|
| 497 |
MACRO {jert} {"ASME J. Energy Resour."} |
| 498 |
|
| 499 |
MACRO {jegtp} {"ASME J. Eng.\ Gas Turbines Power"} |
| 500 |
|
| 501 |
MACRO {jem} {"ASME J. Eng.\ Mater."} |
| 502 |
|
| 503 |
MACRO {jfe} {"ASME J. Fluids Eng."} |
| 504 |
|
| 505 |
MACRO {jfcst} {"ASME J. Fuel Cell Sci.\ Tech."} |
| 506 |
|
| 507 |
MACRO {jht} {"ASME J. Heat Transfer"} |
| 508 |
|
| 509 |
MACRO {jhmt} {"ASME J. Heat Mass Transfer"} |
| 510 |
|
| 511 |
MACRO {jmse} {"ASME J. Manuf.\ Sci.\ E."} |
| 512 |
|
| 513 |
MACRO {jmd} {"ASME J. Mech.\ Des."} |
| 514 |
|
| 515 |
MACRO {jmr} {"ASME J. Mech.\ Robot."} |
| 516 |
|
| 517 |
MACRO {jmdv} {"ASME J. Med.\ Devices"} |
| 518 |
|
| 519 |
MACRO {jmnm} {"ASME J. Micro Nano-Manuf."} |
| 520 |
|
| 521 |
MACRO {jnem} {"ASME J. Nanotech Eng.\ Med."} |
| 522 |
|
| 523 |
MACRO {joma} {"ASME J. Offshore Mech.\ Arct."} |
| 524 |
|
| 525 |
MACRO {jpv} {"ASME J. Press.\ Vess."} |
| 526 |
|
| 527 |
MACRO {jse} {"ASME J. Sol.\ Energy"} |
| 528 |
|
| 529 |
MACRO {jtsea} {"ASME J. Therm.\ Sci.\ Eng.\ Appl."} |
| 530 |
|
| 531 |
MACRO {jtb} {"ASME J. Tribol."} |
| 532 |
|
| 533 |
MACRO {jtm} {"ASME J. Turbomach."} |
| 534 |
|
| 535 |
MACRO {jva} {"ASME J. Vib.\ Acoust."} |
| 536 |
|
| 537 |
|
| 538 |
MACRO {acmcs} {"ACM Computing Surveys"} |
| 539 |
|
| 540 |
MACRO {acta} {"Acta Informatica"} |
| 541 |
|
| 542 |
MACRO {cacm} {"Communications of the ACM"} |
| 543 |
|
| 544 |
MACRO {ibmjrd} {"IBM Journal of Research and Development"} |
| 545 |
|
| 546 |
MACRO {ibmsj} {"IBM Systems Journal"} |
| 547 |
|
| 548 |
MACRO {ieeese} {"IEEE Transactions on Software Engineering"} |
| 549 |
|
| 550 |
MACRO {ieeetc} {"IEEE Transactions on Computers"} |
| 551 |
|
| 552 |
MACRO {ieeetcad} |
| 553 |
{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} |
| 554 |
|
| 555 |
MACRO {ipl} {"Information Processing Letters"} |
| 556 |
|
| 557 |
MACRO {jacm} {"Journal of the ACM"} |
| 558 |
|
| 559 |
MACRO {jcss} {"Journal of Computer and System Sciences"} |
| 560 |
|
| 561 |
MACRO {scp} {"Science of Computer Programming"} |
| 562 |
|
| 563 |
MACRO {sicomp} {"SIAM Journal on Computing"} |
| 564 |
|
| 565 |
MACRO {tocs} {"ACM Transactions on Computer Systems"} |
| 566 |
|
| 567 |
MACRO {tods} {"ACM Transactions on Database Systems"} |
| 568 |
|
| 569 |
MACRO {tog} {"ACM Transactions on Graphics"} |
| 570 |
|
| 571 |
MACRO {toms} {"ACM Transactions on Mathematical Software"} |
| 572 |
|
| 573 |
MACRO {toois} {"ACM Transactions on Office Information Systems"} |
| 574 |
|
| 575 |
MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} |
| 576 |
|
| 577 |
MACRO {tcs} {"Theoretical Computer Science"} |
| 578 |
FUNCTION {bibinfo.check} |
| 579 |
{ swap$ |
| 580 |
duplicate$ missing$ |
| 581 |
{ |
| 582 |
pop$ pop$ |
| 583 |
"" |
| 584 |
} |
| 585 |
{ duplicate$ empty$ |
| 586 |
{ |
| 587 |
swap$ pop$ |
| 588 |
} |
| 589 |
{ swap$ |
| 590 |
pop$ |
| 591 |
} |
| 592 |
if$ |
| 593 |
} |
| 594 |
if$ |
| 595 |
} |
| 596 |
FUNCTION {bibinfo.warn} |
| 597 |
{ swap$ |
| 598 |
duplicate$ missing$ |
| 599 |
{ |
| 600 |
swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ |
| 601 |
"" |
| 602 |
} |
| 603 |
{ duplicate$ empty$ |
| 604 |
{ |
| 605 |
swap$ "empty " swap$ * " in " * cite$ * warning$ |
| 606 |
} |
| 607 |
{ swap$ |
| 608 |
pop$ |
| 609 |
} |
| 610 |
if$ |
| 611 |
} |
| 612 |
if$ |
| 613 |
} |
| 614 |
|
| 615 |
FUNCTION {format.web.urldate} |
| 616 |
{ urldate empty$ |
| 617 |
{""} |
| 618 |
{urldate "urldate" bibinfo.check |
| 619 |
urltype duplicate$ empty$ |
| 620 |
{ pop$ bbl.urldate } |
| 621 |
'skip$ |
| 622 |
if$ |
| 623 |
"urltype" bibinfo.check |
| 624 |
swap$ duplicate$ empty$ |
| 625 |
{ pop$ "t" change.case$ } |
| 626 |
{ tie.or.space.prefix * * } |
| 627 |
if$ |
| 628 |
", " * |
| 629 |
} |
| 630 |
if$ |
| 631 |
} |
| 632 |
|
| 633 |
FUNCTION {format.eprint} |
| 634 |
{ eprint duplicate$ empty$ |
| 635 |
'skip$ |
| 636 |
{ "\eprint" |
| 637 |
archive empty$ |
| 638 |
{ "there's an eprint but no archive in " cite$ * warning$ } |
| 639 |
{ "[" * archive * "]" * } |
| 640 |
if$ |
| 641 |
"{" * swap$ * "}" * |
| 642 |
format.web.urldate swap$ * |
| 643 |
} |
| 644 |
if$ |
| 645 |
} |
| 646 |
|
| 647 |
FUNCTION {format.version} |
| 648 |
{ version empty$ |
| 649 |
{""} |
| 650 |
{version "version" bibinfo.check |
| 651 |
versiontype duplicate$ empty$ |
| 652 |
{ pop$ bbl.version } |
| 653 |
'skip$ |
| 654 |
if$ |
| 655 |
"versiontype" bibinfo.check |
| 656 |
swap$ duplicate$ empty$ |
| 657 |
{ pop$ "t" change.case$ } |
| 658 |
{ tie.or.space.prefix * * } |
| 659 |
if$ |
| 660 |
} |
| 661 |
if$ |
| 662 |
} |
| 663 |
|
| 664 |
FUNCTION {format.url} |
| 665 |
{ |
| 666 |
url |
| 667 |
duplicate$ empty$ |
| 668 |
{ pop$ "" } |
| 669 |
{ "\urlprefix\url{" swap$ * "}" * |
| 670 |
format.web.urldate swap$ * |
| 671 |
} |
| 672 |
if$ |
| 673 |
} |
| 674 |
INTEGERS { nameptr namesleft numnames } |
| 675 |
|
| 676 |
|
| 677 |
STRINGS { bibinfo} |
| 678 |
|
| 679 |
FUNCTION {format.names} |
| 680 |
{ 'bibinfo := |
| 681 |
duplicate$ empty$ 'skip$ { |
| 682 |
's := |
| 683 |
"" 't := |
| 684 |
#1 'nameptr := |
| 685 |
s num.names$ 'numnames := |
| 686 |
numnames 'namesleft := |
| 687 |
{ namesleft #0 > } |
| 688 |
{ s nameptr |
| 689 |
"{vv~}{ll}{, ff}{, jj}" |
| 690 |
format.name$ |
| 691 |
bibinfo bibinfo.check |
| 692 |
't := |
| 693 |
nameptr #1 > |
| 694 |
{ |
| 695 |
namesleft #1 > |
| 696 |
{ ", " * t * } |
| 697 |
{ |
| 698 |
s nameptr "{ll}" format.name$ duplicate$ "others" = |
| 699 |
{ 't := } |
| 700 |
{ pop$ } |
| 701 |
if$ |
| 702 |
t "others" = |
| 703 |
{ |
| 704 |
" " * bbl.etal * |
| 705 |
} |
| 706 |
{ |
| 707 |
bbl.and |
| 708 |
space.word * t * |
| 709 |
} |
| 710 |
if$ |
| 711 |
} |
| 712 |
if$ |
| 713 |
} |
| 714 |
't |
| 715 |
if$ |
| 716 |
nameptr #1 + 'nameptr := |
| 717 |
namesleft #1 - 'namesleft := |
| 718 |
} |
| 719 |
while$ |
| 720 |
} if$ |
| 721 |
} |
| 722 |
FUNCTION {format.names.ed} |
| 723 |
{ |
| 724 |
format.names |
| 725 |
} |
| 726 |
FUNCTION {format.authors} |
| 727 |
{ author "author" format.names |
| 728 |
duplicate$ empty$ 'skip$ |
| 729 |
{ collaboration "collaboration" bibinfo.check |
| 730 |
duplicate$ empty$ 'skip$ |
| 731 |
{ " (" swap$ * ")" * } |
| 732 |
if$ |
| 733 |
* |
| 734 |
} |
| 735 |
if$ |
| 736 |
} |
| 737 |
FUNCTION {get.bbl.editor} |
| 738 |
{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } |
| 739 |
|
| 740 |
FUNCTION {format.editors} |
| 741 |
{ editor "editor" format.names duplicate$ empty$ 'skip$ |
| 742 |
{ |
| 743 |
" " * |
| 744 |
get.bbl.editor |
| 745 |
"(" swap$ * ")" * |
| 746 |
* |
| 747 |
} |
| 748 |
if$ |
| 749 |
} |
| 750 |
|
| 751 |
FUNCTION {format.doi} |
| 752 |
{ doi empty$ |
| 753 |
{ "" } |
| 754 |
{ |
| 755 |
new.block |
| 756 |
"\doi{" doi * "}" * |
| 757 |
} |
| 758 |
if$ |
| 759 |
} |
| 760 |
FUNCTION {format.note} |
| 761 |
{ |
| 762 |
note empty$ |
| 763 |
{ "" } |
| 764 |
{ note #1 #1 substring$ |
| 765 |
duplicate$ "{" = |
| 766 |
'skip$ |
| 767 |
{ output.state mid.sentence = |
| 768 |
{ "t" } |
| 769 |
{ "u" } |
| 770 |
if$ |
| 771 |
change.case$ |
| 772 |
} |
| 773 |
if$ |
| 774 |
note #2 global.max$ substring$ * "note" bibinfo.check |
| 775 |
} |
| 776 |
if$ |
| 777 |
} |
| 778 |
|
| 779 |
FUNCTION {format.title} |
| 780 |
{ title |
| 781 |
"title" bibinfo.check |
| 782 |
duplicate$ empty$ 'skip$ |
| 783 |
{ |
| 784 |
"\enquote{" swap$ * |
| 785 |
add.period$ "}" * |
| 786 |
} |
| 787 |
if$ |
| 788 |
} |
| 789 |
FUNCTION {output.bibitem} |
| 790 |
{ newline$ |
| 791 |
"\bibitem{" write$ |
| 792 |
cite$ write$ |
| 793 |
"}" write$ |
| 794 |
newline$ |
| 795 |
"" |
| 796 |
before.all 'output.state := |
| 797 |
} |
| 798 |
|
| 799 |
FUNCTION {n.dashify} |
| 800 |
{ |
| 801 |
't := |
| 802 |
"" |
| 803 |
{ t empty$ not } |
| 804 |
{ t #1 #1 substring$ "-" = |
| 805 |
{ t #1 #2 substring$ "--" = not |
| 806 |
{ "--" * |
| 807 |
t #2 global.max$ substring$ 't := |
| 808 |
} |
| 809 |
{ { t #1 #1 substring$ "-" = } |
| 810 |
{ "-" * |
| 811 |
t #2 global.max$ substring$ 't := |
| 812 |
} |
| 813 |
while$ |
| 814 |
} |
| 815 |
if$ |
| 816 |
} |
| 817 |
{ t #1 #1 substring$ * |
| 818 |
t #2 global.max$ substring$ 't := |
| 819 |
} |
| 820 |
if$ |
| 821 |
} |
| 822 |
while$ |
| 823 |
} |
| 824 |
|
| 825 |
FUNCTION {word.in} |
| 826 |
{ "" } |
| 827 |
|
| 828 |
FUNCTION {format.date} |
| 829 |
{ |
| 830 |
"" |
| 831 |
duplicate$ empty$ |
| 832 |
year "year" bibinfo.check duplicate$ empty$ |
| 833 |
{ swap$ 'skip$ |
| 834 |
{ "there's a month but no year in " cite$ * warning$ } |
| 835 |
if$ |
| 836 |
* |
| 837 |
} |
| 838 |
{ swap$ 'skip$ |
| 839 |
{ |
| 840 |
swap$ |
| 841 |
" " * swap$ |
| 842 |
} |
| 843 |
if$ |
| 844 |
* |
| 845 |
} |
| 846 |
if$ |
| 847 |
duplicate$ empty$ |
| 848 |
'skip$ |
| 849 |
{ |
| 850 |
before.all 'output.state := |
| 851 |
" (" swap$ * ")" * |
| 852 |
} |
| 853 |
if$ |
| 854 |
} |
| 855 |
FUNCTION{format.year} |
| 856 |
{ year "year" bibinfo.check duplicate$ empty$ |
| 857 |
{ "empty year in " cite$ * |
| 858 |
warning$ |
| 859 |
} |
| 860 |
{ |
| 861 |
"(" swap$ * ")" * |
| 862 |
} |
| 863 |
if$ |
| 864 |
} |
| 865 |
|
| 866 |
FUNCTION{format.thesis.year} |
| 867 |
{ year "year" bibinfo.check duplicate$ empty$ |
| 868 |
{ "empty year in " cite$ * |
| 869 |
warning$ |
| 870 |
} |
| 871 |
{ |
| 872 |
} |
| 873 |
if$ |
| 874 |
} |
| 875 |
|
| 876 |
FUNCTION{format.techrep.year} |
| 877 |
{ year "year" bibinfo.check duplicate$ empty$ |
| 878 |
{ "empty year in " cite$ * |
| 879 |
warning$ |
| 880 |
} |
| 881 |
{ |
| 882 |
} |
| 883 |
if$ |
| 884 |
} |
| 885 |
|
| 886 |
FUNCTION {format.btitle} |
| 887 |
{ title "title" bibinfo.check |
| 888 |
duplicate$ empty$ 'skip$ |
| 889 |
{ |
| 890 |
emphasize |
| 891 |
} |
| 892 |
if$ |
| 893 |
} |
| 894 |
FUNCTION {either.or.check} |
| 895 |
{ empty$ |
| 896 |
'pop$ |
| 897 |
{ "can't use both " swap$ * " fields in " * cite$ * warning$ } |
| 898 |
if$ |
| 899 |
} |
| 900 |
FUNCTION {format.bvolume} |
| 901 |
{ volume empty$ |
| 902 |
{ "" } |
| 903 |
{ bbl.volume volume tie.or.space.prefix |
| 904 |
"volume" bibinfo.check * * |
| 905 |
series "series" bibinfo.check |
| 906 |
duplicate$ empty$ 'pop$ |
| 907 |
{ swap$ bbl.of space.word * swap$ |
| 908 |
emphasize * } |
| 909 |
if$ |
| 910 |
"volume and number" number either.or.check |
| 911 |
} |
| 912 |
if$ |
| 913 |
} |
| 914 |
|
| 915 |
FUNCTION {format.paper.number} |
| 916 |
{ number "number" bibinfo.check |
| 917 |
type duplicate$ empty$ |
| 918 |
{ pop$ bbl.paperno } |
| 919 |
'skip$ |
| 920 |
if$ |
| 921 |
"type" bibinfo.check |
| 922 |
swap$ duplicate$ empty$ |
| 923 |
{ pop$ "t" change.case$ } |
| 924 |
{ tie.or.space.prefix * * } |
| 925 |
if$ |
| 926 |
} |
| 927 |
|
| 928 |
FUNCTION {format.number.series} |
| 929 |
{ volume empty$ |
| 930 |
{ number empty$ |
| 931 |
{ series field.or.null } |
| 932 |
{ series empty$ |
| 933 |
{ number "number" bibinfo.check } |
| 934 |
{ output.state mid.sentence = |
| 935 |
{ bbl.number } |
| 936 |
{ bbl.number capitalize } |
| 937 |
if$ |
| 938 |
number tie.or.space.prefix "number" bibinfo.check * * |
| 939 |
bbl.in space.word * |
| 940 |
series emphasize "series" bibinfo.check * |
| 941 |
} |
| 942 |
if$ |
| 943 |
} |
| 944 |
if$ |
| 945 |
} |
| 946 |
{ "" } |
| 947 |
if$ |
| 948 |
} |
| 949 |
FUNCTION {is.num} |
| 950 |
{ chr.to.int$ |
| 951 |
duplicate$ "0" chr.to.int$ < not |
| 952 |
swap$ "9" chr.to.int$ > not and |
| 953 |
} |
| 954 |
|
| 955 |
FUNCTION {extract.num} |
| 956 |
{ duplicate$ 't := |
| 957 |
"" 's := |
| 958 |
{ t empty$ not } |
| 959 |
{ t #1 #1 substring$ |
| 960 |
t #2 global.max$ substring$ 't := |
| 961 |
duplicate$ is.num |
| 962 |
{ s swap$ * 's := } |
| 963 |
{ pop$ "" 't := } |
| 964 |
if$ |
| 965 |
} |
| 966 |
while$ |
| 967 |
s empty$ |
| 968 |
'skip$ |
| 969 |
{ pop$ s } |
| 970 |
if$ |
| 971 |
} |
| 972 |
|
| 973 |
FUNCTION {convert.edition} |
| 974 |
{ extract.num "l" change.case$ 's := |
| 975 |
s "first" = s "1" = or |
| 976 |
{ bbl.first 't := } |
| 977 |
{ s "second" = s "2" = or |
| 978 |
{ bbl.second 't := } |
| 979 |
{ s "third" = s "3" = or |
| 980 |
{ bbl.third 't := } |
| 981 |
{ s "fourth" = s "4" = or |
| 982 |
{ bbl.fourth 't := } |
| 983 |
{ s "fifth" = s "5" = or |
| 984 |
{ bbl.fifth 't := } |
| 985 |
{ s #1 #1 substring$ is.num |
| 986 |
{ s eng.ord 't := } |
| 987 |
{ edition 't := } |
| 988 |
if$ |
| 989 |
} |
| 990 |
if$ |
| 991 |
} |
| 992 |
if$ |
| 993 |
} |
| 994 |
if$ |
| 995 |
} |
| 996 |
if$ |
| 997 |
} |
| 998 |
if$ |
| 999 |
t |
| 1000 |
} |
| 1001 |
|
| 1002 |
FUNCTION {format.edition} |
| 1003 |
{ edition duplicate$ empty$ 'skip$ |
| 1004 |
{ |
| 1005 |
convert.edition |
| 1006 |
output.state mid.sentence = |
| 1007 |
{ "l" } |
| 1008 |
{ "t" } |
| 1009 |
if$ change.case$ |
| 1010 |
"edition" bibinfo.check |
| 1011 |
" " * bbl.edition * |
| 1012 |
} |
| 1013 |
if$ |
| 1014 |
} |
| 1015 |
INTEGERS { multiresult } |
| 1016 |
FUNCTION {multi.page.check} |
| 1017 |
{ 't := |
| 1018 |
#0 'multiresult := |
| 1019 |
{ multiresult not |
| 1020 |
t empty$ not |
| 1021 |
and |
| 1022 |
} |
| 1023 |
{ t #1 #1 substring$ |
| 1024 |
duplicate$ "-" = |
| 1025 |
swap$ duplicate$ "," = |
| 1026 |
swap$ "+" = |
| 1027 |
or or |
| 1028 |
{ #1 'multiresult := } |
| 1029 |
{ t #2 global.max$ substring$ 't := } |
| 1030 |
if$ |
| 1031 |
} |
| 1032 |
while$ |
| 1033 |
multiresult |
| 1034 |
} |
| 1035 |
FUNCTION {format.pages} |
| 1036 |
{ pages duplicate$ empty$ 'skip$ |
| 1037 |
{ duplicate$ multi.page.check |
| 1038 |
{ |
| 1039 |
bbl.pages swap$ |
| 1040 |
n.dashify |
| 1041 |
} |
| 1042 |
{ |
| 1043 |
bbl.page swap$ |
| 1044 |
} |
| 1045 |
if$ |
| 1046 |
tie.or.space.prefix |
| 1047 |
"pages" bibinfo.check |
| 1048 |
* * |
| 1049 |
} |
| 1050 |
if$ |
| 1051 |
} |
| 1052 |
|
| 1053 |
FUNCTION {format.journal.pages} |
| 1054 |
{ pages duplicate$ empty$ |
| 1055 |
{ "empty pages in " cite$ * warning$ } |
| 1056 |
'skip$ |
| 1057 |
if$ |
| 1058 |
duplicate$ empty$ |
| 1059 |
{ pop$ |
| 1060 |
" " * |
| 1061 |
format.year * |
| 1062 |
} |
| 1063 |
{ swap$ duplicate$ empty$ |
| 1064 |
{ pop$ pop$ format.pages } |
| 1065 |
{ |
| 1066 |
" " * |
| 1067 |
format.year * ": " * |
| 1068 |
swap$ |
| 1069 |
n.dashify |
| 1070 |
pages multi.page.check |
| 1071 |
'bbl.pages |
| 1072 |
'bbl.page |
| 1073 |
if$ |
| 1074 |
swap$ tie.or.space.prefix |
| 1075 |
"pages" bibinfo.check |
| 1076 |
* * |
| 1077 |
* |
| 1078 |
} |
| 1079 |
if$ |
| 1080 |
} |
| 1081 |
if$ |
| 1082 |
} |
| 1083 |
FUNCTION {format.journal.eid} |
| 1084 |
{ eid "eid" bibinfo.check |
| 1085 |
duplicate$ empty$ 'pop$ |
| 1086 |
{ swap$ duplicate$ empty$ 'skip$ |
| 1087 |
{ |
| 1088 |
" " * |
| 1089 |
format.year * ": " * |
| 1090 |
swap$ |
| 1091 |
* |
| 1092 |
numpages empty$ 'skip$ |
| 1093 |
{ numpages bbl.eidpp tie.or.space.prefix |
| 1094 |
"numpages" bibinfo.check * * |
| 1095 |
" (" swap$ * ")" * * |
| 1096 |
} |
| 1097 |
if$ |
| 1098 |
} |
| 1099 |
if$ |
| 1100 |
} |
| 1101 |
if$ |
| 1102 |
} |
| 1103 |
FUNCTION {format.vol.num.pages} |
| 1104 |
{ volume field.or.null |
| 1105 |
duplicate$ empty$ 'skip$ |
| 1106 |
{ |
| 1107 |
bbl.volume swap$ tie.or.space.prefix |
| 1108 |
"volume" bibinfo.check |
| 1109 |
* * |
| 1110 |
} |
| 1111 |
if$ |
| 1112 |
number "number" bibinfo.check duplicate$ empty$ 'skip$ |
| 1113 |
{ |
| 1114 |
swap$ duplicate$ empty$ |
| 1115 |
{ "there's a number but no volume in " cite$ * warning$ } |
| 1116 |
'skip$ |
| 1117 |
if$ |
| 1118 |
swap$ |
| 1119 |
" " bbl.nr * number tie.or.space.prefix pop$ * swap$ * |
| 1120 |
} |
| 1121 |
if$ * |
| 1122 |
} |
| 1123 |
|
| 1124 |
FUNCTION {format.chapter.pages} |
| 1125 |
{ chapter empty$ |
| 1126 |
'format.pages |
| 1127 |
{ type empty$ |
| 1128 |
{ bbl.chapter } |
| 1129 |
{ type "l" change.case$ |
| 1130 |
"type" bibinfo.check |
| 1131 |
} |
| 1132 |
if$ |
| 1133 |
chapter tie.or.space.prefix |
| 1134 |
"chapter" bibinfo.check |
| 1135 |
pages empty$ |
| 1136 |
'skip$ |
| 1137 |
{ ", " * format.pages * } |
| 1138 |
if$ |
| 1139 |
* * |
| 1140 |
} |
| 1141 |
if$ |
| 1142 |
} |
| 1143 |
|
| 1144 |
FUNCTION {format.booktitle} |
| 1145 |
{ |
| 1146 |
booktitle "booktitle" bibinfo.check |
| 1147 |
emphasize |
| 1148 |
} |
| 1149 |
FUNCTION {format.in.ed.booktitle} |
| 1150 |
{ format.booktitle duplicate$ empty$ 'skip$ |
| 1151 |
{ |
| 1152 |
editor "editor" format.names.ed duplicate$ empty$ 'pop$ |
| 1153 |
{ |
| 1154 |
"" * |
| 1155 |
" " * |
| 1156 |
get.bbl.editor |
| 1157 |
"(" swap$ * "). " * |
| 1158 |
* swap$ |
| 1159 |
* } |
| 1160 |
if$ |
| 1161 |
word.in swap$ * |
| 1162 |
} |
| 1163 |
if$ |
| 1164 |
} |
| 1165 |
FUNCTION {empty.misc.check} |
| 1166 |
{ author empty$ title empty$ howpublished empty$ |
| 1167 |
month empty$ year empty$ note empty$ |
| 1168 |
and and and and and |
| 1169 |
{ "all relevant fields are empty in " cite$ * warning$ } |
| 1170 |
'skip$ |
| 1171 |
if$ |
| 1172 |
} |
| 1173 |
FUNCTION {format.thesis.type} |
| 1174 |
{ type duplicate$ empty$ |
| 1175 |
'pop$ |
| 1176 |
{ swap$ pop$ |
| 1177 |
"t" change.case$ "type" bibinfo.check |
| 1178 |
} |
| 1179 |
if$ |
| 1180 |
} |
| 1181 |
FUNCTION {format.tr.number} |
| 1182 |
{ number "number" bibinfo.check |
| 1183 |
type duplicate$ empty$ |
| 1184 |
{ pop$ bbl.techrep " " * bbl.nr * } |
| 1185 |
'skip$ |
| 1186 |
if$ |
| 1187 |
"type" bibinfo.check |
| 1188 |
swap$ duplicate$ empty$ |
| 1189 |
{ pop$ "t" change.case$ } |
| 1190 |
{ tie.or.space.prefix * * } |
| 1191 |
if$ |
| 1192 |
} |
| 1193 |
FUNCTION {format.article.crossref} |
| 1194 |
{ |
| 1195 |
key duplicate$ empty$ |
| 1196 |
{ pop$ |
| 1197 |
journal duplicate$ empty$ |
| 1198 |
{ "need key or journal for " cite$ * " to crossref " * crossref * warning$ } |
| 1199 |
{ "journal" bibinfo.check emphasize word.in swap$ * } |
| 1200 |
if$ |
| 1201 |
} |
| 1202 |
{ word.in swap$ * " " *} |
| 1203 |
if$ |
| 1204 |
" \cite{" * crossref * "}" * |
| 1205 |
} |
| 1206 |
FUNCTION {format.crossref.editor} |
| 1207 |
{ editor #1 "{vv~}{ll}" format.name$ |
| 1208 |
"editor" bibinfo.check |
| 1209 |
editor num.names$ duplicate$ |
| 1210 |
#2 > |
| 1211 |
{ pop$ |
| 1212 |
"editor" bibinfo.check |
| 1213 |
" " * bbl.etal |
| 1214 |
* |
| 1215 |
} |
| 1216 |
{ #2 < |
| 1217 |
'skip$ |
| 1218 |
{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = |
| 1219 |
{ |
| 1220 |
"editor" bibinfo.check |
| 1221 |
" " * bbl.etal |
| 1222 |
* |
| 1223 |
} |
| 1224 |
{ |
| 1225 |
bbl.and space.word |
| 1226 |
* editor #2 "{vv~}{ll}" format.name$ |
| 1227 |
"editor" bibinfo.check |
| 1228 |
* |
| 1229 |
} |
| 1230 |
if$ |
| 1231 |
} |
| 1232 |
if$ |
| 1233 |
} |
| 1234 |
if$ |
| 1235 |
} |
| 1236 |
FUNCTION {format.book.crossref} |
| 1237 |
{ volume duplicate$ empty$ |
| 1238 |
{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$ |
| 1239 |
pop$ word.in |
| 1240 |
} |
| 1241 |
{ bbl.volume |
| 1242 |
capitalize |
| 1243 |
swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word * |
| 1244 |
} |
| 1245 |
if$ |
| 1246 |
editor empty$ |
| 1247 |
editor field.or.null author field.or.null = |
| 1248 |
or |
| 1249 |
{ key empty$ |
| 1250 |
{ series empty$ |
| 1251 |
{ "need editor, key, or series for " cite$ * " to crossref " * |
| 1252 |
crossref * warning$ |
| 1253 |
"" * |
| 1254 |
} |
| 1255 |
{ series emphasize * } |
| 1256 |
if$ |
| 1257 |
} |
| 1258 |
{ key * } |
| 1259 |
if$ |
| 1260 |
} |
| 1261 |
{ format.crossref.editor * } |
| 1262 |
if$ |
| 1263 |
" \cite{" * crossref * "}" * |
| 1264 |
} |
| 1265 |
FUNCTION {format.incoll.inproc.crossref} |
| 1266 |
{ |
| 1267 |
editor empty$ |
| 1268 |
editor field.or.null author field.or.null = |
| 1269 |
or |
| 1270 |
{ key empty$ |
| 1271 |
{ format.booktitle duplicate$ empty$ |
| 1272 |
{ "need editor, key, or booktitle for " cite$ * " to crossref " * |
| 1273 |
crossref * warning$ |
| 1274 |
} |
| 1275 |
{ word.in swap$ * } |
| 1276 |
if$ |
| 1277 |
} |
| 1278 |
{ word.in key * " " *} |
| 1279 |
if$ |
| 1280 |
} |
| 1281 |
{ word.in format.crossref.editor * " " *} |
| 1282 |
if$ |
| 1283 |
" \cite{" * crossref * "}" * |
| 1284 |
} |
| 1285 |
FUNCTION {format.org.or.pub} |
| 1286 |
{ 't := |
| 1287 |
"" |
| 1288 |
address empty$ t empty$ and |
| 1289 |
'skip$ |
| 1290 |
{ |
| 1291 |
t empty$ |
| 1292 |
{ address "address" bibinfo.check * |
| 1293 |
} |
| 1294 |
{ t * |
| 1295 |
address empty$ |
| 1296 |
'skip$ |
| 1297 |
{ ", " * address "address" bibinfo.check * } |
| 1298 |
if$ |
| 1299 |
} |
| 1300 |
if$ |
| 1301 |
} |
| 1302 |
if$ |
| 1303 |
} |
| 1304 |
FUNCTION {format.publisher.address} |
| 1305 |
{ publisher "publisher" bibinfo.warn format.org.or.pub |
| 1306 |
} |
| 1307 |
|
| 1308 |
FUNCTION {format.organization.address} |
| 1309 |
{ organization "organization" bibinfo.check format.org.or.pub |
| 1310 |
} |
| 1311 |
|
| 1312 |
FUNCTION {article} |
| 1313 |
{ output.bibitem |
| 1314 |
format.authors "author" output.check |
| 1315 |
new.block |
| 1316 |
format.title "title" output.check |
| 1317 |
new.block |
| 1318 |
crossref missing$ |
| 1319 |
{ |
| 1320 |
journal |
| 1321 |
"journal" bibinfo.check |
| 1322 |
emphasize |
| 1323 |
"journal" output.check |
| 1324 |
add.blank |
| 1325 |
format.vol.num.pages output |
| 1326 |
} |
| 1327 |
{ format.article.crossref output.nonnull |
| 1328 |
} |
| 1329 |
if$ |
| 1330 |
eid empty$ |
| 1331 |
{ format.journal.pages } |
| 1332 |
{ format.journal.eid } |
| 1333 |
if$ |
| 1334 |
format.doi output |
| 1335 |
new.block |
| 1336 |
format.eprint output |
| 1337 |
format.url output |
| 1338 |
new.block |
| 1339 |
format.note output |
| 1340 |
fin.entry |
| 1341 |
} |
| 1342 |
|
| 1343 |
FUNCTION {book} |
| 1344 |
{ output.bibitem |
| 1345 |
author empty$ |
| 1346 |
{ format.editors "author and editor" output.check |
| 1347 |
} |
| 1348 |
{ format.authors output.nonnull |
| 1349 |
crossref missing$ |
| 1350 |
{ "author and editor" editor either.or.check } |
| 1351 |
'skip$ |
| 1352 |
if$ |
| 1353 |
} |
| 1354 |
if$ |
| 1355 |
new.block |
| 1356 |
format.btitle "title" output.check |
| 1357 |
format.edition output |
| 1358 |
format.version output |
| 1359 |
new.block |
| 1360 |
crossref missing$ |
| 1361 |
{ format.bvolume output |
| 1362 |
new.block |
| 1363 |
new.sentence |
| 1364 |
format.number.series output |
| 1365 |
format.publisher.address output |
| 1366 |
} |
| 1367 |
{ |
| 1368 |
new.block |
| 1369 |
format.book.crossref output.nonnull |
| 1370 |
} |
| 1371 |
if$ |
| 1372 |
format.date "year" output.check |
| 1373 |
format.doi output |
| 1374 |
new.block |
| 1375 |
format.eprint output |
| 1376 |
format.url output |
| 1377 |
new.block |
| 1378 |
format.note output |
| 1379 |
fin.entry |
| 1380 |
} |
| 1381 |
|
| 1382 |
FUNCTION {booklet} |
| 1383 |
{ output.bibitem |
| 1384 |
format.authors output |
| 1385 |
new.block |
| 1386 |
format.title "title" output.check |
| 1387 |
new.block |
| 1388 |
howpublished "howpublished" bibinfo.check output |
| 1389 |
address "address" bibinfo.check output |
| 1390 |
format.date output |
| 1391 |
format.doi output |
| 1392 |
new.block |
| 1393 |
format.eprint output |
| 1394 |
format.url output |
| 1395 |
new.block |
| 1396 |
format.note output |
| 1397 |
fin.entry |
| 1398 |
} |
| 1399 |
|
| 1400 |
FUNCTION {inbook} |
| 1401 |
{ output.bibitem |
| 1402 |
author empty$ |
| 1403 |
{ format.editors "author and editor" output.check |
| 1404 |
} |
| 1405 |
{ format.authors output.nonnull |
| 1406 |
crossref missing$ |
| 1407 |
{ "author and editor" editor either.or.check } |
| 1408 |
'skip$ |
| 1409 |
if$ |
| 1410 |
} |
| 1411 |
if$ |
| 1412 |
new.block |
| 1413 |
format.btitle "title" output.check |
| 1414 |
format.edition output |
| 1415 |
format.version output |
| 1416 |
new.block |
| 1417 |
crossref missing$ |
| 1418 |
{ |
| 1419 |
format.number.series output |
| 1420 |
format.number.series output |
| 1421 |
new.block |
| 1422 |
new.sentence |
| 1423 |
format.publisher.address output |
| 1424 |
new.block |
| 1425 |
new.sentence |
| 1426 |
} |
| 1427 |
{ |
| 1428 |
new.block |
| 1429 |
format.book.crossref output.nonnull |
| 1430 |
} |
| 1431 |
if$ |
| 1432 |
format.date "year" output.check |
| 1433 |
date.block |
| 1434 |
format.chapter.pages "chapter and pages" output.check |
| 1435 |
new.block |
| 1436 |
format.doi output |
| 1437 |
new.block |
| 1438 |
format.eprint output |
| 1439 |
format.url output |
| 1440 |
new.block |
| 1441 |
format.note output |
| 1442 |
fin.entry |
| 1443 |
} |
| 1444 |
|
| 1445 |
FUNCTION {incollection} |
| 1446 |
{ output.bibitem |
| 1447 |
format.authors "author" output.check |
| 1448 |
new.block |
| 1449 |
format.title "title" output.check |
| 1450 |
new.block |
| 1451 |
crossref missing$ |
| 1452 |
{ format.in.ed.booktitle "booktitle" output.check |
| 1453 |
format.edition output |
| 1454 |
new.block |
| 1455 |
format.number.series output |
| 1456 |
format.bvolume output |
| 1457 |
new.sentence |
| 1458 |
format.publisher.address output |
| 1459 |
} |
| 1460 |
{ format.incoll.inproc.crossref output.nonnull |
| 1461 |
format.chapter.pages output |
| 1462 |
} |
| 1463 |
if$ |
| 1464 |
format.date "year" output.check |
| 1465 |
conf.date.block |
| 1466 |
format.chapter.pages "pages" output.check |
| 1467 |
format.doi output |
| 1468 |
new.block |
| 1469 |
format.eprint output |
| 1470 |
format.url output |
| 1471 |
new.block |
| 1472 |
format.note output |
| 1473 |
fin.entry |
| 1474 |
} |
| 1475 |
|
| 1476 |
FUNCTION {inproceedings} |
| 1477 |
{ output.bibitem |
| 1478 |
format.authors "author" output.check |
| 1479 |
new.block |
| 1480 |
format.title "title" output.check |
| 1481 |
new.block |
| 1482 |
crossref missing$ |
| 1483 |
{ format.in.ed.booktitle "booktitle" output.check |
| 1484 |
volume empty$ 'skip$ |
| 1485 |
{ bbl.volume volume tie.or.space.prefix |
| 1486 |
"volume" bibinfo.check * * output |
| 1487 |
} |
| 1488 |
if$ |
| 1489 |
new.sentence |
| 1490 |
format.paper.number output |
| 1491 |
conf.date.block |
| 1492 |
format.pages "pages" output.check |
| 1493 |
new.sentence |
| 1494 |
venue output |
| 1495 |
eventdate output |
| 1496 |
format.thesis.year "year" output.check |
| 1497 |
new.sentence |
| 1498 |
publisher empty$ |
| 1499 |
{ format.organization.address output } |
| 1500 |
{ organization "organization" bibinfo.check output |
| 1501 |
format.publisher.address output |
| 1502 |
} |
| 1503 |
if$ |
| 1504 |
} |
| 1505 |
{ format.incoll.inproc.crossref output.nonnull |
| 1506 |
} |
| 1507 |
if$ |
| 1508 |
format.doi output |
| 1509 |
new.block |
| 1510 |
format.eprint output |
| 1511 |
format.url output |
| 1512 |
new.block |
| 1513 |
format.note output |
| 1514 |
fin.entry |
| 1515 |
} |
| 1516 |
FUNCTION {conference} { inproceedings } |
| 1517 |
|
| 1518 |
FUNCTION {manual} |
| 1519 |
{ output.bibitem |
| 1520 |
author empty$ |
| 1521 |
{ organization "organization" bibinfo.check |
| 1522 |
duplicate$ empty$ 'pop$ |
| 1523 |
{ output |
| 1524 |
address "address" bibinfo.check output |
| 1525 |
} |
| 1526 |
if$ |
| 1527 |
} |
| 1528 |
{ format.authors output.nonnull } |
| 1529 |
if$ |
| 1530 |
new.block |
| 1531 |
format.btitle "title" output.check |
| 1532 |
format.edition output |
| 1533 |
format.version output |
| 1534 |
new.block |
| 1535 |
author empty$ |
| 1536 |
{ organization empty$ |
| 1537 |
{ |
| 1538 |
address new.block.checka |
| 1539 |
address "address" bibinfo.check output |
| 1540 |
} |
| 1541 |
'skip$ |
| 1542 |
if$ |
| 1543 |
} |
| 1544 |
{ |
| 1545 |
organization address new.block.checkb |
| 1546 |
organization "organization" bibinfo.check output |
| 1547 |
address "address" bibinfo.check output |
| 1548 |
} |
| 1549 |
if$ |
| 1550 |
format.date output |
| 1551 |
format.doi output |
| 1552 |
new.block |
| 1553 |
format.eprint output |
| 1554 |
format.url output |
| 1555 |
new.block |
| 1556 |
format.note output |
| 1557 |
fin.entry |
| 1558 |
} |
| 1559 |
|
| 1560 |
FUNCTION {mastersthesis} |
| 1561 |
{ output.bibitem |
| 1562 |
format.authors "author" output.check |
| 1563 |
new.block |
| 1564 |
format.title |
| 1565 |
"title" output.check |
| 1566 |
new.block |
| 1567 |
bbl.mthesis format.thesis.type output.nonnull |
| 1568 |
school "school" bibinfo.warn output |
| 1569 |
address "address" bibinfo.check output |
| 1570 |
new.block |
| 1571 |
format.thesis.year "year" output.check |
| 1572 |
format.doi output |
| 1573 |
new.block |
| 1574 |
format.eprint output |
| 1575 |
format.url output |
| 1576 |
new.block |
| 1577 |
format.note output |
| 1578 |
fin.entry |
| 1579 |
} |
| 1580 |
|
| 1581 |
FUNCTION {misc} |
| 1582 |
{ output.bibitem |
| 1583 |
format.authors output |
| 1584 |
title howpublished new.block.checkb |
| 1585 |
format.title output |
| 1586 |
howpublished new.block.checka |
| 1587 |
howpublished "howpublished" bibinfo.check output |
| 1588 |
format.date output |
| 1589 |
format.doi output |
| 1590 |
new.block |
| 1591 |
format.eprint output |
| 1592 |
format.url output |
| 1593 |
new.block |
| 1594 |
format.note output |
| 1595 |
fin.entry |
| 1596 |
empty.misc.check |
| 1597 |
} |
| 1598 |
|
| 1599 |
FUNCTION {online} |
| 1600 |
{ output.bibitem |
| 1601 |
author empty$ |
| 1602 |
{ format.editors "author and editor" output.check |
| 1603 |
} |
| 1604 |
{ format.authors output.nonnull |
| 1605 |
crossref missing$ |
| 1606 |
{ "author and editor" editor either.or.check } |
| 1607 |
'skip$ |
| 1608 |
if$ |
| 1609 |
} |
| 1610 |
if$ |
| 1611 |
new.block |
| 1612 |
format.title |
| 1613 |
"title" output.check |
| 1614 |
new.block |
| 1615 |
format.version output |
| 1616 |
new.block |
| 1617 |
organization "organization" bibinfo.warn output |
| 1618 |
address "address" bibinfo.check output |
| 1619 |
format.date "year" output.check |
| 1620 |
new.block |
| 1621 |
url empty$ |
| 1622 |
{ eprint empty$ |
| 1623 |
{ "missing url and eprint in" cite$ * warning$ } |
| 1624 |
{ format.eprint output } |
| 1625 |
if$ |
| 1626 |
} |
| 1627 |
{ "url and eprint" eprint either.or.check |
| 1628 |
format.url "url" bibinfo.warn output |
| 1629 |
} |
| 1630 |
if$ |
| 1631 |
new.block |
| 1632 |
format.note output |
| 1633 |
fin.entry |
| 1634 |
} |
| 1635 |
|
| 1636 |
FUNCTION {electronic} { online } |
| 1637 |
|
| 1638 |
FUNCTION {www} { online } |
| 1639 |
|
| 1640 |
|
| 1641 |
FUNCTION {phdthesis} |
| 1642 |
{ output.bibitem |
| 1643 |
format.authors "author" output.check |
| 1644 |
new.block |
| 1645 |
format.title |
| 1646 |
"title" output.check |
| 1647 |
new.block |
| 1648 |
bbl.phdthesis format.thesis.type output.nonnull |
| 1649 |
school "school" bibinfo.warn output |
| 1650 |
address "address" bibinfo.check output |
| 1651 |
new.block |
| 1652 |
format.thesis.year "year" output.check |
| 1653 |
format.doi output |
| 1654 |
new.block |
| 1655 |
format.eprint output |
| 1656 |
format.url output |
| 1657 |
new.block |
| 1658 |
format.note output |
| 1659 |
fin.entry |
| 1660 |
} |
| 1661 |
|
| 1662 |
FUNCTION {proceedings} |
| 1663 |
{ output.bibitem |
| 1664 |
editor empty$ |
| 1665 |
{ organization "organization" bibinfo.check output |
| 1666 |
} |
| 1667 |
{ format.editors output.nonnull |
| 1668 |
} |
| 1669 |
if$ |
| 1670 |
new.block |
| 1671 |
format.btitle "title" output.check |
| 1672 |
format.bvolume output |
| 1673 |
new.block |
| 1674 |
venue "venue" output.check |
| 1675 |
eventdate "eventdate" output.check |
| 1676 |
new.block |
| 1677 |
editor empty$ |
| 1678 |
{ publisher empty$ |
| 1679 |
{ format.number.series output } |
| 1680 |
{ |
| 1681 |
new.sentence |
| 1682 |
format.number.series output |
| 1683 |
format.publisher.address output |
| 1684 |
} |
| 1685 |
if$ |
| 1686 |
} |
| 1687 |
{ publisher empty$ |
| 1688 |
{ |
| 1689 |
new.sentence |
| 1690 |
format.number.series output |
| 1691 |
format.organization.address output } |
| 1692 |
{ |
| 1693 |
new.sentence |
| 1694 |
format.number.series output |
| 1695 |
organization "organization" bibinfo.check output |
| 1696 |
format.publisher.address output |
| 1697 |
} |
| 1698 |
if$ |
| 1699 |
} |
| 1700 |
if$ |
| 1701 |
format.date "year" output.check |
| 1702 |
format.doi output |
| 1703 |
new.block |
| 1704 |
format.eprint output |
| 1705 |
format.url output |
| 1706 |
new.block |
| 1707 |
format.note output |
| 1708 |
fin.entry |
| 1709 |
} |
| 1710 |
|
| 1711 |
FUNCTION {techreport} |
| 1712 |
{ output.bibitem |
| 1713 |
format.authors "author" output.check |
| 1714 |
new.block |
| 1715 |
format.title |
| 1716 |
"title" output.check |
| 1717 |
new.block |
| 1718 |
format.tr.number output.nonnull |
| 1719 |
new.block |
| 1720 |
institution "institution" bibinfo.warn output |
| 1721 |
address "address" bibinfo.check output |
| 1722 |
new.block |
| 1723 |
format.techrep.year "year" output.check |
| 1724 |
format.doi output |
| 1725 |
new.block |
| 1726 |
format.eprint output |
| 1727 |
format.url output |
| 1728 |
new.block |
| 1729 |
format.note output |
| 1730 |
fin.entry |
| 1731 |
} |
| 1732 |
|
| 1733 |
FUNCTION {unpublished} |
| 1734 |
{ output.bibitem |
| 1735 |
format.authors "author" output.check |
| 1736 |
new.block |
| 1737 |
format.title "title" output.check |
| 1738 |
format.date output |
| 1739 |
format.doi output |
| 1740 |
new.block |
| 1741 |
format.eprint output |
| 1742 |
format.url output |
| 1743 |
new.block |
| 1744 |
format.note "note" output.check |
| 1745 |
fin.entry |
| 1746 |
} |
| 1747 |
|
| 1748 |
FUNCTION {default.type} { misc } |
| 1749 |
READ |
| 1750 |
STRINGS { longest.label } |
| 1751 |
INTEGERS { number.label longest.label.width } |
| 1752 |
FUNCTION {initialize.longest.label} |
| 1753 |
{ "" 'longest.label := |
| 1754 |
#1 'number.label := |
| 1755 |
#0 'longest.label.width := |
| 1756 |
} |
| 1757 |
FUNCTION {longest.label.pass} |
| 1758 |
{ number.label int.to.str$ 'label := |
| 1759 |
number.label #1 + 'number.label := |
| 1760 |
label width$ longest.label.width > |
| 1761 |
{ label 'longest.label := |
| 1762 |
label width$ 'longest.label.width := |
| 1763 |
} |
| 1764 |
'skip$ |
| 1765 |
if$ |
| 1766 |
} |
| 1767 |
EXECUTE {initialize.longest.label} |
| 1768 |
ITERATE {longest.label.pass} |
| 1769 |
FUNCTION {begin.bib} |
| 1770 |
{ preamble$ empty$ |
| 1771 |
'skip$ |
| 1772 |
{ preamble$ write$ newline$ } |
| 1773 |
if$ |
| 1774 |
"\begin{thebibliography}{" longest.label * "}" * |
| 1775 |
write$ newline$ |
| 1776 |
"\newcommand{\enquote}[1]{``#1''}" |
| 1777 |
write$ newline$ |
| 1778 |
"\providecommand{\url}[1]{\texttt{#1}}" |
| 1779 |
write$ newline$ |
| 1780 |
"\providecommand{\urlprefix}{URL }" |
| 1781 |
write$ newline$ |
| 1782 |
"\expandafter\ifx\csname urlstyle\endcsname\relax" |
| 1783 |
write$ newline$ |
| 1784 |
" \providecommand{\doi}[1]{DOI \discretionary{}{}{}#1}\else" |
| 1785 |
write$ newline$ |
| 1786 |
" \providecommand{\doi}{DOI \discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi" |
| 1787 |
write$ newline$ |
| 1788 |
"\providecommand{\eprint}[2][]{\urlprefix\url{#1#2}}" |
| 1789 |
write$ newline$ |
| 1790 |
} |
| 1791 |
EXECUTE {begin.bib} |
| 1792 |
EXECUTE {init.state.consts} |
| 1793 |
ITERATE {call.type$} |
| 1794 |
FUNCTION {end.bib} |
| 1795 |
{ newline$ |
| 1796 |
"\end{thebibliography}" write$ newline$ |
| 1797 |
} |
| 1798 |
EXECUTE {end.bib} |
| 1799 |
%% End of customized bst file |
| 1800 |
%% |
| 1801 |
%% End of file `asmeconf.bst'. |