summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/ptexgeneric/hyphen/czhyph.tex
blob: b6745addb1dfd038fb3da4b2d7c000839e5d3952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
%% czhyph.tex, Petr Olsak, Oct 2002
%  the main goal of this file is to \input czhyphen.tex (from CSTeX).
%  Suppose that the czhyph.tex file is used only by babelised formats
%  (babelised plain and babelised LaTeX).
%  WARNING: Don't use the czhyph.tex file from csplain or cslatex
%  (these formats use the czhyphen.tex file from CSTeX directly).

\ifx\addlanguage\undefined
  \errmessage{This file can be used only in babelised formats!}
\fi

%  We can do some local settings (from file t1code.tex) because we are
%  in \begingroup ... \endgroup generated by Babel

%  The following trick makes possibility to \input t1codes without errors:

\let\czech=\hsize \let\slovak=\hsize
\let\toneczech=\hsize \let\toneslovak=\hsize

%  The following trick removes the message "Loading CZ hyphen..."
%  from \everyjob:

\let\global=\relax

%  Now, the main work:

\input t1code.tex \csaccents \input czhyphen.tex \relax

%%% Local Variables: 
%%% mode: plain-tex
%%% TeX-master: t
%%% End: