summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/omega/otp/antomega/isocyr2uni.otp
blob: 72da9aba7ec92c63e2a6822cf3260feca5b6bb20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%% This file is part of the ANTOMEGA project version 0.6
%% -----------------------------------------------------
%% 
%% It may be distributed under the terms of the LaTeX Project Public
%% License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
%% Copyright (C) 2001 -- 2003 by Alexej Kryukov
%% Please report errors to: A.M. Kryukov <basileia@yandex.ru>

%% Conversion to Unicode from the ISO-8859-5 Cyrillic encoding.

input:	1;
output:	2;

expressions:

% ASCII symbols
@"00-@"A0	=> \1;

% degree sign
@"AD		=> @"00AD;

% Cyrillic numero sign
@"F0		=> @"2116;

% textsection
@"FD		=> @"00A7;

% Capital Ukrainian, Buelorussian, Serbian and Macedonian letters
@"A1-@"AC	=> #(\1+@"360);
@"AE-@"AF	=> #(\1+@"360);

% Basic Russian alphabeth
@"B0-@"EF	=> #(\1+@"360);

% Small Ukrainian, Buelorussian, Serbian and Macedonian letters
@"F1-@"FC	=> #(\1+@"360);
@"FE-@"FF	=> #(\1+@"360);

%all other symbols, including Unicode characters
.		=> \1;