%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % apatch.sty % last minute corrections % see \datum and \level at the end of the file % template: 16.09.2001 \version = {3.10} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % (c) Klaus Lagally % Institut fuer Informatik % Universitaet Stuttgart %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % this is just another *.sty file % you do not have to do any manual patching % just put this file onto the TEXINPUT path %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \chardef \patchatcode = \catcode`\@ \catcode`\@ = 11 \chardef \patchdqcode = \catcode`\" \catcode`\" = 12 \edef \next {\the\version} \ifx \next \theversion \else \edef \next {\errmessage {This patch file only works with ArabTeX version \the\version }} \next \def \a@patchlevel {-undefined-} \xpa \endinput \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % presently no patches %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % two passes with LaTeX; see: alatex.sty \iffalse % no patches yet; otherwise: delete ! \ifx \LaTeX \undefined \else \ifx \a@patchlevel \undefined % first pass \let \a@@document \document \let \a@@@document \a@document \def \document {\setnone \input {apatch.sty}\a@@document } \else % second pass after loading all modules \let \a@document \a@@@document \fi\fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % patch patterns: \ifx \a@patchlevel \undefined % load only the first time % patches on first pass %\message {first pass of patches} \else % patches on second pass %\message {second pass of patches} \fi \ifx \LaTeX \undefined \else %\message {LaTeX mode patches} \fi \fi % no patches yet; otherwise: delete ! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \datum = {17.09.2001} \def \level {-} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\datum = {06.04.2000} \def \level {x = experimental} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ifx \a@patchlevel \undefined % load only the first time \a@ident {apatch.sty} {\the\version\level\space last minute patches } {\the\datum} \edef \a@patchlevel {\the\version \level \space (\the\datum)} \else \a@message {version \the\version\level: second phase of patching} \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \catcode`\" = \patchdqcode \catcode`\@ = \patchatcode \endinput %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%