Debian Codegraph @

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

raw
1 % conv-utf8-il3.tex
2 %
3 % Conversion from UTF-8 to IL3,
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"C5=\active
15 %
16 \def^^c4#1{%
17 \ifx#1^^89^^e6\else % ĉ - U+0109 - ccircumflex
18 \ifx#1^^9d^^f8\else % ĝ - U+011D - gcircumflex
19 \ifx#1^^a5^^b6\else % ĥ - U+0125 - hcircumflex
20 \ifx#1^^b5^^bc\else % ĵ - U+0135 - jcircumflex
21 \errmessage{Hyphenation pattern file corrupted or il3 encoding not supported!}
22 \fi\fi\fi\fi}
23 \def^^c5#1{%
24 \ifx#1^^9d^^fe\else % ŝ - U+015D - scircumflex
25 \ifx#1^^ad^^fd\else % ŭ - U+016D - ubreve
26 \errmessage{Hyphenation pattern file corrupted or il3 encoding not supported!}
27 \fi\fi}
28 %
29 % ensure all the chars above have valid \lccode values
30 %
31 \lccode"B6="B6 % ĥ - U+0125 - hcircumflex
32 \lccode"BC="BC % ĵ - U+0135 - jcircumflex
33 \lccode"E6="E6 % ĉ - U+0109 - ccircumflex
34 \lccode"F8="F8 % ĝ - U+011D - gcircumflex
35 \lccode"FD="FD % ŭ - U+016D - ubreve
36 \lccode"FE="FE % ŝ - U+015D - scircumflex
37