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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
|
% File HYPHEN.LAN does:
% (1) defines new languages
% (2) incorporates their hyphenation tables (except of US english)
% during the \csaccents is active (see il2code.tex file).
% (3) incorporates their exceptions of hyphenation rules.
%
% Created by Oldrich Ulrych, January 5, 1993
% Some changes by Petr Olsak April 1995, February 2000
%
% The TeX version >= 3.0 is required.
% ======== Pattern Input / English, Czech, Slovakian (French, German) ======
% USenglish hyphenation patterns and hyphenation exceptions
\newcount\USenglish \USenglish=0
\begingroup \language=\USenglish
%\input hyphen.tex \relax % read by plain.tex
\input hyphen.ex \relax
\endgroup
% german hyphenation patterns and hyphenation exceptions
\newcount\german \german=1
% \begingroup \language=\german
% \input gehyphen.tex \relax
% \input gehyphen.ex \relax
% \endgroup
% austrian hyphenation patterns and hyphenation exceptions
\newcount\austrian \austrian=2
% \begingroup \language=\german
% \input auhyphen.tex \relax
% \input auhyphen.ex \relax
% \endgroup
\newcount\french \french=3
%% french hyphenation patterns
% \begingroup \language=\french
% \input frhyphen.tex \relax
% \input frhyphen.ex \relax
% \endgroup
% USenglish hyphenation patterns and hyphenation exceptions
\newcount\english \english=4
%\begingroup \language=\english
%\input enhyphen.tex \relax
%\input enhyphen.ex \relax
%\endgroup
% Czech hyphenation patterns and hyphenation exceptions in ISO-8859-2
\chardef\iltwoczech=5
\newcount\czech \czech=\iltwoczech
\begingroup \language=\czech
\csaccents
\message{Loading Czech patterns in ISO-8859-2 encoding,
\string\language=\the\language.}
\let\global=\relax
\input czhyphen.tex \relax
\input czhyphen.ex \relax
\endgroup
% Slovak hyphenation patterns and hyphenation exceptions in ISO-8859-2
\chardef\iltwoslovak=6
\newcount\slovak \slovak=\iltwoslovak
\begingroup \language=\slovak
\csaccents
\message{Loading Slovak patterns in ISO-8859-2 encoding,
\string\language=\the\language.}
\let\global=\relax
\input skhyphen.tex \relax
\input skhyphen.ex \relax
\endgroup
\ifx\Cork\undefined % You can suppress the T1 encoded hyphen patterns by:
% tex -ini \let\Cork=\relax \input csplain.ini
\chardef\toneczech=15
\chardef\toneslovak=16
% Czech hyphenation patterns and hyphenation exceptions in Cork
\begingroup
\input t1code \language=\toneczech
\csaccents
\message{Loading Czech patterns in Cork encoding,
\string\language=\the\language.}
\let\global=\relax
\input czhyphen.tex \relax
\input czhyphen.ex \relax
\endgroup
% Slovak hyphenation patterns and hyphenation exceptions in Cork
\begingroup
\input t1code \language=\toneslovak
\csaccents
\message{Loading Slovak patterns in Cork encoding,
\string\language=\the\language.}
\let\global=\relax
\input skhyphen.tex \relax
\input skhyphen.ex \relax
\endgroup
\fi %% of \ifx\Cork\undefined
% ======= definitions for fast hyphenations =====
\def\ehyph{\language=\USenglish \lccode`\'=0 \nonfrenchspacing
\lefthyphenmin=2 \righthyphenmin=3
\message{English hyphenation used (\string\language=\the\language).
\string\nonfrenchspacing\space is set on.}}
%\def\ahyph{\language=\german \lccode`\'=`\' \frenchspacing
% \lefthyphenmin=2 \righthyphenmin=2 }
%\def\ghyph{\language=\german \lccode`\'=`\' \frenchspacing
% \lefthyphenmin=2 \righthyphenmin=2 }
%\def\fhyph{\language=\french \lccode`\'=`\' \frenchspacing
% \lefthyphenmin=2 \righthyphenmin=2 }
\def\chyph{\language=\czech \lccode`\'=`\' \frenchspacing
\lefthyphenmin=2 \righthyphenmin=3
\message{Czech hyphenation used (\string\language=\the\language).
\string\frenchspacing\space is set on.}}
\def\shyph{\language=\slovak \lccode`\'=`\' \frenchspacing
\lefthyphenmin=2 \righthyphenmin=3
\message{Slovakian hyphenation used (\string\language=\the\language).
\string\frenchspacing\space is set on.}}
\message{Defaults: \string\language=\the\language,
\string\cmaccents, \string\nofrenchspacing,
ISO-8859-2 font encoding}
|