blob: 0ac82207ff40fd35dd973b7a6828eb1f8dcbbb48 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
|
%D \module
%D [ file=enco-cyr,
%D version=2003.01.24,
%D title=\CONTEXT\ Encoding Macros,
%D subtitle=Cyrillic,
%D author=...,
%D date=\currentdate,
%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
%D The following kerning test is inspired by a test file
%D provided by Victor Figurnov. I hope he still recognizes
%D some bit and pieces.
%D
%D \starttyping
%D \setupoutput[pdftex]
%D
%D \startMPenvironment[global]
%D \useregime[cyr]
%D \useencoding[cyr]
%D \mainlanguage[ru]
%D \enableregime[cp1251]
%D \setupbodyfont[cyr]
%D \stopMPenvironment
%D
%D \startbuffer
%D \starttabulate[|l|l|l|]
%D \NC \ruledhbox{Ãäå} \NC \ruledhbox{AV} \NC with kerning \NC \NR
%D \NC \ruledhbox{Ã{}ä{}å} \NC \ruledhbox{A{}V} \NC without kerning \NC \NR
%D \NC \ruledhbox{\tfd Ãäå} \NC \ruledhbox{\tfd AV} \NC with kerning \NC \NR
%D \NC \ruledhbox{\tfd Ã{}ä{}å} \NC \ruledhbox{\tfd A{}V} \NC without kerning \NC \NR
%D \stoptabulate
%D
%D \showkerning{Êàê ñäåëàòü äîêóìåíò}
%D \stopbuffer
%D
%D \starttext
%D
%D \title{Kerning test}
%D
%D \typebuffer
%D
%D \rm \subject{Serif font} \getbuffer
%D \ss \subject{SansSerif font} \getbuffer
%D \tt \subject{MonoSpacec font} \getbuffer
%D
%D \stoptext
%D \stoptyping
%D We start with a fallback, define by HH, who assumes that
%D this is phonetic.
\startmapping[t2a]
\resetcaserange 128 to 255
\definecasemaps 192 to 223 lc +32 uc 0 % base letters (russian)
\definecasemaps 224 to 255 lc 0 uc -32
\definecasemaps 128 to 156 lc +32 uc 0 % extra letters (cyrillic and old-slav)
\definecasemaps 160 to 188 lc 0 uc -32
\definecasemap 73 105 73 \definecasemap 105 105 73 % cyrillicII
\definecasemap 74 106 74 \definecasemap 106 106 74 % cyrillicJE
\definecasemap 81 113 81 \definecasemap 113 113 81 % cyrillicQ
\definecasemap 87 119 87 \definecasemap 119 119 87 % cyrillicW
\stopmapping
\startencoding[t2a]
\definecharacter textgrave 0
\definecharacter textacute 1
\definecharacter textcircumflex 2
\definecharacter texttilde 3
\definecharacter textdiaeresis 4
\definecharacter texthungarumlaut 5
\definecharacter textring 6
\definecharacter textcaron 7
\definecharacter textbreve 8
\definecharacter textmacron 9
\definecharacter textdotaccent 10
\definecharacter textcedilla 11
\definecharacter textogonek 12
\definecharacter textcyrillicflex 18
\definecharacter textdblgrave 19
\definecharacter textcyrillicbreve 20
\definecharacter endash 21
\definecharacter emdash 22
\definecharacter textcompwordmark 23
\definecharacter textbackslash 92
\definecharacter textasciicircum 94
\definecharacter textunderscore 95
\definecharacter textbraceleft 123
\definecharacter textbraceright 125
\definecharacter textasciitilde 126
\definecharacter textnumero 157
\definecharacter textcurrency 158
\definecharacter sectionmark 159
\definecharacter quotedbl 34
\definecharacter quoteleft 96
\definecharacter upperleftsingleninequote 39
\definecharacter quotedblleft 16
\definecharacter quotedblright 17
\definecharacter lowerleftdoubleninequote 189
\definecharacter upperrightdoublesixquote 16
\definecharacter upperrightdoubleninequote 17
\definecharacter quotedblbase 189
\definecharacter cyrillicpalochka 13
\definecharacter cyrilliclangle 14
\definecharacter cyrillicrangle 15
\definecharacter leftguillemot 190
\definecharacter rightguillemot 191
\definecharacter dotlessi 25
\definecharacter cyrillicA 192
\definecharacter cyrillica 224
\definecharacter cyrillicB 193
\definecharacter cyrillicb 225
\definecharacter cyrillicV 194
\definecharacter cyrillicv 226
\definecharacter cyrillicG 195
\definecharacter cyrillicg 227
\definecharacter cyrillicD 196
\definecharacter cyrillicd 228
\definecharacter cyrillicE 197
\definecharacter cyrillice 229
\definecharacter cyrillicZH 198
\definecharacter cyrilliczh 230
\definecharacter cyrillicZ 199
\definecharacter cyrillicz 231
\definecharacter cyrillicI 200
\definecharacter cyrillici 232
\definecharacter cyrillicISHRT 201
\definecharacter cyrillicishrt 233
\definecharacter cyrillicK 202
\definecharacter cyrillick 234
\definecharacter cyrillicL 203
\definecharacter cyrillicl 235
\definecharacter cyrillicM 204
\definecharacter cyrillicm 236
\definecharacter cyrillicN 205
\definecharacter cyrillicn 237
\definecharacter cyrillicO 206
\definecharacter cyrillico 238
\definecharacter cyrillicP 207
\definecharacter cyrillicp 239
\definecharacter cyrillicR 208
\definecharacter cyrillicr 240
\definecharacter cyrillicS 209
\definecharacter cyrillics 241
\definecharacter cyrillicT 210
\definecharacter cyrillict 242
\definecharacter cyrillicU 211
\definecharacter cyrillicu 243
\definecharacter cyrillicF 212
\definecharacter cyrillicf 244
\definecharacter cyrillicH 213
\definecharacter cyrillich 245
\definecharacter cyrillicC 214
\definecharacter cyrillicc 246
\definecharacter cyrillicCH 215
\definecharacter cyrillicch 247
\definecharacter cyrillicSH 216
\definecharacter cyrillicsh 248
\definecharacter cyrillicSHCH 217
\definecharacter cyrillicshch 249
\definecharacter cyrillicHRDSN 218
\definecharacter cyrillichrdsn 250
\definecharacter cyrillicERY 219
\definecharacter cyrillicery 251
\definecharacter cyrillicSFTSN 220
\definecharacter cyrillicsftsn 252
\definecharacter cyrillicEREV 221
\definecharacter cyrillicerev 253
\definecharacter cyrillicYU 222
\definecharacter cyrillicyu 254
\definecharacter cyrillicYA 223
\definecharacter cyrillicya 255
\definecharacter cyrillicGUP 128
\definecharacter cyrillicgup 160
\definecharacter cyrillicGHCRS 129
\definecharacter cyrillicghcrs 161
\definecharacter cyrillicDJE 130
\definecharacter cyrillicdje 162
\definecharacter cyrillicTSHE 131
\definecharacter cyrillictshe 163
\definecharacter cyrillicSHHA 132
\definecharacter cyrillicshha 164
\definecharacter cyrillicZHDSC 133
\definecharacter cyrilliczhdsc 165
\definecharacter cyrillicZDSC 134
\definecharacter cyrilliczdsc 166
\definecharacter cyrillicLJE 135
\definecharacter cyrilliclje 167
\definecharacter cyrillicYI 136
\definecharacter cyrillicyi 168
\definecharacter cyrillicKDSC 137
\definecharacter cyrillickdsc 169
\definecharacter cyrillicKBEAK 138
\definecharacter cyrillickbeak 170
\definecharacter cyrillicKVCRS 139
\definecharacter cyrillickvcrs 171
\definecharacter cyrillicAE 140
\definecharacter cyrillicae 172
\definecharacter cyrillicNDSC 141
\definecharacter cyrillicndsc 173
\definecharacter cyrillicNG 142
\definecharacter cyrillicng 174
\definecharacter cyrillicDZE 143
\definecharacter cyrillicdze 175
\definecharacter cyrillicOTLD 144
\definecharacter cyrillicotld 176
\definecharacter cyrillicSDSC 145
\definecharacter cyrillicsdsc 177
\definecharacter cyrillicUSHRT 146
\definecharacter cyrillicushrt 178
\definecharacter cyrillicY 147
\definecharacter cyrillicy 179
\definecharacter cyrillicYHCRS 148
\definecharacter cyrillicyhcrs 180
\definecharacter cyrillicHDSC 149
\definecharacter cyrillichdsc 181
\definecharacter cyrillicDZHE 150
\definecharacter cyrillicdzhe 182
\definecharacter cyrillicCHVCRS 151
\definecharacter cyrillicchvcrs 183
\definecharacter cyrillicCHRDSC 152
\definecharacter cyrillicchrdsc 184
\definecharacter cyrillicIE 153
\definecharacter cyrillicie 185
\definecharacter cyrillicSCHWA 154
\definecharacter cyrillicschwa 186
\definecharacter cyrillicNJE 155
\definecharacter cyrillicnje 187
\definecharacter cyrillicYO 156
\definecharacter cyrillicyo 188
\definecharacter cyrillicII 73
\definecharacter cyrillicii 105
\definecharacter cyrillicJE 74
\definecharacter cyrillicje 106
\definecharacter cyrillicQ 81
\definecharacter cyrillicq 113
\definecharacter cyrillicW 87
\definecharacter cyrillicw 119
% \definecharacter textperthousand {\%\char 24 }
% \definecharacter textpertenthousand {\%\char 24\char 24 }
\stopencoding
\startmapping[t2b]
\resetcaserange 128 to 255
\definecasemaps 192 to 223 lc +32 uc 0 % base letters (russian)
\definecasemaps 224 to 255 lc 0 uc -32
\definecasemaps 128 to 156 lc +32 uc 0 % extra letters (cyrillic and old-slav)
\definecasemaps 160 to 188 lc 0 uc -32
\definecasemap 73 105 73 \definecasemap 105 105 73 % cyrillicII
\definecasemap 74 106 74 \definecasemap 106 106 74 % cyrillicJE
\definecasemap 81 113 81 \definecasemap 113 113 81 % cyrillicQ
\definecasemap 83 115 83 \definecasemap 115 115 83 % cyrillicDZE
\definecasemap 87 119 87 \definecasemap 119 119 87 % cyrillicW
\stopmapping
\startencoding[t2b]
\definecharacter textgrave 0
\definecharacter textacute 1
\definecharacter textcircumflex 2
\definecharacter texttilde 3
\definecharacter textdiaeresis 4
\definecharacter texthungarumlaut 5
\definecharacter textring 6
\definecharacter textcaron 7
\definecharacter textbreve 8
\definecharacter textmacron 9
\definecharacter textdotaccent 10
\definecharacter textcedilla 11
\definecharacter textogonek 12
\definecharacter textcyrillicflex 18
\definecharacter textdblgrave 19
\definecharacter textcyrillicbreve 20
\definecharacter endash 21
\definecharacter emdash 22
\definecharacter textcompwordmark 23
\definecharacter textbackslash 92
\definecharacter textasciicircum 94
\definecharacter textunderscore 95
\definecharacter textbraceleft 123
\definecharacter textbraceright 125
\definecharacter textasciitilde 126
\definecharacter textnumero 157
\definecharacter textcurrency 158
\definecharacter sectionmark 159
\definecharacter quotedbl 34
\definecharacter quoteleft 96
\definecharacter upperleftsingleninequote 39
\definecharacter quotedblleft 16
\definecharacter quotedblright 17
\definecharacter lowerleftdoubleninequote 189
\definecharacter upperrightdoublesixquote 16
\definecharacter upperrightdoubleninequote 17
\definecharacter quotedblbase 189
\definecharacter cyrillicpalochka 13
\definecharacter cyrilliclangle 14
\definecharacter cyrillicrangle 15
\definecharacter leftguillemot 190
\definecharacter rightguillemot 191
\definecharacter dotlessi 25
\definecharacter cyrillicA 192
\definecharacter cyrillica 224
\definecharacter cyrillicB 193
\definecharacter cyrillicb 225
\definecharacter cyrillicV 194
\definecharacter cyrillicv 226
\definecharacter cyrillicG 195
\definecharacter cyrillicg 227
\definecharacter cyrillicD 196
\definecharacter cyrillicd 228
\definecharacter cyrillicE 197
\definecharacter cyrillice 229
\definecharacter cyrillicZH 198
\definecharacter cyrilliczh 230
\definecharacter cyrillicZ 199
\definecharacter cyrillicz 231
\definecharacter cyrillicI 200
\definecharacter cyrillici 232
\definecharacter cyrillicISHRT 201
\definecharacter cyrillicishrt 233
\definecharacter cyrillicK 202
\definecharacter cyrillick 234
\definecharacter cyrillicL 203
\definecharacter cyrillicl 235
\definecharacter cyrillicM 204
\definecharacter cyrillicm 236
\definecharacter cyrillicN 205
\definecharacter cyrillicn 237
\definecharacter cyrillicO 206
\definecharacter cyrillico 238
\definecharacter cyrillicP 207
\definecharacter cyrillicp 239
\definecharacter cyrillicR 208
\definecharacter cyrillicr 240
\definecharacter cyrillicS 209
\definecharacter cyrillics 241
\definecharacter cyrillicT 210
\definecharacter cyrillict 242
\definecharacter cyrillicU 211
\definecharacter cyrillicu 243
\definecharacter cyrillicF 212
\definecharacter cyrillicf 244
\definecharacter cyrillicH 213
\definecharacter cyrillich 245
\definecharacter cyrillicC 214
\definecharacter cyrillicc 246
\definecharacter cyrillicCH 215
\definecharacter cyrillicch 247
\definecharacter cyrillicSH 216
\definecharacter cyrillicsh 248
\definecharacter cyrillicSHCH 217
\definecharacter cyrillicshch 249
\definecharacter cyrillicHRDSN 218
\definecharacter cyrillichrdsn 250
\definecharacter cyrillicERY 219
\definecharacter cyrillicery 251
\definecharacter cyrillicSFTSN 220
\definecharacter cyrillicsftsn 252
\definecharacter cyrillicEREV 221
\definecharacter cyrillicerev 253
\definecharacter cyrillicYU 222
\definecharacter cyrillicyu 254
\definecharacter cyrillicYA 223
\definecharacter cyrillicya 255
\definecharacter cyrillicGDSCHCRS 128
\definecharacter cyrillicgdschcrs 160
\definecharacter cyrillicGHCRS 129
\definecharacter cyrillicghcrs 161
\definecharacter cyrillicGDSC 130
\definecharacter cyrillicgdsc 162
\definecharacter cyrillicGHK 131
\definecharacter cyrillicghk 163
\definecharacter cyrillicSHHA 132
\definecharacter cyrillicshha 164
\definecharacter cyrillicZHDSC 133
\definecharacter cyrilliczhdsc 165
\definecharacter cyrillicDELTA 134
\definecharacter cyrillicdelta 166
\definecharacter cyrillicABHDZE 135
\definecharacter cyrillicabhdze 167
\definecharacter cyrillicLJE 136
\definecharacter cyrilliclje 168
\definecharacter cyrillicKDSC 137
\definecharacter cyrillickdsc 169
\definecharacter cyrillicLDSC 138
\definecharacter cyrillicldsc 170
\definecharacter cyrillicKHK 139
\definecharacter cyrillickhk 171
\definecharacter cyrillicLHK 140
\definecharacter cyrilliclhk 172
\definecharacter cyrillicNDSC 141
\definecharacter cyrillicndsc 173
\definecharacter cyrillicNG 142
\definecharacter cyrillicng 174
\definecharacter cyrillicNHK 143
\definecharacter cyrillicnhk 175
\definecharacter cyrillicOTLD 144
\definecharacter cyrillicotld 176
\definecharacter cyrillicSACRS 145
\definecharacter cyrillicsacrs 177
\definecharacter cyrillicUSHRT 146
\definecharacter cyrillicushrt 178
\definecharacter cyrillicY 147
\definecharacter cyrillicy 179
\definecharacter cyrillicHHCRS 148
\definecharacter cyrillichhcrs 180
\definecharacter cyrillicHDSC 149
\definecharacter cyrillichdsc 181
\definecharacter cyrillicHHK 150
\definecharacter cyrillichhk 182
\definecharacter cyrillicCHLDSC 151
\definecharacter cyrillicchldsc 183
\definecharacter cyrillicCHRDSC 152
\definecharacter cyrillicchrdsc 184
\definecharacter cyrillicNJE 153
\definecharacter cyrillicnje 185
\definecharacter cyrillicSCHWA 154
\definecharacter cyrillicschwa 186
\definecharacter cyrillicEPS 155
\definecharacter cyrilliceps 187
\definecharacter cyrillicYO 156
\definecharacter cyrillicyo 188
\definecharacter cyrillicII 73
\definecharacter cyrillicii 105
\definecharacter cyrillicJE 74
\definecharacter cyrillicje 106
\definecharacter cyrillicQ 81
\definecharacter cyrillicq 113
\definecharacter cyrillicDZE 83
\definecharacter cyrillicdze 115
\definecharacter cyrillicW 87
\definecharacter cyrillicw 119
\stopencoding
\startmapping[t2c]
\resetcaserange 128 to 255
\definecasemaps 192 to 223 lc +32 uc 0 % base letters (russian)
\definecasemaps 224 to 255 lc 0 uc -32
\definecasemaps 128 to 156 lc +32 uc 0 % extra letters (cyrillic and old-slav)
\definecasemaps 160 to 188 lc 0 uc -32
\definecasemap 73 105 73 \definecasemap 105 105 73 % cyrillicII
\definecasemap 74 106 74 \definecasemap 106 106 74 % cyrillicJE
\definecasemap 81 113 81 \definecasemap 113 113 81 % cyrillicQ
\definecasemap 83 115 83 \definecasemap 115 115 83 % cyrillicDZE
\definecasemap 87 119 87 \definecasemap 119 119 87 % cyrillicW
\stopmapping
\startencoding[t2c]
\definecharacter textgrave 0
\definecharacter textacute 1
\definecharacter textcircumflex 2
\definecharacter texttilde 3
\definecharacter textdiaeresis 4
\definecharacter texthungarumlaut 5
\definecharacter textring 6
\definecharacter textcaron 7
\definecharacter textbreve 8
\definecharacter textmacron 9
\definecharacter textdotaccent 10
\definecharacter textcedilla 11
\definecharacter textogonek 12
\definecharacter textcyrillicflex 18
\definecharacter textdblgrave 19
\definecharacter textcyrillicbreve 20
\definecharacter endash 21
\definecharacter emdash 22
\definecharacter textcompwordmark 23
\definecharacter textbackslash 92
\definecharacter textasciicircum 94
\definecharacter textunderscore 95
\definecharacter textbraceleft 123
\definecharacter textbraceright 125
\definecharacter textasciitilde 126
\definecharacter textnumero 157
\definecharacter textcurrency 158
\definecharacter sectionmark 159
\definecharacter quotedbl 34
\definecharacter quoteleft 96
\definecharacter upperleftsingleninequote 39
\definecharacter quotedblleft 16
\definecharacter quotedblright 17
\definecharacter lowerleftdoubleninequote 189
\definecharacter upperrightdoublesixquote 16
\definecharacter upperrightdoubleninequote 17
\definecharacter quotedblbase 189
\definecharacter cyrillicpalochka 13
\definecharacter cyrilliclangle 14
\definecharacter cyrillicrangle 15
\definecharacter leftguillemot 190
\definecharacter rightguillemot 191
\definecharacter dotlessi 25
\definecharacter cyrillicA 192
\definecharacter cyrillica 224
\definecharacter cyrillicB 193
\definecharacter cyrillicb 225
\definecharacter cyrillicV 194
\definecharacter cyrillicv 226
\definecharacter cyrillicG 195
\definecharacter cyrillicg 227
\definecharacter cyrillicD 196
\definecharacter cyrillicd 228
\definecharacter cyrillicE 197
\definecharacter cyrillice 229
\definecharacter cyrillicZH 198
\definecharacter cyrilliczh 230
\definecharacter cyrillicZ 199
\definecharacter cyrillicz 231
\definecharacter cyrillicI 200
\definecharacter cyrillici 232
\definecharacter cyrillicISHRT 201
\definecharacter cyrillicishrt 233
\definecharacter cyrillicK 202
\definecharacter cyrillick 234
\definecharacter cyrillicL 203
\definecharacter cyrillicl 235
\definecharacter cyrillicM 204
\definecharacter cyrillicm 236
\definecharacter cyrillicN 205
\definecharacter cyrillicn 237
\definecharacter cyrillicO 206
\definecharacter cyrillico 238
\definecharacter cyrillicP 207
\definecharacter cyrillicp 239
\definecharacter cyrillicR 208
\definecharacter cyrillicr 240
\definecharacter cyrillicS 209
\definecharacter cyrillics 241
\definecharacter cyrillicT 210
\definecharacter cyrillict 242
\definecharacter cyrillicU 211
\definecharacter cyrillicu 243
\definecharacter cyrillicF 212
\definecharacter cyrillicf 244
\definecharacter cyrillicH 213
\definecharacter cyrillich 245
\definecharacter cyrillicC 214
\definecharacter cyrillicc 246
\definecharacter cyrillicCH 215
\definecharacter cyrillicch 247
\definecharacter cyrillicSH 216
\definecharacter cyrillicsh 248
\definecharacter cyrillicSHCH 217
\definecharacter cyrillicshch 249
\definecharacter cyrillicHRDSN 218
\definecharacter cyrillichrdsn 250
\definecharacter cyrillicERY 219
\definecharacter cyrillicery 251
\definecharacter cyrillicSFTSN 220
\definecharacter cyrillicsftsn 252
\definecharacter cyrillicEREV 221
\definecharacter cyrillicerev 253
\definecharacter cyrillicYU 222
\definecharacter cyrillicyu 254
\definecharacter cyrillicYA 223
\definecharacter cyrillicya 255
\definecharacter cyrillicPHK 128
\definecharacter cyrillicphk 160
\definecharacter cyrillicTETSE 129
\definecharacter cyrillictetse 161
\definecharacter cyrillicTDSC 130
\definecharacter cyrillictdsc 162
\definecharacter cyrillicGHK 131
\definecharacter cyrillicghk 163
\definecharacter cyrillicSHHA 132
\definecharacter cyrillicshha 164
\definecharacter cyrillicRDSC 133
\definecharacter cyrillicrdsc 165
\definecharacter cyrillicRTICK 134
\definecharacter cyrillicrtick 166
\definecharacter cyrillicABHDZE 135
\definecharacter cyrillicabhdze 167
\definecharacter cyrillicMDSC 136
\definecharacter cyrillicmdsc 168
\definecharacter cyrillicKDSC 137
\definecharacter cyrillickdsc 169
\definecharacter cyrillicLDSC 138
\definecharacter cyrillicldsc 170
\definecharacter cyrillicKHCRS 139
\definecharacter cyrillickhcrs 171
\definecharacter cyrillicLHK 140
\definecharacter cyrilliclhk 172
\definecharacter cyrillicNDSC 141
\definecharacter cyrillicndsc 173
\definecharacter cyrillicMHK 142
\definecharacter cyrillicmhk 174
\definecharacter cyrillicNHK 143
\definecharacter cyrillicnhk 175
\definecharacter cyrillicOTLD 144
\definecharacter cyrillicotld 176
\definecharacter cyrillicABHCH 145
\definecharacter cyrillicabhch 177
\definecharacter cyrillicABHCHDSC 146
\definecharacter cyrillicabhchdsc 178
\definecharacter cyrillicSEMISFTSN 147
\definecharacter cyrillicsemisftsn 179
\definecharacter cyrillicISHRTDSC 148
\definecharacter cyrillicishrtdsc 180
\definecharacter cyrillicHDSC 149
\definecharacter cyrillichdsc 181
\definecharacter cyrillicDZHE 150
\definecharacter cyrillicdzhe 182
\definecharacter cyrillicABHHA 151
\definecharacter cyrillicabhha 183
\definecharacter cyrillicCHRDSC 152
\definecharacter cyrillicchrdsc 184
\definecharacter cyrillicNLHK 153
\definecharacter cyrillicnlhk 185
\definecharacter cyrillicSCHWA 154
\definecharacter cyrillicschwa 186
\definecharacter cyrillicRHK 155
\definecharacter cyrillicrhk 187
\definecharacter cyrillicYO 156
\definecharacter cyrillicyo 188
\definecharacter cyrillicII 73
\definecharacter cyrillicii 105
\definecharacter cyrillicJE 74
\definecharacter cyrillicje 106
\definecharacter cyrillicQ 81
\definecharacter cyrillicq 113
\definecharacter cyrillicDZE 83
\definecharacter cyrillicdze 115
\definecharacter cyrillicW 87
\definecharacter cyrillicw 119
\stopencoding
\startmapping[x2]
\resetcaserange 128 to 255
\definecasemaps 192 to 223 lc +32 uc 0 % base letters (russian)
\definecasemaps 224 to 255 lc 0 uc -32
\definecasemaps 128 to 156 lc +32 uc 0 % extra letters (cyrillic and old-slav)
\definecasemaps 160 to 188 lc 0 uc -32
\definecasemaps 65 to 90 lc +32 uc 0 % more extra letters (cyrillic and old-slav)
\definecasemaps 97 to 122 lc 0 uc -32
\definecasemap 28 29 28 \definecasemap 29 29 28 % cyrillicNLHK
\definecasemap 30 31 30 \definecasemap 31 31 30 % cyrillicDELTA
\stopmapping
\startencoding[x2]
\definecharacter textgrave 0
\definecharacter textacute 1
\definecharacter textcircumflex 2
\definecharacter texttilde 3
\definecharacter textdiaeresis 4
\definecharacter texthungarumlaut 5
\definecharacter textring 6
\definecharacter textcaron 7
\definecharacter textbreve 8
\definecharacter textmacron 9
\definecharacter textdotaccent 10
\definecharacter textcedilla 11
\definecharacter textogonek 12
\definecharacter endash 21
\definecharacter emdash 22
\definecharacter textcompwordmark 23
\definecharacter textvisiblespace 32
\definecharacter textdollar 36
\definecharacter textless 60
\definecharacter textgreater 62
\definecharacter textbackslash 92
\definecharacter textasciicircum 94
\definecharacter textunderscore 95
\definecharacter textbraceleft 123
\definecharacter textbar 124
\definecharacter textbraceright 125
\definecharacter textasciitilde 126
\definecharacter textnumero 157
\definecharacter textcurrency 158
\definecharacter textsection 159
\definecharacter sectionmark 159
\definecharacter textquotedbl 34
\definecharacter cyrillicpalochka 13
\definecharacter cyrilliclangle 14
\definecharacter cyrillicrangle 15
\definecharacter leftguillemot 190
\definecharacter rightguillemot 191
\definecharacter upperleftsinglesixquote 96
\definecharacter upperleftsingleninequote 39
\definecharacter upperleftdoublesixquote 16
\definecharacter upperleftdoubleninequote 17
\definecharacter lowerleftdoubleninequote 189
\definecharacter upperrightsinglesixquote 96
\definecharacter upperrightsingleninequote 39
\definecharacter upperrightdoublesixquote 16
\definecharacter upperrightdoubleninequote 17
\definecharacter lowerrightdoubleninequote 189
\definecharacter cyrillicA 192
\definecharacter cyrillica 224
\definecharacter cyrillicB 193
\definecharacter cyrillicb 225
\definecharacter cyrillicV 194
\definecharacter cyrillicv 226
\definecharacter cyrillicG 195
\definecharacter cyrillicg 227
\definecharacter cyrillicD 196
\definecharacter cyrillicd 228
\definecharacter cyrillicE 197
\definecharacter cyrillice 229
\definecharacter cyrillicZH 198
\definecharacter cyrilliczh 230
\definecharacter cyrillicZ 199
\definecharacter cyrillicz 231
\definecharacter cyrillicI 200
\definecharacter cyrillici 232
\definecharacter cyrillicISHRT 201
\definecharacter cyrillicishrt 233
\definecharacter cyrillicK 202
\definecharacter cyrillick 234
\definecharacter cyrillicL 203
\definecharacter cyrillicl 235
\definecharacter cyrillicM 204
\definecharacter cyrillicm 236
\definecharacter cyrillicN 205
\definecharacter cyrillicn 237
\definecharacter cyrillicO 206
\definecharacter cyrillico 238
\definecharacter cyrillicP 207
\definecharacter cyrillicp 239
\definecharacter cyrillicR 208
\definecharacter cyrillicr 240
\definecharacter cyrillicS 209
\definecharacter cyrillics 241
\definecharacter cyrillicT 210
\definecharacter cyrillict 242
\definecharacter cyrillicU 211
\definecharacter cyrillicu 243
\definecharacter cyrillicF 212
\definecharacter cyrillicf 244
\definecharacter cyrillicH 213
\definecharacter cyrillich 245
\definecharacter cyrillicC 214
\definecharacter cyrillicc 246
\definecharacter cyrillicCH 215
\definecharacter cyrillicch 247
\definecharacter cyrillicSH 216
\definecharacter cyrillicsh 248
\definecharacter cyrillicSHCH 217
\definecharacter cyrillicshch 249
\definecharacter cyrillicHRDSN 218
\definecharacter cyrillichrdsn 250
\definecharacter cyrillicERY 219
\definecharacter cyrillicery 251
\definecharacter cyrillicSFTSN 220
\definecharacter cyrillicsftsn 252
\definecharacter cyrillicEREV 221
\definecharacter cyrillicerev 253
\definecharacter cyrillicYU 222
\definecharacter cyrillicyu 254
\definecharacter cyrillicYA 223
\definecharacter cyrillicya 255
\definecharacter cyrillicGUP 128
\definecharacter cyrillicgup 160
\definecharacter cyrillicGHCRS 129
\definecharacter cyrillicghcrs 161
\definecharacter cyrillicGDSC 130
\definecharacter cyrillicgdsc 162
\definecharacter cyrillicGHK 131
\definecharacter cyrillicghk 163
\definecharacter cyrillicSHHA 132
\definecharacter cyrillicshha 164
\definecharacter cyrillicZHDSC 133
\definecharacter cyrilliczhdsc 165
\definecharacter cyrillicZDSC 134
\definecharacter cyrilliczdsc 166
\definecharacter cyrillicABHDZE 135
\definecharacter cyrillicabhdze 167
\definecharacter cyrillicYI 136
\definecharacter cyrillicyi 168
\definecharacter cyrillicKDSC 137
\definecharacter cyrillickdsc 169
\definecharacter cyrillicKBEAK 138
\definecharacter cyrillickbeak 170
\definecharacter cyrillicKHK 139
\definecharacter cyrillickhk 171
\definecharacter cyrillicLHK 140
\definecharacter cyrilliclhk 172
\definecharacter cyrillicNDSC 141
\definecharacter cyrillicndsc 173
\definecharacter cyrillicNG 142
\definecharacter cyrillicng 174
\definecharacter cyrillicNHK 143
\definecharacter cyrillicnhk 175
\definecharacter cyrillicOTLD 144
\definecharacter cyrillicotld 176
\definecharacter cyrillicSDSC 145
\definecharacter cyrillicsdsc 177
\definecharacter cyrillicUSHRT 146
\definecharacter cyrillicushrt 178
\definecharacter cyrillicY 147
\definecharacter cyrillicy 179
\definecharacter cyrillicYHCRS 148
\definecharacter cyrillicyhcrs 180
\definecharacter cyrillicHDSC 149
\definecharacter cyrillichdsc 181
\definecharacter cyrillicHHK 150
\definecharacter cyrillichhk 182
\definecharacter cyrillicCHLDSC 151
\definecharacter cyrillicchldsc 183
\definecharacter cyrillicCHRDSC 152
\definecharacter cyrillicchrdsc 184
\definecharacter cyrillicIE 153
\definecharacter cyrillicie 185
\definecharacter cyrillicSCHWA 154
\definecharacter cyrillicschwa 186
\definecharacter cyrillicEPS 155
\definecharacter cyrilliceps 187
\definecharacter cyrillicYO 156
\definecharacter cyrillicyo 188
\definecharacter cyrillicAE 65
\definecharacter cyrillicae 97
\definecharacter cyrillicDJE 66
\definecharacter cyrillicdje 98
\definecharacter cyrillicTSHE 67
\definecharacter cyrillictshe 99
\definecharacter cyrillicABHCH 68
\definecharacter cyrillicabhch 100
\definecharacter cyrillicABHCHDSC 69
\definecharacter cyrillicabhchdsc 101
\definecharacter cyrillicKVCRS 70
\definecharacter cyrillickvcrs 102
\definecharacter cyrillicKHCRS 71
\definecharacter cyrillickhcrs 103
\definecharacter cyrillicLDSC 72
\definecharacter cyrillicldsc 104
\definecharacter cyrillicII 73
\definecharacter cyrillicii 105
\definecharacter cyrillicJE 74
\definecharacter cyrillicje 106
\definecharacter cyrillicLJE 75
\definecharacter cyrilliclje 107
\definecharacter cyrillicMDSC 76
\definecharacter cyrillicmdsc 108
\definecharacter cyrillicNJE 77
\definecharacter cyrillicnje 109
\definecharacter cyrillicABHHA 78
\definecharacter cyrillicabhha 110
\definecharacter cyrillicPHK 79
\definecharacter cyrillicphk 111
\definecharacter cyrillicRDSC 80
\definecharacter cyrillicrdsc 112
\definecharacter cyrillicQ 81
\definecharacter cyrillicq 113
\definecharacter cyrillicTDSC 82
\definecharacter cyrillictdsc 114
\definecharacter cyrillicDZE 83
\definecharacter cyrillicdze 115
\definecharacter cyrillicTETSE 84
\definecharacter cyrillictetse 116
\definecharacter cyrillicDZHE 85
\definecharacter cyrillicdzhe 117
\definecharacter cyrillicCHVCRS 86
\definecharacter cyrillicchvcrs 118
\definecharacter cyrillicW 87
\definecharacter cyrillicw 119
\definecharacter cyrillicYAT 88
\definecharacter cyrillicyat 120
\definecharacter cyrillicBYUS 89
\definecharacter cyrillicbyus 121
\definecharacter cyrillicIZH 90
\definecharacter cyrillicizh 122
\definecharacter cyrillicNLHK 28
\definecharacter cyrillicnlhk 29
\definecharacter cyrillicDELTA 30
\definecharacter cyrillicdelta 31
\stopencoding
\startmapping[lcy]
\resetcaserange 128 to 255
\definecasemaps 128 to 143 lc +32 uc 0
\definecasemaps 160 to 175 lc 0 uc -32
\definecasemaps 144 to 159 lc +80 uc 0
\definecasemaps 224 to 239 lc 0 uc -80
\definecasemap 240 241 240 \definecasemap 241 241 240 % cyrillicYO
\definecasemap 242 243 242 \definecasemap 243 243 242 % cyrillicGUP
\definecasemap 244 245 244 \definecasemap 245 245 244 % cyrillicIE
\definecasemap 244 247 244 \definecasemap 247 247 244 % cyrillicII
\definecasemap 248 249 248 \definecasemap 249 249 248 % cyrillicYI
\definecasemap 250 251 240 \definecasemap 241 241 240 % cyrillicUSHRT
\stopmapping
\startencoding[lcy]
%D Characters 0 to 127 are as in normal cmr slots
\definecharacter cyrillicA 128
\definecharacter cyrillicB 129
\definecharacter cyrillicV 130
\definecharacter cyrillicG 131
\definecharacter cyrillicD 132
\definecharacter cyrillicE 133
\definecharacter cyrillicZH 134
\definecharacter cyrillicZ 135
\definecharacter cyrillicI 136
\definecharacter cyrillicISHRT 137
\definecharacter cyrillicK 138
\definecharacter cyrillicL 139
\definecharacter cyrillicM 140
\definecharacter cyrillicN 141
\definecharacter cyrillicO 142
\definecharacter cyrillicP 143
\definecharacter cyrillicR 144
\definecharacter cyrillicS 145
\definecharacter cyrillicT 146
\definecharacter cyrillicU 147
\definecharacter cyrillicF 148
\definecharacter cyrillicH 149
\definecharacter cyrillicC 150
\definecharacter cyrillicCH 151
\definecharacter cyrillicSH 152
\definecharacter cyrillicSHCH 153
\definecharacter cyrillicHRDSN 154
\definecharacter cyrillicERY 155
\definecharacter cyrillicSFTSN 156
\definecharacter cyrillicEREV 157
\definecharacter cyrillicYU 158
\definecharacter cyrillicYA 159
\definecharacter cyrillica 160
\definecharacter cyrillicb 161
\definecharacter cyrillicv 162
\definecharacter cyrillicg 163
\definecharacter cyrillicd 164
\definecharacter cyrillice 165
\definecharacter cyrilliczh 166
\definecharacter cyrillicz 167
\definecharacter cyrillici 168
\definecharacter cyrillicishrt 169
\definecharacter cyrillick 170
\definecharacter cyrillicl 171
\definecharacter cyrillicm 172
\definecharacter cyrillicn 173
\definecharacter cyrillico 174
\definecharacter cyrillicp 175
\definecharacter cyrillicr 224
\definecharacter cyrillics 225
\definecharacter cyrillict 226
\definecharacter cyrillicu 227
\definecharacter cyrillicf 228
\definecharacter cyrillich 229
\definecharacter cyrillicc 230
\definecharacter cyrillicch 231
\definecharacter cyrillicsh 232
\definecharacter cyrillicshch 233
\definecharacter cyrillichrdsn 234
\definecharacter cyrillicery 235
\definecharacter cyrillicsftsn 236
\definecharacter cyrillicerev 237
\definecharacter cyrillicyu 238
\definecharacter cyrillicya 239
\definecharacter cyrillicYO 240
\definecharacter cyrillicyo 241
\definecharacter cyrillicGUP 242
\definecharacter cyrillicgup 243
\definecharacter cyrillicIE 244
\definecharacter cyrillicie 245
\definecharacter cyrillicII 246
\definecharacter cyrillicii 247
\definecharacter cyrillicYI 248
\definecharacter cyrillicyi 249
\definecharacter cyrillicUSHRT 250
\definecharacter cyrillicushrt 251
\definecharacter emdash 196
\definecharacter textcurrency 197
\definecharacter textnumero 252
\definecharacter leftguillemot 253
\definecharacter rightguillemot 254
\definecharacter quotedblbase 255
\stopencoding
\endinput
|