\input csfonts  % re-defines primitive \font
\input plain    % format Plain
\restorefont    % original meaning of primitive \font
\input il2code  % extra codes for czech / slovak letters in ISO-8859-2 encoding
\input hyphen.lan  % czech / slovak hyphenation pattern (may be others too)
\input plaina4  % \hsize and \vsize for A4
\everyjob=\expandafter{\the\everyjob
   \message{The format: csplain <Feb. 2005>.}
   \message{The cs-fonts are preloaded and A4 size implicitly defined.}}
\ifx\enc\undefined \else \input enc-\enc.tex \fi % re-encoding using encTeX
\ifx\xprncode\undefined \else %% The encTeX is detected
   \count255=128               % All codes > 128 are printable: 
   \loop \xprncode\count255=1 \advance\count255 by 1
   \ifnum \count255<256 \repeat
% The document macros can't test the re-encoding state:
\let\enc=\undefined \let\setinputchr=\undefined
\let\xordcode=\undefined \let\xchrcode=\undefined \let\xprncode=\undefined
\fi

\ifx\pdfoutput\undefined \else % added in Feb. 2005
   \def\tmpa{\pdfcsplain}
   \expandafter\def\expandafter\tmpb\expandafter{\csname\jobname\endcsname}
   \ifx\tmpa\tmpb %% PDFTeX with PDF output
      \message {jobname=pdfcsplain, PDF output initialised.}
      \openin0=pdftexconfig.tex
      \ifeof0 \message{WARNING: pdftexconfig.tex does not exist. 
                       I set \string\pdfoutput=1 only.}%
      \else \closein0 \input pdftexconfig.tex
      \fi
      \pdfoutput=1
   \else
      \message {jobname=csplain with pdftex, DVI output initialised.}
      \pdfoutput=0
      \let\oripdfoutput=\pdfoutput \let\pdfoutput=\undefined
   \fi
   \let\tmpa=\undefined \let\tmpb=\undefined
\fi


\dump

Information about changes (since <Apr. 1995>)
=============================================

** 1 ** <Aug. 1996>
file extcode.tex renamed to il2code.tex (suggested by Jan Kasprzak)

** 2 ** <Sep. 1996>
* New metrics of cs-fonts loaded (T\v reba has no kern between T\v r).
* File il2code.tex:
  - \icrqq, \protect: removed
  - \def\crqq{\protect\irrqq} -> \chardef\crqq=255 \sfcode255=0
  - The definition \def\foo{\char<number> } -> \chardef\foo=<number> 
    for following \foos: \clqq, \flqq, \frqq.
  - New definition of \ogonek (the \ogonek A is improoved).
  - \defaulthyphenchar=\extrahyphenchar added to \extrahyphens macro.
  - The \uv definition added.

** 3 ** <Oct. 1998>
* The input re-encoding possibility using encTeX primitives added.
* Files enc-k.tex, enc-w.tex and enc-p.tex added.
* You can use (for example):   tex -enc -ini \let\enc=k \input csplain.ini
  to activate the encTeX reencoding

** 4 ** <Feb. 2000>
* The Czech/Slovak patterns are loaded in T1 encoding too: hyphen.lan  
  was modified, \toneczech, \toneslovak, \iltwoczech, \iltwoslovak
  \chardef's was introduced. The default encoding was keep ISO-8859-2.
* You can use (for example):  tex -ini \let\Cork=\relax \input csplain.ini
  to suppress the loading hyphen patterns in T1 encoding.
* You can use (for example):  %&csplain -translate-file=il2-t1
                              \input t1code \chyph
                              \font\f=ptmr8t \f
                              Here is czech text processed in T1 encoded
                              font ptmr8t and hyphenated by right
                              pattern table. \end

** 5 ** <Feb. 2005>
* The possibility of csplain initialisation by pdfTeX added
  (see \ifx\pdfoutput\undefined \else ... \fi).
* The file pdftexconfig.tex during pdfcsplain initialisation is read
  (see \ifx\pdfoutput\undefined \else ... \fi).
* The file t1code.tex corrected (bug in \uccodes removed).
  

COPYRIGHT
=========

This macro package (csplain.ini, il2code.tex, csfonts.tex, hyphen.lan,
plaina4.tex) is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version with the following appendix:

You can do any changes in this software for your own usage. However,
you cannot distribute the changed software under the same name
"csplain".  Only the current administrator of CSTeX can do official
changes to csplain.

This macro package 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.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA




