summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranS.bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranS.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranS.bst160
1 files changed, 76 insertions, 84 deletions
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 }