Debian Codegraph @

texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-t2a.tex

raw
1 % conv-utf8-t2a.tex
2 %
3 % Conversion from UTF-8 to T2A,
4 % used before loading hyphenation patterns for 8-bit TeX engines.
5 %
6 % This file is part of hyph-utf8 package and autogenerated.
7 % See http://tug.org/tex-hyphen
8 %
9 % Copyright 2008-2026 TeX Users Group.
10 % You may freely use, modify and/or distribute this file.
11 % (But consider adapting the scripts if you need modifications.)
12 %
13 \catcode"C4=\active
14 \catcode"D0=\active
15 \catcode"D1=\active
16 \catcode"D2=\active
17 \catcode"D3=\active
18 %
19 \def^^c4#1{%
20 \ifx#1^^b1^^19\else % ı - U+0131 - i
21 \errmessage{Hyphenation pattern file corrupted or t2a encoding not supported!}
22 \fi}
23 \def^^d0#1{%
24 \ifx#1^^b0^^e0\else % а - U+0430 - cyra
25 \ifx#1^^b1^^e1\else % б - U+0431 - cyrb
26 \ifx#1^^b2^^e2\else % в - U+0432 - cyrv
27 \ifx#1^^b3^^e3\else % г - U+0433 - cyrg
28 \ifx#1^^b4^^e4\else % д - U+0434 - cyrd
29 \ifx#1^^b5^^e5\else % е - U+0435 - cyre
30 \ifx#1^^b6^^e6\else % ж - U+0436 - cyrzh
31 \ifx#1^^b7^^e7\else % з - U+0437 - cyrz
32 \ifx#1^^b8^^e8\else % и - U+0438 - cyri
33 \ifx#1^^b9^^e9\else % й - U+0439 - cyrishrt
34 \ifx#1^^ba^^ea\else % к - U+043A - cyrk
35 \ifx#1^^bb^^eb\else % л - U+043B - cyrl
36 \ifx#1^^bc^^ec\else % м - U+043C - cyrm
37 \ifx#1^^bd^^ed\else % н - U+043D - cyrn
38 \ifx#1^^be^^ee\else % о - U+043E - cyro
39 \ifx#1^^bf^^ef\else % п - U+043F - cyrp
40 \errmessage{Hyphenation pattern file corrupted or t2a encoding not supported!}
41 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
42 \def^^d1#1{%
43 \ifx#1^^80^^f0\else % р - U+0440 - cyrr
44 \ifx#1^^81^^f1\else % с - U+0441 - cyrs
45 \ifx#1^^82^^f2\else % т - U+0442 - cyrt
46 \ifx#1^^83^^f3\else % у - U+0443 - cyru
47 \ifx#1^^84^^f4\else % ф - U+0444 - cyrf
48 \ifx#1^^85^^f5\else % х - U+0445 - cyrh
49 \ifx#1^^86^^f6\else % ц - U+0446 - cyrc
50 \ifx#1^^87^^f7\else % ч - U+0447 - cyrch
51 \ifx#1^^88^^f8\else % ш - U+0448 - cyrsh
52 \ifx#1^^89^^f9\else % щ - U+0449 - cyrshch
53 \ifx#1^^8a^^fa\else % ъ - U+044A - cyrhrdsn
54 \ifx#1^^8b^^fb\else % ы - U+044B - cyrery
55 \ifx#1^^8c^^fc\else % ь - U+044C - cyrsftsn
56 \ifx#1^^8d^^fd\else % э - U+044D - cyrerev
57 \ifx#1^^8e^^fe\else % ю - U+044E - cyryu
58 \ifx#1^^8f^^ff\else % я - U+044F - cyrya
59 \ifx#1^^91^^bc\else % ё - U+0451 - cyryo
60 \ifx#1^^92^^a2\else % ђ - U+0452 - cyrdje
61 \ifx#1^^94^^b9\else % є - U+0454 - cyrie
62 \ifx#1^^95^^af\else % ѕ - U+0455 - cyrdze
63 \ifx#1^^96^^69\else % і - U+0456 - cyrii
64 \ifx#1^^97^^a8\else % ї - U+0457 - cyryi
65 \ifx#1^^98^^6a\else % ј - U+0458 - cyrj
66 \ifx#1^^99^^a7\else % љ - U+0459 - cyrlje
67 \ifx#1^^9a^^bb\else % њ - U+045A - cyrnje
68 \ifx#1^^9b^^a3\else % ћ - U+045B - cyrtshe
69 \ifx#1^^9e^^b2\else % ў - U+045E - cyrushrt
70 \ifx#1^^9f^^b6\else % џ - U+045F - cyrdzhe
71 \errmessage{Hyphenation pattern file corrupted or t2a encoding not supported!}
72 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
73 \def^^d2#1{%
74 \ifx#1^^91^^a0\else % ґ - U+0491 - cyrgup
75 \ifx#1^^93^^a1\else % ғ - U+0493 - cyrghcrs
76 \ifx#1^^97^^a5\else % җ - U+0497 - cyrzhdsc
77 \ifx#1^^99^^a6\else % ҙ - U+0499 - cyrzdsc
78 \ifx#1^^9b^^a9\else % қ - U+049B - cyrkdsc
79 \ifx#1^^9d^^ab\else % ҝ - U+049D - cyrkvcrs
80 \ifx#1^^a1^^aa\else % ҡ - U+04A1 -
81 \ifx#1^^a3^^ad\else % ң - U+04A3 - cyrndsc
82 \ifx#1^^a5^^ae\else % ҥ - U+04A5 - cyrng
83 \ifx#1^^ab^^b1\else % ҫ - U+04AB - cyrsdsc
84 \ifx#1^^af^^b3\else % ү - U+04AF - cyry
85 \ifx#1^^b1^^b4\else % ұ - U+04B1 - cyryhcrs
86 \ifx#1^^b3^^b5\else % ҳ - U+04B3 - cyrhdsc
87 \ifx#1^^b7^^b8\else % ҷ - U+04B7 - cyrchrdsc
88 \ifx#1^^b9^^b7\else % ҹ - U+04B9 - cyrchvcrs
89 \ifx#1^^bb^^a4\else % һ - U+04BB - cyrshha
90 \errmessage{Hyphenation pattern file corrupted or t2a encoding not supported!}
91 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
92 \def^^d3#1{%
93 \ifx#1^^95^^ac\else % ӕ - U+04D5 - cyrae
94 \ifx#1^^99^^ba\else % ә - U+04D9 - cyrschwa
95 \ifx#1^^a9^^b0\else % ө - U+04E9 - cyrotld
96 \errmessage{Hyphenation pattern file corrupted or t2a encoding not supported!}
97 \fi\fi\fi}
98 %
99 % ensure all the chars above have valid \lccode values
100 %
101 \lccode"19="19 % ı - U+0131 - i
102 \lccode"69="69 % і - U+0456 - cyrii
103 \lccode"6A="6A % ј - U+0458 - cyrj
104 \lccode"A0="A0 % ґ - U+0491 - cyrgup
105 \lccode"A1="A1 % ғ - U+0493 - cyrghcrs
106 \lccode"A2="A2 % ђ - U+0452 - cyrdje
107 \lccode"A3="A3 % ћ - U+045B - cyrtshe
108 \lccode"A4="A4 % һ - U+04BB - cyrshha
109 \lccode"A5="A5 % җ - U+0497 - cyrzhdsc
110 \lccode"A6="A6 % ҙ - U+0499 - cyrzdsc
111 \lccode"A7="A7 % љ - U+0459 - cyrlje
112 \lccode"A8="A8 % ї - U+0457 - cyryi
113 \lccode"A9="A9 % қ - U+049B - cyrkdsc
114 \lccode"AA="AA % ҡ - U+04A1 -
115 \lccode"AB="AB % ҝ - U+049D - cyrkvcrs
116 \lccode"AC="AC % ӕ - U+04D5 - cyrae
117 \lccode"AD="AD % ң - U+04A3 - cyrndsc
118 \lccode"AE="AE % ҥ - U+04A5 - cyrng
119 \lccode"AF="AF % ѕ - U+0455 - cyrdze
120 \lccode"B0="B0 % ө - U+04E9 - cyrotld
121 \lccode"B1="B1 % ҫ - U+04AB - cyrsdsc
122 \lccode"B2="B2 % ў - U+045E - cyrushrt
123 \lccode"B3="B3 % ү - U+04AF - cyry
124 \lccode"B4="B4 % ұ - U+04B1 - cyryhcrs
125 \lccode"B5="B5 % ҳ - U+04B3 - cyrhdsc
126 \lccode"B6="B6 % џ - U+045F - cyrdzhe
127 \lccode"B7="B7 % ҹ - U+04B9 - cyrchvcrs
128 \lccode"B8="B8 % ҷ - U+04B7 - cyrchrdsc
129 \lccode"B9="B9 % є - U+0454 - cyrie
130 \lccode"BA="BA % ә - U+04D9 - cyrschwa
131 \lccode"BB="BB % њ - U+045A - cyrnje
132 \lccode"BC="BC % ё - U+0451 - cyryo
133 \lccode"E0="E0 % а - U+0430 - cyra
134 \lccode"E1="E1 % б - U+0431 - cyrb
135 \lccode"E2="E2 % в - U+0432 - cyrv
136 \lccode"E3="E3 % г - U+0433 - cyrg
137 \lccode"E4="E4 % д - U+0434 - cyrd
138 \lccode"E5="E5 % е - U+0435 - cyre
139 \lccode"E6="E6 % ж - U+0436 - cyrzh
140 \lccode"E7="E7 % з - U+0437 - cyrz
141 \lccode"E8="E8 % и - U+0438 - cyri
142 \lccode"E9="E9 % й - U+0439 - cyrishrt
143 \lccode"EA="EA % к - U+043A - cyrk
144 \lccode"EB="EB % л - U+043B - cyrl
145 \lccode"EC="EC % м - U+043C - cyrm
146 \lccode"ED="ED % н - U+043D - cyrn
147 \lccode"EE="EE % о - U+043E - cyro
148 \lccode"EF="EF % п - U+043F - cyrp
149 \lccode"F0="F0 % р - U+0440 - cyrr
150 \lccode"F1="F1 % с - U+0441 - cyrs
151 \lccode"F2="F2 % т - U+0442 - cyrt
152 \lccode"F3="F3 % у - U+0443 - cyru
153 \lccode"F4="F4 % ф - U+0444 - cyrf
154 \lccode"F5="F5 % х - U+0445 - cyrh
155 \lccode"F6="F6 % ц - U+0446 - cyrc
156 \lccode"F7="F7 % ч - U+0447 - cyrch
157 \lccode"F8="F8 % ш - U+0448 - cyrsh
158 \lccode"F9="F9 % щ - U+0449 - cyrshch
159 \lccode"FA="FA % ъ - U+044A - cyrhrdsn
160 \lccode"FB="FB % ы - U+044B - cyrery
161 \lccode"FC="FC % ь - U+044C - cyrsftsn
162 \lccode"FD="FD % э - U+044D - cyrerev
163 \lccode"FE="FE % ю - U+044E - cyryu
164 \lccode"FF="FF % я - U+044F - cyrya
165