% \iffalse meta-comment
%
% Copyright (C) 1993 by LaTeX3 project.  All rights reserved.
% For additional copyright information see further down in this file.
% 
% This file is part of the LaTeX2e system (PRELIMINARY TEST RELEASE)
% ------------------------------------------------------------------
% 
%  This system is distributed in the hope that it will be useful,
%  but WITHOUT ANY WARRANTY; without even the implied warranty of
%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% 
% 
% IMPORTANT NOTICE:
% 
% For error reports in case of UNCHANGED versions see readme files.
% 
% Please do not request updates from us directly.  Distribution is
% done through Mail-Servers and TeX organizations.
% 
% You are not allowed to change this file.
% 
% You are allowed to distribute this file under the condition that
% it is distributed together with all files mentioned in 00readme.l2e.
% 
% If you receive only some of these files from someone, complain!
% 
% You are NOT ALLOWED to distribute this file alone.  You are NOT
% ALLOWED to take money for the distribution or use of either this
% file or a changed version, except for a nominal charge for copying
% etc.
% \fi
\def\fileversion{v1.0b}
\def\filedate{1993/12/16}

%    \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
%    \end{macrocode}


%    \begin{macrocode}
\ProvidesClass{ltxdoc}[\filedate\space\fileversion\space 
                       LaTeX2e documentation class]
%    \end{macrocode}


%    \begin{macrocode}
\DeclareOption{a5paper}{\@latexerr{Option not supported}%
%    \end{macrocode}
                                  {}}

%    \begin{macrocode}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
%    \end{macrocode}


%
%    We load a site specific configuration file if we find one.  In
%    such a file the site maintainer can for example define standard
%    paper for the documentation by issuing
%\begin{verbatim}
%\PassOptionsToClass{a4paper}{article}
%\endinput
%\end{verbatim}
%    resulting in the usage of A4 dimensions without changing any
%    driver file.
%    \begin{macrocode}
\IfFileExists{ltxdoc.cfg}
           {\typeout{*************************************^^J%
                     *^^J%
                     * Local config file ltxdoc.cfg used^^J%
                     *^^J%
                     *************************************}%
            \@@input ltxdoc.cfg }
           {}
%    \end{macrocode}
%    

%    \begin{macrocode}
\ProcessOptions
%    \end{macrocode}

%    \begin{macrocode}
\LoadClass{article}
%    \end{macrocode}

%    \begin{macrocode}
\RequirePackage{doc}
%    \end{macrocode}

%    \begin{macrocode}
\MakeShortVerb{\|}
%    \end{macrocode}

%    \begin{macrocode}
\def\cmd#1{\protect\pcmd{\expandafter\@gobble\string#1}}
\def\pcmd#1{\texttt{\char`\\#1}}
%    \end{macrocode}


%    \begin{macrocode}
\CodelineIndex
\DisableCrossrefs
%    \end{macrocode}

\endinput
