%%
%% This is file `l8ucyr-penc.def'
%% Formerly known as `l8ucyr.def'
%%
%% l8ucyr-penc.def
%% 
%% This is a hand-written file, based upon  t1enc.def 
%% with extensions for more composite characters.
%% 
%% Copyright 2017 Ross Moore <ross.moore@mq.edu.au>
%% 
\ProvidesFile{l8ucyr-penc.def}
 [2017/06/23 v0.6
         Cyrillic support for UTF8 in XMP metadata]

%
% uses macro names mostly from  uni-4.def  of the ucs.sty  package 
%
%%%% Cyrillic Characters + accents  Ux0400 – Ux04FF
%
%\DeclareTextCommand{\U}{L8U}[1]{#1̆}% clashes with IPA usage
\DeclareTextCommand{\U}{L8U}[1]{\u{#1}}%
\DeclareTextCommand{\C}{L8U}[1]{#1̏}%
\DeclareTextCommand{\CYRtitlo}{L8U}[1]{#1Òƒ}%
\DeclareTextCommand{\CYRpalatal}{L8U}[1]{#1Ò„}%
\DeclareTextCommand{\CYRdasia}{L8U}[1]{#1Ò…}%
\DeclareTextCommand{\CYRpsili}{L8U}[1]{#1Ò†}%
\DeclareTextCommand{\CYRpokrytie}{L8U}[1]{#1Ò‡}%
\DeclareTextCommand{\CYRSDSC}{L8U}[1]{#1̧}%
\DeclareTextCommand{\cyrlegion}{L8U}[1]{#1Òˆ}%
\DeclareTextCommand{\cyrleodr}{L8U}[1]{#1Ò‰}%
%
%
% Ux0400 — uppercase accents + extras
%
\DeclareTextCompositeCommand{\`}{L8U}{\CYRE}{Ѐ}
%%\DeclareTextCompositeCommand{\`}{L8U}{Е}{Ѐ}
%\DeclareTextCompositeCommand{\`}{L8U}{E}{Ѐ}% overrides È
\DeclareTextCompositeCommand{\"}{L8U}{\CYRE}{Ё}
%%\DeclareTextCompositeCommand{\"}{L8U}{Е}{Ё}
\DeclareTextCommand{\CYRYO}{L8U}{Ё}
%\DeclareTextCompositeCommand{\"}{L8U}{E}{Ё}% overrides Ë
\DeclareTextCommand{\CYRDJE}{L8U}{Ђ}
\DeclareTextCompositeCommand{\'}{L8U}{\CYRG}{Ѓ}
%%\DeclareTextCompositeCommand{\'}{L8U}{Г}{Ѓ}
\DeclareTextCommand{\CYRGJE}{L8U}{Ѓ}
\DeclareTextCommand{\CYRIE}{L8U}{Є}
\DeclareTextCommand{\CYRDZE}{L8U}{Ð…}
\DeclareTextCommand{\CYRII}{L8U}{І}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRII}{Ї}
%%\DeclareTextCompositeCommand{\"}{L8U}{І}{Ї}
\DeclareTextCommand{\CYRYI}{L8U}{Ї}
%\DeclareTextCompositeCommand{\"}{L8U}{I}{Ї}% overrides Ï
\DeclareTextCommand{\CYRJE}{L8U}{Ј}
\DeclareTextCommand{\CYRLJE}{L8U}{Љ}
\DeclareTextCommand{\CYRNJE}{L8U}{Њ}
\DeclareTextCommand{\CYRTSHE}{L8U}{Ћ}
\DeclareTextCompositeCommand{\'}{L8U}{\CYRK}{Ќ}
%%\DeclareTextCompositeCommand{\'}{L8U}{К}{Ќ}
\DeclareTextCommand{\CYRKJE}{L8U}{Ќ}
%\DeclareTextCompositeCommand{\"}{L8U}{K}{Ќ}%  ascii-K
\DeclareTextCompositeCommand{\`}{L8U}{\CYRI}{Ѝ}
%%\DeclareTextCompositeCommand{\`}{L8U}{И}{Ѝ}
\DeclareTextCompositeCommand{\u}{L8U}{\CYRU}{ÐŽ}
\DeclareTextCompositeCommand{\U}{L8U}{\CYRU}{ÐŽ}
%%\DeclareTextCompositeCommand{\u}{L8U}{У}{Ў}
%%\DeclareTextCompositeCommand{\U}{L8U}{У}{Ў}
\DeclareTextCommand{\CYRUSHRT}{L8U}{ÐŽ}
\DeclareTextCommand{\CYRDZHE}{L8U}{Џ}
% Ux0410 — uppercase
\DeclareTextCommand{\CYRA}{L8U}{А}
\DeclareTextCommand{\CYRB}{L8U}{Б}
\DeclareTextCommand{\CYRV}{L8U}{Ð’}
\DeclareTextCommand{\CYRG}{L8U}{Г}
\DeclareTextCommand{\CYRD}{L8U}{Д}
\DeclareTextCommand{\CYRE}{L8U}{Е}
\DeclareTextCommand{\CYRZH}{L8U}{Ж}
\DeclareTextCommand{\CYRZ}{L8U}{З}
\DeclareTextCommand{\CYRI}{L8U}{И}
\DeclareTextCompositeCommand{\u}{L8U}{\CYRI}{Й}
\DeclareTextCompositeCommand{\U}{L8U}{\CYRI}{Й}
%%\DeclareTextCompositeCommand{\u}{L8U}{И}{Й}
%%\DeclareTextCompositeCommand{\U}{L8U}{И}{Й}
\DeclareTextCommand{\CYRISHRT}{L8U}{Й}
\DeclareTextCommand{\CYRK}{L8U}{К}
\DeclareTextCommand{\CYRL}{L8U}{Л}
\DeclareTextCommand{\CYRM}{L8U}{М}
\DeclareTextCommand{\CYRN}{L8U}{Н}
\DeclareTextCommand{\CYRO}{L8U}{О}
\DeclareTextCommand{\CYRP}{L8U}{П}
\DeclareTextCommand{\CYRR}{L8U}{Р}
\DeclareTextCommand{\CYRS}{L8U}{С}
\DeclareTextCommand{\CYRT}{L8U}{Т}
\DeclareTextCommand{\CYRU}{L8U}{У}
\DeclareTextCommand{\CYRF}{L8U}{Ф}
\DeclareTextCommand{\CYRH}{L8U}{Ð¥}
\DeclareTextCommand{\CYRC}{L8U}{Ц}
\DeclareTextCommand{\CYRCH}{L8U}{Ч}
\DeclareTextCommand{\CYRSH}{L8U}{Ш}
\DeclareTextCommand{\CYRSHCH}{L8U}{Щ}
\DeclareTextCommand{\CYRHRDSN}{L8U}{Ъ}
\DeclareTextCommand{\texthardsign}{L8U}{Ъ}
\DeclareTextCommand{\CYRERY}{L8U}{Ы}
\DeclareTextCommand{\CYRDZHE}{L8U}{Ь}
\DeclareTextCommand{\CYRSFTSN}{L8U}{Ь}
\DeclareTextCommand{\textsoftsign}{L8U}{Ь}
\DeclareTextCommand{\CYREREV}{L8U}{Э}
\DeclareTextCommand{\CYRYU}{L8U}{Ю}
\DeclareTextCommand{\CYRYA}{L8U}{Я}
% Ux0430 — lowercase
\DeclareTextCommand{\cyra}{L8U}{а}
\DeclareTextCommand{\cyrb}{L8U}{б}
\DeclareTextCommand{\cyrv}{L8U}{в}
\DeclareTextCommand{\cyrg}{L8U}{г}
\DeclareTextCommand{\cyrd}{L8U}{д}
\DeclareTextCommand{\cyre}{L8U}{е}
\DeclareTextCommand{\cyrzh}{L8U}{ж}
\DeclareTextCommand{\cyrz}{L8U}{з}
\DeclareTextCommand{\cyri}{L8U}{и}
\DeclareTextCompositeCommand{\u}{L8U}{\cyri}{й}
\DeclareTextCompositeCommand{\U}{L8U}{\cyri}{й}
%%\DeclareTextCompositeCommand{\u}{L8U}{и}{й}
%%\DeclareTextCompositeCommand{\U}{L8U}{и}{й}
\DeclareTextCommand{\cyrishrt}{L8U}{й}
\DeclareTextCommand{\cyrk}{L8U}{к}
\DeclareTextCommand{\cyrl}{L8U}{л}
\DeclareTextCommand{\cyrm}{L8U}{м}
\DeclareTextCommand{\cyrn}{L8U}{н}
\DeclareTextCommand{\cyro}{L8U}{о}
\DeclareTextCommand{\cyrp}{L8U}{п}
\DeclareTextCommand{\cyrr}{L8U}{Ñ€}
\DeclareTextCommand{\cyrs}{L8U}{с}
\DeclareTextCommand{\cyrt}{L8U}{Ñ‚}
\DeclareTextCommand{\cyru}{L8U}{у}
\DeclareTextCommand{\cyrf}{L8U}{Ñ„}
\DeclareTextCommand{\cyrh}{L8U}{Ñ…}
\DeclareTextCommand{\cyrc}{L8U}{ц}
\DeclareTextCommand{\cyrch}{L8U}{ч}
\DeclareTextCommand{\cyrsh}{L8U}{ш}
\DeclareTextCommand{\cyrshch}{L8U}{щ}
\DeclareTextCommand{\cyrhrdsn}{L8U}{ÑŠ}
\DeclareTextCommand{\cyrery}{L8U}{Ñ‹}
\DeclareTextCommand{\cyrdzhe}{L8U}{ь}
\DeclareTextCommand{\cyrsftsn}{L8U}{ь}
\DeclareTextCommand{\cyrerev}{L8U}{э}
\DeclareTextCommand{\cyryu}{L8U}{ÑŽ}
\DeclareTextCommand{\cyrya}{L8U}{я}
% Ux0450 — lowercase accents + extras
\DeclareTextCompositeCommand{\`}{L8U}{\cyre}{ѐ}
%%\DeclareTextCompositeCommand{\`}{L8U}{е}{ѐ}
%\DeclareTextCompositeCommand{\`}{L8U}{e}{ѐ}%  overrides è
\DeclareTextCompositeCommand{\"}{L8U}{\cyre}{Ñ‘}
%%\DeclareTextCompositeCommand{\"}{L8U}{е}{ё}
\DeclareTextCommand{\cyryo}{L8U}{Ñ‘}
%\DeclareTextCompositeCommand{\`}{L8U}{e}{ё}%  overrides ë
\DeclareTextCommand{\cyrdje}{L8U}{Ñ’}
\DeclareTextCompositeCommand{\'}{L8U}{\cyrg}{Ñ“}
%%\DeclareTextCompositeCommand{\'}{L8U}{г}{ѓ}
\DeclareTextCommand{\cyrgje}{L8U}{Ñ“}
\DeclareTextCommand{\cyrie}{L8U}{Ñ”}
\DeclareTextCommand{\cyrdze}{L8U}{Ñ•}
\DeclareTextCommand{\cyrii}{L8U}{Ñ–}
\DeclareTextCompositeCommand{\"}{L8U}{\cyrii}{Ñ—}
%%\DeclareTextCompositeCommand{\"}{L8U}{Ñ–}{Ñ—}
\DeclareTextCommand{\cyryi}{L8U}{Ñ—}
%\DeclareTextCompositeCommand{\"}{L8U}{i}{ї}% overrides ï
\DeclareTextCommand{\cyrje}{L8U}{ј}
\DeclareTextCommand{\cyrlje}{L8U}{Ñ™}
\DeclareTextCommand{\cyrnje}{L8U}{Ñš}
\DeclareTextCommand{\cyrtshe}{L8U}{Ñ›}
\DeclareTextCompositeCommand{\'}{L8U}{\cyrk}{ќ}
%%\DeclareTextCompositeCommand{\'}{L8U}{к}{ќ}
\DeclareTextCommand{\cyrkje}{L8U}{ќ}
%\DeclareTextCompositeCommand{\"}{L8U}{k}{ќ}%  ascii-k
\DeclareTextCompositeCommand{\`}{L8U}{\cyri}{ѝ}
%%\DeclareTextCompositeCommand{\`}{L8U}{и}{ѝ}
\DeclareTextCompositeCommand{\u}{L8U}{\cyru}{Ñž}
\DeclareTextCompositeCommand{\U}{L8U}{\cyru}{Ñž}
\DeclareTextCompositeCommand{\U}{L8U}{\curu}{Ñž}% mistake in PD1 (2009)
%%\DeclareTextCompositeCommand{\u}{L8U}{у}{ў}
%%\DeclareTextCompositeCommand{\U}{L8U}{у}{ў}
%\DeclareTextCompositeCommand{\u}{L8U}{y}{Ñž}%  ascii-y
\DeclareTextCommand{\cyrushrt}{L8U}{Ñž}
\DeclareTextCommand{\cyrdzhe}{L8U}{ÑŸ}
% Ux0460
\DeclareTextCommand{\CYROMEGA}{L8U}{Ñ }
\DeclareTextCommand{\cyromega}{L8U}{Ñ¡}
\DeclareTextCommand{\CYRYAT}{L8U}{Ñ¢}
\DeclareTextCommand{\cyryat}{L8U}{Ñ£}
\DeclareTextCommand{\CYRIOTEST}{L8U}{Ѥ}% mistake in ucs.sty ?
\DeclareTextCommand{\CYRIOTE}{L8U}{Ѥ}
\DeclareTextCommand{\cyriotest}{L8U}{Ñ¥}% mistake in ucs.sty ?
\DeclareTextCommand{\cyriote}{L8U}{Ñ¥}
\DeclareTextCommand{\CYRLYUS}{L8U}{Ѧ}
\DeclareTextCommand{\cyrlyus}{L8U}{ѧ}
\DeclareTextCommand{\CYRIOTLYUS}{L8U}{Ѩ}
\DeclareTextCommand{\cyriotlyus}{L8U}{Ñ©}
\DeclareTextCommand{\CYRBYUS}{L8U}{Ѫ}
\DeclareTextCommand{\cyrbyus}{L8U}{Ñ«}
\DeclareTextCommand{\CYRIOTBYUS}{L8U}{Ѭ}
\DeclareTextCommand{\cyriotbyus}{L8U}{Ñ­}
\DeclareTextCommand{\CYRKSI}{L8U}{Ñ®}
\DeclareTextCommand{\cyrksi}{L8U}{ѯ}
\DeclareTextCommand{\CYRPSI}{L8U}{Ñ°}
\DeclareTextCommand{\cyrpsi}{L8U}{ѱ}
\DeclareTextCommand{\CYRFITA}{L8U}{Ѳ}
\DeclareTextCommand{\cyrfita}{L8U}{ѳ}
\DeclareTextCommand{\CYRIZH}{L8U}{Ñ´}
\DeclareTextCommand{\cyrizh}{L8U}{ѵ}
\DeclareTextCompositeCommand{\C}{L8U}{\CYRIZH}{Ѷ}
%%\DeclareTextCompositeCommand{\C}{L8U}{Ѵ}{Ѷ}
\DeclareTextCompositeCommand{\C}{L8U}{\cyrizh}{Ñ·}
%%\DeclareTextCompositeCommand{\C}{L8U}{ѵ}{ѷ}
\DeclareTextCommand{\CYRVARUK}{L8U}{Ѹ}
\DeclareTextCommand{\CYRUK}{L8U}{Ѹ}
\DeclareTextCommand{\cyrvaruk}{L8U}{ѹ}
\DeclareTextCommand{\cyruk}{L8U}{ѹ}
\DeclareTextCommand{\CYROMRND}{L8U}{Ѻ}
\DeclareTextCommand{\CYROMEGARND}{L8U}{Ѻ}
\DeclareTextCommand{\cyromrnd}{L8U}{Ñ»}
\DeclareTextCommand{\cyromegarnd}{L8U}{Ñ»}
\DeclareTextCompositeCommand{\CYRtitlo}{L8U}{\CYROMEGA}{Ѽ}
%%\DeclareTextCompositeCommand{\CYRtitlo}{L8U}{Ѡ}{Ѽ}
\DeclareTextCommand{\CYROMEGATITLO}{L8U}{Ѽ}
\DeclareTextCommand{\CYROMTLO}{L8U}{Ѽ}
\DeclareTextCompositeCommand{\CYRtitlo}{L8U}{\cyromega}{ѽ}
%%\DeclareTextCompositeCommand{\CYRtitlo}{L8U}{ѡ}{ѽ}
\DeclareTextCommand{\cyromegatitlo}{L8U}{ѽ}
\DeclareTextCommand{\cyromtlo}{L8U}{ѽ}
\DeclareTextCommand{\CYROT}{L8U}{Ѿ}
\DeclareTextCommand{\cyrot}{L8U}{Ñ¿}
\DeclareTextCommand{\CYRKOPPA}{L8U}{Ò€}
\DeclareTextCommand{\cyrkoppa}{L8U}{ҁ}
% Ux0482  more accents and diacritics
\DeclareTextCommand{\CYRthousands}{L8U}{Ò‚}
\DeclareTextCompositeCommand{\CYRtitlo}{L8U}{\empty}{ Òƒ}
\DeclareTextCompositeCommand{\CYRpalatal}{L8U}{\empty}{ Ò„}
\DeclareTextCompositeCommand{\CYRdasia}{L8U}{\empty}{ Ò…}
\DeclareTextCompositeCommand{\CYRpsili}{L8U}{\empty}{ Ò†}
\DeclareTextCompositeCommand{\CYRpokrytie}{L8U}{\empty}{ Ò‡}
\DeclareTextCompositeCommand{\cyrlegion}{L8U}{\empty}{ Òˆ}
\DeclareTextCompositeCommand{\cyrleodr}{L8U}{\empty}{ Ò‰}

%\DeclareTextCompositeCommand{\???}{L8U}{\CYRISHRT}{ÒŠ}
%\DeclareTextCompositeCommand{\???}{L8U}{Й}{Ҋ}
\DeclareTextCommand{\CYRISHRTDSC}{L8U}{ÒŠ}
%\DeclareTextCompositeCommand{\???}{L8U}{\cyrishrt}{Ò‹}
%\DeclareTextCompositeCommand{\???}{L8U}{й}{ҋ}
\DeclareTextCommand{\cyrishrtdsc}{L8U}{Ò‹}
%%\DeclareTextCompositeCommand{\B}{L8U}{Ь}{Ҍ}
\DeclareTextCommand{\CYRSEMISFTSN}{L8U}{Ҍ}
%%\DeclareTextCompositeCommand{\B}{L8U}{ь}{ҍ}
\DeclareTextCommand{\cyrsemisftsn}{L8U}{ҍ}
\DeclareTextCommand{\CYRRTICK}{L8U}{ÒŽ}
\DeclareTextCommand{\cyrrtick}{L8U}{ҏ}
% Ux0490
\DeclareTextCommand{\CYRGUP}{L8U}{Ґ}
\DeclareTextCommand{\cyrgup}{L8U}{Ò‘}
\DeclareTextCompositeCommand{\B}{L8U}{\CYRG}{Ò’}
%%\DeclareTextCompositeCommand{\B}{L8U}{Г}{Ғ}
\DeclareTextCommand{\CYRGHCRS}{L8U}{Ò’}
\DeclareTextCompositeCommand{\B}{L8U}{\cyrg}{Ò“}
%%\DeclareTextCompositeCommand{\B}{L8U}{г}{ғ}
\DeclareTextCommand{\cyrghcrs}{L8U}{Ò“}
\DeclareTextCommand{\CYRGHK}{L8U}{Ò”}
\DeclareTextCommand{\cyrghk}{L8U}{Ò•}
\DeclareTextCommand{\CYRZHDSC}{L8U}{Ò–}
\DeclareTextCommand{\cyrzhdsc}{L8U}{Ò—}
\DeclareTextCompositeCommand{\c}{L8U}{\CYRZ}{Ò˜}
%%\DeclareTextCompositeCommand{\c}{L8U}{З}{Ҙ}
\DeclareTextCommand{\CYRZDSC}{L8U}{Ò˜}
\DeclareTextCompositeCommand{\c}{L8U}{\cyrz}{Ò™}
%%\DeclareTextCompositeCommand{\c}{L8U}{з}{ҙ}
\DeclareTextCommand{\cyrzdsc}{L8U}{Ò™}
\DeclareTextCommand{\CYRKDSC}{L8U}{Òš}
\DeclareTextCommand{\cyrkdsc}{L8U}{Ò›}
\DeclareTextCommand{\CYRKVCRS}{L8U}{Ҝ}
\DeclareTextCommand{\cyrkvcrs}{L8U}{ҝ}
\DeclareTextCompositeCommand{\B}{L8U}{\CYRK}{Òž}
%%\DeclareTextCompositeCommand{\B}{L8U}{К}{Ҟ}
\DeclareTextCommand{\CYRKHCRS}{L8U}{Òž}
\DeclareTextCompositeCommand{\B}{L8U}{\cyrk}{ÒŸ}
%%\DeclareTextCompositeCommand{\B}{L8U}{к}{ҟ}
\DeclareTextCommand{\cyrkhcrs}{L8U}{ÒŸ}
% Ux04A0
\DeclareTextCommand{\CYRKBEAK}{L8U}{Ò }
\DeclareTextCommand{\cyrkbeak}{L8U}{Ò¡}
\DeclareTextCommand{\CYRNDSC}{L8U}{Ò¢}
\DeclareTextCommand{\cyrndsc}{L8U}{Ò£}
\DeclareTextCommand{\CYRNG}{L8U}{Ò¤}
\DeclareTextCommand{\cyrng}{L8U}{Ò¥}
\DeclareTextCommand{\CYRPHK}{L8U}{Ò¦}
\DeclareTextCommand{\cyrphk}{L8U}{Ò§}
\DeclareTextCommand{\CYRABHHA}{L8U}{Ò¨}
\DeclareTextCommand{\cyrabhha}{L8U}{Ò©}
\DeclareTextCompositeCommand{\CYRSDSC}{L8U}{\CYRS}{Òª}% error in PD1 (2009)
\DeclareTextCompositeCommand{\c}{L8U}{\CYRS}{Òª}
%%\DeclareTextCompositeCommand{\c}{L8U}{С}{Ҫ}
\DeclareTextCompositeCommand{\k}{L8U}{\CYRS}{Òª}% PD1
%%\DeclareTextCompositeCommand{\k}{L8U}{С}{Ҫ}% PD1
\DeclareTextCompositeCommand{\c}{L8U}{\cyrs}{Ò«}
%%\DeclareTextCompositeCommand{\k}{L8U}{с}{ҫ}% PD1
\DeclareTextCompositeCommand{\k}{L8U}{\cyrs}{Ò«}% PD1
%%\DeclareTextCompositeCommand{\c}{L8U}{с}{ҫ}
\DeclareTextCommand{\cyrsdsc}{L8U}{Ò«}
\DeclareTextCommand{\CYRTDSC}{L8U}{Ò¬}
\DeclareTextCommand{\cyrtdsc}{L8U}{Ò­}
\DeclareTextCommand{\CYRY}{L8U}{Ò®}
\DeclareTextCommand{\cyry}{L8U}{Ò¯}
% Ux04B0
\DeclareTextCompositeCommand{\B}{L8U}{\CYRY}{Ò°}
%%\DeclareTextCompositeCommand{\B}{L8U}{Ò®}{Ò°}
\DeclareTextCommand{\CYRYHCRS}{L8U}{Ò°}
\DeclareTextCompositeCommand{\B}{L8U}{\cyry}{Ò±}
%%\DeclareTextCompositeCommand{\B}{L8U}{Ò¯}{Ò±}
\DeclareTextCommand{\cyryhcrs}{L8U}{Ò±}
\DeclareTextCommand{\CYRHDSC}{L8U}{Ò²}
\DeclareTextCommand{\cyrhdsc}{L8U}{Ò²}
\DeclareTextCommand{\CYRTETSE}{L8U}{Ò´}
\DeclareTextCommand{\cyrtetse}{L8U}{Òµ}
\DeclareTextCommand{\CYRCHRDSC}{L8U}{Ò¶}
\DeclareTextCommand{\cyrchrdsc}{L8U}{Ò·}
\DeclareTextCommand{\CYRCHVCRS}{L8U}{Ò¸}
\DeclareTextCommand{\cyrchvcrs}{L8U}{Ò¹}
\DeclareTextCommand{\CYRSHHA}{L8U}{Òº}
\DeclareTextCommand{\cyrshha}{L8U}{Ò»}
\DeclareTextCommand{\CYRABHCH}{L8U}{Ò¼}
\DeclareTextCommand{\cyrabhch}{L8U}{Ò½}
\DeclareTextCompositeCommand{\k}{L8U}{\CYRABHCH}{Ò¾}
%%\DeclareTextCompositeCommand{\k}{L8U}{Ò¼}{Ò¾}
\DeclareTextCommand{\CYRABHCHDSC}{L8U}{Ò¾}
\DeclareTextCompositeCommand{\k}{L8U}{\cyrabhch}{Ò¿}
%%\DeclareTextCompositeCommand{\k}{L8U}{Ò½}{Ò¿}
\DeclareTextCommand{\cyrabhchdsc}{L8U}{Ò¿}
% Ux04C0
\DeclareTextCommand{\CYRpalochka}{L8U}{Ó€}
\DeclareTextCompositeCommand{\u}{L8U}{\CYRZH}{Ӂ}
\DeclareTextCompositeCommand{\U}{L8U}{\CYRZH}{Ӂ}
%%\DeclareTextCompositeCommand{\u}{L8U}{Ж}{ӂ}
%%\DeclareTextCompositeCommand{\U}{L8U}{Ж}{ӂ}
\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{\CYRK}{Óƒ}
%%\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{К}{Ӄ}
\DeclareTextCommand{\CYRKHK}{L8U}{Óƒ}
\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{\cyrk}{Ó„}
%%\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{к}{ӄ}
\DeclareTextCommand{\cyrkhk}{L8U}{Ó„}
\DeclareTextCommand{\CYRLDSC}{L8U}{Ó…}
\DeclareTextCommand{\cyrldsc}{L8U}{Ó†}
\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{\CYRN}{Ó‡}
%%\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{Н}{Ӈ}
\DeclareTextCommand{\CYRNHK}{L8U}{Ó‡}
\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{\cyrn}{Óˆ}
%%\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{н}{ӈ}
\DeclareTextCommand{\cyrnhk}{L8U}{Óˆ}
\DeclareTextCommand{\CYRNTL}{L8U}{Ó‰}%  ??? with tail
\DeclareTextCommand{\cyrntl}{L8U}{ÓŠ}%  ??? with tail
\DeclareTextCommand{\CYRCHLDSC}{L8U}{Ó‹}
\DeclareTextCommand{\cyrchldsc}{L8U}{ӌ}
\DeclareTextCommand{\CYRMDSC}{L8U}{Ӎ}% PD1
\DeclareTextCommand{\CYRMTL}{L8U}{Ӎ}%  ??? with tail
\DeclareTextCommand{\cyrmdsc}{L8U}{ÓŽ}%  PD1
\DeclareTextCommand{\cyrmtl}{L8U}{ÓŽ}%  ??? with tail
\DeclareTextCommand{\cyrpalochka}{L8U}{ӏ}% ???
% Ux04D0 — Ux04FF
\DeclareTextCompositeCommand{\u}{L8U}{\CYRA}{Ӑ}
\DeclareTextCompositeCommand{\U}{L8U}{\CYRA}{Ӑ}
%%\DeclareTextCompositeCommand{\u}{L8U}{А}{Ӑ}
%%\DeclareTextCompositeCommand{\U}{L8U}{А}{Ӑ}
\DeclareTextCompositeCommand{\u}{L8U}{\cyra}{Ó‘}
\DeclareTextCompositeCommand{\U}{L8U}{\cyra}{Ó‘}
%%\DeclareTextCompositeCommand{\u}{L8U}{а}{ӑ}
%%\DeclareTextCompositeCommand{\U}{L8U}{а}{ӑ}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRA}{Ó’}
%%\DeclareTextCompositeCommand{\"}{L8U}{А}{Ӓ}
\DeclareTextCompositeCommand{\"}{L8U}{\cyra}{Ó“}
%%\DeclareTextCompositeCommand{\"}{L8U}{а}{ӓ}
\DeclareTextCommand{\CYRAE}{L8U}{Ó”}
\DeclareTextCommand{\cyrae}{L8U}{Ó•}
\DeclareTextCompositeCommand{\u}{L8U}{\CYRE}{Ó–}
\DeclareTextCompositeCommand{\U}{L8U}{\CYRE}{Ó–}
%%\DeclareTextCompositeCommand{\u}{L8U}{Е}{Ӗ}
%%\DeclareTextCompositeCommand{\U}{L8U}{Е}{Ӗ}
\DeclareTextCompositeCommand{\u}{L8U}{\cyre}{Ó—}
\DeclareTextCompositeCommand{\U}{L8U}{\cyre}{Ó—}
%%\DeclareTextCompositeCommand{\u}{L8U}{е}{ӗ}
%%\DeclareTextCompositeCommand{\U}{L8U}{е}{ӗ}
\DeclareTextCommand{\CYRSCHWA}{L8U}{Ó˜}
\DeclareTextCommand{\cyrschwa}{L8U}{Ó™}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRSCHWA}{Óš}
%%\DeclareTextCompositeCommand{\"}{L8U}{Ó˜}{Óš}
\DeclareTextCompositeCommand{\"}{L8U}{\cyrschwa}{Ó›}
%%\DeclareTextCompositeCommand{\"}{L8U}{Ó™}{Ó›}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRZH}{Ӝ}
%%\DeclareTextCompositeCommand{\"}{L8U}{Ж}{Ӝ}
\DeclareTextCompositeCommand{\"}{L8U}{\cyrzh}{ӝ}
%%\DeclareTextCompositeCommand{\"}{L8U}{ж}{ӝ}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRZ}{Óž}
%%\DeclareTextCompositeCommand{\"}{L8U}{З}{Ӟ}
\DeclareTextCommand{\CYRABHDZE}{L8U}{Ó }
\DeclareTextCompositeCommand{\"}{L8U}{\cyrz}{ÓŸ}
%%\DeclareTextCompositeCommand{\"}{L8U}{з}{ӟ}
\DeclareTextCommand{\cyrabhdze}{L8U}{Ó¡}
\DeclareTextCompositeCommand{\=}{L8U}{\CYRI}{Ó¢}
%%\DeclareTextCompositeCommand{\=}{L8U}{И}{Ӣ}
\DeclareTextCompositeCommand{\=}{L8U}{\cyri}{Ó£}
%%\DeclareTextCompositeCommand{\=}{L8U}{и}{ӣ}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRI}{Ó¤}
%%\DeclareTextCompositeCommand{\"}{L8U}{И}{Ӥ}
\DeclareTextCompositeCommand{\"}{L8U}{\cyri}{Ó¥}
%%\DeclareTextCompositeCommand{\"}{L8U}{и}{ӥ}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRO}{Ó¦}
%%\DeclareTextCompositeCommand{\"}{L8U}{О}{Ӧ}
\DeclareTextCompositeCommand{\"}{L8U}{\cyro}{Ó§}
%%\DeclareTextCompositeCommand{\"}{L8U}{о}{ӧ}
\DeclareTextCommand{\CYROTLD}{L8U}{Ó¨}
\DeclareTextCommand{\cyrotld}{L8U}{Ó©}
\DeclareTextCompositeCommand{\"}{L8U}{\CYROTLD}{Óª}
%%\DeclareTextCompositeCommand{\"}{L8U}{Ó¨}{Óª}
\DeclareTextCompositeCommand{\"}{L8U}{\cyrotld}{Ó«}
%%\DeclareTextCompositeCommand{\"}{L8U}{Ó©}{Ó«}
\DeclareTextCompositeCommand{\"}{L8U}{\CYREREV}{Ó¬}
%%\DeclareTextCompositeCommand{\"}{L8U}{Э}{Ӭ}
\DeclareTextCompositeCommand{\"}{L8U}{\cyrerev}{Ó­}
%%\DeclareTextCompositeCommand{\"}{L8U}{э}{ӭ}
\DeclareTextCompositeCommand{\=}{L8U}{\CYRU}{Ó®}
%%\DeclareTextCompositeCommand{\=}{L8U}{У}{Ӯ}
\DeclareTextCompositeCommand{\=}{L8U}{\cyru}{Ó¯}
%%\DeclareTextCompositeCommand{\=}{L8U}{у}{ӯ}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRU}{Ó°}
%%\DeclareTextCompositeCommand{\"}{L8U}{У}{Ӱ}
\DeclareTextCompositeCommand{\"}{L8U}{\cyru}{Ó±}
%%\DeclareTextCompositeCommand{\"}{L8U}{у}{ӱ}
\DeclareTextCompositeCommand{\H}{L8U}{\CYRU}{Ó²}
%%\DeclareTextCompositeCommand{\H}{L8U}{У}{Ӳ}
\DeclareTextCompositeCommand{\H}{L8U}{\cyru}{Ó³}
%%\DeclareTextCompositeCommand{\H}{L8U}{у}{ӳ}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRCH}{Ó´}
%%\DeclareTextCompositeCommand{\"}{L8U}{Ч}{Ӵ}
\DeclareTextCompositeCommand{\"}{L8U}{\cyrch}{Óµ}
%%\DeclareTextCompositeCommand{\"}{L8U}{ч}{ӵ}
\DeclareTextCommand{\CYRGDSC}{L8U}{Ó¶}
\DeclareTextCommand{\cyrgdsc}{L8U}{Ó·}
\DeclareTextCompositeCommand{\"}{L8U}{\CYRERY}{Ó¸}
%%\DeclareTextCompositeCommand{\"}{L8U}{Ы}{Ӹ}
\DeclareTextCompositeCommand{\"}{L8U}{\cyrery}{Ó¹}
%%\DeclareTextCompositeCommand{\"}{L8U}{Ñ‹}{Ó¹}
\DeclareTextCompositeCommand{\textpalhook}{L8U}{\CYRGHCRS}{Óº}
%%\DeclareTextCompositeCommand{\textpalhook}{L8U}{Ò’}{Óº}
\DeclareTextCompositeCommand{\textpalhook}{L8U}{\cyrghcrs}{Ó»}
%%\DeclareTextCompositeCommand{\textpalhook}{L8U}{Ò“}{Ó»}
\DeclareTextCompositeCommand{\textpalhook}{L8U}{\CYRH}{Ó¼}
%%\DeclareTextCompositeCommand{\textpalhook}{L8U}{Ð¥}{Ó¼}
\DeclareTextCommand{\CYRHHK}{L8U}{Ó¼}%  PD1
\DeclareTextCompositeCommand{\textpalhook}{L8U}{\cyrh}{Ó½}
%%\DeclareTextCompositeCommand{\textpalhook}{L8U}{Ñ…}{Ó½}
\DeclareTextCommand{\cyrhhk}{L8U}{Ó½}%  PD1
\DeclareTextCompositeCommand{\B}{L8U}{\CYRH}{Ó¾}
%%\DeclareTextCompositeCommand{\B}{L8U}{Ð¥}{Ó¾}
\DeclareTextCompositeCommand{\B}{L8U}{\cyrh}{Ó¿}
%%\DeclareTextCompositeCommand{\B}{L8U}{Ñ…}{Ó¿}


%
%  Cyrillic Supplement  Ux0500 – Ux0527
%
\DeclareTextCommand{\CYRKDE}{L8U}{Ô€}
\DeclareTextCommand{\cyrkde}{L8U}{ԁ}
\DeclareTextCommand{\CYRKDJE}{L8U}{Ô‚}
\DeclareTextCommand{\cyrkdje}{L8U}{Ôƒ}
\DeclareTextCommand{\CYRKZJE}{L8U}{Ô„}
\DeclareTextCommand{\cyrkzje}{L8U}{Ô…}
\DeclareTextCommand{\CYRKDZJE}{L8U}{Ô†}
\DeclareTextCommand{\cyrkdzje}{L8U}{Ô‡}
\DeclareTextCommand{\CYRKLJE}{L8U}{Ôˆ}
\DeclareTextCommand{\cyrklje}{L8U}{Ô‰}
\DeclareTextCommand{\CYRKNJE}{L8U}{ÔŠ}
\DeclareTextCommand{\cyrknje}{L8U}{Ô‹}
\DeclareTextCommand{\CYRKSJE}{L8U}{Ԍ}
\DeclareTextCommand{\cyrksje}{L8U}{ԍ}
\DeclareTextCommand{\CYRKTJE}{L8U}{ÔŽ}
\DeclareTextCommand{\cyrktje}{L8U}{ԏ}
\DeclareTextCommand{\CYREPS}{L8U}{Ԑ}
\DeclareTextCommand{\cyreps}{L8U}{Ô‘}
\DeclareTextCommand{\CYRLHK}{L8U}{Ô’}
\DeclareTextCommand{\cyrlhk}{L8U}{Ô“}
\DeclareTextCommand{\CYRLHA}{L8U}{Ô”}
\DeclareTextCommand{\cyrlha}{L8U}{Ô•}
\DeclareTextCommand{\CYRRHA}{L8U}{Ô–}
\DeclareTextCommand{\cyrrha}{L8U}{Ô—}
\DeclareTextCommand{\CYRYAE}{L8U}{Ô˜}
\DeclareTextCommand{\cyryae}{L8U}{Ô™}
\DeclareTextCommand{\CYRQ}{L8U}{Ôš}
\DeclareTextCommand{\cyrq}{L8U}{Ô›}
\DeclareTextCommand{\CYRW}{L8U}{Ԝ}
\DeclareTextCommand{\cyrw}{L8U}{ԝ}
\DeclareTextCommand{\CYRALKA}{L8U}{Ôž}
\DeclareTextCommand{\cyralka}{L8U}{ÔŸ}
\DeclareTextCommand{\CYRLHK}{L8U}{Ô }
\DeclareTextCommand{\cyrlhk}{L8U}{Ô¡}
\DeclareTextCommand{\CYRNHK}{L8U}{Ô¢}
\DeclareTextCommand{\cyrnhk}{L8U}{Ô£}
\DeclareTextCommand{\CYRPEDSC}{L8U}{Ô¤}
\DeclareTextCommand{\cyrpedsc}{L8U}{Ô¥}
\DeclareTextCommand{\CYRSHHADSC}{L8U}{Ô¦}
\DeclareTextCommand{\cyrshhadsc}{L8U}{Ô§}
%
%\endinput

\ifcyrKOIxmp\else\expandafter\endinput\fi


%  direct input — upper 8-bit:   ISO-8859-7 

\DeclareTextCommand{\textcyrKOIstring}{L8U}[1]{\textcyrKOI@ii#1\@empty\@empty}
\def\textcyrKOI@i#1{\textcyrKOI@ii#1}%\@empty}
\def\textcyrKOI@ii#1#2\@empty{%
 \ifx\@empty#2\@empty
 \expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi
 {\textKOIenc{#1}}{\textKOIenc{#1}\textcyrKOI@i#2\@empty}}

% \textKOIenc{#1}%
% \ifx\@empty#2\@empty\else\expandafter\textcyrKOI@i\fi#2\@empty}

\DeclareTextCommand{\textKOIenc}{L8U}[1]{#1}
\DeclareTextCommand{\textKOI}{L8U}[1]{\textcyrKOIstring{#1}}

%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{\sep}{\sep}%\restarttextKOI}

\obeyspaces
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{\sep}{\sep }%
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{ }{\space}%
\catcode`\ 10 


%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^80}{─}% Ux2500 
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^81}{│}% Ux2502
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^82}{┌}% Ux250C
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^83}{┐}% Ux2510
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^84}{â””}% Ux2514
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^85}{┘}% Ux2518
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^86}{├}% Ux251C
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^87}{┤}% Ux2524
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^88}{┬}% Ux252C
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^89}{â”´}% Ux2534
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^8a}{┼}% Ux253C
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^8b}{â–€}% Ux2580
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^8c}{â–„}% Ux2584
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^8d}{â–ˆ}% Ux2588
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^8e}{▌}% Ux258C
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^8f}{▐}% Ux2590
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^90}{â–‘}% Ux2591
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^91}{â–’}% Ux2592
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^92}{â–“}% Ux2593
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^93}{⌠}% Ux2320
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^94}{â– }% Ux25A0
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^95}{∙}% Ux2022
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^96}{√}%* U+221A
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^97}{∼}%* U+223C
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^98}{≤}%* U+2264
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^99}{≥}%* U+2265
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^9a}{\textnobreakspace}%
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^9b}{⌡}% Ux2321
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^9c}{\textdegree}%
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^9d}{\texttwosuperior}%
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^9e}{\textperiodcentered}%
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^9f}{\textdivide}%
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a0}{═}% Ux2550
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a1}{â•‘}% Ux2551
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a2}{â•’}% Ux2552
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a3}{\cyryo}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a4}{\cyrie}
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a5}{â•”}% Ux2554
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a6}{\cyrii}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a7}{\cyryi}
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a8}{â•—}% Ux2557
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^a9}{╘}% Ux2558
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^aa}{â•™}% Ux2559
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ab}{â•š}% Ux255A
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ac}{â•›}% Ux255B
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ad}{\cyrgup}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ae}{\cyrushrt}
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^af}{â•ž}% Ux255E
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b0}{â•Ÿ}% Ux255F
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b1}{â• }% Ux2560
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b2}{â•¡}% Ux2561
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b3}{\CYRYO}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b4}{\CYRIE}
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b5}{â•£}% Ux2563
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b6}{\CYRII}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b7}{\CYRYI}
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b8}{╦}% Ux2566
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^b9}{╧}% Ux2567
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ba}{╨}% Ux2568
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^bb}{â•©}% Ux2569
%%\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^bc}{╪}% Ux256A
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^bd}{\CYRGUP}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^be}{\CYRUSHRT}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^bf}{\textcopyright}

\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c0}{\cyryu}%
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c1}{\cyra}% Ux0410
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c2}{\cyrb}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c3}{\cyrc}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c4}{\cyrd}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c5}{\cyre}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c6}{\cyrf}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c7}{\cyrg}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c8}{\cyrh}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^c9}{\cyri}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ca}{\cyrishrt}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^cb}{\cyrk}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^cc}{\cyrl}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^cd}{\cyrm}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ce}{\cyrn}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^cf}{\cyro}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d0}{\cyrp}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d1}{\cyrya}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d2}{\cyrr}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d3}{\cyrs}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d4}{\cyrt}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d5}{\cyru}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d6}{\cyrzh}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d7}{\cyrv}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d8}{\cyrsftsn}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^d9}{\cyrery}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^da}{\cyrz}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^db}{\cyrsh}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^dc}{\cyrerev}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^dd}{\cyrshch}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^de}{\cyrch}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^df}{\cyrhrdsn}

\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e0}{\CYRYU}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e1}{\CYRA}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e2}{\CYRB}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e3}{\CYRC}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e4}{\CYRD}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e5}{\CYRE}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e6}{\CYRF}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e7}{\CYRG}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e8}{\CYRH}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^e9}{\CYRI}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ea}{\CYRISHRT}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^eb}{\CYRK}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ec}{\CYRL}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ed}{\CYRM}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ee}{\CYRN}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ef}{\CYRO}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f0}{\CYRP}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f1}{\CYRYA}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f2}{\CYRR}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f3}{\CYRS}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f4}{\CYRT}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f5}{\CYRU}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f6}{\CYRZH}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f7}{\CYRV}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f8}{\CYRSFTSN}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^f9}{\CYRERY}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^fa}{\CYRZ}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^fb}{\CYRSH}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^fc}{\CYREREV}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^fd}{\CYRSHCH}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^fe}{\CYRCH}
\DeclareTextCompositeCommand{\textKOIenc}{L8U}{^^ff}{\CYRHRDSN}

%%  These suspend \textKOI string parsing, so ...
%
\DeclareTextCompositeCommand{\'}{L8U}{\textcyrKOI@i}{\'}
\DeclareTextCompositeCommand{\"}{L8U}{\textcyrKOI@i}{\"}
\DeclareTextCompositeCommand{\`}{L8U}{\textcyrKOI@i}{\`}
\DeclareTextCompositeCommand{\u}{L8U}{\textcyrKOI@i}{\u}
\DeclareTextCompositeCommand{\U}{L8U}{\textcyrKOI@i}{\U}
\DeclareTextCompositeCommand{\c}{L8U}{\textcyrKOI@i}{\c}
\DeclareTextCompositeCommand{\k}{L8U}{\textcyrKOI@i}{\k}
\DeclareTextCompositeCommand{\C}{L8U}{\textcyrKOI@i}{\C}
\DeclareTextCompositeCommand{\CYRtitlo}{L8U}{\textcyrKOI@i}{\CYRtitlo}
\DeclareTextCompositeCommand{\CYRpalatal}{L8U}{\textcyrKOI@i}{\CYRpalatal}
\DeclareTextCompositeCommand{\CYRdasia}{L8U}{\textcyrKOI@i}{\CYRdasia}
\DeclareTextCompositeCommand{\CYRpsili}{L8U}{\textcyrKOI@i}{\CYRpsili}
\DeclareTextCompositeCommand{\CYRpokrytie}{L8U}{\textcyrKOI@i}{\CYRpokrytie}
\DeclareTextCompositeCommand{\cyrlegion}{L8U}{\textcyrKOI@i}{\cyrlegion}
\DeclareTextCompositeCommand{\cyrleodr}{L8U}{\textcyrKOI@i}{\cyrleodr}

% ... we need a way to restart KOI string parsing after accents
%
\let\restarttextKOI\textcyrKOI@ii

\DeclareTextCompositeCommand{\`}{L8U}{^^e5}{Ѐ\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^e5}{Ё\restarttextKOI}
\DeclareTextCompositeCommand{\'}{L8U}{^^e7}{Ѓ\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^b6}{Ї\restarttextKOI}
\DeclareTextCompositeCommand{\'}{L8U}{^^eb}{Ќ\restarttextKOI}
\DeclareTextCompositeCommand{\`}{L8U}{^^e9}{Ѝ\restarttextKOI}
\DeclareTextCompositeCommand{\u}{L8U}{^^f5}{ÐŽ\restarttextKOI}
\DeclareTextCompositeCommand{\U}{L8U}{^^f5}{ÐŽ\restarttextKOI}
\DeclareTextCompositeCommand{\u}{L8U}{^^e9}{Й\restarttextKOI}
\DeclareTextCompositeCommand{\U}{L8U}{^^e9}{Й\restarttextKOI}
\DeclareTextCompositeCommand{\u}{L8U}{^^c9}{й\restarttextKOI}
\DeclareTextCompositeCommand{\U}{L8U}{^^c9}{й\restarttextKOI}
\DeclareTextCompositeCommand{\`}{L8U}{^^c5}{ѐ\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^c5}{Ñ‘\restarttextKOI}
\DeclareTextCompositeCommand{\'}{L8U}{^^c7}{Ñ“\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^a6}{Ñ—\restarttextKOI}
\DeclareTextCompositeCommand{\'}{L8U}{^^cb}{ќ\restarttextKOI}
\DeclareTextCompositeCommand{\`}{L8U}{^^c9}{ѝ\restarttextKOI}
\DeclareTextCompositeCommand{\u}{L8U}{^^d5}{Ñž\restarttextKOI}
\DeclareTextCompositeCommand{\U}{L8U}{^^d5}{Ñž\restarttextKOI}

\DeclareTextCompositeCommand{\B}{L8U}{^^e7}{Ò’\restarttextKOI}
\DeclareTextCompositeCommand{\B}{L8U}{^^c7}{Ò“\restarttextKOI}
\DeclareTextCompositeCommand{\c}{L8U}{^^fa}{Ò˜\restarttextKOI}
\DeclareTextCompositeCommand{\c}{L8U}{^^da}{Ò™\restarttextKOI}
\DeclareTextCompositeCommand{\B}{L8U}{^^eb}{Òž\restarttextKOI}
\DeclareTextCompositeCommand{\B}{L8U}{^^cb}{ÒŸ\restarttextKOI}
\DeclareTextCompositeCommand{\CYRSDSC}{L8U}{^^f3}{Òª\restarttextKOI}
\DeclareTextCompositeCommand{\c}{L8U}{^^f3}{Òª\restarttextKOI}
\DeclareTextCompositeCommand{\k}{L8U}{^^f3}{Òª\restarttextKOI}
\DeclareTextCompositeCommand{\c}{L8U}{^^d3}{Ò«\restarttextKOI}
\DeclareTextCompositeCommand{\k}{L8U}{^^d3}{Ò«\restarttextKOI}
\DeclareTextCompositeCommand{\B}{L8U}{\CYRY}{Ò°\restarttextKOI}
\DeclareTextCompositeCommand{\B}{L8U}{\cyry}{Ò±\restarttextKOI}
\DeclareTextCompositeCommand{\u}{L8U}{^^f6}{Ӂ\restarttextKOI}
\DeclareTextCompositeCommand{\U}{L8U}{^^f6}{Ӂ\restarttextKOI}
\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{^^eb}{Óƒ\restarttextKOI}
\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{^^cb}{Ó„\restarttextKOI}
\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{^^ee}{Ó‡\restarttextKOI}
\DeclareTextCompositeCommand{\textpalhookbelow}{L8U}{^^ce}{Óˆ\restarttextKOI}

\DeclareTextCompositeCommand{\u}{L8U}{^^e1}{Ӑ\restarttextKOI}
\DeclareTextCompositeCommand{\U}{L8U}{^^e1}{Ӑ\restarttextKOI}
\DeclareTextCompositeCommand{\u}{L8U}{^^c1}{Ó‘\restarttextKOI}
\DeclareTextCompositeCommand{\U}{L8U}{^^c1}{Ó‘\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^e1}{Ó’\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^c1}{Ó“\restarttextKOI}
\DeclareTextCompositeCommand{\u}{L8U}{^^e5}{Ó–\restarttextKOI}
\DeclareTextCompositeCommand{\U}{L8U}{^^e5}{Ó–\restarttextKOI}
\DeclareTextCompositeCommand{\u}{L8U}{^^c5}{Ó—\restarttextKOI}
\DeclareTextCompositeCommand{\U}{L8U}{^^c5}{Ó—\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^f6}{Ӝ\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^d6}{ӝ\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^fa}{Óž\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^da}{ÓŸ\restarttextKOI}
\DeclareTextCompositeCommand{\=}{L8U}{^^e9}{Ó¢\restarttextKOI}
\DeclareTextCompositeCommand{\=}{L8U}{^^c9}{Ó£\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^e9}{Ó¤\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^c9}{Ó¥\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^ef}{Ó¦\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^cf}{Ó§\restarttextKOI}
\DeclareTextCompositeCommand{\=}{L8U}{^^f5}{Ó®\restarttextKOI}
\DeclareTextCompositeCommand{\=}{L8U}{^^d5}{Ó¯\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^f5}{Ó°\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^d5}{Ó±\restarttextKOI}
\DeclareTextCompositeCommand{\H}{L8U}{^^f5}{Ó²\restarttextKOI}
\DeclareTextCompositeCommand{\H}{L8U}{^^d5}{Ó³\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^fe}{Ó´\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^de}{Óµ\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^f9}{Ó¸\restarttextKOI}
\DeclareTextCompositeCommand{\"}{L8U}{^^d9}{Ó¹\restarttextKOI}
\DeclareTextCompositeCommand{\textpalhook}{L8U}{^^e8}{Ó¼\restarttextKOI}
\DeclareTextCompositeCommand{\textpalhook}{L8U}{^^c8}{Ó½\restarttextKOI}
\DeclareTextCompositeCommand{\B}{L8U}{^^e8}{Ó¾\restarttextKOI}
\DeclareTextCompositeCommand{\B}{L8U}{^^c8}{Ó¿\restarttextKOI}