diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst | 137 |
1 files changed, 79 insertions, 58 deletions
diff --git a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst index e973c5e704c..9918a69bc86 100644 --- a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst +++ b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst @@ -3,9 +3,9 @@ %% BibTeX Bibliography Style file %% Sorting alpha version of IEEEtran.bst %% *** Not for normal IEEE work *** -%% Version 1.13 (2008/09/30) +%% Version 1.14 (2015/08/26) %% -%% Copyright (c) 2003-2008 Michael Shell +%% Copyright (c) 2003-2015 Michael Shell %% %% Original starting code base and algorithms obtained from the output of %% Patrick W. Daly's makebst package as well as from prior versions of @@ -19,7 +19,7 @@ %% %% Support sites: %% http://www.michaelshell.org/tex/ieeetran/ -%% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/ +%% http://www.ctan.org/pkg/ieeetran %% and/or %% http://www.ieee.org/ %% @@ -33,7 +33,7 @@ %% implied; without even the implied warranty of MERCHANTABILITY or %% FITNESS FOR A PARTICULAR PURPOSE! %% User assumes all risk. -%% In no event shall IEEE or any contributor to this code be liable for +%% In no event shall the IEEE or any contributor to this code be liable for %% any damages or losses, including, but not limited to, incidental, %% consequential, or any other damages, resulting from the use or misuse %% of any information contained here. @@ -49,20 +49,7 @@ %% Retain all contribution notices and credits. %% ** Modified files should be clearly indicated as such, including ** %% ** renaming them and changing author support contact information. ** -%% -%% File list of work: IEEEabrv.bib, IEEEfull.bib, IEEEexample.bib, -%% IEEEtran.bst, IEEEtranS.bst, IEEEtranSA.bst, -%% IEEEtranN.bst, IEEEtranSN.bst, IEEEtran_bst_HOWTO.pdf %%************************************************************************* -% -% -% Changelog: -% -% 1.12 (2007/01/11) Initial release -% -% 1.13 (2008/09/30) -% 1. Fixed bug with edition number to ordinal conversion. Thanks to -% Michael Roland for reporting this and correcting the algorithm. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -100,10 +87,16 @@ FUNCTION {default.is.use.number.for.article} { #1 } FUNCTION {default.is.use.paper} { #1 } +% #0 turns off the display of urls +% #1 enables +FUNCTION {default.is.use.url} { #1 } + + % #0 turns off the forced use of "et al." % #1 enables FUNCTION {default.is.forced.et.al} { #0 } + % The maximum number of names that can be present beyond which an "et al." % usage is forced. Be sure that num.names.shown.with.forced.et.al (below) % is not greater than this value! @@ -112,6 +105,7 @@ FUNCTION {default.is.forced.et.al} { #0 } % used profusely. FUNCTION {default.max.num.names.before.forced.et.al} { #10 } + % The number of names that will be shown with a forced "et al.". % Must be less than or equal to max.num.names.before.forced.et.al FUNCTION {default.num.names.shown.with.forced.et.al} { #1 } @@ -121,6 +115,7 @@ FUNCTION {default.num.names.shown.with.forced.et.al} { #1 } % #1 enables FUNCTION {default.is.use.alt.interword.spacing} { #1 } + % If alternate interword spacing for entries with URLs is enabled, this is % the interword spacing stretch factor that will be used. For example, the % default "4" here means that the interword spacing in entries with URLs can @@ -133,7 +128,7 @@ FUNCTION {default.ALTinterwordstretchfactor} { "4" } % #0 turns off the "dashification" of repeated (i.e., identical to those -% of the previous entry) names. IEEE normally does this. +% of the previous entry) names. The IEEE normally does this. % #1 enables FUNCTION {default.is.dash.repeated.names} { #1 } @@ -164,8 +159,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "1.13" } -FUNCTION{bst.file.date} { "2008/09/30" } +FUNCTION{bst.file.version} { "1.14" } +FUNCTION{bst.file.date} { "2015/08/26" } FUNCTION{bst.file.website} { "http://www.michaelshell.org/tex/ieeetran/bibtex/" } FUNCTION {banner.message} @@ -202,6 +197,8 @@ FUNCTION {completed.message} %% STRING CONSTANTS %% %%%%%%%%%%%%%%%%%%%%%% +FUNCTION {bbl.a}{ "A" } +FUNCTION {bbl.an}{ "An" } FUNCTION {bbl.and}{ "and" } FUNCTION {bbl.etal}{ "et~al." } FUNCTION {bbl.editors}{ "eds." } @@ -222,6 +219,7 @@ FUNCTION {bbl.revision}{ "Rev." } FUNCTION {bbl.series}{ "ser." } FUNCTION {bbl.standard}{ "Std." } FUNCTION {bbl.techrep}{ "Tech. Rep." } +FUNCTION {bbl.the}{ "The" } FUNCTION {bbl.mthesis}{ "Master's thesis" } FUNCTION {bbl.phdthesis}{ "Ph.D. dissertation" } FUNCTION {bbl.st}{ "st" } @@ -237,7 +235,7 @@ FUNCTION {large.space} { "\hskip 1em plus 0.5em minus 0.4em\relax " } % The LaTeX code for dashes that are used to represent repeated names. % Note: Some older IEEE journals used something like % "\rule{0.275in}{0.5pt}\," which is fairly thick and runs right along -% the baseline. However, IEEE now uses a thinner, above baseline, +% the baseline. However, the IEEE now uses a thinner, above baseline, % six dash long sequence. FUNCTION {repeated.name.dashes} { "------" } @@ -302,6 +300,7 @@ ENTRY yearfiled CTLuse_article_number CTLuse_paper + CTLuse_url CTLuse_forced_etal CTLmax_names_forced_etal CTLnames_show_etal @@ -337,6 +336,7 @@ INTEGERS { longest.label.width multiresult nameptr namesleft number.label numnam INTEGERS { is.use.number.for.article is.use.paper + is.use.url is.forced.et.al max.num.names.before.forced.et.al num.names.shown.with.forced.et.al @@ -368,6 +368,7 @@ STRINGS { bibinfo FUNCTION {initialize.controls} { default.is.use.number.for.article 'is.use.number.for.article := default.is.use.paper 'is.use.paper := + default.is.use.url 'is.use.url := default.is.forced.et.al 'is.forced.et.al := default.max.num.names.before.forced.et.al 'max.num.names.before.forced.et.al := default.num.names.shown.with.forced.et.al 'num.names.shown.with.forced.et.al := @@ -390,7 +391,7 @@ FUNCTION {initialize.controls} % "mid.sentence", etc.) used in most other .bst files. % % The more flexible and complex design used here was motivated in part by -% IEEE's rather unusual bibliography style. For example, IEEE ends the +% the IEEE's rather unusual bibliography style. For example, the IEEE ends the % previous field item with a period and large space prior to the publisher % address; the @electronic entry types use periods as inter-item punctuation % rather than the commas used by the other entry types; and URLs are never @@ -814,8 +815,8 @@ FUNCTION {bibinfo.warn} } -% IEEE separates large numbers with more than 4 digits into groups of -% three. IEEE uses a small space to separate these number groups. +% The IEEE separates large numbers with more than 4 digits into groups of +% three. The IEEE uses a small space to separate these number groups. % Typical applications include patent and page numbers. % number of consecutive digits required to trigger the group separation. @@ -1102,17 +1103,25 @@ FUNCTION {end.bib} { newline$ "\end{thebibliography}" write$ newline$ } FUNCTION {if.url.alt.interword.spacing} -{ is.use.alt.interword.spacing - {url empty$ 'skip$ {"\BIBentryALTinterwordspacing" write$ newline$} if$} - { skip$ } - if$ +{ is.use.alt.interword.spacing + { is.use.url + { url empty$ 'skip$ {"\BIBentryALTinterwordspacing" write$ newline$} if$ } + { skip$ } + if$ + } + { skip$ } + if$ } FUNCTION {if.url.std.interword.spacing} -{ is.use.alt.interword.spacing - {url empty$ 'skip$ {"\BIBentrySTDinterwordspacing" write$ newline$} if$} - { skip$ } - if$ +{ is.use.alt.interword.spacing + { is.use.url + { url empty$ 'skip$ {"\BIBentrySTDinterwordspacing" write$ newline$} if$ } + { skip$ } + if$ + } + { skip$ } + if$ } @@ -1323,7 +1332,7 @@ FUNCTION {format.date.electronic} %% edition/title -% Note: IEEE considers the edition to be closely associated with +% Note: The IEEE considers the edition to be closely associated with % the title of a book. So, in IEEEtran.bst the edition is normally handled % within the formatting of the title. The format.edition function is % retained here for possible future use. @@ -1575,7 +1584,7 @@ FUNCTION {format.number.if.use.for.article} if$ } -% IEEE does not seem to tie the series so closely with the volume +% The IEEE does not seem to tie the series so closely with the volume % and number as is done in other bibliography styles. Instead the % series is treated somewhat like an extension of the title. FUNCTION {format.series} @@ -1883,19 +1892,23 @@ cap.status.std %% URL FUNCTION {format.url} -{ url empty$ - { "" } - { this.to.prev.status - this.status.std - cap.yes 'status.cap := - name.url.prefix " " * - "\url{" * url * "}" * - punct.no 'this.status.punct := - punct.period 'prev.status.punct := - space.normal 'this.status.space := - space.normal 'prev.status.space := - quote.no 'this.status.quote := +{ is.use.url + { url empty$ + { "" } + { this.to.prev.status + this.status.std + cap.yes 'status.cap := + name.url.prefix " " * + "\url{" * url * "}" * + punct.no 'this.status.punct := + punct.period 'prev.status.punct := + space.normal 'this.status.space := + space.normal 'prev.status.space := + quote.no 'this.status.quote := + } + if$ } + { "" } if$ } @@ -1907,7 +1920,7 @@ FUNCTION {format.url} %%%%%%%%%%%%%%%%%%%% -% Note: In many journals, IEEE (or the authors) tend not to show the number +% Note: In many journals, the IEEE (or the authors) tend not to show the number % for articles, so the display of the number is controlled here by the % switch "is.use.number.for.article" FUNCTION {article} @@ -2257,6 +2270,14 @@ FUNCTION {IEEEtranBSTCTL} 'is.use.paper := } if$ + CTLuse_url + empty$ + { skip$ } + { CTLuse_url + yes.no.to.int + 'is.use.url := + } + if$ CTLuse_forced_etal empty$ { skip$ } @@ -2405,9 +2426,9 @@ FUNCTION {sort.format.names} FUNCTION {sort.format.title} { 't := - "A " #2 - "An " #3 - "The " #4 t chop.word + bbl.a " " * #2 + bbl.an " " * #3 + bbl.the " " * #4 t chop.word chop.word chop.word sortify @@ -2448,7 +2469,7 @@ FUNCTION {author.organization.sort} { key sortify } if$ } - { "The " #4 organization chop.word sortify } + { bbl.the " " * #4 organization chop.word sortify } if$ } { author sort.format.names } @@ -2463,7 +2484,7 @@ FUNCTION {editor.organization.sort} { key sortify } if$ } - { "The " #4 organization chop.word sortify } + { bbl.the " " * #4 organization chop.word sortify } if$ } { editor sort.format.names } @@ -2479,10 +2500,10 @@ FUNCTION {author.organization.institution.sort} { key sortify } if$ } - { "The " #4 institution chop.word sortify } + { bbl.the " " * #4 institution chop.word sortify } if$ } - { "The " #4 organization chop.word sortify } + { bbl.the " " * #4 organization chop.word sortify } if$ } { author sort.format.names } @@ -2567,7 +2588,7 @@ FUNCTION {author.key.organization.label} { key empty$ { organization empty$ { cite$ #1 #3 substring$ } - { "The " #4 organization chop.word #3 text.prefix$ } + { bbl.the " " * #4 organization chop.word #3 text.prefix$ } if$ } { key #3 text.prefix$ } @@ -2583,10 +2604,10 @@ FUNCTION {author.key.organization.institution.label} { organization empty$ { institution empty$ { cite$ #1 #3 substring$ } - { "The " #4 institution chop.word #3 text.prefix$ } + { bbl.the " " * #4 institution chop.word #3 text.prefix$ } if$ } - { "The " #4 organization chop.word #3 text.prefix$ } + { bbl.the " " * #4 organization chop.word #3 text.prefix$ } if$ } { key #3 text.prefix$ } @@ -2601,7 +2622,7 @@ FUNCTION {editor.key.organization.label} { key empty$ { organization empty$ { cite$ #1 #3 substring$ } - { "The " #4 organization chop.word #3 text.prefix$ } + { bbl.the " " * #4 organization chop.word #3 text.prefix$ } if$ } { key #3 text.prefix$ } |