summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/oberdiek/alphalph.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-04-11 23:02:14 +0000
committerKarl Berry <karl@freefriends.org>2007-04-11 23:02:14 +0000
commit6858df01ea6ebb32f4be0f68e4b2e03d8713f38f (patch)
treed0466192a4c6ae7f99e95d2e6e9b613ebcb73d3d /Master/texmf-dist/tex/generic/oberdiek/alphalph.sty
parent59314283a9039be6cceb0bbee8600837477c9058 (diff)
oberdiek: accsupp, atenddvi, hycolor, iflang (11apr07)
git-svn-id: svn://tug.org/texlive/trunk@4149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/alphalph.sty')
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/alphalph.sty39
1 files changed, 20 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/alphalph.sty b/Master/texmf-dist/tex/generic/oberdiek/alphalph.sty
index 32103f1eb4e..8e68b372106 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/alphalph.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/alphalph.sty
@@ -8,7 +8,8 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 1999, 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 1999, 2006, 2007 by
+%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -65,7 +66,7 @@
\fi
\expandafter\x\csname ver@alphalph.sty\endcsname
\ProvidesPackage{alphalph}%
- [2006/05/30 v1.4 Converting numbers to letters (HO)]
+ [2007/04/11 v1.5 Converting numbers to letters (HO)]
\expandafter\edef\csname aa@atcode\endcsname{\the\catcode`\@ }
\catcode`\@=11
\long\def\@ReturnAfterElseFi#1\else#2\fi{\fi#1}
@@ -96,25 +97,25 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname numexpr\endcsname\relax
\def\aa@make#1#2{%
- \ifnum#1<1
+ \ifnum#1<1 %
\else
\@ReturnAfterFi{%
\aa@process1;#1;1..#2%
}%
\fi
- }
+ }%
\def\aa@process#1;#2;{%
- \ifnum#1=#2
+ \ifnum#1=#2 %
\expandafter\aa@getresult
\else
\@ReturnAfterFi{%
\expandafter\aa@process\number\aa@inc{#1}\aa@alphinc{;#2;}%
}%
\fi
- }
+ }%
\def\aa@getresult#1..#2{%
\aa@@getresult!#2#1..%
- }
+ }%
\def\aa@@getresult#1!#2#3.{%
\ifx\\#3\\%
\@ReturnAfterElseFi{#1}% ready
@@ -127,15 +128,15 @@
#2{#3}#1!#2%
}%
\fi
- }
+ }%
\def\aa@inc#1{%
- \ifnum#1<9
+ \ifnum#1<9 %
\aa@nextdigit{#1}%
\else
\aa@reverse#1!!%
\fi
- }
- \def\aa@nextdigit#1{\ifcase#1 1\or2\or3\or4\or5\or6\or7\or8\or9\fi}
+ }%
+ \def\aa@nextdigit#1{\ifcase#1 1\or2\or3\or4\or5\or6\or7\or8\or9\fi}%
\def\aa@reverse#1#2!#3!{%
\ifx\\#2\\%
\aa@addone#1#3!!%
@@ -144,9 +145,9 @@
\aa@reverse#2!#1#3!%
}%
\fi
- }
+ }%
\def\aa@addone#1#2!#3!{%
- \ifnum#1<9
+ \ifnum#1<9 %
\expandafter\aa@lastreverse\number\aa@nextdigit#1 #2!#3!%
\else
\@ReturnAfterFi{%
@@ -159,7 +160,7 @@
\fi
}%
\fi
- }
+ }%
\def\aa@lastreverse#1#2!#3!{%
\ifx\\#2\\%
#1#3%
@@ -168,7 +169,7 @@
\aa@lastreverse#2!#1#3!%
}%
\fi
- }
+ }%
\def\aa@alphinc#1#2.{%
\ifx\\#2\\%
\@ReturnAfterElseFi{%
@@ -176,7 +177,7 @@
}%
\else
\@ReturnAfterFi{%
- \ifnum#2<26
+ \ifnum#2<26 %
\@ReturnAfterElseFi{%
\expandafter\aa@alphinclast\expandafter
{\number\aa@inc{#2}}{#1}%
@@ -188,8 +189,8 @@
\fi
}%
\fi
- }
- \def\aa@alphinclast#1#2{#2#1.}
+ }%
+ \def\aa@alphinclast#1#2{#2#1.}%
\newcommand*{\newalphalph}[3]{%
\PackageError{alphalph}{%
\string\newalphalph\space requires e-TeX%
@@ -204,7 +205,7 @@
\fi
}%
\def\aa@eprocess#1;#2{%
- \ifnum#1<27
+ \ifnum#1<27 %
\@ReturnAfterElseFi{%
#2{#1}%
}%