summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/mciteplus
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-09-30 23:18:56 +0000
committerKarl Berry <karl@freefriends.org>2008-09-30 23:18:56 +0000
commitdce187f15bc2f38254310954436811a3927ea72d (patch)
tree925e068212f2a7404401edf1782605ae14923da5 /Master/texmf-dist/bibtex/bst/mciteplus
parentadb5bd57bfb02c387149e68ec8e5df5929cb1fe0 (diff)
mciteplus 1.1 (30sep08)
git-svn-id: svn://tug.org/texlive/trunk@10805 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/mciteplus')
-rw-r--r--Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranM.bst41
-rw-r--r--Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranMN.bst41
2 files changed, 48 insertions, 34 deletions
diff --git a/Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranM.bst b/Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranM.bst
index 7dacadcb2e8..4470ade57ec 100644
--- a/Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranM.bst
+++ b/Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranM.bst
@@ -3,7 +3,7 @@
%% BibTeX Bibliography Style file
%% mciteplus compatible version
%% *** Not for normal IEEE work ***
-%% Version 1.12 (2008/01/15)
+%% Version 1.13 (2008/09/30)
%%
%% Copyright (c) 2003-2008 Michael Shell
%%
@@ -49,7 +49,10 @@
% Changelog:
%
% 1.12 (2008/01/15) 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.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -151,8 +154,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 }
%% FILE VERSION AND BANNER %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-FUNCTION{bst.file.version} { "1.12" }
-FUNCTION{bst.file.date} { "2008/01/15" }
+FUNCTION{bst.file.version} { "1.13" }
+FUNCTION{bst.file.date} { "2008/09/30" }
FUNCTION{bst.file.website} { "http://www.michaelshell.org/tex/ieeetran/bibtex/" }
FUNCTION {banner.message}
@@ -946,20 +949,24 @@ FUNCTION {name.or.dash}
% Converts the number string on the top of the stack to
% "numerical ordinal form" (e.g., "7" to "7th"). There is
% no artificial limit to the upper bound of the numbers as the
-% least significant digit always determines the ordinal form.
+% two least significant digits determine the ordinal form.
FUNCTION {num.to.ordinal}
-{ duplicate$ #-1 #1 substring$ "1" =
- { bbl.st * }
- { duplicate$ #-1 #1 substring$ "2" =
- { bbl.nd * }
- { duplicate$ #-1 #1 substring$ "3" =
- { bbl.rd * }
- { bbl.th * }
- if$
- }
- if$
- }
- if$
+{ duplicate$ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$ "1" =
+ { bbl.st * }
+ { duplicate$ #-1 #1 substring$ "2" =
+ { bbl.nd * }
+ { duplicate$ #-1 #1 substring$ "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
}
% If the string on the top of the stack begins with a number,
diff --git a/Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranMN.bst b/Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranMN.bst
index 8be434d6889..25543569179 100644
--- a/Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranMN.bst
+++ b/Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranMN.bst
@@ -3,7 +3,7 @@
%% BibTeX Bibliography Style file
%% mciteplus compatible natbib version of IEEEtran.bst
%% *** Not for normal IEEE work ***
-%% Version 1.12 (2008/01/15)
+%% Version 1.13 (2008/09/30)
%%
%% Copyright (c) 2003-2008 Michael Shell
%%
@@ -52,7 +52,10 @@
% Changelog:
%
% 1.12 (2008/01/15) 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.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -154,8 +157,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 }
%% FILE VERSION AND BANNER %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-FUNCTION{bst.file.version} { "1.12" }
-FUNCTION{bst.file.date} { "2008/01/15" }
+FUNCTION{bst.file.version} { "1.13" }
+FUNCTION{bst.file.date} { "2008/09/30" }
FUNCTION{bst.file.website} { "http://www.michaelshell.org/tex/ieeetran/bibtex/" }
FUNCTION {banner.message}
@@ -949,20 +952,24 @@ FUNCTION {name.or.dash}
% Converts the number string on the top of the stack to
% "numerical ordinal form" (e.g., "7" to "7th"). There is
% no artificial limit to the upper bound of the numbers as the
-% least significant digit always determines the ordinal form.
+% two least significant digits determine the ordinal form.
FUNCTION {num.to.ordinal}
-{ duplicate$ #-1 #1 substring$ "1" =
- { bbl.st * }
- { duplicate$ #-1 #1 substring$ "2" =
- { bbl.nd * }
- { duplicate$ #-1 #1 substring$ "3" =
- { bbl.rd * }
- { bbl.th * }
- if$
- }
- if$
- }
- if$
+{ duplicate$ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$ "1" =
+ { bbl.st * }
+ { duplicate$ #-1 #1 substring$ "2" =
+ { bbl.nd * }
+ { duplicate$ #-1 #1 substring$ "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
}
% If the string on the top of the stack begins with a number,