diff options
Diffstat (limited to 'Master/texmf-dist/bibtex')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranM.bst | 41 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/mciteplus/IEEEtranMN.bst | 41 |
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, |