%%
%% This file will generate fast loadable files and documentation
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
%%
%%  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 (C) 1994 Jiri Zlatuska and LaTeX3 project. All rights reserved.
%%
%% --------------- start of docstrip commands ------------------
%%
\def\batchfile{csfonts.ins}
\input docstrip.tex
\preamble

Copyright (C) 1994 by Jiri Zlatuska and LaTeX3 project.  All rights reserved.
For additional copyright information see further down in this file.

 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.

You are not allowed to change this file.

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.
\endpreamble

\def\batchfile{csfonts.dst}    % ignored in distribution
\input docstrip.tex            % ignored in distribution

\keepsilent

\preamble

Copyright (C) 1994 Jiri Zlatuska.
Copyright (C) 1994 LaTeX3 project, Frank Mittelbach and Rainer Schoepf.
All rights reserved.

This file is part of LaTeX2e.
-----------------------------

Permission is granted to customize the declarations in this file
to serve the needs of your installation. However, no permission
is granted to distribute a modified version of this file under
its original name.

\endpreamble

\Msg{*** Generating font defs for KOI8-cs extension of TeX Text encoding ***}

\generateFile{KOIcmss.fd}{t}{
     \from{csfontskoi.fdd}{fd,KOIcmss}}

\generateFile{KOIcmr.fd}{t}{
     \from{csfontskoi.fdd}{fd,KOIcmr}}

\generateFile{KOIcmtt.fd}{t}{
     \from{csfontskoi.fdd}{fd,KOIcmtt}}

\generateFile{KOIcmfib.fd}{t}{
     \from{csfontskoi.fdd}{fd,KOIcmfib}}

\generateFile{KOIcmfr.fd}{t}{
     \from{csfontskoi.fdd}{fd,KOIcmfr}}

\generateFile{KOIcmdh.fd}{t}{
     \from{csfontskoi.fdd}{fd,KOIcmdh}}

\generateFile{KOIccr.fd}{t}{
     \from{csfontskoi.fdd}{fd,KOIccr}}


\Msg{*** Generating font defs for unknown encoding
        (compatibility files) based on KOI8-cs fonts ***}

\Msg{*** Skipping this out -- will do that for ISO LAtin 2 later
     ***}

%% Compatibility font definition files have the same names no
%% matter what fonts they are nased on. You should generate
%% just one of the possibilities, not more.
%%
%%\generateFile{Ucmr.fd}{t}{
%%     \from{csfontskoi.fdd}{fd,Ucmr}}
%%
%%
%%\generateFile{Ucmss.fd}{t}{
%%     \from{csfontskoi.fdd}{fd,Ucmss}}
%%
%%
%%\generateFile{Ucmtt.fd}{t}{
%%     \from{csfontskoi.fdd}{fd,Ucmtt}}
%%

\Msg{*** Generating font defs for ISO Latin 2 extension of
         TeX Text encoding ***}

\generateFile{IL2cmss.fd}{t}{
     \from{csfontslatin2.fdd}{fd,IL2cmss}}

\generateFile{IL2cmr.fd}{t}{
     \from{csfontslatin2.fdd}{fd,IL2cmr}}

\generateFile{IL2cmtt.fd}{t}{
     \from{csfontslatin2.fdd}{fd,IL2cmtt}}

\generateFile{IL2cmfib.fd}{t}{
     \from{csfontslatin2.fdd}{fd,IL2cmfib}}

\generateFile{IL2cmfr.fd}{t}{
     \from{csfontslatin2.fdd}{fd,IL2cmfr}}

\generateFile{IL2cmdh.fd}{t}{
     \from{csfontslatin2.fdd}{fd,IL2cmdh}}

\generateFile{KOIccr.fd}{t}{
     \from{csfontslatin2.fdd}{fd,KOIccr}}


\Msg{*** Generating font defs for unknown encoding
        (compatibility files) based on fonts for IL2 ***}


\generateFile{Ucmr.fd}{t}{
     \from{csfontslatin2.fdd}{fd,Ucmr}}


\generateFile{Ucmss.fd}{t}{
     \from{csfontslatin2.fdd}{fd,Ucmss}}


\generateFile{Ucmtt.fd}{t}{
     \from{csfontslatin2.fdd}{fd,Ucmtt}}



\Msg{*** Generate the documentation driver ***}

\preamble

Copyright (C) 1994 Jiri Zlatuska.
Copyright (C) 1994 Frank Mittelbach and Rainer Schoepf.
All rights reserved.

Permission is granted to modify this file for producing a different
layout. However, no permission is granted to distribute a modified
version of this file under its original name.

\endpreamble

\generateFile{csfontskoi.drv}{t}{%
  \from{csfontskoi.fdd}{driver}}

\generateFile{csfontslatin2.drv}{t}{%
  \from{csfontslatin2.fdd}{driver}}


\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 All *.fd}
\Msg{*}
\Msg{* Files generated by this run may supersede files from the}
\Msg{* distribution.}
\Msg{*}
\Msg{* To produce the documentation run the files ending with}
\Msg{* `.drv' through LaTeX.}
\Msg{*}
\Msg{* Happy TeXing}
\Msg{***********************************************************}
}

\endinput

