

\def\fildedate{1994/06/06}
\def\batchfile{tools.ins}
\input docstrip.tex

\def\SimplePackage#1{%
  \generateFile{#1.sty}{t}{\from{#1.dtx}{package}}}

\keepsilent

\preamble

IMPORTANT NOTICE:
This file is part of the `tools' bundle 
in the LaTeX2e distribution.

You are not allowed to distribute this file.
For distribution of the original source see
the copyright notice in the source file, and 
in the file readme.txt distributed with the 
tools bundle.

\endpreamble

% Array files
%%%%%%%%%%%%%
\generateFile{array.sty}{t}{
   \from{array.dtx}{package,ncols}}

\SimplePackage{delarray}

\SimplePackage{tabularx}

\SimplePackage{dcolumn}

\SimplePackage{hhline}

\SimplePackage{longtable}

% Multicolumn
%%%%%%%%%%%%%
\generateFile{multicol.sty}{t}{
   \from{multicol.dtx}{package,badness,check,marktrace}}

% Footnote Right
%%%%%%%%%%%%%%%
\SimplePackage{ftnright}

% Theorem files
%%%%%%%%%%%%%%%
\generateFile{theorem.sty}{t}{\from{theorem.dtx}{package}}
\generateFile{thb.sty}{t}{\from{theorem.dtx}{thb}}
\generateFile{thcb.sty}{t}{\from{theorem.dtx}{thcb}}
\generateFile{thc.sty}{t}{\from{theorem.dtx}{thc}}
\generateFile{thp.sty}{t}{\from{theorem.dtx}{thp}}
\generateFile{thmb.sty}{t}{\from{theorem.dtx}{thmb}}
\generateFile{thm.sty}{t}{\from{theorem.dtx}{thm}}

% Verbatim
%%%%%%%%%%
\SimplePackage{verbatim}
\generateFile{verbtest.tex}{t}{\from{verbatim.dtx}{testdriver}}

% Smart Page references
%%%%%%%%%%%%%%%%%%%%%%%
\SimplePackage{varioref}

% External references
%%%%%%%%%%%%%%%%%%%%%
\SimplePackage{xr}

% Smart Space command
%%%%%%%%%%%%%%%%%%%%%
\SimplePackage{xspace}

% Show \label \ref keys
%%%%%%%%%%%%%%%%%%%%%%%
\SimplePackage{showkeys}

% Load fonts under old names
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\SimplePackage{rawfonts}

% Selective Option handling
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\SimplePackage{somedefs}


% Font sample
%%%%%%%%%%%%%
\SimplePackage{fontsmpl}
\generateFile{fontsmpl.tex}{t}{\from{fontsmpl.dtx}{document}}

% After Page Package
%%%%%%%%%%%%%%%%%%%%
\SimplePackage{afterpage}


% Enumerate Package
%%%%%%%%%%%%%%%%%%%%
\SimplePackage{enumerate}


% Indent first paragraphs
%%%%%%%%%%%%%%%%%%%
\SimplePackage{indentfirst}



% File-Error files
%%%%%%%%%%%%%%%%%%
\generateFile{h.tex}{t}{\from{fileerr.dtx}{help}}
\generateFile{s.tex}{t}{\from{fileerr.dtx}{scroll}}
\generateFile{e.tex}{t}{\from{fileerr.dtx}{edit}}
\generateFile{x.tex}{t}{\from{fileerr.dtx}{exit}}

\Msg{* This may fail on some operating systems}
\generateFile{.tex}{t}{\from{fileerr.dtx}{return}}

\Msg{***********************************************************}
\Msg{*}
\Msg{* To finish the installation you have to move the following}
\Msg{* files into a directory searched by TeX:}
\Msg{*}
\Msg{* All the files with extension `.sty' and `.tex'}
\Msg{* Note there also may be a file .tex which is `invisible'}
\Msg{* on some oprating systems.}
\Msg{*}
\Msg{* To produce the documentation run the .dtx files through LaTeX.}
\Msg{*}
\Msg{* Happy TeXing}
\Msg{***********************************************************}
