annotate docs/SMC15/IEEEtran.bst @ 1946:1d08f8aee098

Merge WAC paper
author Dave Moffat <me@davemoffat.com>
date Thu, 24 Sep 2015 09:52:08 +0100
parents 4988c805ff9e
children
rev   line source
me@1942 1 %%
me@1942 2 %% IEEEtran.bst
me@1942 3 %% BibTeX Bibliography Style file for IEEE Journals and Conferences (unsorted)
me@1942 4 %% Version 1.12 (2007/01/11)
me@1942 5 %%
me@1942 6 %% Copyright (c) 2003-2007 Michael Shell
me@1942 7 %%
me@1942 8 %% Original starting code base and algorithms obtained from the output of
me@1942 9 %% Patrick W. Daly's makebst package as well as from prior versions of
me@1942 10 %% IEEE BibTeX styles:
me@1942 11 %%
me@1942 12 %% 1. Howard Trickey and Oren Patashnik's ieeetr.bst (1985/1988)
me@1942 13 %% 2. Silvano Balemi and Richard H. Roy's IEEEbib.bst (1993)
me@1942 14 %%
me@1942 15 %% Support sites:
me@1942 16 %% http://www.michaelshell.org/tex/ieeetran/
me@1942 17 %% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/
me@1942 18 %% and/or
me@1942 19 %% http://www.ieee.org/
me@1942 20 %%
me@1942 21 %% For use with BibTeX version 0.99a or later
me@1942 22 %%
me@1942 23 %% This is a numerical citation style.
me@1942 24 %%
me@1942 25 %%*************************************************************************
me@1942 26 %% Legal Notice:
me@1942 27 %% This code is offered as-is without any warranty either expressed or
me@1942 28 %% implied; without even the implied warranty of MERCHANTABILITY or
me@1942 29 %% FITNESS FOR A PARTICULAR PURPOSE!
me@1942 30 %% User assumes all risk.
me@1942 31 %% In no event shall IEEE or any contributor to this code be liable for
me@1942 32 %% any damages or losses, including, but not limited to, incidental,
me@1942 33 %% consequential, or any other damages, resulting from the use or misuse
me@1942 34 %% of any information contained here.
me@1942 35 %%
me@1942 36 %% All comments are the opinions of their respective authors and are not
me@1942 37 %% necessarily endorsed by the IEEE.
me@1942 38 %%
me@1942 39 %% This work is distributed under the LaTeX Project Public License (LPPL)
me@1942 40 %% ( http://www.latex-project.org/ ) version 1.3, and may be freely used,
me@1942 41 %% distributed and modified. A copy of the LPPL, version 1.3, is included
me@1942 42 %% in the base LaTeX documentation of all distributions of LaTeX released
me@1942 43 %% 2003/12/01 or later.
me@1942 44 %% Retain all contribution notices and credits.
me@1942 45 %% ** Modified files should be clearly indicated as such, including **
me@1942 46 %% ** renaming them and changing author support contact information. **
me@1942 47 %%
me@1942 48 %% File list of work: IEEEabrv.bib, IEEEfull.bib, IEEEexample.bib,
me@1942 49 %% IEEEtran.bst, IEEEtranS.bst, IEEEtranSA.bst,
me@1942 50 %% IEEEtranN.bst, IEEEtranSN.bst, IEEEtran_bst_HOWTO.pdf
me@1942 51 %%*************************************************************************
me@1942 52 %
me@1942 53 %
me@1942 54 % Changelog:
me@1942 55 %
me@1942 56 % 1.00 (2002/08/13) Initial release
me@1942 57 %
me@1942 58 % 1.10 (2002/09/27)
me@1942 59 % 1. Corrected minor bug for improperly formed warning message when a
me@1942 60 % book was not given a title. Thanks to Ming Kin Lai for reporting this.
me@1942 61 % 2. Added support for CTLname_format_string and CTLname_latex_cmd fields
me@1942 62 % in the BST control entry type.
me@1942 63 %
me@1942 64 % 1.11 (2003/04/02)
me@1942 65 % 1. Fixed bug with URLs containing underscores when using url.sty. Thanks
me@1942 66 % to Ming Kin Lai for reporting this.
me@1942 67 %
me@1942 68 % 1.12 (2007/01/11)
me@1942 69 % 1. Fixed bug with unwanted comma before "et al." when an entry contained
me@1942 70 % more than two author names. Thanks to Pallav Gupta for reporting this.
me@1942 71 % 2. Fixed bug with anomalous closing quote in tech reports that have a
me@1942 72 % type, but without a number or address. Thanks to Mehrdad Mirreza for
me@1942 73 % reporting this.
me@1942 74 % 3. Use braces in \providecommand in begin.bib to better support
me@1942 75 % latex2html. TeX style length assignments OK with recent versions
me@1942 76 % of latex2html - 1.71 (2002/2/1) or later is strongly recommended.
me@1942 77 % Use of the language field still causes trouble with latex2html.
me@1942 78 % Thanks to Federico Beffa for reporting this.
me@1942 79 % 4. Added IEEEtran.bst ID and version comment string to .bbl output.
me@1942 80 % 5. Provide a \BIBdecl hook that allows the user to execute commands
me@1942 81 % just prior to the first entry.
me@1942 82 % 6. Use default urlstyle (is using url.sty) of "same" rather than rm to
me@1942 83 % better work with a wider variety of bibliography styles.
me@1942 84 % 7. Changed month abbreviations from Sept., July and June to Sep., Jul.,
me@1942 85 % and Jun., respectively, as IEEE now does. Thanks to Moritz Borgmann
me@1942 86 % for reporting this.
me@1942 87 % 8. Control entry types should not be considered when calculating longest
me@1942 88 % label width.
me@1942 89 % 9. Added alias www for electronic/online.
me@1942 90 % 10. Added CTLname_url_prefix control entry type.
me@1942 91
me@1942 92
me@1942 93 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 94 %% DEFAULTS FOR THE CONTROLS OF THE BST STYLE %%
me@1942 95 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 96
me@1942 97 % These are the defaults for the user adjustable controls. The values used
me@1942 98 % here can be overridden by the user via IEEEtranBSTCTL entry type.
me@1942 99
me@1942 100 % NOTE: The recommended LaTeX command to invoke a control entry type is:
me@1942 101 %
me@1942 102 %\makeatletter
me@1942 103 %\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}}
me@1942 104 %\def\@bstctlcite[#1]#2{\@bsphack
me@1942 105 % \@for\@citeb:=#2\do{%
me@1942 106 % \edef\@citeb{\expandafter\@firstofone\@citeb}%
me@1942 107 % \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}%
me@1942 108 % \@esphack}
me@1942 109 %\makeatother
me@1942 110 %
me@1942 111 % It is called at the start of the document, before the first \cite, like:
me@1942 112 % \bstctlcite{IEEEexample:BSTcontrol}
me@1942 113 %
me@1942 114 % IEEEtran.cls V1.6 and later does provide this command.
me@1942 115
me@1942 116
me@1942 117
me@1942 118 % #0 turns off the display of the number for articles.
me@1942 119 % #1 enables
me@1942 120 FUNCTION {default.is.use.number.for.article} { #1 }
me@1942 121
me@1942 122
me@1942 123 % #0 turns off the display of the paper and type fields in @inproceedings.
me@1942 124 % #1 enables
me@1942 125 FUNCTION {default.is.use.paper} { #1 }
me@1942 126
me@1942 127
me@1942 128 % #0 turns off the forced use of "et al."
me@1942 129 % #1 enables
me@1942 130 FUNCTION {default.is.forced.et.al} { #0 }
me@1942 131
me@1942 132 % The maximum number of names that can be present beyond which an "et al."
me@1942 133 % usage is forced. Be sure that num.names.shown.with.forced.et.al (below)
me@1942 134 % is not greater than this value!
me@1942 135 % Note: There are many instances of references in IEEE journals which have
me@1942 136 % a very large number of authors as well as instances in which "et al." is
me@1942 137 % used profusely.
me@1942 138 FUNCTION {default.max.num.names.before.forced.et.al} { #10 }
me@1942 139
me@1942 140 % The number of names that will be shown with a forced "et al.".
me@1942 141 % Must be less than or equal to max.num.names.before.forced.et.al
me@1942 142 FUNCTION {default.num.names.shown.with.forced.et.al} { #1 }
me@1942 143
me@1942 144
me@1942 145 % #0 turns off the alternate interword spacing for entries with URLs.
me@1942 146 % #1 enables
me@1942 147 FUNCTION {default.is.use.alt.interword.spacing} { #1 }
me@1942 148
me@1942 149 % If alternate interword spacing for entries with URLs is enabled, this is
me@1942 150 % the interword spacing stretch factor that will be used. For example, the
me@1942 151 % default "4" here means that the interword spacing in entries with URLs can
me@1942 152 % stretch to four times normal. Does not have to be an integer. Note that
me@1942 153 % the value specified here can be overridden by the user in their LaTeX
me@1942 154 % code via a command such as:
me@1942 155 % "\providecommand\BIBentryALTinterwordstretchfactor{1.5}" in addition to
me@1942 156 % that via the IEEEtranBSTCTL entry type.
me@1942 157 FUNCTION {default.ALTinterwordstretchfactor} { "4" }
me@1942 158
me@1942 159
me@1942 160 % #0 turns off the "dashification" of repeated (i.e., identical to those
me@1942 161 % of the previous entry) names. IEEE normally does this.
me@1942 162 % #1 enables
me@1942 163 FUNCTION {default.is.dash.repeated.names} { #1 }
me@1942 164
me@1942 165
me@1942 166 % The default name format control string.
me@1942 167 FUNCTION {default.name.format.string}{ "{f.~}{vv~}{ll}{, jj}" }
me@1942 168
me@1942 169
me@1942 170 % The default LaTeX font command for the names.
me@1942 171 FUNCTION {default.name.latex.cmd}{ "" }
me@1942 172
me@1942 173
me@1942 174 % The default URL prefix.
me@1942 175 FUNCTION {default.name.url.prefix}{ "[Online]. Available:" }
me@1942 176
me@1942 177
me@1942 178 % Other controls that cannot be accessed via IEEEtranBSTCTL entry type.
me@1942 179
me@1942 180 % #0 turns off the terminal startup banner/completed message so as to
me@1942 181 % operate more quietly.
me@1942 182 % #1 enables
me@1942 183 FUNCTION {is.print.banners.to.terminal} { #1 }
me@1942 184
me@1942 185
me@1942 186
me@1942 187
me@1942 188 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 189 %% FILE VERSION AND BANNER %%
me@1942 190 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 191
me@1942 192 FUNCTION{bst.file.version} { "1.12" }
me@1942 193 FUNCTION{bst.file.date} { "2007/01/11" }
me@1942 194 FUNCTION{bst.file.website} { "http://www.michaelshell.org/tex/ieeetran/bibtex/" }
me@1942 195
me@1942 196 FUNCTION {banner.message}
me@1942 197 { is.print.banners.to.terminal
me@1942 198 { "-- IEEEtran.bst version" " " * bst.file.version *
me@1942 199 " (" * bst.file.date * ") " * "by Michael Shell." *
me@1942 200 top$
me@1942 201 "-- " bst.file.website *
me@1942 202 top$
me@1942 203 "-- See the " quote$ * "IEEEtran_bst_HOWTO.pdf" * quote$ * " manual for usage information." *
me@1942 204 top$
me@1942 205 }
me@1942 206 { skip$ }
me@1942 207 if$
me@1942 208 }
me@1942 209
me@1942 210 FUNCTION {completed.message}
me@1942 211 { is.print.banners.to.terminal
me@1942 212 { ""
me@1942 213 top$
me@1942 214 "Done."
me@1942 215 top$
me@1942 216 }
me@1942 217 { skip$ }
me@1942 218 if$
me@1942 219 }
me@1942 220
me@1942 221
me@1942 222
me@1942 223
me@1942 224 %%%%%%%%%%%%%%%%%%%%%%
me@1942 225 %% STRING CONSTANTS %%
me@1942 226 %%%%%%%%%%%%%%%%%%%%%%
me@1942 227
me@1942 228 FUNCTION {bbl.and}{ "and" }
me@1942 229 FUNCTION {bbl.etal}{ "et~al." }
me@1942 230 FUNCTION {bbl.editors}{ "eds." }
me@1942 231 FUNCTION {bbl.editor}{ "ed." }
me@1942 232 FUNCTION {bbl.edition}{ "ed." }
me@1942 233 FUNCTION {bbl.volume}{ "vol." }
me@1942 234 FUNCTION {bbl.of}{ "of" }
me@1942 235 FUNCTION {bbl.number}{ "no." }
me@1942 236 FUNCTION {bbl.in}{ "in" }
me@1942 237 FUNCTION {bbl.pages}{ "pp." }
me@1942 238 FUNCTION {bbl.page}{ "p." }
me@1942 239 FUNCTION {bbl.chapter}{ "ch." }
me@1942 240 FUNCTION {bbl.paper}{ "paper" }
me@1942 241 FUNCTION {bbl.part}{ "pt." }
me@1942 242 FUNCTION {bbl.patent}{ "Patent" }
me@1942 243 FUNCTION {bbl.patentUS}{ "U.S." }
me@1942 244 FUNCTION {bbl.revision}{ "Rev." }
me@1942 245 FUNCTION {bbl.series}{ "ser." }
me@1942 246 FUNCTION {bbl.standard}{ "Std." }
me@1942 247 FUNCTION {bbl.techrep}{ "Tech. Rep." }
me@1942 248 FUNCTION {bbl.mthesis}{ "Master's thesis" }
me@1942 249 FUNCTION {bbl.phdthesis}{ "Ph.D. dissertation" }
me@1942 250 FUNCTION {bbl.st}{ "st" }
me@1942 251 FUNCTION {bbl.nd}{ "nd" }
me@1942 252 FUNCTION {bbl.rd}{ "rd" }
me@1942 253 FUNCTION {bbl.th}{ "th" }
me@1942 254
me@1942 255
me@1942 256 % This is the LaTeX spacer that is used when a larger than normal space
me@1942 257 % is called for (such as just before the address:publisher).
me@1942 258 FUNCTION {large.space} { "\hskip 1em plus 0.5em minus 0.4em\relax " }
me@1942 259
me@1942 260 % The LaTeX code for dashes that are used to represent repeated names.
me@1942 261 % Note: Some older IEEE journals used something like
me@1942 262 % "\rule{0.275in}{0.5pt}\," which is fairly thick and runs right along
me@1942 263 % the baseline. However, IEEE now uses a thinner, above baseline,
me@1942 264 % six dash long sequence.
me@1942 265 FUNCTION {repeated.name.dashes} { "------" }
me@1942 266
me@1942 267
me@1942 268
me@1942 269 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 270 %% PREDEFINED STRING MACROS %%
me@1942 271 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 272
me@1942 273 MACRO {jan} {"Jan."}
me@1942 274 MACRO {feb} {"Feb."}
me@1942 275 MACRO {mar} {"Mar."}
me@1942 276 MACRO {apr} {"Apr."}
me@1942 277 MACRO {may} {"May"}
me@1942 278 MACRO {jun} {"Jun."}
me@1942 279 MACRO {jul} {"Jul."}
me@1942 280 MACRO {aug} {"Aug."}
me@1942 281 MACRO {sep} {"Sep."}
me@1942 282 MACRO {oct} {"Oct."}
me@1942 283 MACRO {nov} {"Nov."}
me@1942 284 MACRO {dec} {"Dec."}
me@1942 285
me@1942 286
me@1942 287
me@1942 288 %%%%%%%%%%%%%%%%%%
me@1942 289 %% ENTRY FIELDS %%
me@1942 290 %%%%%%%%%%%%%%%%%%
me@1942 291
me@1942 292 ENTRY
me@1942 293 { address
me@1942 294 assignee
me@1942 295 author
me@1942 296 booktitle
me@1942 297 chapter
me@1942 298 day
me@1942 299 dayfiled
me@1942 300 edition
me@1942 301 editor
me@1942 302 howpublished
me@1942 303 institution
me@1942 304 intype
me@1942 305 journal
me@1942 306 key
me@1942 307 language
me@1942 308 month
me@1942 309 monthfiled
me@1942 310 nationality
me@1942 311 note
me@1942 312 number
me@1942 313 organization
me@1942 314 pages
me@1942 315 paper
me@1942 316 publisher
me@1942 317 school
me@1942 318 series
me@1942 319 revision
me@1942 320 title
me@1942 321 type
me@1942 322 url
me@1942 323 volume
me@1942 324 year
me@1942 325 yearfiled
me@1942 326 CTLuse_article_number
me@1942 327 CTLuse_paper
me@1942 328 CTLuse_forced_etal
me@1942 329 CTLmax_names_forced_etal
me@1942 330 CTLnames_show_etal
me@1942 331 CTLuse_alt_spacing
me@1942 332 CTLalt_stretch_factor
me@1942 333 CTLdash_repeated_names
me@1942 334 CTLname_format_string
me@1942 335 CTLname_latex_cmd
me@1942 336 CTLname_url_prefix
me@1942 337 }
me@1942 338 {}
me@1942 339 { label }
me@1942 340
me@1942 341
me@1942 342
me@1942 343
me@1942 344 %%%%%%%%%%%%%%%%%%%%%%%
me@1942 345 %% INTEGER VARIABLES %%
me@1942 346 %%%%%%%%%%%%%%%%%%%%%%%
me@1942 347
me@1942 348 INTEGERS { prev.status.punct this.status.punct punct.std
me@1942 349 punct.no punct.comma punct.period
me@1942 350 prev.status.space this.status.space space.std
me@1942 351 space.no space.normal space.large
me@1942 352 prev.status.quote this.status.quote quote.std
me@1942 353 quote.no quote.close
me@1942 354 prev.status.nline this.status.nline nline.std
me@1942 355 nline.no nline.newblock
me@1942 356 status.cap cap.std
me@1942 357 cap.no cap.yes}
me@1942 358
me@1942 359 INTEGERS { longest.label.width multiresult nameptr namesleft number.label numnames }
me@1942 360
me@1942 361 INTEGERS { is.use.number.for.article
me@1942 362 is.use.paper
me@1942 363 is.forced.et.al
me@1942 364 max.num.names.before.forced.et.al
me@1942 365 num.names.shown.with.forced.et.al
me@1942 366 is.use.alt.interword.spacing
me@1942 367 is.dash.repeated.names}
me@1942 368
me@1942 369
me@1942 370 %%%%%%%%%%%%%%%%%%%%%%
me@1942 371 %% STRING VARIABLES %%
me@1942 372 %%%%%%%%%%%%%%%%%%%%%%
me@1942 373
me@1942 374 STRINGS { bibinfo
me@1942 375 longest.label
me@1942 376 oldname
me@1942 377 s
me@1942 378 t
me@1942 379 ALTinterwordstretchfactor
me@1942 380 name.format.string
me@1942 381 name.latex.cmd
me@1942 382 name.url.prefix}
me@1942 383
me@1942 384
me@1942 385
me@1942 386
me@1942 387 %%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 388 %% LOW LEVEL FUNCTIONS %%
me@1942 389 %%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 390
me@1942 391 FUNCTION {initialize.controls}
me@1942 392 { default.is.use.number.for.article 'is.use.number.for.article :=
me@1942 393 default.is.use.paper 'is.use.paper :=
me@1942 394 default.is.forced.et.al 'is.forced.et.al :=
me@1942 395 default.max.num.names.before.forced.et.al 'max.num.names.before.forced.et.al :=
me@1942 396 default.num.names.shown.with.forced.et.al 'num.names.shown.with.forced.et.al :=
me@1942 397 default.is.use.alt.interword.spacing 'is.use.alt.interword.spacing :=
me@1942 398 default.is.dash.repeated.names 'is.dash.repeated.names :=
me@1942 399 default.ALTinterwordstretchfactor 'ALTinterwordstretchfactor :=
me@1942 400 default.name.format.string 'name.format.string :=
me@1942 401 default.name.latex.cmd 'name.latex.cmd :=
me@1942 402 default.name.url.prefix 'name.url.prefix :=
me@1942 403 }
me@1942 404
me@1942 405
me@1942 406 % This IEEEtran.bst features a very powerful and flexible mechanism for
me@1942 407 % controlling the capitalization, punctuation, spacing, quotation, and
me@1942 408 % newlines of the formatted entry fields. (Note: IEEEtran.bst does not need
me@1942 409 % or use the newline/newblock feature, but it has been implemented for
me@1942 410 % possible future use.) The output states of IEEEtran.bst consist of
me@1942 411 % multiple independent attributes and, as such, can be thought of as being
me@1942 412 % vectors, rather than the simple scalar values ("before.all",
me@1942 413 % "mid.sentence", etc.) used in most other .bst files.
me@1942 414 %
me@1942 415 % The more flexible and complex design used here was motivated in part by
me@1942 416 % IEEE's rather unusual bibliography style. For example, IEEE ends the
me@1942 417 % previous field item with a period and large space prior to the publisher
me@1942 418 % address; the @electronic entry types use periods as inter-item punctuation
me@1942 419 % rather than the commas used by the other entry types; and URLs are never
me@1942 420 % followed by periods even though they are the last item in the entry.
me@1942 421 % Although it is possible to accommodate these features with the conventional
me@1942 422 % output state system, the seemingly endless exceptions make for convoluted,
me@1942 423 % unreliable and difficult to maintain code.
me@1942 424 %
me@1942 425 % IEEEtran.bst's output state system can be easily understood via a simple
me@1942 426 % illustration of two most recently formatted entry fields (on the stack):
me@1942 427 %
me@1942 428 % CURRENT_ITEM
me@1942 429 % "PREVIOUS_ITEM
me@1942 430 %
me@1942 431 % which, in this example, is to eventually appear in the bibliography as:
me@1942 432 %
me@1942 433 % "PREVIOUS_ITEM," CURRENT_ITEM
me@1942 434 %
me@1942 435 % It is the job of the output routine to take the previous item off of the
me@1942 436 % stack (while leaving the current item at the top of the stack), apply its
me@1942 437 % trailing punctuation (including closing quote marks) and spacing, and then
me@1942 438 % to write the result to BibTeX's output buffer:
me@1942 439 %
me@1942 440 % "PREVIOUS_ITEM,"
me@1942 441 %
me@1942 442 % Punctuation (and spacing) between items is often determined by both of the
me@1942 443 % items rather than just the first one. The presence of quotation marks
me@1942 444 % further complicates the situation because, in standard English, trailing
me@1942 445 % punctuation marks are supposed to be contained within the quotes.
me@1942 446 %
me@1942 447 % IEEEtran.bst maintains two output state (aka "status") vectors which
me@1942 448 % correspond to the previous and current (aka "this") items. Each vector
me@1942 449 % consists of several independent attributes which track punctuation,
me@1942 450 % spacing, quotation, and newlines. Capitalization status is handled by a
me@1942 451 % separate scalar because the format routines, not the output routine,
me@1942 452 % handle capitalization and, therefore, there is no need to maintain the
me@1942 453 % capitalization attribute for both the "previous" and "this" items.
me@1942 454 %
me@1942 455 % When a format routine adds a new item, it copies the current output status
me@1942 456 % vector to the previous output status vector and (usually) resets the
me@1942 457 % current (this) output status vector to a "standard status" vector. Using a
me@1942 458 % "standard status" vector in this way allows us to redefine what we mean by
me@1942 459 % "standard status" at the start of each entry handler and reuse the same
me@1942 460 % format routines under the various inter-item separation schemes. For
me@1942 461 % example, the standard status vector for the @book entry type may use
me@1942 462 % commas for item separators, while the @electronic type may use periods,
me@1942 463 % yet both entry handlers exploit many of the exact same format routines.
me@1942 464 %
me@1942 465 % Because format routines have write access to the output status vector of
me@1942 466 % the previous item, they can override the punctuation choices of the
me@1942 467 % previous format routine! Therefore, it becomes trivial to implement rules
me@1942 468 % such as "Always use a period and a large space before the publisher." By
me@1942 469 % pushing the generation of the closing quote mark to the output routine, we
me@1942 470 % avoid all the problems caused by having to close a quote before having all
me@1942 471 % the information required to determine what the punctuation should be.
me@1942 472 %
me@1942 473 % The IEEEtran.bst output state system can easily be expanded if needed.
me@1942 474 % For instance, it is easy to add a "space.tie" attribute value if the
me@1942 475 % bibliography rules mandate that two items have to be joined with an
me@1942 476 % unbreakable space.
me@1942 477
me@1942 478 FUNCTION {initialize.status.constants}
me@1942 479 { #0 'punct.no :=
me@1942 480 #1 'punct.comma :=
me@1942 481 #2 'punct.period :=
me@1942 482 #0 'space.no :=
me@1942 483 #1 'space.normal :=
me@1942 484 #2 'space.large :=
me@1942 485 #0 'quote.no :=
me@1942 486 #1 'quote.close :=
me@1942 487 #0 'cap.no :=
me@1942 488 #1 'cap.yes :=
me@1942 489 #0 'nline.no :=
me@1942 490 #1 'nline.newblock :=
me@1942 491 }
me@1942 492
me@1942 493 FUNCTION {std.status.using.comma}
me@1942 494 { punct.comma 'punct.std :=
me@1942 495 space.normal 'space.std :=
me@1942 496 quote.no 'quote.std :=
me@1942 497 nline.no 'nline.std :=
me@1942 498 cap.no 'cap.std :=
me@1942 499 }
me@1942 500
me@1942 501 FUNCTION {std.status.using.period}
me@1942 502 { punct.period 'punct.std :=
me@1942 503 space.normal 'space.std :=
me@1942 504 quote.no 'quote.std :=
me@1942 505 nline.no 'nline.std :=
me@1942 506 cap.yes 'cap.std :=
me@1942 507 }
me@1942 508
me@1942 509 FUNCTION {initialize.prev.this.status}
me@1942 510 { punct.no 'prev.status.punct :=
me@1942 511 space.no 'prev.status.space :=
me@1942 512 quote.no 'prev.status.quote :=
me@1942 513 nline.no 'prev.status.nline :=
me@1942 514 punct.no 'this.status.punct :=
me@1942 515 space.no 'this.status.space :=
me@1942 516 quote.no 'this.status.quote :=
me@1942 517 nline.no 'this.status.nline :=
me@1942 518 cap.yes 'status.cap :=
me@1942 519 }
me@1942 520
me@1942 521 FUNCTION {this.status.std}
me@1942 522 { punct.std 'this.status.punct :=
me@1942 523 space.std 'this.status.space :=
me@1942 524 quote.std 'this.status.quote :=
me@1942 525 nline.std 'this.status.nline :=
me@1942 526 }
me@1942 527
me@1942 528 FUNCTION {cap.status.std}{ cap.std 'status.cap := }
me@1942 529
me@1942 530 FUNCTION {this.to.prev.status}
me@1942 531 { this.status.punct 'prev.status.punct :=
me@1942 532 this.status.space 'prev.status.space :=
me@1942 533 this.status.quote 'prev.status.quote :=
me@1942 534 this.status.nline 'prev.status.nline :=
me@1942 535 }
me@1942 536
me@1942 537
me@1942 538 FUNCTION {not}
me@1942 539 { { #0 }
me@1942 540 { #1 }
me@1942 541 if$
me@1942 542 }
me@1942 543
me@1942 544 FUNCTION {and}
me@1942 545 { { skip$ }
me@1942 546 { pop$ #0 }
me@1942 547 if$
me@1942 548 }
me@1942 549
me@1942 550 FUNCTION {or}
me@1942 551 { { pop$ #1 }
me@1942 552 { skip$ }
me@1942 553 if$
me@1942 554 }
me@1942 555
me@1942 556
me@1942 557 % convert the strings "yes" or "no" to #1 or #0 respectively
me@1942 558 FUNCTION {yes.no.to.int}
me@1942 559 { "l" change.case$ duplicate$
me@1942 560 "yes" =
me@1942 561 { pop$ #1 }
me@1942 562 { duplicate$ "no" =
me@1942 563 { pop$ #0 }
me@1942 564 { "unknown boolean " quote$ * swap$ * quote$ *
me@1942 565 " in " * cite$ * warning$
me@1942 566 #0
me@1942 567 }
me@1942 568 if$
me@1942 569 }
me@1942 570 if$
me@1942 571 }
me@1942 572
me@1942 573
me@1942 574 % pushes true if the single char string on the stack is in the
me@1942 575 % range of "0" to "9"
me@1942 576 FUNCTION {is.num}
me@1942 577 { chr.to.int$
me@1942 578 duplicate$ "0" chr.to.int$ < not
me@1942 579 swap$ "9" chr.to.int$ > not and
me@1942 580 }
me@1942 581
me@1942 582 % multiplies the integer on the stack by a factor of 10
me@1942 583 FUNCTION {bump.int.mag}
me@1942 584 { #0 'multiresult :=
me@1942 585 { duplicate$ #0 > }
me@1942 586 { #1 -
me@1942 587 multiresult #10 +
me@1942 588 'multiresult :=
me@1942 589 }
me@1942 590 while$
me@1942 591 pop$
me@1942 592 multiresult
me@1942 593 }
me@1942 594
me@1942 595 % converts a single character string on the stack to an integer
me@1942 596 FUNCTION {char.to.integer}
me@1942 597 { duplicate$
me@1942 598 is.num
me@1942 599 { chr.to.int$ "0" chr.to.int$ - }
me@1942 600 {"noninteger character " quote$ * swap$ * quote$ *
me@1942 601 " in integer field of " * cite$ * warning$
me@1942 602 #0
me@1942 603 }
me@1942 604 if$
me@1942 605 }
me@1942 606
me@1942 607 % converts a string on the stack to an integer
me@1942 608 FUNCTION {string.to.integer}
me@1942 609 { duplicate$ text.length$ 'namesleft :=
me@1942 610 #1 'nameptr :=
me@1942 611 #0 'numnames :=
me@1942 612 { nameptr namesleft > not }
me@1942 613 { duplicate$ nameptr #1 substring$
me@1942 614 char.to.integer numnames bump.int.mag +
me@1942 615 'numnames :=
me@1942 616 nameptr #1 +
me@1942 617 'nameptr :=
me@1942 618 }
me@1942 619 while$
me@1942 620 pop$
me@1942 621 numnames
me@1942 622 }
me@1942 623
me@1942 624
me@1942 625
me@1942 626
me@1942 627 % The output routines write out the *next* to the top (previous) item on the
me@1942 628 % stack, adding punctuation and such as needed. Since IEEEtran.bst maintains
me@1942 629 % the output status for the top two items on the stack, these output
me@1942 630 % routines have to consider the previous output status (which corresponds to
me@1942 631 % the item that is being output). Full independent control of punctuation,
me@1942 632 % closing quote marks, spacing, and newblock is provided.
me@1942 633 %
me@1942 634 % "output.nonnull" does not check for the presence of a previous empty
me@1942 635 % item.
me@1942 636 %
me@1942 637 % "output" does check for the presence of a previous empty item and will
me@1942 638 % remove an empty item rather than outputing it.
me@1942 639 %
me@1942 640 % "output.warn" is like "output", but will issue a warning if it detects
me@1942 641 % an empty item.
me@1942 642
me@1942 643 FUNCTION {output.nonnull}
me@1942 644 { swap$
me@1942 645 prev.status.punct punct.comma =
me@1942 646 { "," * }
me@1942 647 { skip$ }
me@1942 648 if$
me@1942 649 prev.status.punct punct.period =
me@1942 650 { add.period$ }
me@1942 651 { skip$ }
me@1942 652 if$
me@1942 653 prev.status.quote quote.close =
me@1942 654 { "''" * }
me@1942 655 { skip$ }
me@1942 656 if$
me@1942 657 prev.status.space space.normal =
me@1942 658 { " " * }
me@1942 659 { skip$ }
me@1942 660 if$
me@1942 661 prev.status.space space.large =
me@1942 662 { large.space * }
me@1942 663 { skip$ }
me@1942 664 if$
me@1942 665 write$
me@1942 666 prev.status.nline nline.newblock =
me@1942 667 { newline$ "\newblock " write$ }
me@1942 668 { skip$ }
me@1942 669 if$
me@1942 670 }
me@1942 671
me@1942 672 FUNCTION {output}
me@1942 673 { duplicate$ empty$
me@1942 674 'pop$
me@1942 675 'output.nonnull
me@1942 676 if$
me@1942 677 }
me@1942 678
me@1942 679 FUNCTION {output.warn}
me@1942 680 { 't :=
me@1942 681 duplicate$ empty$
me@1942 682 { pop$ "empty " t * " in " * cite$ * warning$ }
me@1942 683 'output.nonnull
me@1942 684 if$
me@1942 685 }
me@1942 686
me@1942 687 % "fin.entry" is the output routine that handles the last item of the entry
me@1942 688 % (which will be on the top of the stack when "fin.entry" is called).
me@1942 689
me@1942 690 FUNCTION {fin.entry}
me@1942 691 { this.status.punct punct.no =
me@1942 692 { skip$ }
me@1942 693 { add.period$ }
me@1942 694 if$
me@1942 695 this.status.quote quote.close =
me@1942 696 { "''" * }
me@1942 697 { skip$ }
me@1942 698 if$
me@1942 699 write$
me@1942 700 newline$
me@1942 701 }
me@1942 702
me@1942 703
me@1942 704 FUNCTION {is.last.char.not.punct}
me@1942 705 { duplicate$
me@1942 706 "}" * add.period$
me@1942 707 #-1 #1 substring$ "." =
me@1942 708 }
me@1942 709
me@1942 710 FUNCTION {is.multiple.pages}
me@1942 711 { 't :=
me@1942 712 #0 'multiresult :=
me@1942 713 { multiresult not
me@1942 714 t empty$ not
me@1942 715 and
me@1942 716 }
me@1942 717 { t #1 #1 substring$
me@1942 718 duplicate$ "-" =
me@1942 719 swap$ duplicate$ "," =
me@1942 720 swap$ "+" =
me@1942 721 or or
me@1942 722 { #1 'multiresult := }
me@1942 723 { t #2 global.max$ substring$ 't := }
me@1942 724 if$
me@1942 725 }
me@1942 726 while$
me@1942 727 multiresult
me@1942 728 }
me@1942 729
me@1942 730 FUNCTION {capitalize}{ "u" change.case$ "t" change.case$ }
me@1942 731
me@1942 732 FUNCTION {emphasize}
me@1942 733 { duplicate$ empty$
me@1942 734 { pop$ "" }
me@1942 735 { "\emph{" swap$ * "}" * }
me@1942 736 if$
me@1942 737 }
me@1942 738
me@1942 739 FUNCTION {do.name.latex.cmd}
me@1942 740 { name.latex.cmd
me@1942 741 empty$
me@1942 742 { skip$ }
me@1942 743 { name.latex.cmd "{" * swap$ * "}" * }
me@1942 744 if$
me@1942 745 }
me@1942 746
me@1942 747 % IEEEtran.bst uses its own \BIBforeignlanguage command which directly
me@1942 748 % invokes the TeX hyphenation patterns without the need of the Babel
me@1942 749 % package. Babel does a lot more than switch hyphenation patterns and
me@1942 750 % its loading can cause unintended effects in many class files (such as
me@1942 751 % IEEEtran.cls).
me@1942 752 FUNCTION {select.language}
me@1942 753 { duplicate$ empty$ 'pop$
me@1942 754 { language empty$ 'skip$
me@1942 755 { "\BIBforeignlanguage{" language * "}{" * swap$ * "}" * }
me@1942 756 if$
me@1942 757 }
me@1942 758 if$
me@1942 759 }
me@1942 760
me@1942 761 FUNCTION {tie.or.space.prefix}
me@1942 762 { duplicate$ text.length$ #3 <
me@1942 763 { "~" }
me@1942 764 { " " }
me@1942 765 if$
me@1942 766 swap$
me@1942 767 }
me@1942 768
me@1942 769 FUNCTION {get.bbl.editor}
me@1942 770 { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
me@1942 771
me@1942 772 FUNCTION {space.word}{ " " swap$ * " " * }
me@1942 773
me@1942 774
me@1942 775 % Field Conditioners, Converters, Checkers and External Interfaces
me@1942 776
me@1942 777 FUNCTION {empty.field.to.null.string}
me@1942 778 { duplicate$ empty$
me@1942 779 { pop$ "" }
me@1942 780 { skip$ }
me@1942 781 if$
me@1942 782 }
me@1942 783
me@1942 784 FUNCTION {either.or.check}
me@1942 785 { empty$
me@1942 786 { pop$ }
me@1942 787 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
me@1942 788 if$
me@1942 789 }
me@1942 790
me@1942 791 FUNCTION {empty.entry.warn}
me@1942 792 { author empty$ title empty$ howpublished empty$
me@1942 793 month empty$ year empty$ note empty$ url empty$
me@1942 794 and and and and and and
me@1942 795 { "all relevant fields are empty in " cite$ * warning$ }
me@1942 796 'skip$
me@1942 797 if$
me@1942 798 }
me@1942 799
me@1942 800
me@1942 801 % The bibinfo system provides a way for the electronic parsing/acquisition
me@1942 802 % of a bibliography's contents as is done by ReVTeX. For example, a field
me@1942 803 % could be entered into the bibliography as:
me@1942 804 % \bibinfo{volume}{2}
me@1942 805 % Only the "2" would show up in the document, but the LaTeX \bibinfo command
me@1942 806 % could do additional things with the information. IEEEtran.bst does provide
me@1942 807 % a \bibinfo command via "\providecommand{\bibinfo}[2]{#2}". However, it is
me@1942 808 % currently not used as the bogus bibinfo functions defined here output the
me@1942 809 % entry values directly without the \bibinfo wrapper. The bibinfo functions
me@1942 810 % themselves (and the calls to them) are retained for possible future use.
me@1942 811 %
me@1942 812 % bibinfo.check avoids acting on missing fields while bibinfo.warn will
me@1942 813 % issue a warning message if a missing field is detected. Prior to calling
me@1942 814 % the bibinfo functions, the user should push the field value and then its
me@1942 815 % name string, in that order.
me@1942 816
me@1942 817 FUNCTION {bibinfo.check}
me@1942 818 { swap$ duplicate$ missing$
me@1942 819 { pop$ pop$ "" }
me@1942 820 { duplicate$ empty$
me@1942 821 { swap$ pop$ }
me@1942 822 { swap$ pop$ }
me@1942 823 if$
me@1942 824 }
me@1942 825 if$
me@1942 826 }
me@1942 827
me@1942 828 FUNCTION {bibinfo.warn}
me@1942 829 { swap$ duplicate$ missing$
me@1942 830 { swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ "" }
me@1942 831 { duplicate$ empty$
me@1942 832 { swap$ "empty " swap$ * " in " * cite$ * warning$ }
me@1942 833 { swap$ pop$ }
me@1942 834 if$
me@1942 835 }
me@1942 836 if$
me@1942 837 }
me@1942 838
me@1942 839
me@1942 840 % IEEE separates large numbers with more than 4 digits into groups of
me@1942 841 % three. IEEE uses a small space to separate these number groups.
me@1942 842 % Typical applications include patent and page numbers.
me@1942 843
me@1942 844 % number of consecutive digits required to trigger the group separation.
me@1942 845 FUNCTION {large.number.trigger}{ #5 }
me@1942 846
me@1942 847 % For numbers longer than the trigger, this is the blocksize of the groups.
me@1942 848 % The blocksize must be less than the trigger threshold, and 2 * blocksize
me@1942 849 % must be greater than the trigger threshold (can't do more than one
me@1942 850 % separation on the initial trigger).
me@1942 851 FUNCTION {large.number.blocksize}{ #3 }
me@1942 852
me@1942 853 % What is actually inserted between the number groups.
me@1942 854 FUNCTION {large.number.separator}{ "\," }
me@1942 855
me@1942 856 % So as to save on integer variables by reusing existing ones, numnames
me@1942 857 % holds the current number of consecutive digits read and nameptr holds
me@1942 858 % the number that will trigger an inserted space.
me@1942 859 FUNCTION {large.number.separate}
me@1942 860 { 't :=
me@1942 861 ""
me@1942 862 #0 'numnames :=
me@1942 863 large.number.trigger 'nameptr :=
me@1942 864 { t empty$ not }
me@1942 865 { t #-1 #1 substring$ is.num
me@1942 866 { numnames #1 + 'numnames := }
me@1942 867 { #0 'numnames :=
me@1942 868 large.number.trigger 'nameptr :=
me@1942 869 }
me@1942 870 if$
me@1942 871 t #-1 #1 substring$ swap$ *
me@1942 872 t #-2 global.max$ substring$ 't :=
me@1942 873 numnames nameptr =
me@1942 874 { duplicate$ #1 nameptr large.number.blocksize - substring$ swap$
me@1942 875 nameptr large.number.blocksize - #1 + global.max$ substring$
me@1942 876 large.number.separator swap$ * *
me@1942 877 nameptr large.number.blocksize - 'numnames :=
me@1942 878 large.number.blocksize #1 + 'nameptr :=
me@1942 879 }
me@1942 880 { skip$ }
me@1942 881 if$
me@1942 882 }
me@1942 883 while$
me@1942 884 }
me@1942 885
me@1942 886 % Converts all single dashes "-" to double dashes "--".
me@1942 887 FUNCTION {n.dashify}
me@1942 888 { large.number.separate
me@1942 889 't :=
me@1942 890 ""
me@1942 891 { t empty$ not }
me@1942 892 { t #1 #1 substring$ "-" =
me@1942 893 { t #1 #2 substring$ "--" = not
me@1942 894 { "--" *
me@1942 895 t #2 global.max$ substring$ 't :=
me@1942 896 }
me@1942 897 { { t #1 #1 substring$ "-" = }
me@1942 898 { "-" *
me@1942 899 t #2 global.max$ substring$ 't :=
me@1942 900 }
me@1942 901 while$
me@1942 902 }
me@1942 903 if$
me@1942 904 }
me@1942 905 { t #1 #1 substring$ *
me@1942 906 t #2 global.max$ substring$ 't :=
me@1942 907 }
me@1942 908 if$
me@1942 909 }
me@1942 910 while$
me@1942 911 }
me@1942 912
me@1942 913
me@1942 914 % This function detects entries with names that are identical to that of
me@1942 915 % the previous entry and replaces the repeated names with dashes (if the
me@1942 916 % "is.dash.repeated.names" user control is nonzero).
me@1942 917 FUNCTION {name.or.dash}
me@1942 918 { 's :=
me@1942 919 oldname empty$
me@1942 920 { s 'oldname := s }
me@1942 921 { s oldname =
me@1942 922 { is.dash.repeated.names
me@1942 923 { repeated.name.dashes }
me@1942 924 { s 'oldname := s }
me@1942 925 if$
me@1942 926 }
me@1942 927 { s 'oldname := s }
me@1942 928 if$
me@1942 929 }
me@1942 930 if$
me@1942 931 }
me@1942 932
me@1942 933 % Converts the number string on the top of the stack to
me@1942 934 % "numerical ordinal form" (e.g., "7" to "7th"). There is
me@1942 935 % no artificial limit to the upper bound of the numbers as the
me@1942 936 % least significant digit always determines the ordinal form.
me@1942 937 FUNCTION {num.to.ordinal}
me@1942 938 { duplicate$ #-1 #1 substring$ "1" =
me@1942 939 { bbl.st * }
me@1942 940 { duplicate$ #-1 #1 substring$ "2" =
me@1942 941 { bbl.nd * }
me@1942 942 { duplicate$ #-1 #1 substring$ "3" =
me@1942 943 { bbl.rd * }
me@1942 944 { bbl.th * }
me@1942 945 if$
me@1942 946 }
me@1942 947 if$
me@1942 948 }
me@1942 949 if$
me@1942 950 }
me@1942 951
me@1942 952 % If the string on the top of the stack begins with a number,
me@1942 953 % (e.g., 11th) then replace the string with the leading number
me@1942 954 % it contains. Otherwise retain the string as-is. s holds the
me@1942 955 % extracted number, t holds the part of the string that remains
me@1942 956 % to be scanned.
me@1942 957 FUNCTION {extract.num}
me@1942 958 { duplicate$ 't :=
me@1942 959 "" 's :=
me@1942 960 { t empty$ not }
me@1942 961 { t #1 #1 substring$
me@1942 962 t #2 global.max$ substring$ 't :=
me@1942 963 duplicate$ is.num
me@1942 964 { s swap$ * 's := }
me@1942 965 { pop$ "" 't := }
me@1942 966 if$
me@1942 967 }
me@1942 968 while$
me@1942 969 s empty$
me@1942 970 'skip$
me@1942 971 { pop$ s }
me@1942 972 if$
me@1942 973 }
me@1942 974
me@1942 975 % Converts the word number string on the top of the stack to
me@1942 976 % Arabic string form. Will be successful up to "tenth".
me@1942 977 FUNCTION {word.to.num}
me@1942 978 { duplicate$ "l" change.case$ 's :=
me@1942 979 s "first" =
me@1942 980 { pop$ "1" }
me@1942 981 { skip$ }
me@1942 982 if$
me@1942 983 s "second" =
me@1942 984 { pop$ "2" }
me@1942 985 { skip$ }
me@1942 986 if$
me@1942 987 s "third" =
me@1942 988 { pop$ "3" }
me@1942 989 { skip$ }
me@1942 990 if$
me@1942 991 s "fourth" =
me@1942 992 { pop$ "4" }
me@1942 993 { skip$ }
me@1942 994 if$
me@1942 995 s "fifth" =
me@1942 996 { pop$ "5" }
me@1942 997 { skip$ }
me@1942 998 if$
me@1942 999 s "sixth" =
me@1942 1000 { pop$ "6" }
me@1942 1001 { skip$ }
me@1942 1002 if$
me@1942 1003 s "seventh" =
me@1942 1004 { pop$ "7" }
me@1942 1005 { skip$ }
me@1942 1006 if$
me@1942 1007 s "eighth" =
me@1942 1008 { pop$ "8" }
me@1942 1009 { skip$ }
me@1942 1010 if$
me@1942 1011 s "ninth" =
me@1942 1012 { pop$ "9" }
me@1942 1013 { skip$ }
me@1942 1014 if$
me@1942 1015 s "tenth" =
me@1942 1016 { pop$ "10" }
me@1942 1017 { skip$ }
me@1942 1018 if$
me@1942 1019 }
me@1942 1020
me@1942 1021
me@1942 1022 % Converts the string on the top of the stack to numerical
me@1942 1023 % ordinal (e.g., "11th") form.
me@1942 1024 FUNCTION {convert.edition}
me@1942 1025 { duplicate$ empty$ 'skip$
me@1942 1026 { duplicate$ #1 #1 substring$ is.num
me@1942 1027 { extract.num
me@1942 1028 num.to.ordinal
me@1942 1029 }
me@1942 1030 { word.to.num
me@1942 1031 duplicate$ #1 #1 substring$ is.num
me@1942 1032 { num.to.ordinal }
me@1942 1033 { "edition ordinal word " quote$ * edition * quote$ *
me@1942 1034 " may be too high (or improper) for conversion" * " in " * cite$ * warning$
me@1942 1035 }
me@1942 1036 if$
me@1942 1037 }
me@1942 1038 if$
me@1942 1039 }
me@1942 1040 if$
me@1942 1041 }
me@1942 1042
me@1942 1043
me@1942 1044
me@1942 1045
me@1942 1046 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 1047 %% LATEX BIBLIOGRAPHY CODE %%
me@1942 1048 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
me@1942 1049
me@1942 1050 FUNCTION {start.entry}
me@1942 1051 { newline$
me@1942 1052 "\bibitem{" write$
me@1942 1053 cite$ write$
me@1942 1054 "}" write$
me@1942 1055 newline$
me@1942 1056 ""
me@1942 1057 initialize.prev.this.status
me@1942 1058 }
me@1942 1059
me@1942 1060 % Here we write out all the LaTeX code that we will need. The most involved
me@1942 1061 % code sequences are those that control the alternate interword spacing and
me@1942 1062 % foreign language hyphenation patterns. The heavy use of \providecommand
me@1942 1063 % gives users a way to override the defaults. Special thanks to Javier Bezos,
me@1942 1064 % Johannes Braams, Robin Fairbairns, Heiko Oberdiek, Donald Arseneau and all
me@1942 1065 % the other gurus on comp.text.tex for their help and advice on the topic of
me@1942 1066 % \selectlanguage, Babel and BibTeX.
me@1942 1067 FUNCTION {begin.bib}
me@1942 1068 { "% Generated by IEEEtran.bst, version: " bst.file.version * " (" * bst.file.date * ")" *
me@1942 1069 write$ newline$
me@1942 1070 preamble$ empty$ 'skip$
me@1942 1071 { preamble$ write$ newline$ }
me@1942 1072 if$
me@1942 1073 "\begin{thebibliography}{" longest.label * "}" *
me@1942 1074 write$ newline$
me@1942 1075 "\providecommand{\url}[1]{#1}"
me@1942 1076 write$ newline$
me@1942 1077 "\csname url@samestyle\endcsname"
me@1942 1078 write$ newline$
me@1942 1079 "\providecommand{\newblock}{\relax}"
me@1942 1080 write$ newline$
me@1942 1081 "\providecommand{\bibinfo}[2]{#2}"
me@1942 1082 write$ newline$
me@1942 1083 "\providecommand{\BIBentrySTDinterwordspacing}{\spaceskip=0pt\relax}"
me@1942 1084 write$ newline$
me@1942 1085 "\providecommand{\BIBentryALTinterwordstretchfactor}{"
me@1942 1086 ALTinterwordstretchfactor * "}" *
me@1942 1087 write$ newline$
me@1942 1088 "\providecommand{\BIBentryALTinterwordspacing}{\spaceskip=\fontdimen2\font plus "
me@1942 1089 write$ newline$
me@1942 1090 "\BIBentryALTinterwordstretchfactor\fontdimen3\font minus \fontdimen4\font\relax}"
me@1942 1091 write$ newline$
me@1942 1092 "\providecommand{\BIBforeignlanguage}[2]{{%"
me@1942 1093 write$ newline$
me@1942 1094 "\expandafter\ifx\csname l@#1\endcsname\relax"
me@1942 1095 write$ newline$
me@1942 1096 "\typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%"
me@1942 1097 write$ newline$
me@1942 1098 "\typeout{** loaded for the language `#1'. Using the pattern for}%"
me@1942 1099 write$ newline$
me@1942 1100 "\typeout{** the default language instead.}%"
me@1942 1101 write$ newline$
me@1942 1102 "\else"
me@1942 1103 write$ newline$
me@1942 1104 "\language=\csname l@#1\endcsname"
me@1942 1105 write$ newline$
me@1942 1106 "\fi"
me@1942 1107 write$ newline$
me@1942 1108 "#2}}"
me@1942 1109 write$ newline$
me@1942 1110 "\providecommand{\BIBdecl}{\relax}"
me@1942 1111 write$ newline$
me@1942 1112 "\BIBdecl"
me@1942 1113 write$ newline$
me@1942 1114 }
me@1942 1115
me@1942 1116 FUNCTION {end.bib}
me@1942 1117 { newline$ "\end{thebibliography}" write$ newline$ }
me@1942 1118
me@1942 1119 FUNCTION {if.url.alt.interword.spacing}
me@1942 1120 { is.use.alt.interword.spacing
me@1942 1121 {url empty$ 'skip$ {"\BIBentryALTinterwordspacing" write$ newline$} if$}
me@1942 1122 { skip$ }
me@1942 1123 if$
me@1942 1124 }
me@1942 1125
me@1942 1126 FUNCTION {if.url.std.interword.spacing}
me@1942 1127 { is.use.alt.interword.spacing
me@1942 1128 {url empty$ 'skip$ {"\BIBentrySTDinterwordspacing" write$ newline$} if$}
me@1942 1129 { skip$ }
me@1942 1130 if$
me@1942 1131 }
me@1942 1132
me@1942 1133
me@1942 1134
me@1942 1135
me@1942 1136 %%%%%%%%%%%%%%%%%%%%%%%%
me@1942 1137 %% LONGEST LABEL PASS %%
me@1942 1138 %%%%%%%%%%%%%%%%%%%%%%%%
me@1942 1139
me@1942 1140 FUNCTION {initialize.longest.label}
me@1942 1141 { "" 'longest.label :=
me@1942 1142 #1 'number.label :=
me@1942 1143 #0 'longest.label.width :=
me@1942 1144 }
me@1942 1145
me@1942 1146 FUNCTION {longest.label.pass}
me@1942 1147 { type$ "ieeetranbstctl" =
me@1942 1148 { skip$ }
me@1942 1149 { number.label int.to.str$ 'label :=
me@1942 1150 number.label #1 + 'number.label :=
me@1942 1151 label width$ longest.label.width >
me@1942 1152 { label 'longest.label :=
me@1942 1153 label width$ 'longest.label.width :=
me@1942 1154 }
me@1942 1155 { skip$ }
me@1942 1156 if$
me@1942 1157 }
me@1942 1158 if$
me@1942 1159 }
me@1942 1160
me@1942 1161
me@1942 1162
me@1942 1163
me@1942 1164 %%%%%%%%%%%%%%%%%%%%%
me@1942 1165 %% FORMAT HANDLERS %%
me@1942 1166 %%%%%%%%%%%%%%%%%%%%%
me@1942 1167
me@1942 1168 %% Lower Level Formats (used by higher level formats)
me@1942 1169
me@1942 1170 FUNCTION {format.address.org.or.pub.date}
me@1942 1171 { 't :=
me@1942 1172 ""
me@1942 1173 year empty$
me@1942 1174 { "empty year in " cite$ * warning$ }
me@1942 1175 { skip$ }
me@1942 1176 if$
me@1942 1177 address empty$ t empty$ and
me@1942 1178 year empty$ and month empty$ and
me@1942 1179 { skip$ }
me@1942 1180 { this.to.prev.status
me@1942 1181 this.status.std
me@1942 1182 cap.status.std
me@1942 1183 address "address" bibinfo.check *
me@1942 1184 t empty$
me@1942 1185 { skip$ }
me@1942 1186 { punct.period 'prev.status.punct :=
me@1942 1187 space.large 'prev.status.space :=
me@1942 1188 address empty$
me@1942 1189 { skip$ }
me@1942 1190 { ": " * }
me@1942 1191 if$
me@1942 1192 t *
me@1942 1193 }
me@1942 1194 if$
me@1942 1195 year empty$ month empty$ and
me@1942 1196 { skip$ }
me@1942 1197 { t empty$ address empty$ and
me@1942 1198 { skip$ }
me@1942 1199 { ", " * }
me@1942 1200 if$
me@1942 1201 month empty$
me@1942 1202 { year empty$
me@1942 1203 { skip$ }
me@1942 1204 { year "year" bibinfo.check * }
me@1942 1205 if$
me@1942 1206 }
me@1942 1207 { month "month" bibinfo.check *
me@1942 1208 year empty$
me@1942 1209 { skip$ }
me@1942 1210 { " " * year "year" bibinfo.check * }
me@1942 1211 if$
me@1942 1212 }
me@1942 1213 if$
me@1942 1214 }
me@1942 1215 if$
me@1942 1216 }
me@1942 1217 if$
me@1942 1218 }
me@1942 1219
me@1942 1220
me@1942 1221 FUNCTION {format.names}
me@1942 1222 { 'bibinfo :=
me@1942 1223 duplicate$ empty$ 'skip$ {
me@1942 1224 this.to.prev.status
me@1942 1225 this.status.std
me@1942 1226 's :=
me@1942 1227 "" 't :=
me@1942 1228 #1 'nameptr :=
me@1942 1229 s num.names$ 'numnames :=
me@1942 1230 numnames 'namesleft :=
me@1942 1231 { namesleft #0 > }
me@1942 1232 { s nameptr
me@1942 1233 name.format.string
me@1942 1234 format.name$
me@1942 1235 bibinfo bibinfo.check
me@1942 1236 't :=
me@1942 1237 nameptr #1 >
me@1942 1238 { nameptr num.names.shown.with.forced.et.al #1 + =
me@1942 1239 numnames max.num.names.before.forced.et.al >
me@1942 1240 is.forced.et.al and and
me@1942 1241 { "others" 't :=
me@1942 1242 #1 'namesleft :=
me@1942 1243 }
me@1942 1244 { skip$ }
me@1942 1245 if$
me@1942 1246 namesleft #1 >
me@1942 1247 { ", " * t do.name.latex.cmd * }
me@1942 1248 { s nameptr "{ll}" format.name$ duplicate$ "others" =
me@1942 1249 { 't := }
me@1942 1250 { pop$ }
me@1942 1251 if$
me@1942 1252 t "others" =
me@1942 1253 { " " * bbl.etal emphasize * }
me@1942 1254 { numnames #2 >
me@1942 1255 { "," * }
me@1942 1256 { skip$ }
me@1942 1257 if$
me@1942 1258 bbl.and
me@1942 1259 space.word * t do.name.latex.cmd *
me@1942 1260 }
me@1942 1261 if$
me@1942 1262 }
me@1942 1263 if$
me@1942 1264 }
me@1942 1265 { t do.name.latex.cmd }
me@1942 1266 if$
me@1942 1267 nameptr #1 + 'nameptr :=
me@1942 1268 namesleft #1 - 'namesleft :=
me@1942 1269 }
me@1942 1270 while$
me@1942 1271 cap.status.std
me@1942 1272 } if$
me@1942 1273 }
me@1942 1274
me@1942 1275
me@1942 1276
me@1942 1277
me@1942 1278 %% Higher Level Formats
me@1942 1279
me@1942 1280 %% addresses/locations
me@1942 1281
me@1942 1282 FUNCTION {format.address}
me@1942 1283 { address duplicate$ empty$ 'skip$
me@1942 1284 { this.to.prev.status
me@1942 1285 this.status.std
me@1942 1286 cap.status.std
me@1942 1287 }
me@1942 1288 if$
me@1942 1289 }
me@1942 1290
me@1942 1291
me@1942 1292
me@1942 1293 %% author/editor names
me@1942 1294
me@1942 1295 FUNCTION {format.authors}{ author "author" format.names }
me@1942 1296
me@1942 1297 FUNCTION {format.editors}
me@1942 1298 { editor "editor" format.names duplicate$ empty$ 'skip$
me@1942 1299 { ", " *
me@1942 1300 get.bbl.editor
me@1942 1301 capitalize
me@1942 1302 *
me@1942 1303 }
me@1942 1304 if$
me@1942 1305 }
me@1942 1306
me@1942 1307
me@1942 1308
me@1942 1309 %% date
me@1942 1310
me@1942 1311 FUNCTION {format.date}
me@1942 1312 {
me@1942 1313 month "month" bibinfo.check duplicate$ empty$
me@1942 1314 year "year" bibinfo.check duplicate$ empty$
me@1942 1315 { swap$ 'skip$
me@1942 1316 { this.to.prev.status
me@1942 1317 this.status.std
me@1942 1318 cap.status.std
me@1942 1319 "there's a month but no year in " cite$ * warning$ }
me@1942 1320 if$
me@1942 1321 *
me@1942 1322 }
me@1942 1323 { this.to.prev.status
me@1942 1324 this.status.std
me@1942 1325 cap.status.std
me@1942 1326 swap$ 'skip$
me@1942 1327 {
me@1942 1328 swap$
me@1942 1329 " " * swap$
me@1942 1330 }
me@1942 1331 if$
me@1942 1332 *
me@1942 1333 }
me@1942 1334 if$
me@1942 1335 }
me@1942 1336
me@1942 1337 FUNCTION {format.date.electronic}
me@1942 1338 { month "month" bibinfo.check duplicate$ empty$
me@1942 1339 year "year" bibinfo.check duplicate$ empty$
me@1942 1340 { swap$
me@1942 1341 { pop$ }
me@1942 1342 { "there's a month but no year in " cite$ * warning$
me@1942 1343 pop$ ")" * "(" swap$ *
me@1942 1344 this.to.prev.status
me@1942 1345 punct.no 'this.status.punct :=
me@1942 1346 space.normal 'this.status.space :=
me@1942 1347 quote.no 'this.status.quote :=
me@1942 1348 cap.yes 'status.cap :=
me@1942 1349 }
me@1942 1350 if$
me@1942 1351 }
me@1942 1352 { swap$
me@1942 1353 { swap$ pop$ ")" * "(" swap$ * }
me@1942 1354 { "(" swap$ * ", " * swap$ * ")" * }
me@1942 1355 if$
me@1942 1356 this.to.prev.status
me@1942 1357 punct.no 'this.status.punct :=
me@1942 1358 space.normal 'this.status.space :=
me@1942 1359 quote.no 'this.status.quote :=
me@1942 1360 cap.yes 'status.cap :=
me@1942 1361 }
me@1942 1362 if$
me@1942 1363 }
me@1942 1364
me@1942 1365
me@1942 1366
me@1942 1367 %% edition/title
me@1942 1368
me@1942 1369 % Note: IEEE considers the edition to be closely associated with
me@1942 1370 % the title of a book. So, in IEEEtran.bst the edition is normally handled
me@1942 1371 % within the formatting of the title. The format.edition function is
me@1942 1372 % retained here for possible future use.
me@1942 1373 FUNCTION {format.edition}
me@1942 1374 { edition duplicate$ empty$ 'skip$
me@1942 1375 { this.to.prev.status
me@1942 1376 this.status.std
me@1942 1377 convert.edition
me@1942 1378 status.cap
me@1942 1379 { "t" }
me@1942 1380 { "l" }
me@1942 1381 if$ change.case$
me@1942 1382 "edition" bibinfo.check
me@1942 1383 "~" * bbl.edition *
me@1942 1384 cap.status.std
me@1942 1385 }
me@1942 1386 if$
me@1942 1387 }
me@1942 1388
me@1942 1389 % This is used to format the booktitle of a conference proceedings.
me@1942 1390 % Here we use the "intype" field to provide the user a way to
me@1942 1391 % override the word "in" (e.g., with things like "presented at")
me@1942 1392 % Use of intype stops the emphasis of the booktitle to indicate that
me@1942 1393 % we no longer mean the written conference proceedings, but the
me@1942 1394 % conference itself.
me@1942 1395 FUNCTION {format.in.booktitle}
me@1942 1396 { booktitle "booktitle" bibinfo.check duplicate$ empty$ 'skip$
me@1942 1397 { this.to.prev.status
me@1942 1398 this.status.std
me@1942 1399 select.language
me@1942 1400 intype missing$
me@1942 1401 { emphasize
me@1942 1402 bbl.in " " *
me@1942 1403 }
me@1942 1404 { intype " " * }
me@1942 1405 if$
me@1942 1406 swap$ *
me@1942 1407 cap.status.std
me@1942 1408 }
me@1942 1409 if$
me@1942 1410 }
me@1942 1411
me@1942 1412 % This is used to format the booktitle of collection.
me@1942 1413 % Here the "intype" field is not supported, but "edition" is.
me@1942 1414 FUNCTION {format.in.booktitle.edition}
me@1942 1415 { booktitle "booktitle" bibinfo.check duplicate$ empty$ 'skip$
me@1942 1416 { this.to.prev.status
me@1942 1417 this.status.std
me@1942 1418 select.language
me@1942 1419 emphasize
me@1942 1420 edition empty$ 'skip$
me@1942 1421 { ", " *
me@1942 1422 edition
me@1942 1423 convert.edition
me@1942 1424 "l" change.case$
me@1942 1425 * "~" * bbl.edition *
me@1942 1426 }
me@1942 1427 if$
me@1942 1428 bbl.in " " * swap$ *
me@1942 1429 cap.status.std
me@1942 1430 }
me@1942 1431 if$
me@1942 1432 }
me@1942 1433
me@1942 1434 FUNCTION {format.article.title}
me@1942 1435 { title duplicate$ empty$ 'skip$
me@1942 1436 { this.to.prev.status
me@1942 1437 this.status.std
me@1942 1438 "t" change.case$
me@1942 1439 }
me@1942 1440 if$
me@1942 1441 "title" bibinfo.check
me@1942 1442 duplicate$ empty$ 'skip$
me@1942 1443 { quote.close 'this.status.quote :=
me@1942 1444 is.last.char.not.punct
me@1942 1445 { punct.std 'this.status.punct := }
me@1942 1446 { punct.no 'this.status.punct := }
me@1942 1447 if$
me@1942 1448 select.language
me@1942 1449 "``" swap$ *
me@1942 1450 cap.status.std
me@1942 1451 }
me@1942 1452 if$
me@1942 1453 }
me@1942 1454
me@1942 1455 FUNCTION {format.article.title.electronic}
me@1942 1456 { title duplicate$ empty$ 'skip$
me@1942 1457 { this.to.prev.status
me@1942 1458 this.status.std
me@1942 1459 cap.status.std
me@1942 1460 "t" change.case$
me@1942 1461 }
me@1942 1462 if$
me@1942 1463 "title" bibinfo.check
me@1942 1464 duplicate$ empty$
me@1942 1465 { skip$ }
me@1942 1466 { select.language }
me@1942 1467 if$
me@1942 1468 }
me@1942 1469
me@1942 1470 FUNCTION {format.book.title.edition}
me@1942 1471 { title "title" bibinfo.check
me@1942 1472 duplicate$ empty$
me@1942 1473 { "empty title in " cite$ * warning$ }
me@1942 1474 { this.to.prev.status
me@1942 1475 this.status.std
me@1942 1476 select.language
me@1942 1477 emphasize
me@1942 1478 edition empty$ 'skip$
me@1942 1479 { ", " *
me@1942 1480 edition
me@1942 1481 convert.edition
me@1942 1482 status.cap
me@1942 1483 { "t" }
me@1942 1484 { "l" }
me@1942 1485 if$
me@1942 1486 change.case$
me@1942 1487 * "~" * bbl.edition *
me@1942 1488 }
me@1942 1489 if$
me@1942 1490 cap.status.std
me@1942 1491 }
me@1942 1492 if$
me@1942 1493 }
me@1942 1494
me@1942 1495 FUNCTION {format.book.title}
me@1942 1496 { title "title" bibinfo.check
me@1942 1497 duplicate$ empty$ 'skip$
me@1942 1498 { this.to.prev.status
me@1942 1499 this.status.std
me@1942 1500 cap.status.std
me@1942 1501 select.language
me@1942 1502 emphasize
me@1942 1503 }
me@1942 1504 if$
me@1942 1505 }
me@1942 1506
me@1942 1507
me@1942 1508
me@1942 1509 %% journal
me@1942 1510
me@1942 1511 FUNCTION {format.journal}
me@1942 1512 { journal duplicate$ empty$ 'skip$
me@1942 1513 { this.to.prev.status
me@1942 1514 this.status.std
me@1942 1515 cap.status.std
me@1942 1516 select.language
me@1942 1517 emphasize
me@1942 1518 }
me@1942 1519 if$
me@1942 1520 }
me@1942 1521
me@1942 1522
me@1942 1523
me@1942 1524 %% how published
me@1942 1525
me@1942 1526 FUNCTION {format.howpublished}
me@1942 1527 { howpublished duplicate$ empty$ 'skip$
me@1942 1528 { this.to.prev.status
me@1942 1529 this.status.std
me@1942 1530 cap.status.std
me@1942 1531 }
me@1942 1532 if$
me@1942 1533 }
me@1942 1534
me@1942 1535
me@1942 1536
me@1942 1537 %% institutions/organization/publishers/school
me@1942 1538
me@1942 1539 FUNCTION {format.institution}
me@1942 1540 { institution duplicate$ empty$ 'skip$
me@1942 1541 { this.to.prev.status
me@1942 1542 this.status.std
me@1942 1543 cap.status.std
me@1942 1544 }
me@1942 1545 if$
me@1942 1546 }
me@1942 1547
me@1942 1548 FUNCTION {format.organization}
me@1942 1549 { organization duplicate$ empty$ 'skip$
me@1942 1550 { this.to.prev.status
me@1942 1551 this.status.std
me@1942 1552 cap.status.std
me@1942 1553 }
me@1942 1554 if$
me@1942 1555 }
me@1942 1556
me@1942 1557 FUNCTION {format.address.publisher.date}
me@1942 1558 { publisher "publisher" bibinfo.warn format.address.org.or.pub.date }
me@1942 1559
me@1942 1560 FUNCTION {format.address.publisher.date.nowarn}
me@1942 1561 { publisher "publisher" bibinfo.check format.address.org.or.pub.date }
me@1942 1562
me@1942 1563 FUNCTION {format.address.organization.date}
me@1942 1564 { organization "organization" bibinfo.check format.address.org.or.pub.date }
me@1942 1565
me@1942 1566 FUNCTION {format.school}
me@1942 1567 { school duplicate$ empty$ 'skip$
me@1942 1568 { this.to.prev.status
me@1942 1569 this.status.std
me@1942 1570 cap.status.std
me@1942 1571 }
me@1942 1572 if$
me@1942 1573 }
me@1942 1574
me@1942 1575
me@1942 1576
me@1942 1577 %% volume/number/series/chapter/pages
me@1942 1578
me@1942 1579 FUNCTION {format.volume}
me@1942 1580 { volume empty.field.to.null.string
me@1942 1581 duplicate$ empty$ 'skip$
me@1942 1582 { this.to.prev.status
me@1942 1583 this.status.std
me@1942 1584 bbl.volume
me@1942 1585 status.cap
me@1942 1586 { capitalize }
me@1942 1587 { skip$ }
me@1942 1588 if$
me@1942 1589 swap$ tie.or.space.prefix
me@1942 1590 "volume" bibinfo.check
me@1942 1591 * *
me@1942 1592 cap.status.std
me@1942 1593 }
me@1942 1594 if$
me@1942 1595 }
me@1942 1596
me@1942 1597 FUNCTION {format.number}
me@1942 1598 { number empty.field.to.null.string
me@1942 1599 duplicate$ empty$ 'skip$
me@1942 1600 { this.to.prev.status
me@1942 1601 this.status.std
me@1942 1602 status.cap
me@1942 1603 { bbl.number capitalize }
me@1942 1604 { bbl.number }
me@1942 1605 if$
me@1942 1606 swap$ tie.or.space.prefix
me@1942 1607 "number" bibinfo.check
me@1942 1608 * *
me@1942 1609 cap.status.std
me@1942 1610 }
me@1942 1611 if$
me@1942 1612 }
me@1942 1613
me@1942 1614 FUNCTION {format.number.if.use.for.article}
me@1942 1615 { is.use.number.for.article
me@1942 1616 { format.number }
me@1942 1617 { "" }
me@1942 1618 if$
me@1942 1619 }
me@1942 1620
me@1942 1621 % IEEE does not seem to tie the series so closely with the volume
me@1942 1622 % and number as is done in other bibliography styles. Instead the
me@1942 1623 % series is treated somewhat like an extension of the title.
me@1942 1624 FUNCTION {format.series}
me@1942 1625 { series empty$
me@1942 1626 { "" }
me@1942 1627 { this.to.prev.status
me@1942 1628 this.status.std
me@1942 1629 bbl.series " " *
me@1942 1630 series "series" bibinfo.check *
me@1942 1631 cap.status.std
me@1942 1632 }
me@1942 1633 if$
me@1942 1634 }
me@1942 1635
me@1942 1636
me@1942 1637 FUNCTION {format.chapter}
me@1942 1638 { chapter empty$
me@1942 1639 { "" }
me@1942 1640 { this.to.prev.status
me@1942 1641 this.status.std
me@1942 1642 type empty$
me@1942 1643 { bbl.chapter }
me@1942 1644 { type "l" change.case$
me@1942 1645 "type" bibinfo.check
me@1942 1646 }
me@1942 1647 if$
me@1942 1648 chapter tie.or.space.prefix
me@1942 1649 "chapter" bibinfo.check
me@1942 1650 * *
me@1942 1651 cap.status.std
me@1942 1652 }
me@1942 1653 if$
me@1942 1654 }
me@1942 1655
me@1942 1656
me@1942 1657 % The intended use of format.paper is for paper numbers of inproceedings.
me@1942 1658 % The paper type can be overridden via the type field.
me@1942 1659 % We allow the type to be displayed even if the paper number is absent
me@1942 1660 % for things like "postdeadline paper"
me@1942 1661 FUNCTION {format.paper}
me@1942 1662 { is.use.paper
me@1942 1663 { paper empty$
me@1942 1664 { type empty$
me@1942 1665 { "" }
me@1942 1666 { this.to.prev.status
me@1942 1667 this.status.std
me@1942 1668 type "type" bibinfo.check
me@1942 1669 cap.status.std
me@1942 1670 }
me@1942 1671 if$
me@1942 1672 }
me@1942 1673 { this.to.prev.status
me@1942 1674 this.status.std
me@1942 1675 type empty$
me@1942 1676 { bbl.paper }
me@1942 1677 { type "type" bibinfo.check }
me@1942 1678 if$
me@1942 1679 " " * paper
me@1942 1680 "paper" bibinfo.check
me@1942 1681 *
me@1942 1682 cap.status.std
me@1942 1683 }
me@1942 1684 if$
me@1942 1685 }
me@1942 1686 { "" }
me@1942 1687 if$
me@1942 1688 }
me@1942 1689
me@1942 1690
me@1942 1691 FUNCTION {format.pages}
me@1942 1692 { pages duplicate$ empty$ 'skip$
me@1942 1693 { this.to.prev.status
me@1942 1694 this.status.std
me@1942 1695 duplicate$ is.multiple.pages
me@1942 1696 {
me@1942 1697 bbl.pages swap$
me@1942 1698 n.dashify
me@1942 1699 }
me@1942 1700 {
me@1942 1701 bbl.page swap$
me@1942 1702 }
me@1942 1703 if$
me@1942 1704 tie.or.space.prefix
me@1942 1705 "pages" bibinfo.check
me@1942 1706 * *
me@1942 1707 cap.status.std
me@1942 1708 }
me@1942 1709 if$
me@1942 1710 }
me@1942 1711
me@1942 1712
me@1942 1713
me@1942 1714 %% technical report number
me@1942 1715
me@1942 1716 FUNCTION {format.tech.report.number}
me@1942 1717 { number "number" bibinfo.check
me@1942 1718 this.to.prev.status
me@1942 1719 this.status.std
me@1942 1720 cap.status.std
me@1942 1721 type duplicate$ empty$
me@1942 1722 { pop$
me@1942 1723 bbl.techrep
me@1942 1724 }
me@1942 1725 { skip$ }
me@1942 1726 if$
me@1942 1727 "type" bibinfo.check
me@1942 1728 swap$ duplicate$ empty$
me@1942 1729 { pop$ }
me@1942 1730 { tie.or.space.prefix * * }
me@1942 1731 if$
me@1942 1732 }
me@1942 1733
me@1942 1734
me@1942 1735
me@1942 1736 %% note
me@1942 1737
me@1942 1738 FUNCTION {format.note}
me@1942 1739 { note empty$
me@1942 1740 { "" }
me@1942 1741 { this.to.prev.status
me@1942 1742 this.status.std
me@1942 1743 punct.period 'this.status.punct :=
me@1942 1744 note #1 #1 substring$
me@1942 1745 duplicate$ "{" =
me@1942 1746 { skip$ }
me@1942 1747 { status.cap
me@1942 1748 { "u" }
me@1942 1749 { "l" }
me@1942 1750 if$
me@1942 1751 change.case$
me@1942 1752 }
me@1942 1753 if$
me@1942 1754 note #2 global.max$ substring$ * "note" bibinfo.check
me@1942 1755 cap.yes 'status.cap :=
me@1942 1756 }
me@1942 1757 if$
me@1942 1758 }
me@1942 1759
me@1942 1760
me@1942 1761
me@1942 1762 %% patent
me@1942 1763
me@1942 1764 FUNCTION {format.patent.date}
me@1942 1765 { this.to.prev.status
me@1942 1766 this.status.std
me@1942 1767 year empty$
me@1942 1768 { monthfiled duplicate$ empty$
me@1942 1769 { "monthfiled" bibinfo.check pop$ "" }
me@1942 1770 { "monthfiled" bibinfo.check }
me@1942 1771 if$
me@1942 1772 dayfiled duplicate$ empty$
me@1942 1773 { "dayfiled" bibinfo.check pop$ "" * }
me@1942 1774 { "dayfiled" bibinfo.check
me@1942 1775 monthfiled empty$
me@1942 1776 { "dayfiled without a monthfiled in " cite$ * warning$
me@1942 1777 *
me@1942 1778 }
me@1942 1779 { " " swap$ * * }
me@1942 1780 if$
me@1942 1781 }
me@1942 1782 if$
me@1942 1783 yearfiled empty$
me@1942 1784 { "no year or yearfiled in " cite$ * warning$ }
me@1942 1785 { yearfiled "yearfiled" bibinfo.check
me@1942 1786 swap$
me@1942 1787 duplicate$ empty$
me@1942 1788 { pop$ }
me@1942 1789 { ", " * swap$ * }
me@1942 1790 if$
me@1942 1791 }
me@1942 1792 if$
me@1942 1793 }
me@1942 1794 { month duplicate$ empty$
me@1942 1795 { "month" bibinfo.check pop$ "" }
me@1942 1796 { "month" bibinfo.check }
me@1942 1797 if$
me@1942 1798 day duplicate$ empty$
me@1942 1799 { "day" bibinfo.check pop$ "" * }
me@1942 1800 { "day" bibinfo.check
me@1942 1801 month empty$
me@1942 1802 { "day without a month in " cite$ * warning$
me@1942 1803 *
me@1942 1804 }
me@1942 1805 { " " swap$ * * }
me@1942 1806 if$
me@1942 1807 }
me@1942 1808 if$
me@1942 1809 year "year" bibinfo.check
me@1942 1810 swap$
me@1942 1811 duplicate$ empty$
me@1942 1812 { pop$ }
me@1942 1813 { ", " * swap$ * }
me@1942 1814 if$
me@1942 1815 }
me@1942 1816 if$
me@1942 1817 cap.status.std
me@1942 1818 }
me@1942 1819
me@1942 1820 FUNCTION {format.patent.nationality.type.number}
me@1942 1821 { this.to.prev.status
me@1942 1822 this.status.std
me@1942 1823 nationality duplicate$ empty$
me@1942 1824 { "nationality" bibinfo.warn pop$ "" }
me@1942 1825 { "nationality" bibinfo.check
me@1942 1826 duplicate$ "l" change.case$ "united states" =
me@1942 1827 { pop$ bbl.patentUS }
me@1942 1828 { skip$ }
me@1942 1829 if$
me@1942 1830 " " *
me@1942 1831 }
me@1942 1832 if$
me@1942 1833 type empty$
me@1942 1834 { bbl.patent "type" bibinfo.check }
me@1942 1835 { type "type" bibinfo.check }
me@1942 1836 if$
me@1942 1837 *
me@1942 1838 number duplicate$ empty$
me@1942 1839 { "number" bibinfo.warn pop$ }
me@1942 1840 { "number" bibinfo.check
me@1942 1841 large.number.separate
me@1942 1842 swap$ " " * swap$ *
me@1942 1843 }
me@1942 1844 if$
me@1942 1845 cap.status.std
me@1942 1846 }
me@1942 1847
me@1942 1848
me@1942 1849
me@1942 1850 %% standard
me@1942 1851
me@1942 1852 FUNCTION {format.organization.institution.standard.type.number}
me@1942 1853 { this.to.prev.status
me@1942 1854 this.status.std
me@1942 1855 organization duplicate$ empty$
me@1942 1856 { pop$
me@1942 1857 institution duplicate$ empty$
me@1942 1858 { "institution" bibinfo.warn }
me@1942 1859 { "institution" bibinfo.warn " " * }
me@1942 1860 if$
me@1942 1861 }
me@1942 1862 { "organization" bibinfo.warn " " * }
me@1942 1863 if$
me@1942 1864 type empty$
me@1942 1865 { bbl.standard "type" bibinfo.check }
me@1942 1866 { type "type" bibinfo.check }
me@1942 1867 if$
me@1942 1868 *
me@1942 1869 number duplicate$ empty$
me@1942 1870 { "number" bibinfo.check pop$ }
me@1942 1871 { "number" bibinfo.check
me@1942 1872 large.number.separate
me@1942 1873 swap$ " " * swap$ *
me@1942 1874 }
me@1942 1875 if$
me@1942 1876 cap.status.std
me@1942 1877 }
me@1942 1878
me@1942 1879 FUNCTION {format.revision}
me@1942 1880 { revision empty$
me@1942 1881 { "" }
me@1942 1882 { this.to.prev.status
me@1942 1883 this.status.std
me@1942 1884 bbl.revision
me@1942 1885 revision tie.or.space.prefix
me@1942 1886 "revision" bibinfo.check
me@1942 1887 * *
me@1942 1888 cap.status.std
me@1942 1889 }
me@1942 1890 if$
me@1942 1891 }
me@1942 1892
me@1942 1893
me@1942 1894 %% thesis
me@1942 1895
me@1942 1896 FUNCTION {format.master.thesis.type}
me@1942 1897 { this.to.prev.status
me@1942 1898 this.status.std
me@1942 1899 type empty$
me@1942 1900 {
me@1942 1901 bbl.mthesis
me@1942 1902 }
me@1942 1903 {
me@1942 1904 type "type" bibinfo.check
me@1942 1905 }
me@1942 1906 if$
me@1942 1907 cap.status.std
me@1942 1908 }
me@1942 1909
me@1942 1910 FUNCTION {format.phd.thesis.type}
me@1942 1911 { this.to.prev.status
me@1942 1912 this.status.std
me@1942 1913 type empty$
me@1942 1914 {
me@1942 1915 bbl.phdthesis
me@1942 1916 }
me@1942 1917 {
me@1942 1918 type "type" bibinfo.check
me@1942 1919 }
me@1942 1920 if$
me@1942 1921 cap.status.std
me@1942 1922 }
me@1942 1923
me@1942 1924
me@1942 1925
me@1942 1926 %% URL
me@1942 1927
me@1942 1928 FUNCTION {format.url}
me@1942 1929 { url empty$
me@1942 1930 { "" }
me@1942 1931 { this.to.prev.status
me@1942 1932 this.status.std
me@1942 1933 cap.yes 'status.cap :=
me@1942 1934 name.url.prefix " " *
me@1942 1935 "\url{" * url * "}" *
me@1942 1936 punct.no 'this.status.punct :=
me@1942 1937 punct.period 'prev.status.punct :=
me@1942 1938 space.normal 'this.status.space :=
me@1942 1939 space.normal 'prev.status.space :=
me@1942 1940 quote.no 'this.status.quote :=
me@1942 1941 }
me@1942 1942 if$
me@1942 1943 }
me@1942 1944
me@1942 1945
me@1942 1946
me@1942 1947
me@1942 1948 %%%%%%%%%%%%%%%%%%%%
me@1942 1949 %% ENTRY HANDLERS %%
me@1942 1950 %%%%%%%%%%%%%%%%%%%%
me@1942 1951
me@1942 1952
me@1942 1953 % Note: In many journals, IEEE (or the authors) tend not to show the number
me@1942 1954 % for articles, so the display of the number is controlled here by the
me@1942 1955 % switch "is.use.number.for.article"
me@1942 1956 FUNCTION {article}
me@1942 1957 { std.status.using.comma
me@1942 1958 start.entry
me@1942 1959 if.url.alt.interword.spacing
me@1942 1960 format.authors "author" output.warn
me@1942 1961 name.or.dash
me@1942 1962 format.article.title "title" output.warn
me@1942 1963 format.journal "journal" bibinfo.check "journal" output.warn
me@1942 1964 format.volume output
me@1942 1965 format.number.if.use.for.article output
me@1942 1966 format.pages output
me@1942 1967 format.date "year" output.warn
me@1942 1968 format.note output
me@1942 1969 format.url output
me@1942 1970 fin.entry
me@1942 1971 if.url.std.interword.spacing
me@1942 1972 }
me@1942 1973
me@1942 1974 FUNCTION {book}
me@1942 1975 { std.status.using.comma
me@1942 1976 start.entry
me@1942 1977 if.url.alt.interword.spacing
me@1942 1978 author empty$
me@1942 1979 { format.editors "author and editor" output.warn }
me@1942 1980 { format.authors output.nonnull }
me@1942 1981 if$
me@1942 1982 name.or.dash
me@1942 1983 format.book.title.edition output
me@1942 1984 format.series output
me@1942 1985 author empty$
me@1942 1986 { skip$ }
me@1942 1987 { format.editors output }
me@1942 1988 if$
me@1942 1989 format.address.publisher.date output
me@1942 1990 format.volume output
me@1942 1991 format.number output
me@1942 1992 format.note output
me@1942 1993 format.url output
me@1942 1994 fin.entry
me@1942 1995 if.url.std.interword.spacing
me@1942 1996 }
me@1942 1997
me@1942 1998 FUNCTION {booklet}
me@1942 1999 { std.status.using.comma
me@1942 2000 start.entry
me@1942 2001 if.url.alt.interword.spacing
me@1942 2002 format.authors output
me@1942 2003 name.or.dash
me@1942 2004 format.article.title "title" output.warn
me@1942 2005 format.howpublished "howpublished" bibinfo.check output
me@1942 2006 format.organization "organization" bibinfo.check output
me@1942 2007 format.address "address" bibinfo.check output
me@1942 2008 format.date output
me@1942 2009 format.note output
me@1942 2010 format.url output
me@1942 2011 fin.entry
me@1942 2012 if.url.std.interword.spacing
me@1942 2013 }
me@1942 2014
me@1942 2015 FUNCTION {electronic}
me@1942 2016 { std.status.using.period
me@1942 2017 start.entry
me@1942 2018 if.url.alt.interword.spacing
me@1942 2019 format.authors output
me@1942 2020 name.or.dash
me@1942 2021 format.date.electronic output
me@1942 2022 format.article.title.electronic output
me@1942 2023 format.howpublished "howpublished" bibinfo.check output
me@1942 2024 format.organization "organization" bibinfo.check output
me@1942 2025 format.address "address" bibinfo.check output
me@1942 2026 format.note output
me@1942 2027 format.url output
me@1942 2028 fin.entry
me@1942 2029 empty.entry.warn
me@1942 2030 if.url.std.interword.spacing
me@1942 2031 }
me@1942 2032
me@1942 2033 FUNCTION {inbook}
me@1942 2034 { std.status.using.comma
me@1942 2035 start.entry
me@1942 2036 if.url.alt.interword.spacing
me@1942 2037 author empty$
me@1942 2038 { format.editors "author and editor" output.warn }
me@1942 2039 { format.authors output.nonnull }
me@1942 2040 if$
me@1942 2041 name.or.dash
me@1942 2042 format.book.title.edition output
me@1942 2043 format.series output
me@1942 2044 format.address.publisher.date output
me@1942 2045 format.volume output
me@1942 2046 format.number output
me@1942 2047 format.chapter output
me@1942 2048 format.pages output
me@1942 2049 format.note output
me@1942 2050 format.url output
me@1942 2051 fin.entry
me@1942 2052 if.url.std.interword.spacing
me@1942 2053 }
me@1942 2054
me@1942 2055 FUNCTION {incollection}
me@1942 2056 { std.status.using.comma
me@1942 2057 start.entry
me@1942 2058 if.url.alt.interword.spacing
me@1942 2059 format.authors "author" output.warn
me@1942 2060 name.or.dash
me@1942 2061 format.article.title "title" output.warn
me@1942 2062 format.in.booktitle.edition "booktitle" output.warn
me@1942 2063 format.series output
me@1942 2064 format.editors output
me@1942 2065 format.address.publisher.date.nowarn output
me@1942 2066 format.volume output
me@1942 2067 format.number output
me@1942 2068 format.chapter output
me@1942 2069 format.pages output
me@1942 2070 format.note output
me@1942 2071 format.url output
me@1942 2072 fin.entry
me@1942 2073 if.url.std.interword.spacing
me@1942 2074 }
me@1942 2075
me@1942 2076 FUNCTION {inproceedings}
me@1942 2077 { std.status.using.comma
me@1942 2078 start.entry
me@1942 2079 if.url.alt.interword.spacing
me@1942 2080 format.authors "author" output.warn
me@1942 2081 name.or.dash
me@1942 2082 format.article.title "title" output.warn
me@1942 2083 format.in.booktitle "booktitle" output.warn
me@1942 2084 format.series output
me@1942 2085 format.editors output
me@1942 2086 format.volume output
me@1942 2087 format.number output
me@1942 2088 publisher empty$
me@1942 2089 { format.address.organization.date output }
me@1942 2090 { format.organization "organization" bibinfo.check output
me@1942 2091 format.address.publisher.date output
me@1942 2092 }
me@1942 2093 if$
me@1942 2094 format.paper output
me@1942 2095 format.pages output
me@1942 2096 format.note output
me@1942 2097 format.url output
me@1942 2098 fin.entry
me@1942 2099 if.url.std.interword.spacing
me@1942 2100 }
me@1942 2101
me@1942 2102 FUNCTION {manual}
me@1942 2103 { std.status.using.comma
me@1942 2104 start.entry
me@1942 2105 if.url.alt.interword.spacing
me@1942 2106 format.authors output
me@1942 2107 name.or.dash
me@1942 2108 format.book.title.edition "title" output.warn
me@1942 2109 format.howpublished "howpublished" bibinfo.check output
me@1942 2110 format.organization "organization" bibinfo.check output
me@1942 2111 format.address "address" bibinfo.check output
me@1942 2112 format.date output
me@1942 2113 format.note output
me@1942 2114 format.url output
me@1942 2115 fin.entry
me@1942 2116 if.url.std.interword.spacing
me@1942 2117 }
me@1942 2118
me@1942 2119 FUNCTION {mastersthesis}
me@1942 2120 { std.status.using.comma
me@1942 2121 start.entry
me@1942 2122 if.url.alt.interword.spacing
me@1942 2123 format.authors "author" output.warn
me@1942 2124 name.or.dash
me@1942 2125 format.article.title "title" output.warn
me@1942 2126 format.master.thesis.type output.nonnull
me@1942 2127 format.school "school" bibinfo.warn output
me@1942 2128 format.address "address" bibinfo.check output
me@1942 2129 format.date "year" output.warn
me@1942 2130 format.note output
me@1942 2131 format.url output
me@1942 2132 fin.entry
me@1942 2133 if.url.std.interword.spacing
me@1942 2134 }
me@1942 2135
me@1942 2136 FUNCTION {misc}
me@1942 2137 { std.status.using.comma
me@1942 2138 start.entry
me@1942 2139 if.url.alt.interword.spacing
me@1942 2140 format.authors output
me@1942 2141 name.or.dash
me@1942 2142 format.article.title output
me@1942 2143 format.howpublished "howpublished" bibinfo.check output
me@1942 2144 format.organization "organization" bibinfo.check output
me@1942 2145 format.address "address" bibinfo.check output
me@1942 2146 format.pages output
me@1942 2147 format.date output
me@1942 2148 format.note output
me@1942 2149 format.url output
me@1942 2150 fin.entry
me@1942 2151 empty.entry.warn
me@1942 2152 if.url.std.interword.spacing
me@1942 2153 }
me@1942 2154
me@1942 2155 FUNCTION {patent}
me@1942 2156 { std.status.using.comma
me@1942 2157 start.entry
me@1942 2158 if.url.alt.interword.spacing
me@1942 2159 format.authors output
me@1942 2160 name.or.dash
me@1942 2161 format.article.title output
me@1942 2162 format.patent.nationality.type.number output
me@1942 2163 format.patent.date output
me@1942 2164 format.note output
me@1942 2165 format.url output
me@1942 2166 fin.entry
me@1942 2167 empty.entry.warn
me@1942 2168 if.url.std.interword.spacing
me@1942 2169 }
me@1942 2170
me@1942 2171 FUNCTION {periodical}
me@1942 2172 { std.status.using.comma
me@1942 2173 start.entry
me@1942 2174 if.url.alt.interword.spacing
me@1942 2175 format.editors output
me@1942 2176 name.or.dash
me@1942 2177 format.book.title "title" output.warn
me@1942 2178 format.series output
me@1942 2179 format.volume output
me@1942 2180 format.number output
me@1942 2181 format.organization "organization" bibinfo.check output
me@1942 2182 format.date "year" output.warn
me@1942 2183 format.note output
me@1942 2184 format.url output
me@1942 2185 fin.entry
me@1942 2186 if.url.std.interword.spacing
me@1942 2187 }
me@1942 2188
me@1942 2189 FUNCTION {phdthesis}
me@1942 2190 { std.status.using.comma
me@1942 2191 start.entry
me@1942 2192 if.url.alt.interword.spacing
me@1942 2193 format.authors "author" output.warn
me@1942 2194 name.or.dash
me@1942 2195 format.article.title "title" output.warn
me@1942 2196 format.phd.thesis.type output.nonnull
me@1942 2197 format.school "school" bibinfo.warn output
me@1942 2198 format.address "address" bibinfo.check output
me@1942 2199 format.date "year" output.warn
me@1942 2200 format.note output
me@1942 2201 format.url output
me@1942 2202 fin.entry
me@1942 2203 if.url.std.interword.spacing
me@1942 2204 }
me@1942 2205
me@1942 2206 FUNCTION {proceedings}
me@1942 2207 { std.status.using.comma
me@1942 2208 start.entry
me@1942 2209 if.url.alt.interword.spacing
me@1942 2210 format.editors output
me@1942 2211 name.or.dash
me@1942 2212 format.book.title "title" output.warn
me@1942 2213 format.series output
me@1942 2214 format.volume output
me@1942 2215 format.number output
me@1942 2216 publisher empty$
me@1942 2217 { format.address.organization.date output }
me@1942 2218 { format.organization "organization" bibinfo.check output
me@1942 2219 format.address.publisher.date output
me@1942 2220 }
me@1942 2221 if$
me@1942 2222 format.note output
me@1942 2223 format.url output
me@1942 2224 fin.entry
me@1942 2225 if.url.std.interword.spacing
me@1942 2226 }
me@1942 2227
me@1942 2228 FUNCTION {standard}
me@1942 2229 { std.status.using.comma
me@1942 2230 start.entry
me@1942 2231 if.url.alt.interword.spacing
me@1942 2232 format.authors output
me@1942 2233 name.or.dash
me@1942 2234 format.book.title "title" output.warn
me@1942 2235 format.howpublished "howpublished" bibinfo.check output
me@1942 2236 format.organization.institution.standard.type.number output
me@1942 2237 format.revision output
me@1942 2238 format.date output
me@1942 2239 format.note output
me@1942 2240 format.url output
me@1942 2241 fin.entry
me@1942 2242 if.url.std.interword.spacing
me@1942 2243 }
me@1942 2244
me@1942 2245 FUNCTION {techreport}
me@1942 2246 { std.status.using.comma
me@1942 2247 start.entry
me@1942 2248 if.url.alt.interword.spacing
me@1942 2249 format.authors "author" output.warn
me@1942 2250 name.or.dash
me@1942 2251 format.article.title "title" output.warn
me@1942 2252 format.howpublished "howpublished" bibinfo.check output
me@1942 2253 format.institution "institution" bibinfo.warn output
me@1942 2254 format.address "address" bibinfo.check output
me@1942 2255 format.tech.report.number output.nonnull
me@1942 2256 format.date "year" output.warn
me@1942 2257 format.note output
me@1942 2258 format.url output
me@1942 2259 fin.entry
me@1942 2260 if.url.std.interword.spacing
me@1942 2261 }
me@1942 2262
me@1942 2263 FUNCTION {unpublished}
me@1942 2264 { std.status.using.comma
me@1942 2265 start.entry
me@1942 2266 if.url.alt.interword.spacing
me@1942 2267 format.authors "author" output.warn
me@1942 2268 name.or.dash
me@1942 2269 format.article.title "title" output.warn
me@1942 2270 format.date output
me@1942 2271 format.note "note" output.warn
me@1942 2272 format.url output
me@1942 2273 fin.entry
me@1942 2274 if.url.std.interword.spacing
me@1942 2275 }
me@1942 2276
me@1942 2277
me@1942 2278 % The special entry type which provides the user interface to the
me@1942 2279 % BST controls
me@1942 2280 FUNCTION {IEEEtranBSTCTL}
me@1942 2281 { is.print.banners.to.terminal
me@1942 2282 { "** IEEEtran BST control entry " quote$ * cite$ * quote$ * " detected." *
me@1942 2283 top$
me@1942 2284 }
me@1942 2285 { skip$ }
me@1942 2286 if$
me@1942 2287 CTLuse_article_number
me@1942 2288 empty$
me@1942 2289 { skip$ }
me@1942 2290 { CTLuse_article_number
me@1942 2291 yes.no.to.int
me@1942 2292 'is.use.number.for.article :=
me@1942 2293 }
me@1942 2294 if$
me@1942 2295 CTLuse_paper
me@1942 2296 empty$
me@1942 2297 { skip$ }
me@1942 2298 { CTLuse_paper
me@1942 2299 yes.no.to.int
me@1942 2300 'is.use.paper :=
me@1942 2301 }
me@1942 2302 if$
me@1942 2303 CTLuse_forced_etal
me@1942 2304 empty$
me@1942 2305 { skip$ }
me@1942 2306 { CTLuse_forced_etal
me@1942 2307 yes.no.to.int
me@1942 2308 'is.forced.et.al :=
me@1942 2309 }
me@1942 2310 if$
me@1942 2311 CTLmax_names_forced_etal
me@1942 2312 empty$
me@1942 2313 { skip$ }
me@1942 2314 { CTLmax_names_forced_etal
me@1942 2315 string.to.integer
me@1942 2316 'max.num.names.before.forced.et.al :=
me@1942 2317 }
me@1942 2318 if$
me@1942 2319 CTLnames_show_etal
me@1942 2320 empty$
me@1942 2321 { skip$ }
me@1942 2322 { CTLnames_show_etal
me@1942 2323 string.to.integer
me@1942 2324 'num.names.shown.with.forced.et.al :=
me@1942 2325 }
me@1942 2326 if$
me@1942 2327 CTLuse_alt_spacing
me@1942 2328 empty$
me@1942 2329 { skip$ }
me@1942 2330 { CTLuse_alt_spacing
me@1942 2331 yes.no.to.int
me@1942 2332 'is.use.alt.interword.spacing :=
me@1942 2333 }
me@1942 2334 if$
me@1942 2335 CTLalt_stretch_factor
me@1942 2336 empty$
me@1942 2337 { skip$ }
me@1942 2338 { CTLalt_stretch_factor
me@1942 2339 'ALTinterwordstretchfactor :=
me@1942 2340 "\renewcommand{\BIBentryALTinterwordstretchfactor}{"
me@1942 2341 ALTinterwordstretchfactor * "}" *
me@1942 2342 write$ newline$
me@1942 2343 }
me@1942 2344 if$
me@1942 2345 CTLdash_repeated_names
me@1942 2346 empty$
me@1942 2347 { skip$ }
me@1942 2348 { CTLdash_repeated_names
me@1942 2349 yes.no.to.int
me@1942 2350 'is.dash.repeated.names :=
me@1942 2351 }
me@1942 2352 if$
me@1942 2353 CTLname_format_string
me@1942 2354 empty$
me@1942 2355 { skip$ }
me@1942 2356 { CTLname_format_string
me@1942 2357 'name.format.string :=
me@1942 2358 }
me@1942 2359 if$
me@1942 2360 CTLname_latex_cmd
me@1942 2361 empty$
me@1942 2362 { skip$ }
me@1942 2363 { CTLname_latex_cmd
me@1942 2364 'name.latex.cmd :=
me@1942 2365 }
me@1942 2366 if$
me@1942 2367 CTLname_url_prefix
me@1942 2368 missing$
me@1942 2369 { skip$ }
me@1942 2370 { CTLname_url_prefix
me@1942 2371 'name.url.prefix :=
me@1942 2372 }
me@1942 2373 if$
me@1942 2374
me@1942 2375
me@1942 2376 num.names.shown.with.forced.et.al max.num.names.before.forced.et.al >
me@1942 2377 { "CTLnames_show_etal cannot be greater than CTLmax_names_forced_etal in " cite$ * warning$
me@1942 2378 max.num.names.before.forced.et.al 'num.names.shown.with.forced.et.al :=
me@1942 2379 }
me@1942 2380 { skip$ }
me@1942 2381 if$
me@1942 2382 }
me@1942 2383
me@1942 2384
me@1942 2385 %%%%%%%%%%%%%%%%%%%
me@1942 2386 %% ENTRY ALIASES %%
me@1942 2387 %%%%%%%%%%%%%%%%%%%
me@1942 2388 FUNCTION {conference}{inproceedings}
me@1942 2389 FUNCTION {online}{electronic}
me@1942 2390 FUNCTION {internet}{electronic}
me@1942 2391 FUNCTION {webpage}{electronic}
me@1942 2392 FUNCTION {www}{electronic}
me@1942 2393 FUNCTION {default.type}{misc}
me@1942 2394
me@1942 2395
me@1942 2396
me@1942 2397 %%%%%%%%%%%%%%%%%%
me@1942 2398 %% MAIN PROGRAM %%
me@1942 2399 %%%%%%%%%%%%%%%%%%
me@1942 2400
me@1942 2401 READ
me@1942 2402
me@1942 2403 EXECUTE {initialize.controls}
me@1942 2404 EXECUTE {initialize.status.constants}
me@1942 2405 EXECUTE {banner.message}
me@1942 2406
me@1942 2407 EXECUTE {initialize.longest.label}
me@1942 2408 ITERATE {longest.label.pass}
me@1942 2409
me@1942 2410 EXECUTE {begin.bib}
me@1942 2411 ITERATE {call.type$}
me@1942 2412 EXECUTE {end.bib}
me@1942 2413
me@1942 2414 EXECUTE{completed.message}
me@1942 2415
me@1942 2416
me@1942 2417 %% That's all folks, mds.