| 1 |
%% This file is part of the ANTOMEGA project version 0.6 |
| 2 |
%% ----------------------------------------------------- |
| 3 |
%% |
| 4 |
%% It may be distributed under the terms of the LaTeX Project Public |
| 5 |
%% License, as described in lppl.txt in the base LaTeX distribution. |
| 6 |
%% Either version 1.0 or, at your option, any later version. |
| 7 |
%% Copyright (C) 2003 by Alexej Kryukov |
| 8 |
%% Please report errors to: A.M. Kryukov <[email protected]> |
| 9 |
|
| 10 |
%% Conversion to Unicode from DOS Russian/Ukrainian encoding |
| 11 |
%% (cp866). |
| 12 |
|
| 13 |
input: 1; |
| 14 |
output: 2; |
| 15 |
|
| 16 |
expressions: |
| 17 |
|
| 18 |
% Basic ASCII symbols |
| 19 |
@"00-@"7F => \1; |
| 20 |
|
| 21 |
% Cyrillic numero sign |
| 22 |
@"FC => @"2116; |
| 23 |
|
| 24 |
% Basic Russian alphabet |
| 25 |
@"80-@"AF => #(\1 + @"390); |
| 26 |
@"E0-@"EF => #(\1 + @"360); |
| 27 |
|
| 28 |
% Russian capital letter YO |
| 29 |
@"F0 => @"401; |
| 30 |
|
| 31 |
% Russian small letter YO |
| 32 |
@"F1 => @"451; |
| 33 |
|
| 34 |
% Ukrainian capital letter IE |
| 35 |
@"F2 => @"404; |
| 36 |
|
| 37 |
% Ukrainian small letter IE |
| 38 |
@"F3 => @"454; |
| 39 |
|
| 40 |
% Ukrainian capital letter YI |
| 41 |
@"F4 => @"407; |
| 42 |
|
| 43 |
% Ukrainian small letter YI |
| 44 |
@"F5 => @"457; |
| 45 |
|
| 46 |
% Byelorussian capital letter short U |
| 47 |
@"F6 => @"40E; |
| 48 |
|
| 49 |
% Byelorussian small letter short U |
| 50 |
@"F7 => @"45E; |
| 51 |
|
| 52 |
% all other symbols, including Unicode characters |
| 53 |
. => \1; |