% ^^A -*-LaTeX-*-
% \title{\CS\LaTeX}
% \author{Jaroslav \v Snajdr \and Zden\v ek Wagner \and
%   Ji\v r\'\i\ Zlatu\v ska \and The \LaTeX 3 Project}
% \maketitle
% \iffalse
%    \begin{macrocode}
%<*driver>
\documentclass{ltxdoc}
\usepackage{a4wide}
\newcommand\CS{$\cal C\kern-.1667em\lower.5ex\hbox{$\cal S$}\kern-.075em$}
\begin{document}
\DocInput{cslatex.dtx}
\end{document}
%</driver>
%    \end{macrocode}
% \fi
%
% \section{Hyphenation---file \texttt{hyphen.cfg}}
% 
%    \begin{macrocode}
%<*hyphen>
\ProvidesFile{hyphen.cfg}[1997/01/30 CsLaTeX]
%    \end{macrocode}
%
% \begin{macro}{\@@T1Codes}
% All characters in hyphenation patterns must be letters, i.e. their
% |\catcode| must be 11. There must be also correct uc/lc codes
% set. First for the T1 encoding.
%    \begin{macrocode}
\expandafter\def\csname @@T1Codes\endcsname{%
  \def\@tempa##1##2{%
    \@tempcnta##1\relax \@tempcntb##2\relax \@tempb
  }%
  \def\@tempb{%
     \ifnum\@tempcnta>\@tempcntb\else
        \@tempc\@tempcnta
        \advance\@tempcnta\@ne
        \expandafter\@tempb
     \fi
  }%
  \def\@tempc##1{\catcode##1=11}%
  \ifnum\inputlineno=\m@ne\else
    \@tempa{"A0}{"BC}
    \@tempa{"E0}{"FF}
    \@tempa{"80}{"9C}
    \@tempa{"C0}{"DF}
  \fi
  \def\@tempc##1{%
     \count@=##1\advance\count@ by -"20
     \uccode##1=\count@
     \lccode##1=##1
  }%
  \@tempa{`\a}{`\z}
  \ifnum\inputlineno=\m@ne\else
    \@tempa{"A0}{"BC}
    \@tempa{"E0}{"FF}
  \fi
  \def\@tempc##1{%
     \count@=##1\advance\count@ by "20
     \uccode##1=##1
     \lccode##1=\count@
     \sfcode##1=999
  }%
  \@tempa{`\A}{`\Z}
  \ifnum\inputlineno=\m@ne\else
    \@tempa{"80}{"9C}
    \@tempa{"C0}{"DF}
  \fi
  \uccode`\^^Y=`\I     % dotless i
  \lccode`\^^Y=`\^^Y   % dotless i
  \uccode`\^^Z=`\J     % dotless j, ae in OT1
  \lccode`\^^Z=`\^^Z   % dotless j, ae in OT1
  \ifnum\inputlineno=\m@ne\else
    \lccode`\^^9d=`\i    % dotted I
    \uccode`\^^9d=`\^^9d % dotted I
    \lccode`\^^9e=`\^^9e % d-bar
    \uccode`\^^9e=`\^^d0 % d-bar
  \fi
  \let\@tempa=\@undefined
  \let\@tempb=\@undefined
  \let\@tempc=\@undefined
}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\@@IL2Codes} 
% The same for IL2 (ISO-8859-2).
%    \begin{macrocode}
\expandafter\def\csname @@IL2Codes\endcsname{%
\catcode225=11 \lccode225=225 \uccode225=193
\catcode193=11 \lccode193=225 \uccode193=193
\catcode228=11 \lccode228=228 \uccode228=196
\catcode196=11 \lccode196=228 \uccode196=196
\catcode232=11 \lccode232=232 \uccode232=200
\catcode200=11 \lccode200=232 \uccode200=200
\catcode239=11 \lccode239=239 \uccode239=207
\catcode207=11 \lccode207=239 \uccode207=207
\catcode233=11 \lccode233=233 \uccode233=201
\catcode201=11 \lccode201=233 \uccode201=201
\catcode236=11 \lccode236=236 \uccode236=204
\catcode204=11 \lccode204=236 \uccode204=204
\catcode237=11 \lccode237=237 \uccode237=205
\catcode205=11 \lccode205=237 \uccode205=205
\catcode229=11 \lccode229=229 \uccode229=197
\catcode197=11 \lccode197=229 \uccode197=197
\catcode181=11 \lccode181=181 \uccode181=165
\catcode165=11 \lccode165=181 \uccode165=165
\catcode242=11 \lccode242=242 \uccode242=210
\catcode210=11 \lccode210=242 \uccode210=210
\catcode243=11 \lccode243=243 \uccode243=211
\catcode211=11 \lccode211=243 \uccode211=211
\catcode244=11 \lccode244=244 \uccode244=212
\catcode212=11 \lccode212=244 \uccode212=212
\catcode246=11 \lccode246=246 \uccode246=214
\catcode214=11 \lccode214=246 \uccode214=214
\catcode224=11 \lccode224=224 \uccode224=192
\catcode192=11 \lccode192=224 \uccode192=192
\catcode248=11 \lccode248=248 \uccode248=216
\catcode216=11 \lccode216=248 \uccode216=216
\catcode185=11 \lccode185=185 \uccode185=169
\catcode169=11 \lccode169=185 \uccode169=169
\catcode187=11 \lccode187=187 \uccode187=171
\catcode171=11 \lccode171=187 \uccode171=171
\catcode250=11 \lccode250=250 \uccode250=218
\catcode218=11 \lccode218=250 \uccode218=218
\catcode249=11 \lccode249=249 \uccode249=217
\catcode217=11 \lccode217=249 \uccode217=217
\catcode252=11 \lccode252=252 \uccode252=220
\catcode220=11 \lccode220=252 \uccode220=220
\catcode253=11 \lccode253=253 \uccode253=221
\catcode221=11 \lccode221=253 \uccode221=221
\catcode190=11 \lccode190=190 \uccode190=174
\catcode174=11 \lccode174=190 \uccode174=174
}
%    \end{macrocode}
% \end{macro}
% Macros for hyphenation switching when encoding or language is changed.
%
% Token registers |\@@front@@| and |\@@end@@| contain commands, that
% will be later the contents of |\@hyphenation| macro (see its
% definition).
%    \begin{macrocode}
\newtoks\@@front@@
\newtoks\@@end@@
\bgroup
\count0=0
%    \end{macrocode}
% \begin{macro}{\DeclareLanguage}
% Command |\DeclareLanuage| loads hyphenation patterns for respective
% languages and encodings. First control sequences that redefine
% |\lang| to |\lang encoding| are appended to |\@@front@@|
% register. By command |\setup@hyphenation| are loaded patterns for
% all encoding noted in optional parameter of |\DeclareLanguage|.
%    \begin{macrocode}
\newcommand{\DeclareLanguage}[4][\undefined]{%
  \def\c@ding{#1}\def\und@fin@d{\undefined}%
  \ifx\c@ding\und@fin@d
    \setup@hyphenation{#3}{\expandafter\@gobble\string#2}{#4}%
  \else
    \global\@@front@@=\expandafter{\the\@@front@@
      \global\expandafter\expandafter\expandafter\def\expandafter
      \expandafter\expandafter#2\expandafter\expandafter\expandafter
      {\csname\expandafter\@gobble\string#2 \f@encoding\endcsname}}%
    \def\one@arg##1,##2\end{%
      \def\c@ding{##1}
      \ifx\c@ding\und@fin@d\else
        \setup@hyphenation[##1]{#3}{\expandafter\@gobble\string#2}{#4}%
        \one@arg##2\end
      \fi
    }
    \one@arg#1,\undefined,\end
  \fi
}
%    \end{macrocode}
% \end{macro}
% \begin{macro}{\setup@hyphenation}
% This command updates the encoding (by command |\end@update|), which
% causes control sequences like |\'a| to expand to right
% characters. After setting cat/uc/lc codes hyphenation patterns are
% loaded. Last we add commands to |\@@end@@| for switching the
% |\language| register to right value when encoding is changed.
%    \begin{macrocode}
\newcommand{\setup@hyphenation}[4][\undefined]{%
  \def\c@ding{#1}\def\und@fin@d{\undefined}%
  \ifx\c@ding\und@fin@d
    \def\c@ding{}
  \else
     \fontencoding{#1}\enc@update
     \csname @@\c@ding Codes\endcsname 
  \fi
  \enc@update
  \InputIfFileExists{#2}%
  {\message{^^JLoading #3 hyphenation patterns and exceptions}%
    \global\expandafter\expandafter\expandafter
      \def\expandafter\expandafter
      \csname#3 \c@ding\endcsname\expandafter
      {\expandafter\language\expandafter=\the\count0
      #4\relax}%
    \if\c@ding\relax\relax
        \expandafter\global\expandafter
                       \let\csname#3\expandafter\endcsname\csname#3 \endcsname
        \else\message{for #1}%
        \global\expandafter\edef\csname#3 @\c@ding\endcsname
                {\noexpand\language=\the\count0\noexpand\relax}%
    \fi
    \language=\count0}%
   {\errhelp{The configuration for hyphenation is incorrectly
             installed.^^J%
             If you don't understand this error message you need
             to seek^^Jexpert advice.}%
   \errmessage{OOPS!! Hyphenation patterns file #2 for #3 not found!}}%
\if\c@ding\relax\relax\else
 \global\@@end@@=
   \expandafter\expandafter\expandafter
         {\expandafter
         \the\expandafter\@@end@@\expandafter
         \ifnum\expandafter\language\expandafter=\the\count0\relax
             \csname#3 @\f@encoding\endcsname
         \fi}
\fi
\advance\count0 by 1\relax
}%
%    \end{macrocode}
% \end{macro}
% Here we define languages and encodings that are loaded into the
% format. By default we load english, czech and slovak patterns in the
% IL2 encoding.
%    \begin{macrocode}
%<hyphen>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%<hyphen>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareLanguage{\english}{hyphen.tex}{\lefthyphenmin=2
                                       \righthyphenmin=3
                                       \@splitrequestedfalse}%
\DeclareLanguage[IL2]{\czech}{czhyphen.tex}{\lefthyphenmin=2
                                            \righthyphenmin=3
                                            \@requesthyphens}%
\DeclareLanguage[IL2]{\slovak}{skhyphen.tex}{\lefthyphenmin=2
                                            \righthyphenmin=3
                                            \@requesthyphens}%
%<hyphen>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%<hyphen>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\egroup
%    \end{macrocode}
% \begin{macro}{\@hyphenation}
% |\@hyphenation| macro is defined as contents of registers
% |\@@front@@| and |\@@end@@|. This macro is executed at every change
% of encoding.
%    \begin{macrocode}
\@@front@@=\expandafter\expandafter\expandafter%
       {\expandafter\the\expandafter\@@front@@\the\@@end@@}%
\expandafter
            \def\expandafter
                \@hyphenation\expandafter{%
                      \the\@@front@@}%
\@@front@@={}\@@end@@={}
\def\nolanguage{\lefthyphenmin=99\righthyphenmin=99\language=255
                \@splitrequestedfalse\relax}
\newif\if@splithyphens
\newif\if@splitrequested
%    \end{macrocode}
% \end{macro}
% Macros for splitting hyphens
%    \begin{macrocode}
\def\minus{-}%
\bgroup\catcode`-\active\expandafter\egroup
\expandafter\def\noexpand-{%
\ifx\protect\relax
  \ifhmode
    \ifinner
    \expandafter\expandafter\expandafter\expandafter
    \expandafter\expandafter\expandafter-%
    \else
    \expandafter\expandafter\expandafter\expandafter
    \expandafter\expandafter\expandafter\firstd@sh
    \fi
  \else%
    \expandafter\expandafter\expandafter-%
  \fi
\else
  \expandafter\string\expandafter\string-%
\fi}%
\def\@nehyph@n{-}
\def\splithyph@n{\ifnum\expandafter\hyphenchar\the\font>-1
    \discretionary{\char`-}{\char\hyphenchar\the\font}{\char`-}\else
    \discretionary{\char`-}{\char`-}{\char`-}\fi}
\def\b@xhyph@n{\hbox{-}}
\def\tw@hyph@ns{--}
\def\thr@@hyph@ns{---}
\catcode `\- = \active
\def \firstd@sh    {\ifnextch@r -\then \sec@ndd@sh \else
                     \ifnum\expandafter\hyphenchar\the\font=`-
                      \ifnum\righthyphenmin>2
                       \if l\nextchar\b@xhyph@n  %   make sure we
                       \else                     % don't chop off `-li'
                        \splithyph@n
                       \fi
                      \else
                        \splithyph@n
                      \fi
                     \else
                        \@nehyph@n
                     \fi
                    \fii}
\def \sec@ndd@sh #1{\ifnextch@r -\then \thirdd@sh  \else \tw@hyph@ns\fii}
\def \thirdd@sh  #1{\ifnextch@r -\then \m@nyd@sh  \else
                                                   \thr@@hyph@ns\fii}
\def \m@nyd@sh   #1{\thr@@hyph@ns\firstd@sh}
\def \ifnextch@r #1\then #2\else #3\fii
    {\def \c@mp@rech@rs
         {\ifx #1\nextchar
                 \def \next {#2}%
          \else
                 \def \next {#3}%
          \fi
          \next
         }%
     \futurelet \nextchar \c@mp@rech@rs
    }
\catcode`-=12
\def\standardhyphens{\catcode`-=12 \@splithyphensfalse}%
\def\splithyphens{\if@splitrequested\catcode`-\active\fi
                  \@splithyphenstrue}%
\def\@requesthyphens{\if@splithyphens\catcode`-=\active\fi
                     \@splitrequestedtrue}
\let\@looseness\looseness
\def\looseness{%
        \if@splithyphens
                \standardhyphens
                \afterassignment\splithyphens
        \fi
                \@looseness
}
\expandafter\fontencoding\expandafter U\expandafter
            \fontencoding\expandafter{\f@encoding}\enc@update
\@hyphenation
\english
%</hyphen>
%    \end{macrocode}
%
% \section{Fonts---file \texttt{fonttext.cfg}}
%
% This is copy of original |fonttext.ltx| with definitions for IL2
% added.
%    \begin{macrocode}
%<*fonttext>
\ProvidesFile{fonttext.ltx}[1997/01/30 CsLaTeX]
\let\@hyphenation=\relax
%    \end{macrocode}
% Macro |\DeclareFontEncoding@| is changed to execute |\@hyphenation|
% at every encoding change. This can be also achieved by changing file
% |xxxenc.def|, but standard encoding definition file can't be changed
% because of \LaTeX\ copyright.
%    \begin{macrocode}
\def\DeclareFontEncoding@#1#2#3{%
  \expandafter
  \ifx\csname T@#1\endcsname\relax
     \def\cdp@elt{\noexpand\cdp@elt}%
     \xdef\cdp@list{\cdp@list\cdp@elt{#1}%
                    {\default@family}{\default@series}%
                    {\default@shape}}%
     \expandafter\let\csname#1-cmd\endcsname\@changed@cmd
  \else
     \@font@info{Redeclaring font encoding #1}%
  \fi
  \global\@namedef{T@#1}{#2\@hyphenation}%
  \global\@namedef{M@#1}{\default@M#3}%
}
\input {omlenc.def}
\input  {t1enc.def}
\input {ot1enc.def}       % <- should come after T1 for speed
%    \end{macrocode}
% Definition of IL2 encoding.
%    \begin{macrocode}
\input {il2enc.def}
\input {omsenc.def}
\fontencoding{OT1}
\DeclareFontEncodingDefaults{}{}
\DeclareFontSubstitution{T1}{cmr}{m}{n}
\DeclareFontSubstitution{OT1}{cmr}{m}{n}
\begingroup
\nfss@catcodes
\input  {t1cmr.fd}
\input  {ot1cmr.fd}
%    \end{macrocode}
% IL2 once again.
%    \begin{macrocode}
\input  {il2cmr.fd}
\endgroup
\begingroup
\nfss@catcodes
\input {ot1cmss.fd}
\input {ot1cmtt.fd}
\endgroup
\DeclareErrorFont{OT1}{cmr}{m}{n}{10}
\newcommand\rmdefault{cmr}
\newcommand\sfdefault{cmss}
\newcommand\ttdefault{cmtt}
\newcommand\bfdefault{bx}
\newcommand\mddefault{m}
\newcommand\itdefault{it}
\newcommand\sldefault{sl}
\newcommand\scdefault{sc}
\newcommand\updefault{n}
\newcommand\encodingdefault{OT1}
\newcommand\familydefault{\rmdefault}
\newcommand\seriesdefault{\mddefault}
\newcommand\shapedefault{\updefault}
%</fonttext>
%    \end{macrocode}
%
% \section{Definition of the IL2 encoding---file \texttt{il2enc.def}}
%
% \begin{macrocode}
%<*il2enc>
\ProvidesFile{il2enc.def}[1997/04/21 CSLaTeX]
\DeclareFontEncoding{IL2}{\uccode152=152 \lccode152=184
                          \uccode184=152 \lccode184=184
                          \uccode165=165 \lccode165=181
                          \uccode181=165 \lccode181=181
                          \uccode169=169 \lccode169=185
                          \uccode185=169 \lccode185=185
                          \uccode171=171 \lccode171=187
                          \uccode187=171 \lccode187=187
                          \uccode174=174 \lccode174=190
                          \uccode190=174 \lccode190=190}{}
\DeclareTextAccent{\"}{IL2}{127}
\DeclareTextAccent{\'}{IL2}{19}
\DeclareTextAccent{\.}{IL2}{95}
\DeclareTextAccent{\=}{IL2}{22}
\DeclareTextAccent{\^}{IL2}{94}
\DeclareTextAccent{\`}{IL2}{18}
\DeclareTextAccent{\~}{IL2}{126}
\DeclareTextAccent{\H}{IL2}{125}
\DeclareTextAccent{\u}{IL2}{21}
\DeclareTextAccent{\v}{IL2}{20}
\DeclareTextAccent{\r}{IL2}{23}
\DeclareTextCommand{\b}{IL2}[1]
   {\oalign{\null#1\crcr\hidewidth\sh@ft{29}%
    \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}
\DeclareTextCommand{\c}{IL2}[1]
   {\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent24 #1%
    \else{\ooalign{\unhbox\z@\crcr\hidewidth\char24\hidewidth}}\fi}
\DeclareTextCommand{\d}{IL2}[1]
   {\oalign{\null#1\crcr\hidewidth\sh@ft{08}.\hidewidth}}
\DeclareTextSymbol{\AE}{IL2}{29}
\DeclareTextSymbol{\OE}{IL2}{30}
\DeclareTextSymbol{\O}{IL2}{31}
\DeclareTextSymbol{\ae}{IL2}{26}
\DeclareTextSymbol{\i}{IL2}{16}
\DeclareTextSymbol{\j}{IL2}{17}
\DeclareTextSymbol{\oe}{IL2}{27}
\DeclareTextSymbol{\o}{IL2}{28}
\DeclareTextSymbol{\ss}{IL2}{25}
\DeclareTextSymbol{\textemdash}{IL2}{124}
\DeclareTextSymbol{\textendash}{IL2}{123}
\DeclareTextSymbol{\textexclamdown}{IL2}{60}
\DeclareTextSymbol{\textquestiondown}{IL2}{62}
\DeclareTextSymbol{\textquotedblleft}{IL2}{92}
\DeclareTextSymbol{\textquotedblright}{IL2}{`\"}
\DeclareTextSymbol{\textquoteleft}{IL2}{`\`}
\DeclareTextSymbol{\textquoteright}{IL2}{`\'}
\DeclareTextCommand{\L}{IL2}
   {\leavevmode\setbox0\hbox{L}\hbox to\wd0{\hss\char32L}}
\DeclareTextCommand{\l}{IL2}{{\char32l}}
\DeclareTextCompositeCommand{\r}{IL2}{A}
   {\leavevmode\setbox0\hbox{h}\dimen@\ht0\advance\dimen@-1ex%
    \rlap{\raise.67\dimen@\hbox{\char'27}}A}
\DeclareTextCommand{\SS}{IL2}{SS}
\DeclareTextCommand{\textdollar}{IL2}{{%
    \ifdim \fontdimen\@ne\font >\z@
      \slshape
    \else
      \upshape
    \fi
    \char`\$}}
\DeclareTextCommand{\textsterling}{IL2}{{%
    \ifdim \fontdimen\@ne\font >\z@
      \itshape
    \else
      \fontshape{ui}\selectfont
    \fi
    \char`\$}}
\DeclareTextComposite{\'}{IL2}{l}{'345}%
\DeclareTextComposite{\'}{IL2}{r}{'340}%
\DeclareTextComposite{\'}{IL2}{a}{'341}%
\DeclareTextComposite{\'}{IL2}{e}{'351}%
\DeclareTextComposite{\'}{IL2}{\i}{'355}%
\DeclareTextComposite{\'}{IL2}{i}{'355}%
\DeclareTextComposite{\'}{IL2}{o}{'363}%
\DeclareTextComposite{\'}{IL2}{u}{'372}%
\DeclareTextComposite{\'}{IL2}{y}{'375}%
\DeclareTextComposite{\'}{IL2}{L}{'305}%
\DeclareTextComposite{\'}{IL2}{R}{'300}%
\DeclareTextComposite{\'}{IL2}{A}{'301}%
\DeclareTextComposite{\'}{IL2}{E}{'311}%
\DeclareTextComposite{\'}{IL2}{I}{'315}%
\DeclareTextComposite{\'}{IL2}{O}{'323}%
\DeclareTextComposite{\'}{IL2}{U}{'332}%
\DeclareTextComposite{\'}{IL2}{Y}{'335}%
\DeclareTextComposite{\`}{IL2}{a}{'270}%
\DeclareTextComposite{\`}{IL2}{A}{'230}%
\DeclareTextComposite{\v}{IL2}{c}{'350}%
\DeclareTextComposite{\v}{IL2}{d}{'357}%
\DeclareTextComposite{\v}{IL2}{e}{'354}%
\DeclareTextComposite{\v}{IL2}{n}{'362}%
\DeclareTextComposite{\v}{IL2}{r}{'370}%
\DeclareTextComposite{\v}{IL2}{s}{'271}%
\DeclareTextComposite{\v}{IL2}{z}{'276}%
\DeclareTextComposite{\v}{IL2}{t}{'273}%
\DeclareTextComposite{\v}{IL2}{l}{'265}%
\DeclareTextComposite{\v}{IL2}{u}{'371}%
\DeclareTextComposite{\v}{IL2}{C}{'310}%
\DeclareTextComposite{\v}{IL2}{D}{'317}%
\DeclareTextComposite{\v}{IL2}{E}{'314}%
\DeclareTextComposite{\v}{IL2}{N}{'322}%
\DeclareTextComposite{\v}{IL2}{R}{'330}%
\DeclareTextComposite{\v}{IL2}{S}{'251}%
\DeclareTextComposite{\v}{IL2}{T}{'253}%
\DeclareTextComposite{\v}{IL2}{Z}{'256}%
\DeclareTextComposite{\v}{IL2}{L}{'245}%
\DeclareTextComposite{\v}{IL2}{U}{'331}%
\DeclareTextComposite{\^}{IL2}{o}{'364}%
\DeclareTextComposite{\^}{IL2}{O}{'324}%
\DeclareTextComposite{\"}{IL2}{a}{'344}%
\DeclareTextComposite{\"}{IL2}{o}{'366}%
\DeclareTextComposite{\"}{IL2}{u}{'374}%
\DeclareTextComposite{\"}{IL2}{A}{'304}%
\DeclareTextComposite{\"}{IL2}{O}{'326}%
\DeclareTextComposite{\"}{IL2}{U}{'334}%
\DeclareTextComposite{\r}{IL2}{u}{'371}%
\DeclareTextComposite{\r}{IL2}{U}{'331}%
\DeclareTextSymbol{\clqq}{IL2}{254}%
\DeclareTextCommand{\crqq}{IL2}%
      {{\edef\@SF{\spacefactor\the\spacefactor}\char255 \@SF\relax}}%
%</il2enc>
%    \end{macrocode}
%
% \section{\texttt{.fd} files for \CS-fonts}
%
% Created by changing \texttt{.fd} files \texttt{ot1*.fd}
%
%    \begin{macrocode}
%<*il2cmr>
\ProvidesFile{il2cmr.fd}[1997/02/06 CsLaTeX font definitions]
\DeclareFontFamily{IL2}{cmr}{\hyphenchar\font45 }
\DeclareFontShape{IL2}{cmr}{m}{n}
   {  <5> <6> <7> <8> <9> <10> <12> gen * csr
      <10.95> csr10
      <14.4>  csr12
      <17.28><20.74><24.88>csr17}{}
\DeclareFontShape{IL2}{cmr}{m}{sl}
    {
      <5><6><7>cssl8%
      <8> <9> gen * cssl
      <10><10.95>cssl10%
      <12><14.4><17.28><20.74><24.88>cssl12%
      }{}
\DeclareFontShape{IL2}{cmr}{m}{it}
    {
      <5><6><7>csti7%
      <8>csti8%
      <9>csti9%
      <10><10.95>csti10%
      <12><14.4><17.28><20.74><24.88>csti12%
      }{}
\DeclareFontShape{IL2}{cmr}{m}{sc}
    {
      <5><6><7><8><9><10><10.95><12>
      <14.4><17.28><20.74><24.88> cscsc10
      }{}
\DeclareFontShape{IL2}{cmr}{m}{ui}
   {
      <5><6><7><8><9><10><10.95><12>%
      <14.4><17.28><20.74><24.88>csu10%
      }{}
\DeclareFontShape{IL2}{cmr}{b}{n}
     {
      <5><6><7><8><9><10><10.95><12>
      <14.4><17.28><20.74><24.88> csb10
      }{}
\DeclareFontShape{IL2}{cmr}{bx}{n}
   {
      <5> <6> <7> <8> <9> gen * csbx
      <10><10.95> csbx10
      <12><14.4><17.28><20.74><24.88>csbx12
      }{}
\DeclareFontShape{IL2}{cmr}{bx}{sl}
      {
      <5> <6> <7> <8> <9>
      <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> csbxsl10
      }{}
\DeclareFontShape{IL2}{cmr}{bx}{it}
      {
      <5> <6>  <7>  <8> <9>
      <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> csbxti10
      }{}
\DeclareFontShape{IL2}{cmr}{bx}{ui}
      {<->ssub * cmr/m/ui}{}
%</il2cmr>
%<*il2cmdh>
\ProvidesFile{il2cmdh.fd}[1997/02/06 CsLaTeX font definitions]
\DeclareFontFamily{IL2}{cmdh}{\hyphenchar\font45 }
\DeclareFontShape{IL2}{cmdh}{m}{n}{
      <10> csdunh10
    }{}
%</il2cmdh>
%<*il2cmfib>
\ProvidesFile{il2cmfib.fd}[1997/02/13 CsLaTeX font definitions]
\DeclareFontFamily{IL2}{cmfib}{\hyphenchar\font45 }
\DeclareFontShape{IL2}{cmfib}{m}{n}{
      <8> csfib8
    }{}
%</il2cmfib>
%<*il2cmfr>
\ProvidesFile{il2cmfr.fd}[1997/02/13 CsLaTeX font definitions]
\DeclareFontFamily{IL2}{cmfr}{\hyphenchar\font45 }
\DeclareFontShape{IL2}{cmfr}{m}{n}{%
      <10> csff10
    }{}
\DeclareFontShape{IL2}{cmfr}{m}{it}{%
      <10> csfi10
    }{}
%</il2cmfr>
%<*il2cmss>
\ProvidesFile{il2cmss.fd}[1997/02/13 CsLaTeX font definitions]
\DeclareFontFamily{IL2}{cmss}{\hyphenchar\font45 }
\DeclareFontShape{IL2}{cmss}{m}{n}
     {
      <5><6><7><8>csss8
      <9>csss9
      <10><10.95>csss10
      <12><14.4>csss12
      <17.28><20.74><24.88>csss17
      }{}
\DeclareFontShape{IL2}{cmss}{m}{it}
      {<->sub*cmss/m/sl}{}
\DeclareFontShape{IL2}{cmss}{m}{sl}
    {
      <5><6><7><8>csssi8 <9> csssi9
      <10><10.95>csssi10
      <12><14.4>csssi12
      <17.28><20.74><24.88>csssi17
      }{}
\DeclareFontShape{IL2}{cmss}{m}{sc}
       {<->sub*cmr/m/sc}{}
\DeclareFontShape{IL2}{cmss}{m}{ui}
       {<->sub*cmr/m/ui}{}
\DeclareFontShape{IL2}{cmss}{sbc}{n}
     {
      <5> <6> <7> <8> <9> csssdc10
       <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>csssdc10
       }{}
\DeclareFontShape{IL2}{cmss}{bx}{n}
     {
      <5> <6> <7> <8> <9> csssbx10
      <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> csssbx10
      }{}
\DeclareFontShape{IL2}{cmss}{bx}{ui}
       {<->sub*cmr/bx/ui}{}
%</il2cmss>
%<*il2cmtt>
\ProvidesFile{il2cmtt.fd}[1997/02/13 CsLaTeX font definitions]
\DeclareFontFamily{IL2}{cmtt}{\hyphenchar \font\m@ne}
\DeclareFontShape{IL2}{cmtt}{m}{n}
     {
      <5><6><7><8>cstt8 <9> cstt9
      <10><10.95>cstt10
      <12><14.4><17.28><20.74><24.88>cstt12
      }{}
\DeclareFontShape{IL2}{cmtt}{m}{it}
     {
      <5> <6> <7> <8> <9>
      <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> csitt10
      }{}
\DeclareFontShape{IL2}{cmtt}{m}{sl}
     {
      <5> <6> <7> <8> <9>
      <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> cssltt10
      }{}
\DeclareFontShape{IL2}{cmtt}{m}{sc}
     {
      <5> <6> <7> <8> <9>
      <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> cstcsc10
      }{}
\DeclareFontShape{IL2}{cmtt}{m}{ui}
  {<->ssub * cmtt/m/it}{}
\DeclareFontShape{IL2}{cmtt}{bx}{n}
  {<->ssub * cmtt/m/n}{}
\DeclareFontShape{IL2}{cmtt}{bx}{it}
  {<->ssub * cmtt/m/it}{}
\DeclareFontShape{IL2}{cmtt}{bx}{ui}
  {<->ssub * cmtt/m/it}{}
%</il2cmtt>
%<*il2cmvtt>
\ProvidesFile{il2cmvtt.fd}[1997/02/13 CsLaTeX font definitions]
\DeclareFontFamily{IL2}{cmvtt}{\hyphenchar\font45 }
\DeclareFontShape{IL2}{cmvtt}{m}{n}
     {
      <5><6><7><8><9><10><10.95>
      <12><14.4><17.28><20.74><24.88>csvtt10
      }{}
\DeclareFontShape{IL2}{cmvtt}{m}{it}
     {
      <5><6><7><8><9><10><10.95>
      <12><14.4><17.28><20.74><24.88>csvtti10
      }{}
%</il2cmvtt>
%<*il2lcmss>
\ProvidesFile{il2lcmss.fd}[1997/02/13 v2.2a CsLaTeX slide font definitions]
 \DeclareFontFamily{IL2}{lcmss}{\hyphenchar\font45 }
 \DeclareFontShape{IL2}{lcmss}{m}{n}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>
 lcsss8
       }{}
 \DeclareFontShape{IL2}{lcmss}{m}{In}{%
  <7><8><10><12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>
 ilcsss8
       }{}
 \DeclareFontShape{IL2}{lcmss}{m}{sl}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>
 lcsssi8
      }{}
 \DeclareFontShape{IL2}{lcmss}{m}{Isl}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>
 ilcsssi8
      }{}
 \DeclareFontShape{IL2}{lcmss}{m}{it}{%
      <-> sub * lcmss/m/sl }{}
 \DeclareFontShape{IL2}{lcmss}{m}{Iit}{%
      <-> sub * lcmss/m/Isl }{}
 \DeclareFontShape{IL2}{lcmss}{bx}{n}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>
 lcsssb8
      }{}
 \DeclareFontShape{IL2}{lcmss}{bx}{In}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>
 ilcsssb8
      }{}
\DeclareFontShape{IL2}{lcmss}{m}{ui}{%
      <-> sub * cmr/m/ui }{}
\DeclareFontShape{IL2}{lcmss}{bx}{ui}{%
      <-> sub * cmr/m/ui }{}
%</il2lcmss>
%<*il2lcmtt>
\ProvidesFile{il2lcmtt.fd}[1997/02/13 CsLaTeX slide font definitions]
 \DeclareFontFamily{IL2}{lcmtt}{\hyphenchar\font\m@ne}
 \DeclareFontShape{IL2}{lcmtt}{m}{n}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>
 cstt8
      }{}
 \DeclareFontShape{IL2}{lcmtt}{m}{In}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>
 icstt8
      }{}
 \DeclareFontShape{IL2}{lcmtt}{m}{it}{%
      <13.82><16.59><19.907><23.89><28.66><34.4><41.28>
 csitt10
      }{}
\DeclareFontShape{IL2}{lcmtt}{m}{ui}{%
      <-> sub * cmtt/m/it }{}
\DeclareFontShape{IL2}{lcmtt}{bx}{ui}{%
      <-> sub * cmtt/m/it }{}
%</il2lcmtt>
%    \end{macrocode}
%
% \section{Czech and slovak style files---\texttt{czech.sty} and
% \texttt{slovak.sty}}
%
%    \begin{macrocode}
%<czech>\ifx\dateczech\undefined\else\expandafter\endinput\fi
%<slovak>\ifx\dateslovak\undefined\else\expandafter\endinput\fi
%<*czech|slovak>
\newif\iflte
\ifx\documentclass\undefined\else\ltetrue\fi
\iflte
  \NeedsTeXFormat{LaTeX2e}
%</czech|slovak>
%<*czech>
  \ProvidesFile{czech.sty}[1997/04/19 v2.0 CSTeX czech style]
\else
  \message{Document Style Option `czech' ver. 2.0 <April 1997>.}
%</czech>
%<*slovak>
  \ProvidesFile{slovak.sty}[1997/04/19 v2.0 CSTeX slovak style]
\else
  \message{Document Style Option `slovak' ver. 2.0 <April 1997>.}
%</slovak>
%<*czech|slovak>
  \edef\origcatcodeat{\the\catcode`\@}\catcode`\@=11
  \let\providecommand=\def
  \let\protect=\relax
\fi
\iflte
  \DeclareOption{IL2}{\def\encodingdefault{IL2}\let\il@opt=\relax}
  \DeclareOption {T1}{\def\encodingdefault {T1}}
  \DeclareOption{OT1}{\def\encodingdefault{OT1}}
  \DeclareOption{nosplit}{\standardhyphens}
  \DeclareOption{split}{\splithyphens}
  \DeclareOption{nocaptions}{\let\cap@unchgd=\relax}
  \DeclareOption{cstex}{\let\quote@hding=\relax}
  \ExecuteOptions{IL2}
  \ProcessOptions
  \def\dms#1#2{\DeclareMathSymbol{#1}{\mathalpha}{letters}{#2}}
%    \end{macrocode}
% For IL2, encoding of mathematical fonts is changed to IL2
% (this encoding is equivalent with OT1 in slots 0--127). This allow
% using diacritical characters in some font families. Another
% consequence is that document does not use CM fonts where there are
% equivalents in \CS-fonts, so there is no need to have both bitmaps of
% CM-font and \CS-font.
%    \begin{macrocode}
  \ifx\il@opt\relax
    \let\cs@tmp=\@font@warning \let\@font@warning=\@gobble
    \SetSymbolFont{operators}{normal}{IL2}{cmr}{m}{n}
    \let\@font@warning=\cs@tmp \let\cs@tmp=\undefined
    \SetMathAlphabet\mathbf{normal}{IL2}{cmr}{bx}{n}
    \SetMathAlphabet\mathrm{normal}{IL2}{cmr}{m}{n}
    \SetMathAlphabet\mathsf{normal}{IL2}{cmss}{m}{n}
    \SetMathAlphabet\mathtt{normal}{IL2}{cmtt}{m}{n}
    \dms{^^e1}{"E1}\dms{^^c1}{"C1}\dms{^^e8}{"E8}\dms{^^c8}{"C8}
    \dms{^^ef}{"EF}\dms{^^cf}{"CF}\dms{^^e9}{"E9}\dms{^^c9}{"C9}
    \dms{^^ec}{"EC}\dms{^^cc}{"CC}\dms{^^ed}{"ED}\dms{^^cd}{"CD}
    \dms{^^b5}{"B5}\dms{^^a5}{"A5}\dms{^^f2}{"F2}\dms{^^d2}{"D2}
    \dms{^^f3}{"F3}\dms{^^d3}{"D3}\dms{^^f8}{"F8}\dms{^^d8}{"D8}
    \dms{^^b9}{"B9}\dms{^^a9}{"A9}\dms{^^bb}{"BB}\dms{^^ab}{"AB}
    \dms{^^fa}{"FA}\dms{^^da}{"DA}\dms{^^f9}{"F9}\dms{^^d9}{"D9}
    \dms{^^fd}{"FD}\dms{^^dd}{"DD}\dms{^^be}{"BE}\dms{^^ae}{"AE}
  \fi
\else
  \def\gobble#1{}
  \def\DeclareRobustCommand#1#2{\expandafter\def\csname
    @\expandafter\gobble\string#1\endcsname{#2}
    \edef#1{\noexpand\protect\expandafter\noexpand\csname
      @\expandafter\gobble\string#1\endcsname}}
  \ifx\ou\undefined \def\ou{\accent23u} \fi
  \def\cstieon{\def~{\ifmmode\else\penalty\@M\ \fi}}
  \def\cstieoff{\def~{\penalty\@M \ }}
  \def\temp#1#2#3:{#1#2}
  \edef\tempa{\string c\string s}
  \edef\tempb{\expandafter\temp\fontname\tenrm:}
  \ifx\tempa\tempb
    \chardef\clqq=254  \sfcode254=0
    \chardef\crqq=255  \sfcode255=0
    \chardef\flqq=158  \sfcode158=0
    \chardef\frqq=159  \sfcode159=0
    \def\ogonek #1{\setbox0\hbox{#1}\ifdim\ht0=1ex\accent157 #1%
       \else{\ooalign{\unhbox0\crcr\hss\char157}}\fi}
    \chardef\promile=141
    \def\DeclareTextCommandDefault#1#2{}
  \else
    \let\DeclareTextCommandDefault=\DeclareRobustCommand
  \fi
\fi
%</czech|slovak>
%    \end{macrocode}
% Czech captions
%    \begin{macrocode}
%<*czech>
\def\captionsczech{%
  \def\abstractname{Abstrakt}%
  \def\appendixname{P\v{r}\'{\i}loha}%
  \def\bibname{Literatura}%
  \def\ccname{Na v\v{e}dom\'{\i}:}
  \def\chaptername{Kapitola}%
  \def\contentsname{Obsah}%
  \def\enclname{P\v{r}\'{\i}loha}%
  \def\figurename{Obr\'azek}%
  \def\headpagename{Strana}%
  \def\headtoname{Komu}%
  \def\indexname{Rejst\v{r}\'{\i}k}%
  \def\listfigurename{Seznam obr\'azk\r{u}}%
  \def\listtablename{Seznam tabulek}%
  \def\partname{\v{C}\'ast}%
  \def\prefacename{P\v{r}edmluva}%
  \def\proofname{D\r{u}kaz}%
  \def\seename{viz}%
  \def\alsoseename{viz tak\'e}%
  \def\refname{Reference}%
  \def\tablename{Tabulka}}
%</czech>
%    \end{macrocode}
% Slovak captions
%    \begin{macrocode}
%<*slovak>
\def\captionsslovak{%
\def\prefacename{Predhovor}%
\def\refname{Literat\'ura}%
\def\appendixname{Dodatok}%
\def\listfigurename{Zoznam obr\'azkov}%
\def\listtablename {Zoznam tabuliek}%
\def\indexname{Register}%
\def\tablename{Tabu\v{l}ka}%
\def\partname{\v{C}as\v{t}}%
\def\enclname{Pr\'{\i}loha}%
\def\headtoname{Pre}%
\def\alsoname{vi\v{d} tie\v{z}}%
\def\abstractname{Abstrakt}%
\let\bibname\refname
\def\chaptername{Kapitola}%
\def\contentsname{Obsah}%
\def\figurename{Obr.}%
\def\ccname{cc.}%
\def\pagename{Str.}%
\def\seename{vi\v{d}}}
%</slovak>
%    \end{macrocode}
% English captions
%    \begin{macrocode}
%<*czech|slovak>
\providecommand\captionsenglish{%
  \def\prefacename{Preface}%
  \def\refname{References}%
  \def\abstractname{Abstract}%
  \def\bibname{Bibliography}%
  \def\chaptername{Chapter}%
  \def\appendixname{Appendix}%
  \def\contentsname{Contents}%
  \def\listfigurename{List of Figures}%
  \def\listtablename{List of Tables}%
  \def\indexname{Index}%
  \def\figurename{Figure}%
  \def\tablename{Table}%
  \def\partname{Part}%
  \def\enclname{encl}%
  \def\ccname{cc}%
  \def\headtoname{To}%
  \def\pagename{Page}%
  \def\headpagename{Page}%
  \def\prefacename{Preface}%
  \def\seename{see}%
  \def\alsoname{see also}}
%</czech|slovak>
%    \end{macrocode}
% Czech date
%    \begin{macrocode}
%<*czech>
\def\dateczech{%
  \def\today{\number\day. \ifcase\month\or ledna\or \'unora\or
    b\v{r}ezna\or dubna\or kv\v{e}tna\or \v{c}ervna\or \v{c}ervence\or
    srpna\or z\'a\v{r}\'\i\or \v{r}\'{\i}jna\or listopadu\or
    prosince\fi \space\number\year}}
%    \end{macrocode}
% Switching on the czech captions and date (if not requested else)
%    \begin{macrocode}
\iflte\ifx\cap@unchgd\undefined\captionsczech\dateczech\fi\fi
%</czech>
%    \end{macrocode}
% Slovak date
%    \begin{macrocode}
%<*slovak>
\def\dateslovak{\def\today{\number\day.~\ifcase\month\or
  janu\'ara\or febru\'ara\or marca\or apr\'{\i}la\or m\'aja\or j\'una\or
  j\'ula\or augusta\or septembra\or okt\'obra\or
  novembra\or decembra\fi
  \space\number\year}}
%    \end{macrocode}
% Switching on the slovak captions and date (if not requested else)
%    \begin{macrocode}
\iflte\ifx\cap@unchgd\undefined\captionsslovak\dateslovak\fi\fi
%</slovak>
%    \end{macrocode}
% English (19th April 1997) and US (April 19, 1997) date
%    \begin{macrocode}
%<*czech|slovak>
\providecommand\dateUSenglish{\def\today{\ifcase\month\or
    January\or February\or March\or April\or May\or June\or July\or
    August\or September\or October\or November\or December\fi
    \space\number\day, \number\year}}
\providecommand\dateenglish{\def\today{\ifcase\day\or 1st\or 2nd\or
    3rd\or 4th\or 5th\or 6th\or 7th\or 8th\or 9th\or 10th\or 11th\or
    12th\or 13th\or 14th\or 15th\or 16th\or 17th\or 18th\or 19th\or
    20th\or 21st\or 22nd\or 23rd\or 24th\or 25th\or 26th\or 27th\or
    28th\or 29th\or 30th\or 31st\fi ~\ifcase\month\or January\or
    February\or March\or April\or May\or June\or July\or August\or
    September\or October\or November\or December\fi \space
    \number\year}}
%    \end{macrocode}
% 7bin cs quotes (for OT1)
%    \begin{macrocode}
\DeclareTextCommandDefault\clqq{\ifhmode
  \edef\@SF{\spacefactor\the\spacefactor}\else\let\@SF\empty\fi\leavevmode
  \set@low@box{''}\box0
  \setbox1=\hbox{l\/}\dimen1=\wd1
  \setbox1=\hbox{l}\advance\dimen1 by -\wd1
  \ifdim\dimen1>0pt \kern.01em\else\kern-.04em\fi
  \nobreak\hskip0pt\@SF\relax}
\DeclareTextCommandDefault\crqq{\edef\@SF{\spacefactor\the\spacefactor}%
  \kern-.07em\hbox{``}\kern.07em\@SF\relax}
%    \end{macrocode}
% Lowers the box to ... of ...
%    \begin{macrocode}
\def\set@low@box#1{\setbox2=\hbox{,}\setbox0=\hbox{#1}%
  \dimen0=\ht0 \advance\dimen0 by -\ht2
  \setbox0=\hbox{\lower\dimen0 \box0}\ht0=\ht2\dp0=\dp2}
%    \end{macrocode}
% Single cs quotes
%    \begin{macrocode}
\DeclareRobustCommand\clq{\leavevmode\set@low@box{\char'047 }%
  \box0 \kern.04em\nobreak\hskip0pt\relax}
\DeclareRobustCommand\crq{{\edef\@SF{\spacefactor\the\spacefactor}%
  \nobreak\hskip0pt\char'140 \kern.17em\@SF\relax}}
%    \end{macrocode}
% Command for making quotes
%    \begin{macrocode}
\DeclareRobustCommand\uv{\bgroup\aftergroup\closequotes\leavevmode\clqq
  \let\next=}
\def\closequotes{\unskip\crqq\relax}
%    \end{macrocode}
% Active quotes (``'' -> ,,``)
%    \begin{macrocode}
{\catcode`\'=\active
\gdef\csprimeson{\catcode96=\active \catcode39=\active
  \def\pr@m@s{\ifx'\next\let\nxt\pr@@@s \else\ifx^\next\let\nxt\pr@@@t
    \else\let\nxt\egroup\fi\fi \nxt}}}
\def\csprimesoff{\catcode96=12 \catcode39=12
  \def\pr@m@s{\ifx'\next\let\nxt\pr@@@s \else\ifx^\next\let\nxt\pr@@@t
    \else\let\nxt\egroup\fi\fi \nxt}}
{\csprimeson
  \gdef'{\ifmmode\let\n@xt=\mathprim@\else\let\n@xt=\textprim@\fi\n@xt}%
%    \end{macrocode}
% We need to preserve function of macro for converting $f'''$ ->
% $f^{\prime\prime\prime}$ in math mode.
%    \begin{macrocode}
  \gdef\mathprim@{^\bgroup\prim@s}%
  \gdef\textprim@{\futurelet\nxt\rightprim@}%
  \gdef\rightprim@{\ifx'\nxt\let\next=\douvr@\else\let\next\crq\fi\next}%
  \gdef`{\futurelet\nxt\leftprim@}%
  \gdef\leftprim@{\ifx`\nxt\let\next=\douvl@\else\let\next=\clq\fi\next}}
\def\douvr@{\crqq\let\next= }%
\def\douvl@{\clqq\let\next= }%
%    \end{macrocode}
% Hyphenation and language switching
%    \begin{macrocode}
\iflte
%</czech|slovak>
%<czech>\AtBeginDocument{\czech}
%<slovak>\AtBeginDocument{\slovak}
%<*czech|slovak>
  \frenchspacing
  \DeclareTextSymbol{\clqq}{T1}{"12}
  \DeclareTextCommand{\crqq}{T1}{{\edef\@SF{\spacefactor
    \the\spacefactor}\char16\@SF\relax}}
\else
  \def\setthisl@nguage#1#2#3#4{%
  \ifx#2\undefined \immediate\write\sixt@@n{Warning: I do not speak #1,
     (the style is not inputted)}\else
     \ifx#4\undefined \immediate\write\sixt@@n{Warning: I do not speak #1,
        (the hyphenation patterns are not included)}\else
        #2#3#4\fi\fi}
  \def\selectlanguage#1{\language #1\relax
    \ifcase #1\relax           \dateUSenglish \captionsenglish \ehyph \or
    \setthisl@nguage{german}   \dategerman    \captionsgerman  \ghyph \or
    \setthisl@nguage{austrian} \dateaustrian  \captionsgerman  \ahyph \or
    \setthisl@nguage{french}   \datefrench    \captionsfrench  \fhyph \or
    \setthisl@nguage{english}  \dateenglish   \captionsenglish \ehyph \or
    \setthisl@nguage{czech}    \dateczech     \captionsczech   \chyph \or
    \setthisl@nguage{slovak}   \dateslovak    \captionsslovak  \shyph \fi}
  \def\originalTeX{\selectlanguage{\USenglish}\csname cmaccents\endcsname}
  \def\czechTeX{\selectlanguage{\czech}\csname csaccents\endcsname}
  \def\slovakTeX{\selectlanguage{\slovak}\csname csaccents\endcsname}
  \catcode`\@=\origcatcodeat
%<czech>\czechTeX
%<slovak>\slovakTeX
\fi
\endinput
%</czech|slovak>
%    \end{macrocode}
