%%
%% This is file `etexcmds.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% etexcmds.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 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
%% version 1.3 of this license or (at your option) any later
%% version. The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
%% 
%% This work has the LPPL maintenance status "maintained".
%% 
%% This Current Maintainer of this work is Heiko Oberdiek.
%% 
%% This work consists of the main source file etexcmds.dtx
%% and the derived files
%%    etexcmds.sty, etexcmds.pdf, etexcmds.ins, etexcmds.drv,
%%    etexcmds-test1.tex, etexcmds-test2.tex, etexcmds-test3.tex,
%%    etexcmds-test4.tex.
%% 
\begingroup
  \catcode44 12 % ,
  \catcode45 12 % -
  \catcode46 12 % .
  \catcode58 12 % :
  \catcode64 11 % @
  \catcode123 1 % {
  \catcode125 2 % }
  \expandafter\let\expandafter\x\csname ver@etexcmds.sty\endcsname
  \ifx\x\relax % plain-TeX, first loading
  \else
    \def\empty{}%
    \ifx\x\empty % LaTeX, first loading,
      % variable is initialized, but \ProvidesPackage not yet seen
    \else
      \catcode35 6 % #
      \expandafter\ifx\csname PackageInfo\endcsname\relax
        \def\x#1#2{%
          \immediate\write-1{Package #1 Info: #2.}%
        }%
      \else
        \def\x#1#2{\PackageInfo{#1}{#2, stopped}}%
      \fi
      \x{etexcmds}{The package is already loaded}%
      \aftergroup\endinput
    \fi
  \fi
\endgroup
\begingroup
  \catcode35 6 % #
  \catcode40 12 % (
  \catcode41 12 % )
  \catcode44 12 % ,
  \catcode45 12 % -
  \catcode46 12 % .
  \catcode47 12 % /
  \catcode58 12 % :
  \catcode64 11 % @
  \catcode91 12 % [
  \catcode93 12 % ]
  \catcode123 1 % {
  \catcode125 2 % }
  \expandafter\ifx\csname ProvidesPackage\endcsname\relax
    \def\x#1#2#3[#4]{\endgroup
      \immediate\write-1{Package: #3 #4}%
      \xdef#1{#4}%
    }%
  \else
    \def\x#1#2[#3]{\endgroup
      #2[{#3}]%
      \ifx#1\@undefined
        \xdef#1{#3}%
      \fi
      \ifx#1\relax
        \xdef#1{#3}%
      \fi
    }%
  \fi
\expandafter\x\csname ver@etexcmds.sty\endcsname
\ProvidesPackage{etexcmds}%
  [2007/12/12 v1.2 Prefix for e-TeX command names (HO)]
\begingroup
  \catcode123 1 % {
  \catcode125 2 % }
  \def\x{\endgroup
    \expandafter\edef\csname etexcmds@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\etexcmds@AtEnd{%
    \etexcmds@AtEnd
    \catcode#1 \the\catcode#1\relax
  }%
  \catcode#1 #2\relax
}
\TMP@EnsureCode{44}{12}% ,
\TMP@EnsureCode{45}{12}% -
\TMP@EnsureCode{46}{12}% .
\TMP@EnsureCode{47}{12}% /
\TMP@EnsureCode{61}{12}% =
\edef\etexcmds@AtEnd{%
  \etexcmds@AtEnd
  \escapechar\the\escapechar\relax
}
\escapechar=92 % backslash
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname RequirePackage\endcsname\relax
  \input infwarerr.sty\relax
\else
  \RequirePackage{infwarerr}[2007/09/09]%
\fi
\newif\ifetex@unexpanded
\begingroup
\edef\x{\string\unexpanded}%
\edef\y{\meaning\unexpanded}%
\ifx\x\y
  \endgroup
  \let\etex@unexpanded\unexpanded
  \etex@unexpandedtrue
\else
  \edef\y{\meaning\normalunexpanded}%
  \ifx\x\y
    \endgroup
    \let\etex@unexpanded\normalunexpanded
    \etex@unexpandedtrue
  \else
    \edef\y{\meaning\@@unexpanded}%
    \ifx\y
      \endgroup
      \let\etex@unexpanded\@@unexpanded
      \etex@unexpandedtrue
    \else
      \endgroup
      \@PackageInfoNoLine{etexcmds}{%
        Could not find \string\unexpanded.\MessageBreak
        That can mean that you are not using e-TeX or\MessageBreak
        that some package has redefined \string\unexpanded.\MessageBreak
        In the latter case, load this package earlier%
      }%
      \etex@unexpandedfalse
    \fi
  \fi
\fi
\newif\ifetex@expanded
\begingroup
\edef\x{\string\expanded}%
\edef\y{\meaning\expanded}%
\ifx\x\y
  \endgroup
  \let\etex@expanded\expanded
  \etex@expandedtrue
\else
  \edef\y{\meaning\normalexpanded}%
  \ifx\x\y
    \endgroup
    \let\etex@expanded\normalexpanded
    \etex@expandedtrue
  \else
    \edef\y{\meaning\@@expanded}%
    \ifx\y
      \endgroup
      \let\etex@expanded\@@expanded
      \etex@expandedtrue
    \else
      \endgroup
      \@PackageInfoNoLine{etexcmds}{%
        Could not find \string\expanded.\MessageBreak
        That can mean that you are not using pdfTeX 1.50 or\MessageBreak
        that some package has redefined \string\expanded.\MessageBreak
        In the latter case, load this package earlier%
      }%
      \etex@expandedfalse
    \fi
  \fi
\fi
\etexcmds@AtEnd
\endinput
%%
%% End of file `etexcmds.sty'.
