Debian Codegraph @

texmf-dist/omega/otp/otibet/tibinunicode.otp

raw
1 % File tibinunicode.otp
2 % Conversion to Unicode from Tibetan in ASCII, Unicode Transcription
3 % Copyright (c) 1997 Norbert Preining
4 % this file is part of the otibet package.
5 %
6 % Notes:
7 % * Transcription : TODO
8 % * A tsheg is automatically inserted at a space
9
10 input: 1;
11 output: 2;
12
13 tables:
14 in_tib[@"1a] = {
15 @"0f68, @"0f56, @"0f45, @"0f51, @"0f7a, @"fffd, @"0f42, %@"60-@"67
16 @"0f67, @"0f72, @"0f47, @"0f40, @"0f63, @"0f58, @"0f53, @"0f7c, %@"68-@"6f
17 @"0f54, @"fffd, @"0f62, @"0f66, @"0f4f, @"0f74, @"fffd, @"0f5d, %@"70-@"77
18 @"fffd, @"0f61, @"0f5f
19 };
20
21 expressions:
22 `k'`s'`s' => @"0f69;
23 `t'`s'`h' => @"0f5a;
24 `t'`t'`h' => @"0f4b;
25 `d'`d'`h' => @"0f4d;
26 `d'`z'`h' => @"0f5c;
27
28 `k'`h' => @"0f41;
29 `g'`h' => @"0f43;
30 `n'`g' => @"0f44;
31 `c'`h' => @"0f46;
32 `n'`y' => @"0f49;
33 `t'`t' => @"0f4a;
34 `d'`d' => @"0f4c;
35 `n'`n' => @"0f4e;
36 `t'`h' => @"0f50;
37 `d'`h' => @"0f52;
38 `p'`h' => @"0f55;
39 `b'`h' => @"0f57;
40 `t'`s' => @"0f59;
41 `d'`z' => @"0f5b;
42 `z'`h' => @"0f5e;
43 `s'`h' => @"0f64;
44 `s'`s' => @"0f65;
45
46 @"20 => @"0f0b @"0020 " {}\relax" ; % space to tsheg and space
47
48 @"e1 => @"0f71 ; % vowel aa
49 @"e3 => @"0f73 ; % vowel ii
50 @"e5 => @"0f75 ; % vowel uu
51 @"e6 => @"0f76 ; % vowel r
52 @"e7 => @"0f77 ; % vowel rr
53 @"e8 => @"0f78 ; % vowel l
54 @"e9 => @"0f79 ; % vowel ll
55 @"eb => @"0f7b ; % vowel ee
56 @"ed => @"0f7d ; % vowel oo
57 @"ee => @"0f7e ; % sign rjes su nga ro = anusvara
58 @"ef => @"0f7f ; % sign rnam bcad
59 @"f0 => @"0f80 ; % vowel reversed i
60 @"f1 => @"0f81 ; % vowel reversed ii
61 @"f2 => @"0f82 ; % mark nyi zla naa da
62 @"f3 => @"0f83 ; % mark sna ldan
63 @"f4 => @"0f84 ; % mark halanta
64 @"f5 => @"0f85 ; % mark paluta
65 @"f6 => @"0f86 ; % sign lci rtags
66 @"f7 => @"0f87 ; % sign yang rtags
67 @"f8 => @"0f88 ; % sign lce tsa can
68 @"f9 => @"0f89 ; % sign mchu can
69 @"fa => @"0f8a ; % sign gru can rgyings
70 @"fb => @"0f8b ; % sign gru med rgyings
71 @"fc => @"0f00 ; % om
72 @"fd => @"0f14 ; % endsymbol
73 @"fe => @"0f04 @"0f04 ; % swasti
74 @"ff => @"25cc ; % protector of vowels & subjoiner
75
76 `!' => @"0f0f;
77 @"27 => @"0f60;
78 ( `,' | `.' ) => @"0f0b;
79 `/' => @"0f0d;
80 ( @"30 - @"39 ) => #(\1+@"0ef0);
81 ( @"61 - @"7a ) => #(in_tib[\1-@"61]);
82 . => \1;
83