Debian Codegraph @

texmf-dist/omega/otp/antomega/uni2lgr.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) 2001 -- 2003 by Alexej Kryukov
8 %% Please report errors to: A.M. Kryukov <[email protected]>
9
10 % Conversion from Unicode to Greek LGR encoding.
11
12 input: 2;
13 output: 1;
14
15 expressions:
16
17 % sequence of accented letters: acute, grave, circumflex, lenis, asper,
18 % lenisacute, lenisgrave, leniscircum, asperacute, aspergrave, aspercircum.
19
20 % combinations with alphaiota
21 @"1FB4 => @"8C;
22 @"1FB2 => @"84;
23 @"1FB7 => @"94;
24 @"1F80 => @"86;
25 @"1F81 => @"85;
26 @"1F84 => @"8E;
27 @"1F82 => @"8F;
28 @"1F86 => @"96;
29 @"1F85 => @"8D;
30 @"1F83 => @"87;
31 @"1F87 => @"95;
32
33 % combinations with etaiota
34 @"1FC4 => @"A4;
35 @"1FC2 => @"9C;
36 @"1FC7 => @"AC;
37 @"1F90 => @"9E;
38 @"1F91 => @"9D;
39 @"1F94 => @"A6;
40 @"1F92 => @"AF;
41 @"1F96 => @"AE;
42 @"1F95 => @"A5;
43 @"1F93 => @"A7;
44 @"1F97 => @"AD;
45
46 % combinations with omegaiota
47 @"1FF4 => @"BC;
48 @"1FF2 => @"B4;
49 @"1FF7 => @"C4;
50 @"1FA0 => @"B6;
51 @"1FA1 => @"B5;
52 @"1FA4 => @"BE;
53 @"1FA2 => @"BF;
54 @"1FA6 => @"C6;
55 @"1FA5 => @"BD;
56 @"1FA3 => @"B7;
57 @"1FA7 => `E';
58
59 % combinations with capital alphaiota
60 @"1F88 => @"3E `A' @"7C;
61 @"1F89 => @"3C `A' @"7C;
62 @"1F8C => `>' `'' `A' @"7C;
63 @"1F8A => `>' ``' `A' @"7C;
64 @"1F8E => `>' `~' `A' @"7C;
65 @"1F8D => `<' `'' `A' @"7C;
66 @"1F8B => `<' ``' `A' @"7C;
67 @"1F8F => `<' `~' `A' @"7C;
68
69 % combinations with capital etaiota
70 @"1F98 => @"3E `H' @"7C;
71 @"1F99 => @"3C `H' @"7C;
72 @"1F9C => `>' `'' `H' @"7C;
73 @"1F9A => `>' ``' `H' @"7C;
74 @"1F9E => `>' `~' `H' @"7C;
75 @"1F9D => `<' `'' `H' @"7C;
76 @"1F9B => `<' ``' `H' @"7C;
77 @"1F9F => `<' `~' `H' @"7C;
78
79 % combinations with capital omegaiota
80 @"1FA8 => @"3E `W' @"7C;
81 @"1FA9 => @"3C `W' @"7C;
82 @"1FAC => `>' `'' `W' @"7C;
83 @"1FAA => `>' ``' `W' @"7C;
84 @"1FAE => `>' `~' `W' @"7C;
85 @"1FAD => `<' `'' `W' @"7C;
86 @"1FAB => `<' ``' `W' @"7C;
87 @"1FAF => `<' `~' `W' @"7C;
88
89 % alphaiota alone
90 @"1FB3 => @"F8;
91 % etaiota alone
92 @"1FC3 => @"F9;
93 % omegaiota alone
94 @"1FF3 => @"FA;
95 % capital alphaiota alone
96 @"1FBC => `A' @"7C;
97 % capital etaiota alone
98 @"1FCC => `H' @"7C;
99 % capital omegaiotaalone
100 @"1FFC => `W' @"7C;
101
102 % combinations with alpha
103 @"1F71 => @"88;
104 @"1F70 => @"80;
105 @"1FB6 => @"90;
106 @"1F00 => @"82;
107 @"1F01 => @"81;
108 @"1F04 => @"8A;
109 @"1F02 => @"8B;
110 @"1F06 => @"92;
111 @"1F05 => @"89;
112 @"1F03 => @"83;
113 @"1F07 => @"91;
114
115 % combination with eta
116 @"1F75 => @"A0;
117 @"1F74 => @"98;
118 @"1FC6 => @"A8;
119 @"1F20 => @"9A;
120 @"1F21 => @"99;
121 @"1F24 => @"A2;
122 @"1F22 => @"AB;
123 @"1F26 => @"AA;
124 @"1F25 => @"A1;
125 @"1F23 => @"A3;
126 @"1F27 => @"A9;
127
128 % combinations with omega
129 @"1F7D => @"B8;
130 @"1F7C => @"B0;
131 @"1FF6 => @"C0;
132 @"1F60 => @"B2;
133 @"1F61 => @"B1;
134 @"1F64 => @"BA;
135 @"1F62 => @"BB;
136 @"1F66 => @"C2;
137 @"1F65 => @"B9;
138 @"1F63 => @"B3;
139 @"1F67 => @"C1;
140
141 % combinations with capital alpha
142 @"1FBB => @"27 `A' ;
143 @"1FBA => @"60 `A' ;
144 @"1F08 => @"3E `A' ;
145 @"1F09 => @"3C `A' ;
146 @"1F0C => `>' `'' `A' ;
147 @"1F0A => `>' ``' `A' ;
148 @"1F0E => `>' `~' `A' ;
149 @"1F0D => `<' `'' `A' ;
150 @"1F0B => `<' ``' `A' ;
151 @"1F0F => `<' `~' `A' ;
152
153 % combination with capital eta
154 @"1FCB => @"27 `H' ;
155 @"1FCA => @"60 `H' ;
156 @"1F28 => @"3E `H' ;
157 @"1F29 => @"3C `H' ;
158 @"1F2C => `>' `'' `H' ;
159 @"1F2A => `>' ``' `H' ;
160 @"1F2E => `>' `~' `H' ;
161 @"1F2D => `<' `'' `H' ;
162 @"1F2B => `<' ``' `H' ;
163 @"1F2F => `<' `~' `H' ;
164
165 % combinations with capital omega
166 @"1FFB => @"27 `W' ;
167 @"1FFA => @"60 `W' ;
168 @"1F68 => @"3E `W' ;
169 @"1F69 => @"3C `W' ;
170 @"1F6C => `>' `'' `W' ;
171 @"1F6A => `>' ``' `W' ;
172 @"1F6E => `>' `~' `W' ;
173 @"1F6D => `<' `'' `W' ;
174 @"1F6B => `<' ``' `W' ;
175 @"1F6F => `<' `~' `W' ;
176
177 % combinations with epsilon
178 @"1F73 => @"E8;
179 @"1F72 => @"E0;
180 @"1F10 => @"E2;
181 @"1F11 => @"E1;
182 @"1F14 => @"EA;
183 @"1F12 => @"EB;
184 @"1F15 => @"E9;
185 @"1F13 => @"E3;
186
187 % combinations with omicron
188 @"1F79 => @"EC;
189 @"1F78 => @"E4;
190 @"1F40 => @"E6;
191 @"1F41 => @"E5;
192 @"1F44 => @"EE;
193 @"1F42 => @"EF;
194 @"1F45 => @"ED;
195 @"1F43 => @"E7;
196
197 % combinations with capital epsilon
198 @"1FC9 => @"27 `E' ;
199 @"1FC8 => @"60 `E' ;
200 @"1F18 => @"3E `E' ;
201 @"1F19 => @"3C `E' ;
202 @"1F1C => `>' `'' `E' ;
203 @"1F1A => `>' ``' `E' ;
204 @"1F1D => `<' `'' `E' ;
205 @"1F1B => `<' ``' `E' ;
206
207 % combinations with capital omicron
208 @"1FF9 => @"27 `O' ;
209 @"1FF8 => @"60 `O' ;
210 @"1F48 => @"3E `O' ;
211 @"1F49 => @"3C `O' ;
212 @"1F4C => `>' `'' `O' ;
213 @"1F4A => `>' `'' `O' ;
214 @"1F4D => `<' `'' `O' ;
215 @"1F4B => `<' ``' `O' ;
216
217 % combinations with iota
218 @"1F77 => @"D0;
219 @"1F76 => @"C8;
220 @"1FD6 => @"D8;
221 @"1F30 => @"CA;
222 @"1F31 => @"C9;
223 @"1F34 => @"D2;
224 @"1F32 => @"D3;
225 @"1F36 => @"DA;
226 @"1F35 => @"D1;
227 @"1F33 => @"CB;
228 @"1F37 => @"D9;
229
230 % combinations with upsilon
231 @"1F7B => @"D4;
232 @"1F7A => @"CC;
233 @"1FE6 => @"DC;
234 @"1F50 => @"CE;
235 @"1F51 => @"CD;
236 @"1F54 => @"D6;
237 @"1F52 => @"D7;
238 @"1F56 => @"DE;
239 @"1F55 => @"D5;
240 @"1F53 => @"CF;
241 @"1F57 => @"DD;
242
243 % combinations with capital iota
244 @"1FDB => @"27 `I' ;
245 @"1FDA => @"60 `I' ;
246 @"1F38 => @"3E `I' ;
247 @"1F39 => @"3C `I' ;
248 @"1F3C => `>' `'' `I' ;
249 @"1F3A => `>' ``' `I' ;
250 @"1F3E => `>' `~' `I' ;
251 @"1F3D => `<' `'' `I' ;
252 @"1F3B => `<' ``' `I' ;
253 @"1F3F => `<' `~' `I' ;
254
255 % combinations with capital upsilon
256 @"1FEB => @"27 `U' ;
257 @"1FEA => @"60 `U' ;
258 @"1F58 => @"3E `U' ;
259 @"1F59 => @"3C `U' ;
260 @"1F5C => `>' `'' `U' ;
261 @"1F5A => `>' ``' `U' ;
262 @"1F5E => `>' `~' `U' ;
263 @"1F5D => `<' `'' `U' ;
264 @"1F5B => `<' ``' `U' ;
265 @"1F5F => `<' `~' `U' ;
266
267 % rho with asper
268 @"1FE5 => @"FB;
269 % rho with lenis
270 @"1FE4 => @"FC;
271 % capital rho with asper
272 @"1FEC => @"3C `R' ;
273
274 % small letters with dieresis
275 @"03CA => @"F0;
276 @"03CB => @"F4;
277 % capital letters with dieresis
278 @"03AA => @"DB;
279 @"03AB => @"DF;
280 % small letters with dieresistonos
281 @"0390 => @"F2;
282 @"03B0 => @"F6;
283 % small letters with dieresisacute
284 @"1FD3 => @"F2;
285 @"1FE3 => @"F6;
286 % small letters with dieresisgrave
287 @"1FD2 => @"F1;
288 @"1FE2 => @"F5;
289 % small letters with dieresiscircum
290 @"1FD7 => @"F3;
291 @"1FE7 => @"F7;
292
293 % small letters with tonos
294 @"03AC => @"88;
295 @"03AD => @"E8;
296 @"03AE => @"A0;
297 @"03AF => @"D0;
298 @"03CC => @"EC;
299 @"03CD => @"D4;
300 @"03CE => @"B8;
301
302 % capital letters with tonos
303 @"0386 => @"27 `A';
304 @"0388 => @"27 `E';
305 @"0389 => @"27 `H';
306 @"038A => @"27 `I';
307 @"038C => @"27 `O';
308 @"038E => @"27 `U';
309 @"038F => @"27 `W';
310
311 % diacritics
312 % lenis
313 @"1FBF => @"3E;
314 % asper
315 @"1FFE => @"3C;
316 % tonos
317 @"0384 => @"27;
318 % acute
319 @"1FFD => @"27;
320 % grave
321 @"1FEF => @"60;
322 % circumflexus
323 @"1FC0 => @"7E;
324 % lenisacute
325 @"1FCE => `>' `'';
326 % lenisgrave
327 @"1FCD => `>' ``';
328 % leniscircum
329 @"1FCF => `>' `~';
330 % asperacute
331 @"1FDE => `<' `'';
332 % aspergrave
333 @"1FDD => `<' ``';
334 % aspercircum
335 @"1FDF => `<' `~';
336 % dieresis
337 @"00A8 => @"22;
338 % dieresistonos
339 @"0385 => @"23;
340 % dieresisacute
341 @"1FEE => @"23;
342 % dieresisgrave
343 @"1FED => @"24;
344 % dieresiscircum
345 @"1FC1 => @"20;
346 % isubscriptum
347 @"037A => @"7C;
348 @"1FBE => @"7C;
349
350 % capital letters
351 @"0391 => `A';
352 @"0392 => `B';
353 @"0393 => `G';
354 @"0394 => `D';
355 @"0395 => `E';
356 @"0396 => `Z';
357 @"0397 => `H';
358 @"0398 => `J';
359 @"0399 => `I';
360 @"039A => `K';
361 @"039B => `L';
362 @"039C => `M';
363 @"039D => `N';
364 @"039E => `X';
365 @"039F => `O';
366 @"03A0 => `P';
367 @"03A1 => `R';
368 @"03A3 => `S';
369 @"03A4 => `T';
370 @"03A5 => `U';
371 @"03A6 => `F';
372 @"03A7 => `Q';
373 @"03A8 => `Y';
374 @"03A9 => `W';
375
376 % small letters
377 @"03B1 => `a';
378 @"03B2 => `b';
379 @"03B3 => `g';
380 @"03B4 => `d';
381 @"03B5 => `e';
382 @"03B6 => `z';
383 @"03B7 => `h';
384 @"03B8 => `j';
385 @"03B9 => `i';
386 @"03BA => `k';
387 @"03BB => `l';
388 @"03BC => `m';
389 @"03BD => `n';
390 @"03BE => `x';
391 @"03BF => `o';
392 @"03C0 => `p';
393 @"03C1 => `r';
394 @"03C2 => `c';
395 @"03C3 => `s';
396 @"03C4 => `t';
397 @"03C5 => `u';
398 @"03C6 => `f';
399 @"03C7 => `q';
400 @"03C8 => `y';
401 @"03C9 => `w';
402
403 % alternative variants
404 % medbeta
405 @"03D0 => `b';
406 % varkappa
407 @"03F0 => `k';
408 % varrho
409 @"03F1 => `r';
410 % varpi
411 @"03D6 => `p';
412 % varphi
413 @"03D5 => `f';
414 % vartheta
415 @"03D1 => `j';
416
417 % numeric and archaic forms
418 % qoppa archaic
419 @"03D9 => "\noocpchar{19}";
420 % Qoppa archaic
421 @"03D8 => "\noocpchar{19}";
422 % qoppa numeric
423 @"03DF => "\noocpchar{18}";
424 % Qoppa numeric
425 @"03DE => "\noocpchar{21}";
426 % stigma
427 @"03DB => "\noocpchar{6}";
428 % Stigma
429 @"03DA => "\noocpchar{22}";
430 % digamma
431 @"03DD => @"93;
432 % Digamma
433 @"03DC => @"C3;
434 % sampi
435 @"03E1 => "\noocpchar{27}";
436 % Sampi
437 @"03E0 => "\noocpchar{23}";
438
439 % anwtonos
440 @"0374 => @"FE;
441 % katwtonos
442 @"0375 => @"FF;
443
444 % common symbols and punctuation
445 % numerals
446 @"0030-@"0039 => \1;
447 % semicolon
448 @"003B => `?';
449 % colon
450 @"003A => `:';
451 % greek question mark
452 @"037E => `?';
453 % ano teleia
454 @"0387 => `;';
455
456 % Zero width non-joiner
457 @"200C => `v';
458 % emdash
459 @"2014 => `-'`-'`-';
460 % endash
461 @"2013 => `-'`-';
462 % guillemots
463 @"00AB => @"7B;
464 @"00BB => @"7D;
465 % singlequotes
466 @"2019 => @"27 @"27;
467 % euro
468 @"20AC => "\noocpchar{24}";
469 % perthousand
470 @"2030 => "\noocpchar{25}";
471 % schwa
472 @"01DD => "\noocpchar{26}";
473
474 % all other symbols
475 . => \1;