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.dtx70
1 files changed, 63 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/alphalph.dtx b/Master/texmf-dist/source/latex/oberdiek/alphalph.dtx
index 1082eb9626a..bc4e8c9b18a 100644
--- a/Master/texmf-dist/source/latex/oberdiek/alphalph.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/alphalph.dtx
@@ -77,6 +77,7 @@
\keepsilent
\askforoverwritefalse
+\let\MetaPrefix\relax
\preamble
This is a generated file.
@@ -102,6 +103,7 @@ and the derived files
alphalph-test1.tex, alphalph-test2.tex, alphalph-test3.tex.
\endpreamble
+\let\MetaPrefix\DoubleperCent
\generate{%
\file{alphalph.ins}{\from{alphalph.dtx}{install}}%
@@ -122,6 +124,10 @@ and the derived files
\Msg{*}
\Msg{* alphalph.sty}
\Msg{*}
+\Msg{* And install the following script file:}
+\Msg{*}
+\Msg{* }
+\Msg{*}
\Msg{* To produce the documentation run the file `alphalph.drv'}
\Msg{* through LaTeX.}
\Msg{*}
@@ -139,7 +145,7 @@ and the derived files
\ProvidesFile{alphalph.drv}%
[2007/09/09 v2.0 Converting numbers to letters (HO)]%
\documentclass{ltxdoc}
-\usepackage{holtxdoc}[2007/10/21]
+\usepackage{holtxdoc}[2007/11/11]
\usepackage{alphalph}[2007/09/09]
\makeatletter
\newalphalph{\fnsymbolwrap}[wrap]{\@fnsymbol}{}
@@ -172,7 +178,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{1035}
+% \CheckSum{1125}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -566,6 +572,9 @@ and the derived files
\fi
\fi
\else
+ \catcode35 6 % #
+ \catcode123 1 % {
+ \catcode125 2 % }
\expandafter\ifx\csname PackageInfo\endcsname\relax
\def\x#1#2{%
\immediate\write-1{Package #1 Info: #2.}%
@@ -582,6 +591,7 @@ and the derived files
% Package identification:
% \begin{macrocode}
\begingroup
+ \catcode35 6 % #
\catcode40 12 % (
\catcode41 12 % )
\catcode44 12 % ,
@@ -590,6 +600,8 @@ and the derived files
\catcode47 12 % /
\catcode58 12 % :
\catcode64 11 % @
+ \catcode123 1 % {
+ \catcode125 2 % }
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
\def\x#1#2#3[#4]{\endgroup
\immediate\write-1{Package: #3 #4}%
@@ -611,10 +623,22 @@ and the derived files
% \subsection{Catcodes}
%
% \begin{macrocode}
-\expandafter\edef\csname AlPh@AtEnd\endcsname{%
- \catcode64 \the\catcode64\relax
-}
+\begingroup
+ \catcode123 1 % {
+ \catcode125 2 % }
+ \def\x{\endgroup
+ \expandafter\edef\csname AlPh@AtEnd\endcsname{%
+ \catcode35 \the\catcode35\relax
+ \catcode64 \the\catcode64\relax
+ \catcode123 \the\catcode123\relax
+ \catcode125 \the\catcode125\relax
+ }%
+ }%
+\x
+\catcode35 6 % #
\catcode64 11 % @
+\catcode123 1 % {
+\catcode125 2 % }
\def\TMP@EnsureCode#1#2{%
\edef\AlPh@AtEnd{%
\AlPh@AtEnd
@@ -1242,7 +1266,39 @@ and the derived files
%<*test1>
% \end{macrocode}
% \begin{macrocode}
+\catcode`\{=1 %
+\catcode`\}=2 %
+\catcode`\#=6 %
\catcode`\@=11 %
+\expandafter\ifx\csname count@\endcsname\relax
+ \countdef\count@=255 %
+\fi
+\expandafter\ifx\csname @gobble\endcsname\relax
+ \long\def\@gobble#1{}%
+\fi
+\expandafter\ifx\csname @firstofone\endcsname\relax
+ \long\def\@firstofone#1{#1}%
+\fi
+\expandafter\ifx\csname loop\endcsname\relax
+ \expandafter\@firstofone
+\else
+ \expandafter\@gobble
+\fi
+{%
+ \def\loop#1\repeat{%
+ \def\body{#1}%
+ \iterate
+ }%
+ \def\iterate{%
+ \body
+ \let\next\iterate
+ \else
+ \let\next\relax
+ \fi
+ \next
+ }%
+ \let\repeat=\fi
+}%
\def\RestoreCatcodes{}
\count@=0 %
\loop
@@ -1251,7 +1307,7 @@ and the derived files
\catcode\the\count@=\the\catcode\count@\relax
}%
\ifnum\count@<255 %
- \advance\count@\@ne
+ \advance\count@ 1 %
\repeat
\def\RangeCatcodeInvalid#1#2{%
@@ -1259,7 +1315,7 @@ and the derived files
\loop
\catcode\count@=15 %
\ifnum\count@<#2\relax
- \advance\count@\@ne
+ \advance\count@ 1 %
\repeat
}
\def\Test{%