summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-il3.tex
blob: 162b51b1a6c520d16121af2e41e67563b367dd98 (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
% conv-utf8-il3.tex
%
% Conversion from UTF-8 to IL3,
% used before loading hyphenation patterns for 8-bit TeX engines.
%
% This file is part of hyph-utf8 package and autogenerated.
% See http://tug.org/tex-hyphen
%
% Copyright 2008-2020 TeX Users Group.
% You may freely use, modify and/or distribute this file.
% (But consider adapting the scripts if you need modifications.)
%
\catcode"C4=\active
\catcode"C5=\active
%
\def^^c4#1{%
	\ifx#1^^89^^e6\else % ĉ - U+0109 - ccircumflex
	\ifx#1^^9d^^f8\else % ĝ - U+011D - gcircumflex
	\ifx#1^^a5^^b6\else % ĥ - U+0125 - hcircumflex
	\ifx#1^^b5^^bc\else % ĵ - U+0135 - jcircumflex
	\errmessage{Hyphenation pattern file corrupted or il3 encoding not supported!}
\fi\fi\fi\fi}
\def^^c5#1{%
	\ifx#1^^9d^^fe\else % ŝ - U+015D - scircumflex
	\ifx#1^^ad^^fd\else % ŭ - U+016D - ubreve
	\errmessage{Hyphenation pattern file corrupted or il3 encoding not supported!}
\fi\fi}
%
% ensure all the chars above have valid \lccode values
%
\lccode"B6="B6 % ĥ - U+0125 - hcircumflex
\lccode"BC="BC % ĵ - U+0135 - jcircumflex
\lccode"E6="E6 % ĉ - U+0109 - ccircumflex
\lccode"F8="F8 % ĝ - U+011D - gcircumflex
\lccode"FD="FD % ŭ - U+016D - ubreve
\lccode"FE="FE % ŝ - U+015D - scircumflex