summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/alphalph.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/alphalph.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/alphalph.dtx98
1 files changed, 70 insertions, 28 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/alphalph.dtx b/Master/texmf-dist/source/latex/oberdiek/alphalph.dtx
index 8d7fd8ef681..a882eef697e 100644
--- a/Master/texmf-dist/source/latex/oberdiek/alphalph.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/alphalph.dtx
@@ -1,6 +1,7 @@
% \iffalse meta-comment
%
-% 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
@@ -55,7 +56,7 @@
%
%<*ignore>
\begingroup
- \def\x{LaTeX2e}
+ \def\x{LaTeX2e}%
\expandafter\endgroup
\ifcase 0\ifx\install y1\fi\expandafter
\ifx\csname processbatchFile\endcsname\relax\else1\fi
@@ -66,7 +67,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: alphalph 2006/05/30 v1.4 Converting numbers to letters (HO)}
+\Msg{* Package: alphalph 2007/04/11 v1.5 Converting numbers to letters (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -76,7 +77,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
@@ -126,12 +128,12 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{alphalph.drv}%
- [2006/05/30 v1.4 Converting numbers to letters (HO)]
+ [2007/04/11 v1.5 Converting numbers to letters (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}
\usepackage{alphalph}
\begin{document}
- \DocInput{alphalph.dtx}
+ \DocInput{alphalph.dtx}%
\end{document}
%</driver>
% \fi
@@ -157,7 +159,7 @@ and the derived files
% \GetFileInfo{alphalph.drv}
%
% \title{The \xpackage{alphalph} package}
-% \date{2006/05/30 v1.4}
+% \date{2007/04/11 v1.5}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -304,7 +306,7 @@ and the derived files
\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)]
% \end{macrocode}
%
% For unique command names this package uses |aa@| as prefix
@@ -408,13 +410,13 @@ and the derived files
% Then it expands to nothing like \cmd{\romannumeral}.
% \begin{macrocode}
\def\aa@make#1#2{%
- \ifnum#1<1
+ \ifnum#1<1 %
\else
\@ReturnAfterFi{%
\aa@process1;#1;1..#2%
}%
\fi
- }
+ }%
% \end{macrocode}
% \end{macro}
%
@@ -457,14 +459,14 @@ and the derived files
% argument |;#2;|. At last the first character |;| finishes \cmd{\number}.
% \begin{macrocode}
\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
- }
+ }%
% \end{macrocode}
% \end{macro}
%
@@ -488,7 +490,7 @@ and the derived files
% \begin{macrocode}
\def\aa@getresult#1..#2{%
\aa@@getresult!#2#1..%
- }
+ }%
% \end{macrocode}
% \end{macro}
%
@@ -513,7 +515,7 @@ and the derived files
#2{#3}#1!#2%
}%
\fi
- }
+ }%
% \end{macrocode}
% \end{macro}
%
@@ -528,19 +530,19 @@ and the derived files
% \begin{macrocode}
% \aa@inc adds one to its argument #1.
\def\aa@inc#1{%
- \ifnum#1<9
+ \ifnum#1<9 %
\aa@nextdigit{#1}%
\else
\aa@reverse#1!!%
\fi
- }
+ }%
% \end{macrocode}
% \end{macro}
% \begin{macro}{\aa@nextdigit}
% \cmd{\aa@nextdigit} increments the digit |#1|. The result
% is a digit again. \cmd{\aa@addone} works off the case ``9+1''.
% \begin{macrocode}
- \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}%
% \end{macrocode}
% \end{macro}
% \begin{macro}{\aa@reverse}
@@ -558,7 +560,7 @@ and the derived files
\aa@reverse#2!#1#3!%
}%
\fi
- }
+ }%
% \end{macrocode}
% \end{macro}
% \begin{macro}{\aa@addone}
@@ -569,7 +571,7 @@ and the derived files
% to take some work of \cmd{\aa@lastreverse}.
% \begin{macrocode}
\def\aa@addone#1#2!#3!{%
- \ifnum#1<9
+ \ifnum#1<9 %
\expandafter\aa@lastreverse\number\aa@nextdigit#1 #2!#3!%
\else
\@ReturnAfterFi{%
@@ -582,7 +584,7 @@ and the derived files
\fi
}%
\fi
- }
+ }%
% \end{macrocode}
% \end{macro}
% \begin{macro}{\aa@lastreverse}
@@ -598,7 +600,7 @@ and the derived files
\aa@lastreverse#2!#1#3!%
}%
\fi
- }
+ }%
% \end{macrocode}
% \end{macro}
%
@@ -619,7 +621,7 @@ and the derived files
}%
\else
\@ReturnAfterFi{%
- \ifnum#2<26
+ \ifnum#2<26 %
\@ReturnAfterElseFi{%
\expandafter\aa@alphinclast\expandafter
{\number\aa@inc{#2}}{#1}%
@@ -631,7 +633,7 @@ and the derived files
\fi
}%
\fi
- }
+ }%
% \end{macrocode}
% \end{macro}
% \begin{macro}{\aa@alphinclast}
@@ -639,7 +641,7 @@ and the derived files
% several tokens (e.g. |;100;|), we cannot jump over it via
% \cmd{\expandafter} in \cmd{\aa@alphinc}.
% \begin{macrocode}
- \def\aa@alphinclast#1#2{#2#1.}
+ \def\aa@alphinclast#1#2{#2#1.}%
% \end{macrocode}
% \end{macro}
%
@@ -685,7 +687,7 @@ and the derived files
% It provides expandible mathematical calculations.
% \begin{macrocode}
\def\aa@eprocess#1;#2{%
- \ifnum#1<27
+ \ifnum#1<27 %
\@ReturnAfterElseFi{%
#2{#1}%
}%
@@ -788,13 +790,47 @@ and the derived files
% \end{macrocode}
% \section{Installation}
%
-% \paragraph{CTAN.} This package is available on
+% \subsection{Download}
+%
+% \paragraph{Package.} This package is available on
% CTAN\footnote{\url{ftp://ftp.ctan.org/tex-archive/}}:
% \begin{description}
% \item[\CTAN{macros/latex/contrib/oberdiek/alphalph.dtx}] The source file.
% \item[\CTAN{macros/latex/contrib/oberdiek/alphalph.pdf}] Documentation.
% \end{description}
%
+%
+% \paragraph{Bundle.} All the packages of the bundle `oberdiek'
+% are also available in a TDS compliant ZIP archive. There
+% the packages are already unpacked and the documentation files
+% are generated. The files and directories obey the TDS standard.
+% \begin{description}
+% \item[\CTAN{macros/latex/contrib/oberdiek/oberdiek-tds.zip}]
+% \end{description}
+%
+% \subsection{Bundle installation}
+%
+% \paragraph{Unpacking.} Unpack the \xfile{oberdiek-tds.zip} in the
+% TDS tree (also known as \xfile{texmf} tree) of your choice.
+% Example (linux):
+% \begin{quote}
+% |unzip oberdiek-tds.zip -d ~/texmf|
+% \end{quote}
+%
+% \paragraph{Script installation.}
+% Check the directory \xfile{TDS:scripts/oberdiek/} for
+% scripts that need further installation steps.
+% Package \xpackage{attachfile2} comes with the Perl script
+% \xfile{pdfatfi.pl} that should be installed in such a way
+% that it can be called as \texttt{pdfatfi}.
+% Example (linux):
+% \begin{quote}
+% |chmod +x scripts/oberdiek/pdfatfi.pl|\\
+% |cp scripts/oberdiek/pdfatfi.pl /usr/local/bin/|
+% \end{quote}
+%
+% \subsection{Package installation}
+%
% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
% \docstrip\ archive. The files are extracted by running the
% \xfile{.dtx} through \plainTeX:
@@ -825,8 +861,10 @@ and the derived files
% TDS installing feature, then some files can already be in the right
% place, see the documentation of \docstrip.
%
-% \paragraph{Refresh file databases.} If your \TeX~distribution
-% (\teTeX, \mikTeX, \dots) rely on file databases, you must refresh
+% \subsection{Refresh file name databases}
+%
+% If your \TeX~distribution
+% (\teTeX, \mikTeX, \dots) relies on file name databases, you must refresh
% these. For example, \teTeX\ users run \verb|texhash| or
% \verb|mktexlsr|.
%
@@ -925,6 +963,10 @@ and the derived files
% \item
% \cs{newalphalph} added.
% \end{Version}
+% \begin{Version}{2007/04/11 v1.5}
+% \item
+% Line ends sanitized.
+% \end{Version}
% \end{History}
%
% \PrintIndex