1 % Copyright 2000 Vladimir Volovich <vvv@vsu.ru>
2 \ProvidesFile{utf-8.def}[2000/08/19 v0.1 input encoding file for utf-8]
5 \let\@inpenc@test\relax
13 \def~##1{\csname U2\string~\string##1\endcsname}%
15 \ifnum\count@<223\relax
25 \def~##1##2{\csname U3\string~\string##1\string##2\endcsname}%
27 \ifnum\count@<239\relax
31 % FIXME: define U4, U5, U6
33 \def\get@code#1#2;{\count@\if x\noexpand#1"\else#1\fi#2\relax}
35 \def\UnicodeCharacter#1#2{%
37 \ifnum\count@<"80\relax
39 \else\ifnum\count@<"800\relax
50 \advance\@tempcnta-\count@
56 \toks@\expandafter{\the\toks@\string~}%
58 \expandafter\expandafter\expandafter
59 \def\expandafter\csname\the\toks@\endcsname{#2}%
65 \@ifundefined{ver@utfcyr.def}{\input{utfcyr.def}}\relax
66 \@ifundefined{ver@utflat.def}{\input{utflat.def}}\relax