<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\ProvidesPackage{xecyr}%
        [2019/10/04 v1.2 Definitions for Cyrillic Babel and XeLaTeX/LuaTeX compatibility]

\RequirePackage{ifluatex}
\RequirePackage{ifxetex}

\newif\if@EXT
\DeclareOption{ext}{\@EXTtrue}
\DeclareOption{noext}{\@EXTfalse}
\newif\if@MIS
\DeclareOption{mis}{\@MIStrue}
\DeclareOption{nomis}{\@MISfalse}

\ExecuteOptions{ext,nomis}
\ProcessOptions

\if@MIS
  \RequirePackage{misccorr}
\fi

\ifluatex
  \if@EXT
    \RequirePackage{luatextra}
    \defaultfontfeatures{Mapping=tex-text}
  \fi
\else
  \ifxetex
    \if@EXT
      \RequirePackage{xltxtra}
      \defaultfontfeatures{Mapping=tex-text}
    \fi
  \else % pdflatex/inputenc hack
    \RequirePackage[utf8]{inputenc}
    \def\setmainfont#1{}
    \def\setsansfont#1{}
    \def\setmonofont#1{}
    \endinput
  \fi
\fi

\@ifpackageloaded{xunicode}{}{\RequirePackage{xunicode}}

%%% Cyrillic letter TeX definitions for XeTeX/LuaTeX
% This definition set is complete for all Slavic Cyrillic 
% languages (Russian, Ukrainian, Belorussian,
% Rusyn, Serbian, Macedonian and Bulgarian alphabets).
%
% It has not been confirmed as complete, but might be, for those
% non-Slavic Cyrillic languages:
% Ossetian, Khalka, Buryat, Kalmyk, Kyrgyz, Tatar, Uzbek
% Azerbaijani, Kazakh, Abkhaz, Chukchi.

%%% Part I
%%% Cyrillic letters defined as a continuous stretch 
%%% in Unicode and most common 8-bit encodings which define them:

\DeclareUTFcharacter[\UTFencname]{x0410}{\CYRA}        % Ð
\DeclareUTFcharacter[\UTFencname]{x0430}{\cyra}        % Ð°
\DeclareUTFcharacter[\UTFencname]{x0411}{\CYRB}        % Ð‘
\DeclareUTFcharacter[\UTFencname]{x0431}{\cyrb}        % Ð±
\DeclareUTFcharacter[\UTFencname]{x0412}{\CYRV}        % Ð’ 
\DeclareUTFcharacter[\UTFencname]{x0432}{\cyrv}        % Ð²
\DeclareUTFcharacter[\UTFencname]{x0413}{\CYRG}        % Ð“
\DeclareUTFcharacter[\UTFencname]{x0433}{\cyrg}        % Ð³
\DeclareUTFcharacter[\UTFencname]{x0414}{\CYRD}        % Ð”
\DeclareUTFcharacter[\UTFencname]{x0434}{\cyrd}        % Ð´
\DeclareUTFcharacter[\UTFencname]{x0415}{\CYRE}        % Ð• 
\DeclareUTFcharacter[\UTFencname]{x0435}{\cyre}        % Ðµ
\DeclareUTFcharacter[\UTFencname]{x0416}{\CYRZH}       % Ð– 
\DeclareUTFcharacter[\UTFencname]{x0436}{\cyrzh}       % Ð¶
\DeclareUTFcharacter[\UTFencname]{x0417}{\CYRZ}        % Ð—
\DeclareUTFcharacter[\UTFencname]{x0437}{\cyrz}        % Ð·
\DeclareUTFcharacter[\UTFencname]{x0418}{\CYRI}        % Ð˜
\DeclareUTFcharacter[\UTFencname]{x0438}{\cyri}        % Ð¸
\DeclareUTFcharacter[\UTFencname]{x0419}{\CYRISHRT}    % Ð™
\DeclareUTFcharacter[\UTFencname]{x0439}{\cyrishrt}    % Ð¹
\DeclareUTFcharacter[\UTFencname]{x041A}{\CYRK}        % Ðš
\DeclareUTFcharacter[\UTFencname]{x043A}{\cyrk}        % Ðº
\DeclareUTFcharacter[\UTFencname]{x041B}{\CYRL}        % Ð›
\DeclareUTFcharacter[\UTFencname]{x043B}{\cyrl}        % Ð» 
\DeclareUTFcharacter[\UTFencname]{x041C}{\CYRM}        % Ðœ
\DeclareUTFcharacter[\UTFencname]{x043C}{\cyrm}        % Ð¼
\DeclareUTFcharacter[\UTFencname]{x041D}{\CYRN}        % Ð
\DeclareUTFcharacter[\UTFencname]{x043D}{\cyrn}        % Ð½
\DeclareUTFcharacter[\UTFencname]{x041E}{\CYRO}        % Ðž
\DeclareUTFcharacter[\UTFencname]{x043E}{\cyro}        % Ð¾
\DeclareUTFcharacter[\UTFencname]{x041F}{\CYRP}        % ÐŸ
\DeclareUTFcharacter[\UTFencname]{x043F}{\cyrp}        % Ð¿
\DeclareUTFcharacter[\UTFencname]{x0420}{\CYRR}        % Ð&nbsp;
\DeclareUTFcharacter[\UTFencname]{x0440}{\cyrr}        % Ñ€
\DeclareUTFcharacter[\UTFencname]{x0421}{\CYRS}        % Ð¡
\DeclareUTFcharacter[\UTFencname]{x0441}{\cyrs}        % Ñ
\DeclareUTFcharacter[\UTFencname]{x0422}{\CYRT}        % Ð¢
\DeclareUTFcharacter[\UTFencname]{x0442}{\cyrt}        % Ñ‚
\DeclareUTFcharacter[\UTFencname]{x0423}{\CYRU}        % Ð£
\DeclareUTFcharacter[\UTFencname]{x0443}{\cyru}        % Ñƒ
\DeclareUTFcharacter[\UTFencname]{x0424}{\CYRF}        % Ð¤
\DeclareUTFcharacter[\UTFencname]{x0444}{\cyrf}        % Ñ„
\DeclareUTFcharacter[\UTFencname]{x0425}{\CYRH}        % Ð¥
\DeclareUTFcharacter[\UTFencname]{x0445}{\cyrh}        % Ñ…
\DeclareUTFcharacter[\UTFencname]{x0426}{\CYRC}        % Ð¦
\DeclareUTFcharacter[\UTFencname]{x0446}{\cyrc}        % Ñ†
\DeclareUTFcharacter[\UTFencname]{x0427}{\CYRCH}       % Ð§
\DeclareUTFcharacter[\UTFencname]{x0447}{\cyrch}       % Ñ‡
\DeclareUTFcharacter[\UTFencname]{x0428}{\CYRSH}       % Ð¨
\DeclareUTFcharacter[\UTFencname]{x0448}{\cyrsh}       % Ñˆ
\DeclareUTFcharacter[\UTFencname]{x0429}{\CYRSHCH}     % Ð©
\DeclareUTFcharacter[\UTFencname]{x0449}{\cyrshch}     % Ñ‰
\DeclareUTFcharacter[\UTFencname]{x042A}{\CYRHRDSN}    % Ðª
\DeclareUTFcharacter[\UTFencname]{x044A}{\cyrhrdsn}    % ÑŠ
\DeclareUTFcharacter[\UTFencname]{x042B}{\CYRERY}      % Ð«
\DeclareUTFcharacter[\UTFencname]{x044B}{\cyrery}      % Ñ‹
\DeclareUTFcharacter[\UTFencname]{x042C}{\CYRSFTSN}    % Ð¬
\DeclareUTFcharacter[\UTFencname]{x044C}{\cyrsftsn}    % ÑŒ
\DeclareUTFcharacter[\UTFencname]{x042D}{\CYREREV}     % Ð­
\DeclareUTFcharacter[\UTFencname]{x044D}{\cyrerev}     % Ñ
\DeclareUTFcharacter[\UTFencname]{x042E}{\CYRYU}       % Ð®
\DeclareUTFcharacter[\UTFencname]{x044E}{\cyryu}       % ÑŽ
\DeclareUTFcharacter[\UTFencname]{x042F}{\CYRYA}       % Ð¯
\DeclareUTFcharacter[\UTFencname]{x044F}{\cyrya}       % Ñ

%%% Part II
%%% Cyrillic letters not defined as continuous stretches,
%%% but available in common 8-bit cyrillic encodings,
%%% like cp1251 and iso-8859-5, sorted by languages 
%%% they're used in for ease of checking:

% Common to many languages:
\DeclareUTFcharacter[\UTFencname]{x0401}{\CYRYO}       % Ð
\DeclareUTFcharacter[\UTFencname]{x0451}{\cyryo}       % Ñ‘
% Belorussian-Uzbek:
\DeclareUTFcharacter[\UTFencname]{x040E}{\CYRUSHRT}    % ÐŽ
\DeclareUTFcharacter[\UTFencname]{x045E}{\cyrushrt}    % Ñž
% Ukrainian-Rusyn:
\DeclareUTFcharacter[\UTFencname]{x0490}{\CYRGUP}      % Ò
\DeclareUTFcharacter[\UTFencname]{x0491}{\cyrgup}      % Ò‘
\DeclareUTFcharacter[\UTFencname]{x0407}{\CYRYI}       % Ð‡
\DeclareUTFcharacter[\UTFencname]{x0457}{\cyryi}       % Ñ—
\DeclareUTFcharacter[\UTFencname]{x0404}{\CYRIE}       % Ð„
\DeclareUTFcharacter[\UTFencname]{x0454}{\cyrie}       % Ñ” 
% Ukrainian-Belorussian-Rusyn-Kazakh:
\DeclareUTFcharacter[\UTFencname]{x0406}{\CYRII}       % Ð†
\DeclareUTFcharacter[\UTFencname]{x0456}{\cyrii}       % Ñ–
% Serbian-Macedonian-Azerbaijani:
\DeclareUTFcharacter[\UTFencname]{x0408}{\CYRJE}       % Ðˆ
\DeclareUTFcharacter[\UTFencname]{x0458}{\cyrje}       % Ñ˜
% Serbian-Macedonian-Abkhaz:
\DeclareUTFcharacter[\UTFencname]{x040F}{\CYRDZHE}     % Ð
\DeclareUTFcharacter[\UTFencname]{x045F}{\cyrdzhe}     % ÑŸ
% Serbian-Macedonian:
\DeclareUTFcharacter[\UTFencname]{x0409}{\CYRLJE}      % Ð‰
\DeclareUTFcharacter[\UTFencname]{x0459}{\cyrlje}      % Ñ™
\DeclareUTFcharacter[\UTFencname]{x040A}{\CYRNJE}      % ÐŠ
\DeclareUTFcharacter[\UTFencname]{x045A}{\cyrnje}      % Ñš
% Serbian:
\DeclareUTFcharacter[\UTFencname]{x0402}{\CYRDJE}      % Ð‚
\DeclareUTFcharacter[\UTFencname]{x0452}{\cyrdje}      % Ñ’
\DeclareUTFcharacter[\UTFencname]{x040B}{\CYRTSHE}     % Ð‹
\DeclareUTFcharacter[\UTFencname]{x045B}{\cyrtshe}     % Ñ›
% Macedonian:
\DeclareUTFcharacter[\UTFencname]{x0405}{\CYRDZE}      % Ð…
\DeclareUTFcharacter[\UTFencname]{x0455}{\cyrdze}      % Ñ•
\DeclareUTFcharacter[\UTFencname]{x0403}{\CYRGJE}      % Ðƒ
\DeclareUTFcharacter[\UTFencname]{x0453}{\cyrgje}      % Ñ“
\DeclareUTFcharacter[\UTFencname]{x040C}{\CYRKJE}      % ÐŒ
\DeclareUTFcharacter[\UTFencname]{x045C}{\cyrkje}      % Ñœ

%%% Part III
%%% Non-Slavic Cyrillic letters, waiting for their experts
%%% to be confirmed as correct.
%%% From here on, we're out of the frequently used 8-bit land
%%% and into mostly Unicode territory.

% Azerbaijani-Abkhaz-Kalmyk-Kazakh-Tatar:
\DeclareUTFcharacter[\UTFencname]{x04D8}{\CYRSCHWA}    % Ó˜
\DeclareUTFcharacter[\UTFencname]{x04D9}{\cyrschwa}    % Ó™
% Azerbaijani-Kyrgyz-Buryat-Kazakh-Tatar:
\DeclareUTFcharacter[\UTFencname]{x04BA}{\CYRSHHA}     % Òº
\DeclareUTFcharacter[\UTFencname]{x04BB}{\cyrshha}     % Ò»
% Azerbaijani-Kyrgyz-Buryat-Kalmyk-Kazakh-Tatar:
\DeclareUTFcharacter[\UTFencname]{x04E8}{\CYROTLD}     % Ó¨
\DeclareUTFcharacter[\UTFencname]{x04E9}{\cyrotld}     % Ó©
\DeclareUTFcharacter[\UTFencname]{x04AE}{\CYRY}        % Ò®
\DeclareUTFcharacter[\UTFencname]{x04AF}{\cyry}        % Ò¯
% Azerbaijani-Tajik-Kazakh-Uzbek:
\DeclareUTFcharacter[\UTFencname]{x0492}{\CYRGHCRS}    % Ò’ 
\DeclareUTFcharacter[\UTFencname]{x0493}{\cyrghcrs}    % Ò“
% Tajik-Abkhaz-Kazakh-Uzbek:
\DeclareUTFcharacter[\UTFencname]{x049A}{\CYRKDSC}     % Òš
\DeclareUTFcharacter[\UTFencname]{x049B}{\cyrkdsc}     % Ò›
% Tajik-Abkhaz-Uzbek:
\DeclareUTFcharacter[\UTFencname]{x04B2}{\CYRHDSC}     % Ò²
\DeclareUTFcharacter[\UTFencname]{x04B3}{\cyrhdsc}     % Ò³
% Tajik-Abkhaz:
\DeclareUTFcharacter[\UTFencname]{x04B6}{\CYRCHRDSC}   % Ò¶
\DeclareUTFcharacter[\UTFencname]{x04B7}{\cyrchrdsc}   % Ò·
% Kalmyk-Kyrguz-Tatar:
\DeclareUTFcharacter[\UTFencname]{x04A2}{\CYRNDSC}     % Ò¢
\DeclareUTFcharacter[\UTFencname]{x04A3}{\cyrndsc}     % Ò£
% Kalmyk-Tatar:
\DeclareUTFcharacter[\UTFencname]{x0496}{\CYRZHDSC}    % Ò–
\DeclareUTFcharacter[\UTFencname]{x0497}{\cyrzhdsc}    % Ò—
% Ossetian: 
\DeclareUTFcharacter[\UTFencname]{x04D4}{\CYRAE}       % Ó”
\DeclareUTFcharacter[\UTFencname]{x04D5}{\cyrae}       % Ó•
% Azerbaijani:
\DeclareUTFcharacter[\UTFencname]{x04B8}{\CYRCHVCRS}   % Ò¸
\DeclareUTFcharacter[\UTFencname]{x04B9}{\cyrchvcrs}   % Ò¹ 
\DeclareUTFcharacter[\UTFencname]{x049C}{\CYRKVCRS}    % Òœ
\DeclareUTFcharacter[\UTFencname]{x049D}{\cyrkvcrs}    % Ò
% Kazakh:
\DeclareUTFcharacter[\UTFencname]{x04B0}{\CYRYHCRS}    % Ò°
\DeclareUTFcharacter[\UTFencname]{x04B1}{\cyryhcrs}    % Ò±
% Abkhaz:
\DeclareUTFcharacter[\UTFencname]{x0494}{\CYRGHK}      % Ò”
\DeclareUTFcharacter[\UTFencname]{x0495}{\cyrghk}      % Ò•
\DeclareUTFcharacter[\UTFencname]{x04E0}{\CYRABHDZE}   % Ó&nbsp;
\DeclareUTFcharacter[\UTFencname]{x04E1}{\cyrabhdze}   % Ó¡
\DeclareUTFcharacter[\UTFencname]{x049E}{\CYRKHCRS}    % Òž
\DeclareUTFcharacter[\UTFencname]{x049F}{\cyrkhcrs}    % ÒŸ  
\DeclareUTFcharacter[\UTFencname]{x04A6}{\CYRPHK}      % Ò¦
\DeclareUTFcharacter[\UTFencname]{x04A7}{\cyrphk}      % Ò§
\DeclareUTFcharacter[\UTFencname]{x04AC}{\CYRTDSC}     % Ò¬
\DeclareUTFcharacter[\UTFencname]{x04AD}{\cyrtdsc}     % Ò­
\DeclareUTFcharacter[\UTFencname]{x04B4}{\CYRTETSE}    % Ò´
\DeclareUTFcharacter[\UTFencname]{x04B5}{\cyrtetse}    % Òµ  
\DeclareUTFcharacter[\UTFencname]{x04BC}{\CYRABHCH}    % Ò¼
\DeclareUTFcharacter[\UTFencname]{x04BD}{\cyrabhch}    % Ò½ 
\DeclareUTFcharacter[\UTFencname]{x04BE}{\CYRABHCHDSC} % Ò¾
\DeclareUTFcharacter[\UTFencname]{x04BF}{\cyrabhchdsc} % Ò¿ 
\DeclareUTFcharacter[\UTFencname]{x04A8}{\CYRABHHA}    % Ò¨
\DeclareUTFcharacter[\UTFencname]{x04A9}{\cyrabhha}    % Ò©
% Chukchi: 
\DeclareUTFcharacter[\UTFencname]{x04C3}{\CYRKHK}      % Óƒ
\DeclareUTFcharacter[\UTFencname]{x04C4}{\cyrkhk}      % Ó„
\DeclareUTFcharacter[\UTFencname]{x04C7}{\CYRNHK}      % Ó‡
\DeclareUTFcharacter[\UTFencname]{x04C8}{\cyrnhk}      % Óˆ

%% P.S. Tajik and Chuvash, while mentioned, 
%% have letters which are apparently missing and are NOT complete.

%%% Part IV  
%%% Historical letters, needed to support old orthographies.
\DeclareUTFcharacter[\UTFencname]{x0462}{\CYRYAT}      % Ñ¢
\DeclareUTFcharacter[\UTFencname]{x0463}{\cyryat}      % Ñ£
\DeclareUTFcharacter[\UTFencname]{x046A}{\CYRBYUS}     % Ñª
\DeclareUTFcharacter[\UTFencname]{x046B}{\cyrbyus}     % Ñ«
\DeclareUTFcharacter[\UTFencname]{x0474}{\CYRIZH}      % Ñ´
\DeclareUTFcharacter[\UTFencname]{x0475}{\cyrizh}      % Ñµ
\DeclareUTFcharacter[\UTFencname]{x0472}{\CYRFITA}     % Ñ²
\DeclareUTFcharacter[\UTFencname]{x0473}{\cyrfita}     % Ñ³

%%% Part V
%%% UNRECOGNISED NON-SLAVIC CYRILLIC LETTERS
%%% Belong to languages not mentioned herein.

\DeclareUTFcharacter[\UTFencname]{x04C0}{\CYRpalochka} % Ó€
\DeclareUTFcharacter[\UTFencname]{x0498}{\CYRZDSC}     % Ò˜
\DeclareUTFcharacter[\UTFencname]{x0499}{\cyrzdsc}     % Ò™
\DeclareUTFcharacter[\UTFencname]{x04A0}{\CYRKBEAK}    % Ò&nbsp;
\DeclareUTFcharacter[\UTFencname]{x04A1}{\cyrkbeak}    % Ò¡
\DeclareUTFcharacter[\UTFencname]{x04A4}{\CYRNG}       % Ò¤
\DeclareUTFcharacter[\UTFencname]{x04A5}{\cyrng}       % Ò¥
\DeclareUTFcharacter[\UTFencname]{x04AA}{\CYRSDSC}     % Òª
\DeclareUTFcharacter[\UTFencname]{x04AB}{\cyrsdsc}     % Ò«
\DeclareUTFcharacter[\UTFencname]{x04CB}{\CYRCHLDSC}   % Ó‹
\DeclareUTFcharacter[\UTFencname]{x04CC}{\cyrchldsc}   % ÓŒ

%% These are probably improperly named either in TeX or Unicode,
%% since their Unicode names and TeX names do not match.
%% TeX definitely treats them as the same symbol though.
\DeclareUTFcharacter[\UTFencname]{x04CD}{\CYRMDSC}     % Ó
\DeclareUTFcharacter[\UTFencname]{x04CE}{\cyrmdsc}     % ÓŽ
\DeclareUTFcharacter[\UTFencname]{x04C5}{\CYRLDSC}     % Ó… 
\DeclareUTFcharacter[\UTFencname]{x04C6}{\cyrldsc}     % Ó†

%% These two letters are part of proposed Unicode for Kurdish
%% and their codepoints may or may not change upon inclusion.
\DeclareUTFcharacter[\UTFencname]{x051A}{\CYRQ}
\DeclareUTFcharacter[\UTFencname]{x051B}{\cyrq}
\DeclareUTFcharacter[\UTFencname]{x051C}{\CYRW}
\DeclareUTFcharacter[\UTFencname]{x051D}{\cyrw}

%%% Part VII
%%% PUNCTUATION AND UNCLEAR CASES
%%% Exotic (punctuation, letters...)
%%% (this list is probably incomplete)

% A dash - Defined in cyrillic.mtx to be emdash
% and should have been emdash all along.
\DeclareUTFcharacter[\UTFencname]{x2014}{\cyrdash} 

% Exotic angle brackets.
% Might still be unprintable for you.
\DeclareUTFcharacter[\UTFencname]{x27E8}{\cyrlangle}
\DeclareUTFcharacter[\UTFencname]{x27E9}{\cyrrangle}

% This particular association is not certain but I guess 
% we'll hear about it when someone trips over it.
\DeclareUTFcharacter[\UTFencname]{x0510}{\CYREPS}
\DeclareUTFcharacter[\UTFencname]{x0511}{\cyreps}

% Can't confirm those, but I'm positive the codepoints are correct:
\DeclareUTFcharacter[\UTFencname]{x04F6}{\CYRGDSC}
\DeclareUTFcharacter[\UTFencname]{x04F7}{\cyrgdsc}
\DeclareUTFcharacter[\UTFencname]{x04FC}{\CYRHHK}
\DeclareUTFcharacter[\UTFencname]{x04FD}{\cyrhhk}
\DeclareUTFcharacter[\UTFencname]{x0512}{\CYRLHK}
\DeclareUTFcharacter[\UTFencname]{x0513}{\cyrlhk}

% I could not assign these in a way that would make sense,
% since I couldn't find matches in cyrillic unicode table.

%\DeclareUTFcharacter[\UTFencname]{x????}{\CYRNLHK}
%\DeclareUTFcharacter[\UTFencname]{x????}{\cyrnlhk}
%\DeclareUTFcharacter[\UTFencname]{x????}{\CYRRDSC}
%\DeclareUTFcharacter[\UTFencname]{x????}{\cyrrdsc}

% Oddities:
% I don't see a letter like that in Unicode cyrillic table.
% I've no idea what is it doing in a cyrillic encoding either.
%\DeclareUTFcharacter[\UTFencname]{x????}{\CYRDELTA}
%\DeclareUTFcharacter[\UTFencname]{x????}{\cyrdelta}

% Quotes
% Ligatures &lt;&lt; and &gt;&gt; are working only with the last versions of "tex-text.map" 
% and "tex-text.tec" (http://scripts.sil.org/svn-view/xetex/TRUNK) 
\DeclareUTFcharacter[\UTFencname]{x00AB}{\flqq} 
\DeclareUTFcharacter[\UTFencname]{x00BB}{\frqq} 
\DeclareUTFcharacter[\UTFencname]{x201E}{\glqq} 
\DeclareUTFcharacter[\UTFencname]{x201C}{\grqq}

% To make it (and "--- -like shortcuts) work, "xecyr" must be loaded _after_ babel.
\def\cyrdash{\hbox to.8em{--\hss--}}

\endinput
</pre></body></html>