% ruhyphen package -- collection of Russian hyphenation patterns
% 2004-06-03 converted to Unicode for XeTeX, Jonathan Kew
%
% Copyright 1998-1999 Werner Lemberg, Vladimir Volovich
% and any individual authors listed elsewhere in package files.
% See the README file for more information.
%
% It may be distributed under the conditions of the LaTeX Project Public
% License, either version 1.1 of this license or (at your option) any
% later version.  The latest version of this license is in
%    http://www.latex-project.org/lppl.txt
% and version 1.1 or later is part of all distributions of LaTeX
% version 1999/06/01 or later.

\begingroup

\ifx\XeTeXversion\undefined \def\uniprefix{} \else \def\uniprefix{uni-} \fi

% note that Encoding is irrelevant for XeTeX/Unicode usage
\ifx\Encoding\undefined
\def\Encoding{t2a}
%\def\Encoding{ucy}
%\def\Encoding{lcy}
%\def\Encoding{ot2}
%\def\Encoding{koi}
\fi

\ifx\Pattern\undefined
\def\Pattern{al}
%\def\Pattern{as}
%\def\Pattern{ct}
%\def\Pattern{dv}
%\def\Pattern{vl}
%\def\Pattern{zn}
\fi

\ifx\XeTeXversion\undefined
  \input catkoi
  \input koi2\Encoding
\fi
\input \uniprefix ruhyph\Pattern

% the following section is optional
\input \uniprefix cyryo\Pattern
\ifx\XeTeXversion\undefined
  \def\t{t2a}\ifx\t\Encoding\input hypht2 \fi
  \patterns{.^^ce^^c58 8^^ce^^c5.}
  \patterns{8^^c2^^df. 8^^d7^^df. 8^^c7^^df. 8^^c4^^df. 8^^d6^^df. 8^^da^^df. 8^^cb^^df. 8^^cc^^df. 8^^cd^^df. 8^^ce^^df. 8^^d0^^df. 8^^d2^^df. 8^^d3^^df. 8^^d4^^df. 8^^c6^^df. 8^^c8^^df. 8^^c3^^df. 8^^de^^df. 8^^db^^df. 8^^dd^^df.}
\else
  \patterns{.не8 8не.}
  \patterns{8бъ. 8въ. 8гъ. 8дъ. 8жъ. 8зъ. 8къ. 8лъ. 8мъ. 8нъ. 8пъ. 8ръ. 8съ. 8тъ. 8фъ. 8хъ. 8цъ. 8чъ. 8шъ. 8щъ.}
\fi

\endgroup

\lefthyphenmin2
\righthyphenmin2
