Debian Codegraph @

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

raw
1 % File tibinwylie.otp
2 % Conversion to Unicode from Tibetan in ASCII, Wylie 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'`h'`x' => @"0f69;
23
24 `t'`s'`h' => @"0f5a;
25 `t'`h'`x' => @"0f4b;
26 `s'`h'`x' => @"0f65;
27 `d'`x'`h' => @"0f4d;
28 `d'`z'`h' => @"0f5c;
29
30 `k'`h' => @"0f41;
31 `g'`h' => @"0f43;
32 `n'`g' => @"0f44;
33 `c'`h' => @"0f46;
34 `n'`y' => @"0f49;
35 `t'`x' => @"0f4a;
36 `d'`x' => @"0f4c;
37 `n'`x' => @"0f4e;
38 `t'`h' => @"0f50;
39 `d'`h' => @"0f52;
40 `p'`h' => @"0f55;
41 `b'`h' => @"0f57;
42 `t'`s' => @"0f59;
43 `d'`z' => @"0f5b;
44 `z'`h' => @"0f5e;
45 `s'`h' => @"0f64;
46
47 @"20 => @"0f0b @"0020 " {}\relax" ; % space to tsheg and space
48
49 @"e1 => @"0f71 ; % vowel aa
50 @"e3 => @"0f73 ; % vowel ii
51 @"e5 => @"0f75 ; % vowel uu
52 @"e6 => @"0f76 ; % vowel r
53 @"e7 => @"0f77 ; % vowel rr
54 @"e8 => @"0f78 ; % vowel l
55 @"e9 => @"0f79 ; % vowel ll
56 @"eb => @"0f7b ; % vowel ee
57 @"ed => @"0f7d ; % vowel oo
58 @"ee => @"0f7e ; % sign rjes su nga ro = anusvara
59 @"ef => @"0f7f ; % sign rnam bcad
60 @"f0 => @"0f80 ; % vowel reversed i
61 @"f1 => @"0f81 ; % vowel reversed ii
62 @"f2 => @"0f82 ; % mark nyi zla naa da
63 @"f3 => @"0f83 ; % mark sna ldan
64 @"f4 => @"0f84 ; % mark halanta
65 @"f5 => @"0f85 ; % mark paluta
66 @"f6 => @"0f86 ; % sign lci rtags
67 @"f7 => @"0f87 ; % sign yang rtags
68 @"f8 => @"0f88 ; % sign lce tsa can
69 @"f9 => @"0f89 ; % sign mchu can
70 @"fa => @"0f8a ; % sign gru can rgyings
71 @"fb => @"0f8b ; % sign gru med rgyings
72 @"fc => @"0f00 ; % om
73 @"fd => @"0f14 ; % endsymbol
74 @"fe => @"0f04 @"0f04 ; % swasti
75 @"ff => @"25cc ; % protector of vowels & subjoiner
76
77 `!' => @"0f0f;
78 @"27 => @"0f60;
79 ( `,' | `.' ) => @"0f0b;
80 `/' => @"0f0d;
81 ( @"30 - @"39 ) => #(\1+@"0ef0);
82 ( @"61 - @"7a ) => #(in_tib[\1-@"61]);
83 . => \1;
84