Debian Codegraph @

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

raw
1 % conv-utf8-l7x.tex
2 %
3 % Conversion from UTF-8 to L7X,
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"C3=\active
14 \catcode"C4=\active
15 \catcode"C5=\active
16 \catcode"C8=\active
17 %
18 \def^^c3#1{%
19 \ifx#1^^9f^^df\else % ß - U+00DF - germandbls
20 \ifx#1^^a4^^e4\else % ä - U+00E4 - adieresis
21 \ifx#1^^a5^^e5\else % å - U+00E5 - aring
22 \ifx#1^^a6^^bf\else % æ - U+00E6 - ae
23 \ifx#1^^a9^^e9\else % é - U+00E9 - eacute
24 \ifx#1^^b3^^f3\else % ó - U+00F3 - oacute
25 \ifx#1^^b5^^f5\else % õ - U+00F5 - otilde
26 \ifx#1^^b6^^f6\else % ö - U+00F6 - odieresis
27 \ifx#1^^b8^^b8\else % ø - U+00F8 - oslash
28 \ifx#1^^bc^^fc\else % ü - U+00FC - udieresis
29 \errmessage{Hyphenation pattern file corrupted or l7x encoding not supported!}
30 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
31 \def^^c4#1{%
32 \ifx#1^^81^^e2\else % ā - U+0101 - amacron
33 \ifx#1^^85^^e0\else % ą - U+0105 - aogonek
34 \ifx#1^^87^^e3\else % ć - U+0107 - cacute
35 \ifx#1^^8d^^e8\else % č - U+010D - ccaron
36 \ifx#1^^93^^e7\else % ē - U+0113 - emacron
37 \ifx#1^^97^^eb\else % ė - U+0117 - edotaccent
38 \ifx#1^^99^^e6\else % ę - U+0119 - eogonek
39 \ifx#1^^a3^^ec\else % ģ - U+0123 - gcommaaccent
40 \ifx#1^^ab^^ee\else % ī - U+012B - imacron
41 \ifx#1^^af^^e1\else % į - U+012F - iogonek
42 \ifx#1^^b1^^19\else % ı - U+0131 - dotlessi
43 \ifx#1^^b7^^ed\else % ķ - U+0137 - kcommaaccent
44 \ifx#1^^bc^^ef\else % ļ - U+013C - lcommaaccent
45 \errmessage{Hyphenation pattern file corrupted or l7x encoding not supported!}
46 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
47 \def^^c5#1{%
48 \ifx#1^^82^^f9\else % ł - U+0142 - lslash
49 \ifx#1^^84^^f1\else % ń - U+0144 - nacute
50 \ifx#1^^86^^f2\else % ņ - U+0146 - ncommaaccent
51 \ifx#1^^8d^^f4\else % ō - U+014D - omacron
52 \ifx#1^^93^^9c\else % œ - U+0153 - oe
53 \ifx#1^^97^^ba\else % ŗ - U+0157 - rcommaaccent
54 \ifx#1^^9b^^fa\else % ś - U+015B - sacute
55 \ifx#1^^a1^^f0\else % š - U+0161 - scaron
56 \ifx#1^^ab^^fb\else % ū - U+016B - umacron
57 \ifx#1^^b3^^f8\else % ų - U+0173 - uogonek
58 \ifx#1^^ba^^ea\else % ź - U+017A - zacute
59 \ifx#1^^bc^^fd\else % ż - U+017C - zdotaccent
60 \ifx#1^^be^^fe\else % ž - U+017E - zcaron
61 \errmessage{Hyphenation pattern file corrupted or l7x encoding not supported!}
62 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
63 \def^^c8#1{%
64 \ifx#1^^b7^^1a\else % ȷ - U+0237 - dotlessj
65 \errmessage{Hyphenation pattern file corrupted or l7x encoding not supported!}
66 \fi}
67 %
68 % ensure all the chars above have valid \lccode values
69 %
70 \lccode"19="19 % ı - U+0131 - dotlessi
71 \lccode"1A="1A % ȷ - U+0237 - dotlessj
72 \lccode"9C="9C % œ - U+0153 - oe
73 \lccode"B8="B8 % ø - U+00F8 - oslash
74 \lccode"BA="BA % ŗ - U+0157 - rcommaaccent
75 \lccode"BF="BF % æ - U+00E6 - ae
76 \lccode"DF="DF % ß - U+00DF - germandbls
77 \lccode"E0="E0 % ą - U+0105 - aogonek
78 \lccode"E1="E1 % į - U+012F - iogonek
79 \lccode"E2="E2 % ā - U+0101 - amacron
80 \lccode"E3="E3 % ć - U+0107 - cacute
81 \lccode"E4="E4 % ä - U+00E4 - adieresis
82 \lccode"E5="E5 % å - U+00E5 - aring
83 \lccode"E6="E6 % ę - U+0119 - eogonek
84 \lccode"E7="E7 % ē - U+0113 - emacron
85 \lccode"E8="E8 % č - U+010D - ccaron
86 \lccode"E9="E9 % é - U+00E9 - eacute
87 \lccode"EA="EA % ź - U+017A - zacute
88 \lccode"EB="EB % ė - U+0117 - edotaccent
89 \lccode"EC="EC % ģ - U+0123 - gcommaaccent
90 \lccode"ED="ED % ķ - U+0137 - kcommaaccent
91 \lccode"EE="EE % ī - U+012B - imacron
92 \lccode"EF="EF % ļ - U+013C - lcommaaccent
93 \lccode"F0="F0 % š - U+0161 - scaron
94 \lccode"F1="F1 % ń - U+0144 - nacute
95 \lccode"F2="F2 % ņ - U+0146 - ncommaaccent
96 \lccode"F3="F3 % ó - U+00F3 - oacute
97 \lccode"F4="F4 % ō - U+014D - omacron
98 \lccode"F5="F5 % õ - U+00F5 - otilde
99 \lccode"F6="F6 % ö - U+00F6 - odieresis
100 \lccode"F8="F8 % ų - U+0173 - uogonek
101 \lccode"F9="F9 % ł - U+0142 - lslash
102 \lccode"FA="FA % ś - U+015B - sacute
103 \lccode"FB="FB % ū - U+016B - umacron
104 \lccode"FC="FC % ü - U+00FC - udieresis
105 \lccode"FD="FD % ż - U+017C - zdotaccent
106 \lccode"FE="FE % ž - U+017E - zcaron
107