Debian Codegraph @

texmf-dist/omega/otp/antomega/koirus2uni.otp

raw
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 Russian/Ukrainian KOI8-RU encoding.
11
12 input: 1;
13 output: 2;
14
15 tables:
16
17 tabkoi8[@"40] = {
18 @"044E, @"0430, @"0431, @"0446, @"0434, @"0435, @"0444, @"0433,
19 @"0445, @"0438, @"0439, @"043A, @"043B, @"043C, @"043D, @"043E,
20 @"043F, @"044F, @"0440, @"0441, @"0442, @"0443, @"0436, @"0432,
21 @"044C, @"044B, @"0437, @"0448, @"044D, @"0449, @"0447, @"044A,
22 @"042E, @"0410, @"0411, @"0426, @"0414, @"0415, @"0424, @"0413,
23 @"0425, @"0418, @"0419, @"041A, @"041B, @"041C, @"041D, @"041E,
24 @"041F, @"042F, @"0420, @"0421, @"0422, @"0423, @"0416, @"0412,
25 @"042C, @"042B, @"0417, @"0428, @"042D, @"0429, @"0427, @"042A
26 };
27
28 expressions:
29
30 % Basic ASCII symbols
31 @"00-@"7F => \1;
32
33 % Basic Russian alphabet
34 @"C0-@"FF => #(tabkoi8[\1-@"C0]);
35
36 % Russian capital letter YO
37 @"B3 => @"401;
38
39 % Russian small letter YO
40 @"A3 => @"451;
41
42 % Ukrainian capital letter IE
43 @"B4 => @"404;
44
45 % Ukrainian small letter IE
46 @"A4 => @"454;
47
48 % Ukrainian-Byelorussian capital letter I
49 @"B6 => @"407;
50
51 % Ukrainian-Byelorussian small letter I
52 @"A6 => @"457;
53
54 % Ukrainian capital letter YI
55 @"B7 => @"407;
56
57 % Ukrainian small letter YI
58 @"A7 => @"457;
59
60 % Ukrainian capital letter GHE with upturn
61 @"BD => @"407;
62
63 % Ukrainian small letter GHE with upturn
64 @"AD => @"457;
65
66 % Byelorussian capital letter short U
67 @"BE => @"40E;
68
69 % Byelorussian small letter short U
70 @"AE => @"45E;
71
72 % all other symbols, including Unicode characters
73 . => \1;