diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst b/Master/texmf-dist/bibtex/bst/IEEEtran/IEEEtranSA.bst index 4d0d8b61f8b..e973c5e704c 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.12 (2006/01/11) +%% Version 1.13 (2008/09/30) %% -%% Copyright (c) 2003-2007 Michael Shell +%% Copyright (c) 2003-2008 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 @@ -59,7 +59,10 @@ % 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. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -161,8 +164,8 @@ FUNCTION {is.print.banners.to.terminal} { #1 } %% FILE VERSION AND BANNER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -FUNCTION{bst.file.version} { "1.12" } -FUNCTION{bst.file.date} { "2007/01/11" } +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} @@ -907,20 +910,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, |