%%
%% This file will generate fast loadable files from the dtx files in this
%% bundle when run through LaTeX or TeX.
%%
%% This file is part of the LaTeX2e KOMA-Script bundle
%% ---------------------------------------------------
%%
%%  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:
%%
%% Copyright 1994-1999 Markus Kohm, Frank Neukam and the individual authors.
%% All rights reserved. For further copyright information see the file
%% readme.txt or liesmich.txt, and any other copyright indicated in this
%% file.
%%
%% Permission is granted to distributed verbatim copies of this file
%% together with all other files of the KOMA-script bundle (as mentioned
%% in readme.txt and liesmich.txt).
%%
%% No other permissions to copy or distribute this file in any form
%% are granted and in particular no permission to modify its contents.
%%
%% --------------- start of docstrip commands ------------------
%%
\def\batchfile{scrclass.ins}
\input docstrip.tex

\keepsilent
\askforoverwritetrue

\preamble
\endpreamble

\ifToplevel{\ifx\generate\undefined
\Msg{**********************************************}
\Msg{*}
\Msg{* This installation requires docstrip}
\Msg{* version 2.3c or later.}
\Msg{*}
\Msg{* An older version of docstrip has been input}
\Msg{*}
\Msg{**********************************************}
\errhelp{Move or rename old docstrip.tex.}
\errmessage{Old docstrip in input path}
\batchmode
\csname @@end\endcsname
\fi
}

\declarepreamble\mainpreamble

Copyright (C) 1994-1999 Markus Kohm and Frank Neukam.

All rights reserved. For further copyright information see the file
LEGAL.TXT or LEGALDE.TXT.

This file is part of the LaTeX2e KOMA-Script bundle.
----------------------------------------------------

The KOMA-Script bundle bases on the Script-family created by
Frank Neukam 1993 and the standard documents classes created
by the LaTeX3-Team 1994-1996.
------------------------------------------------------------------------

 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 documentation.

Please do not request updates from us directly. Distribution is
done through Mail-Servers, Mailboxes 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 readme.txt
and liesmich.txt. See LEGAL.TXT or LEGALDE.TXT for further
information.

If you receive only some of these files from someone, complain!

You are NOT ALLOWED to distribute this file alone.

\endpreamble
\declarepreamble\letterpreamble

Copyright (C) 1994-1999 Axel Kielhorn, Markus Kohm and Frank Neukam.

All rights reserved. For further copyright information see the file
LEGAL.TXT or LEGALDE.TXT.

This file is part of the LaTeX2e KOMA-Script bundle.
----------------------------------------------------

The KOMA-Script bundle bases on the Script-family created by
Frank Neukam 1993 and the standard documents classes created
by the LaTeX3-Team 1994-1996.
------------------------------------------------------------------------

 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 documentation.

Please do not request updates from us directly. Distribution is
done through Mail-Servers, Mailboxes 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 readme.txt
and liesmich.txt. See LEGAL.TXT or LEGALDE.TXT for further
information.

If you receive only some of these files from someone, complain!

You are NOT ALLOWED to distribute this file alone.

\endpreamble
\declarepreamble\bstpreamble

BibTeX-Database to scrletter converter
by Axel Kielhorn 1996/06/06
little correction by Markus Kohm since 1996/11/13

Based on:
BibTeX bibliography style `address'
Gerd Neugebauer 1994

This is only one way to use the address-database-layout defined by
Gerd Neugebauer.
Use this as an example for your own conversion program.

\endpreamble
\declarepreamble\bstdriverpreamble

Interactive BibTeX-Driver to scrletter converter
by Markus Kohm 1996/11/13

This is only something like a dummy-file to get an `aux'-file.

\endpreamble
\declarepreamble\bibexamplepreamble

BibTeX-Database example
Do not believe everything you read here.
It is just a demonstration.

\endpreamble
\declarepostamble\nullpostamble
\endpostamble

%% File generation:

\generate{%
  \usepreamble\mainpreamble
  \file{scrartcl.cls}{\from{scrclass.dtx}{scrartcl}}
  \file{scrreprt.cls}{\from{scrclass.dtx}{scrreprt}}
  \file{scrbook.cls}{\from{scrclass.dtx}{scrbook}}
  \file{typearea.sty}{\from{scrclass.dtx}{typearea}}}

\generate{%
  \usepreamble\letterpreamble
  \file{scrlettr.cls}{\from{scrlettr.dtx}{scrlettr}}
  \file{dir.tex}{\from{scrlettr.dtx}{dir}}
  \file{phone.tex}{\from{scrlettr.dtx}{phone}}
  \file{scraddr.sty}{\from{scrlettr.dtx}{scraddr}}
  \usepreamble\bstpreamble
  \usepostamble\nullpostamble
  \file{addrconv.bst}{\from{scrlettr.dtx}{addrconv,bst}}
  \file{birthday.bst}{\from{scrlettr.dtx}{birthday,bst}}
  \file{email.bst}{\from{scrlettr.dtx}{email,bst}}
  \usepreamble\bstdriverpreamble
  \file{addrconv.tex}{\from{scrlettr.dtx}{addrconv,tex}}
  \file{birthday.tex}{\from{scrlettr.dtx}{birthday,tex}}
  \file{email.tex}{\from{scrlettr.dtx}{email,tex}}
  \usepreamble\bibexamplepreamble
  \file{example.bib}{\from{scrlettr.dtx}{addrconv,birthday,example}}}

\generate{%
  \usepreamble\mainpreamble
  \file{script.sty}{\from{script20.dtx}{script}}
  \file{script_s.sty}{\from{script20.dtx}{small}}
  \file{script_l.sty}{\from{script20.dtx}{letter}}}

\ifToplevel{
\Msg{***********************************************************}
\Msg{*}
\Msg{* To finish the installation you have to move the following}
\Msg{* files into a directory searched by TeX:}
\Msg{*}
\Msg{* \space\space scrartcl.cls}
\Msg{* \space\space scrreprt.cls}
\Msg{* \space\space scrbook.cls}
\Msg{* \space\space scrlettr.cls}
\Msg{* \space\space typearea.sty}
\Msg{* \space\space scraddr.sty}
\Msg{* \space\space script.sty}
\Msg{* \space\space script_s.sty}
\Msg{* \space\space script_l.sty}
\Msg{*}
\Msg{* To produce the implementation-documentation run the files}
\Msg{* ending with `.dtx' through LaTeX after moving the files.}
\Msg{* To produce the main-documentation (if scrguide.dvi doesn't}
\Msg{* exist) run the file `scrguide.tex' through LaTeX after}
\Msg{* running scrdate.ins and scrpage.ins through LaTeX and}
\Msg{* moving the files.}
\Msg{*}
\Msg{* Don't forget dir.tex, phone.tex, email.bst, email.tex,}
\Msg{* addrconv.bst,addrconv.tex, birthday.bst, birthday.tex and}
\Msg{* example.bib.}
\Msg{*}
\Msg{* Happy TeXing}
\Msg{***********************************************************}
}

\endinput
%%
%% end of file `scrclass.ins'
