diff options
author | Karl Berry <karl@freefriends.org> | 2015-08-27 22:01:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-08-27 22:01:39 +0000 |
commit | 7eb5047990feee3545abafcc60bae22fad6f1927 (patch) | |
tree | ef619a5e28e7215a5ab465a7647fa301245e2097 /Master/texmf-dist/bibtex/bst | |
parent | ed0cc62be17e1bf2b0a072cf59cc8d49e9c02e4a (diff) |
IEEEtran (27aug15)
git-svn-id: svn://tug.org/texlive/trunk@38220 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex/bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtran.bst | 146 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranN.bst | 131 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranS.bst | 160 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst | 137 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSN.bst | 147 |
5 files changed, 379 insertions, 342 deletions
diff --git a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtran.bst b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtran.bst index 90acb4c0e72..f9c03d79f4f 100644 --- a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtran.bst +++ b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtran.bst @@ -1,9 +1,9 @@ %% %% IEEEtran.bst %% BibTeX Bibliography Style file for IEEE Journals and Conferences (unsorted) -%% 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 @@ -14,7 +14,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/ %% @@ -28,7 +28,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. @@ -44,54 +44,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.00 (2002/08/13) Initial release -% -% 1.10 (2002/09/27) -% 1. Corrected minor bug for improperly formed warning message when a -% book was not given a title. Thanks to Ming Kin Lai for reporting this. -% 2. Added support for CTLname_format_string and CTLname_latex_cmd fields -% in the BST control entry type. -% -% 1.11 (2003/04/02) -% 1. Fixed bug with URLs containing underscores when using url.sty. Thanks -% to Ming Kin Lai for reporting this. -% -% 1.12 (2007/01/11) -% 1. Fixed bug with unwanted comma before "et al." when an entry contained -% more than two author names. Thanks to Pallav Gupta for reporting this. -% 2. Fixed bug with anomalous closing quote in tech reports that have a -% type, but without a number or address. Thanks to Mehrdad Mirreza for -% reporting this. -% 3. Use braces in \providecommand in begin.bib to better support -% latex2html. TeX style length assignments OK with recent versions -% of latex2html - 1.71 (2002/2/1) or later is strongly recommended. -% Use of the language field still causes trouble with latex2html. -% Thanks to Federico Beffa for reporting this. -% 4. Added IEEEtran.bst ID and version comment string to .bbl output. -% 5. Provide a \BIBdecl hook that allows the user to execute commands -% just prior to the first entry. -% 6. Use default urlstyle (is using url.sty) of "same" rather than rm to -% better work with a wider variety of bibliography styles. -% 7. Changed month abbreviations from Sept., July and June to Sep., Jul., -% and Jun., respectively, as IEEE now does. Thanks to Moritz Borgmann -% for reporting this. -% 8. Control entry types should not be considered when calculating longest -% label width. -% 9. Added alias www for electronic/online. -% 10. Added CTLname_url_prefix control entry type. -% -% 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. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -129,10 +82,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! @@ -141,6 +100,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 } @@ -150,6 +110,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 @@ -162,7 +123,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 } @@ -193,8 +154,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} @@ -264,7 +225,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} { "------" } @@ -329,6 +290,7 @@ ENTRY yearfiled CTLuse_article_number CTLuse_paper + CTLuse_url CTLuse_forced_etal CTLmax_names_forced_etal CTLnames_show_etal @@ -364,6 +326,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 @@ -395,6 +358,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 := @@ -417,7 +381,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 @@ -841,8 +805,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. @@ -1125,17 +1089,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$ } @@ -1374,7 +1346,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. @@ -1626,7 +1598,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} @@ -1934,19 +1906,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$ } @@ -1958,7 +1934,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} @@ -2308,6 +2284,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$ } diff --git a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranN.bst b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranN.bst index f0469ed381a..7204eafcdcc 100644 --- a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranN.bst +++ b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranN.bst @@ -3,9 +3,9 @@ %% BibTeX Bibliography Style file %% Natbib 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} @@ -222,6 +217,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 +233,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 +298,7 @@ ENTRY yearfiled CTLuse_article_number CTLuse_paper + CTLuse_url CTLuse_forced_etal CTLmax_names_forced_etal CTLnames_show_etal @@ -337,6 +334,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 +366,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 +389,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 +813,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. @@ -1047,8 +1046,8 @@ FUNCTION {format.full.names} 'skip$ if$ t "others" = - { " et~al." * } - { " and " * t * } + { " " bbl.etal * * } + { " " bbl.and * " " * * t * } if$ } if$ @@ -1180,17 +1179,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$ } @@ -1401,7 +1408,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. @@ -1653,7 +1660,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} @@ -1961,19 +1968,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$ } @@ -1985,7 +1996,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} @@ -2335,6 +2346,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$ } @@ -2467,12 +2486,12 @@ FUNCTION {format.lab.names} s #1 "{vv~}{ll}" format.name$ s num.names$ duplicate$ #2 > - { pop$ " et~al." * } + { pop$ " " bbl.etal * * } { #2 < 'skip$ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = - { " et~al." * } - { " and " * s #2 "{vv~}{ll}" format.name$ * } + { " " bbl.etal * * } + { " " bbl.and * " " * * s #2 "{vv~}{ll}" format.name$ * } if$ } if$ @@ -2511,7 +2530,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 } @@ -2527,10 +2546,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 } @@ -2545,7 +2564,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 } diff --git a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranS.bst b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranS.bst index 86316d7aa23..b9c2c649f2d 100644 --- a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranS.bst +++ b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranS.bst @@ -3,9 +3,9 @@ %% BibTeX Bibliography Style file %% Sorting 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 @@ -18,7 +18,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/ %% @@ -32,7 +32,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. @@ -48,48 +48,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.10 (2002/09/27) Initial release -% -% 1.11 (2003/04/02) -% 1. Fixed bug with URLs containing underscores when using url.sty. Thanks -% to Ming Kin Lai for reporting this. -% -% 1.12 (2007/01/11) -% 1. Fixed bug with unwanted comma before "et al." when an entry contained -% more than two author names. Thanks to Pallav Gupta for reporting this. -% 2. Fixed bug with anomalous closing quote in tech reports that have a -% type, but without a number or address. Thanks to Mehrdad Mirreza for -% reporting this. -% 3. Use braces in \providecommand in begin.bib to better support -% latex2html. TeX style length assignments OK with recent versions -% of latex2html - 1.71 (2002/2/1) or later is strongly recommended. -% Use of the language field still causes trouble with latex2html. -% Thanks to Federico Beffa for reporting this. -% 4. Added IEEEtran.bst ID and version comment string to .bbl output. -% 5. Provide a \BIBdecl hook that allows the user to execute commands -% just prior to the first entry. -% 6. Use default urlstyle (is using url.sty) of "same" rather than rm to -% better work with a wider variety of bibliography styles. -% 7. Changed month abbreviations from Sept., July and June to Sep., Jul., -% and Jun., respectively, as IEEE now does. Thanks to Moritz Borgmann -% for reporting this. -% 8. Control entry types should not be considered when calculating longest -% label width. -% 9. Added alias www for electronic/online. -% 10. Added CTLname_url_prefix control entry type. -% -% 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. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -127,10 +86,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! @@ -139,6 +104,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 } @@ -148,6 +114,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 @@ -160,7 +127,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 } @@ -191,8 +158,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} @@ -228,7 +195,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." } @@ -249,6 +217,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" } @@ -264,7 +233,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} { "------" } @@ -329,6 +298,7 @@ ENTRY yearfiled CTLuse_article_number CTLuse_paper + CTLuse_url CTLuse_forced_etal CTLmax_names_forced_etal CTLnames_show_etal @@ -364,6 +334,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 @@ -395,6 +366,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 := @@ -417,7 +389,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 @@ -841,8 +813,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. @@ -1125,17 +1097,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$ } @@ -1374,7 +1354,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. @@ -1626,7 +1606,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} @@ -1932,21 +1912,25 @@ 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$ } @@ -1958,7 +1942,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} @@ -2308,6 +2292,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$ } @@ -2456,9 +2448,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 @@ -2499,7 +2491,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 } @@ -2514,7 +2506,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 } @@ -2530,10 +2522,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 } 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$ } diff --git a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSN.bst b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSN.bst index e13222105a1..da43e61aa18 100644 --- a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSN.bst +++ b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSN.bst @@ -3,9 +3,9 @@ %% BibTeX Bibliography Style file %% Sorting Natbib 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 @@ -20,7 +20,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/ %% @@ -34,7 +34,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. @@ -50,20 +50,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. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -101,10 +88,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! @@ -113,6 +106,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 } @@ -122,6 +116,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 @@ -134,7 +129,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 } @@ -165,8 +160,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} @@ -203,6 +198,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." } @@ -223,6 +220,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" } @@ -238,7 +236,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} { "------" } @@ -303,6 +301,7 @@ ENTRY yearfiled CTLuse_article_number CTLuse_paper + CTLuse_url CTLuse_forced_etal CTLmax_names_forced_etal CTLnames_show_etal @@ -338,6 +337,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 @@ -369,6 +369,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 := @@ -391,7 +392,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 @@ -815,8 +816,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. @@ -1048,8 +1049,8 @@ FUNCTION {format.full.names} 'skip$ if$ t "others" = - { " et~al." * } - { " and " * t * } + { " " bbl.etal * * } + { " " bbl.and * " " * * t * } if$ } if$ @@ -1181,17 +1182,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$ } @@ -1402,7 +1411,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. @@ -1654,7 +1663,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} @@ -1962,19 +1971,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$ } @@ -1986,7 +1999,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} @@ -2336,6 +2349,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$ } @@ -2501,9 +2522,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 @@ -2544,7 +2565,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 } @@ -2559,7 +2580,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 } @@ -2575,10 +2596,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 } @@ -2597,12 +2618,12 @@ FUNCTION {format.lab.names} s #1 "{vv~}{ll}" format.name$ s num.names$ duplicate$ #2 > - { pop$ " et~al." * } + { pop$ " " bbl.etal * * } { #2 < 'skip$ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = - { " et~al." * } - { " and " * s #2 "{vv~}{ll}" format.name$ * } + { " " bbl.etal * * } + { " " bbl.and * " " * * s #2 "{vv~}{ll}" format.name$ * } if$ } if$ @@ -2641,7 +2662,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 } @@ -2657,10 +2678,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 } @@ -2675,7 +2696,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 } |