% koi8-r to OT2 translation for Russian hyphenation patterns
%
% additional patterns to avoid ugly results when breaking OT2-specific ligatures
%\patterns{ c8h d8j k8h l8j n8j s8h s8h8c8h t8s x8q y8a y8u z8h }
\lccode `\�=97  % \cyra
\lccode `\�=98  % \cyrb
\lccode `\�=118 % \cyrv
\lccode `\�=103 % \cyrg
\lccode `\�=100 % \cyrd
\lccode `\�=101 % \cyre
\lccode `\�=122 % \cyrz
\lccode `\�=105 % \cyri
\lccode `\�=107 % \cyrk
\lccode `\�=108 % \cyrl
\lccode `\�=109 % \cyrm
\lccode `\�=110 % \cyrn
\lccode `\�=111 % \cyro
\lccode `\�=112 % \cyrp
\lccode `\�=114 % \cyrr
\lccode `\�=115 % \cyrs
\lccode `\�=116 % \cyrt
\lccode `\�=117 % \cyru
\lccode `\�=102 % \cyrf
\lccode `\�=104 % \cyrh
\iftrue
\lccode `\�=27  % \cyryo
\lccode `\�=25  % \cyrzh
\lccode `\�=26  % \cyrishrt
\lccode `\�=99  % \cyrc
\lccode `\�=113 % \cyrch
\lccode `\�=120 % \cyrsh
\lccode `\�=119 % \cyrshch
\lccode `\�=127 % \cyrhrdsn
\lccode `\�=121 % \cyrery
\lccode `\�=126 % \cyrsftsn
\lccode `\�=3   % \cyrerev
\lccode `\�=24  % \cyryu
\lccode `\�=31  % \cyrya
\else
\lccode`0=`0
\lccode`1=`1
\lccode`2=`2
\catcode `\�=13 \def �{e00}  % \cyryo
\catcode `\�=13 \def �{zh}   % \cyrzh
\catcode `\�=13 \def �{i00}  % \cyrishrt
\catcode `\�=13 \def �{ts}   % \cyrc
\catcode `\�=13 \def �{ch}   % \cyrch
\catcode `\�=13 \def �{sh}   % \cyrsh
\catcode `\�=13 \def �{shch} % \cyrshch
\catcode `\�=13 \def �{p02}  % \cyrhrdsn
\catcode `\�=13 \def �{y}    % \cyrery
\catcode `\�=13 \def �{p01}  % \cyrsftsn
\catcode `\�=13 \def �{e01}  % \cyrerev
\catcode `\�=13 \def �{yu}   % \cyryu
\catcode `\�=13 \def �{ya}   % \cyrya
\fi
% additional letters for koi8-ru
\lccode `\�=13 % \cyrie
\lccode `\�=12 % \cyrii
