| 1 |
% conv-utf8-lmc.tex |
| 2 |
% |
| 3 |
% Conversion from UTF-8 to LMC, |
| 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^^b4\else % ı - U+0131 - i |
| 21 |
\errmessage{Hyphenation pattern file corrupted or lmc encoding not supported!} |
| 22 |
\fi} |
| 23 |
\def^^d0#1{% |
| 24 |
\ifx#1^^b0^^61\else % а - U+0430 - cyra |
| 25 |
\ifx#1^^b1^^62\else % б - U+0431 - cyrb |
| 26 |
\ifx#1^^b2^^77\else % в - U+0432 - cyrv |
| 27 |
\ifx#1^^b3^^67\else % г - U+0433 - cyrg |
| 28 |
\ifx#1^^b4^^64\else % д - U+0434 - cyrd |
| 29 |
\ifx#1^^b5^^65\else % е - U+0435 - cyre |
| 30 |
\ifx#1^^b6^^6a\else % ж - U+0436 - cyrzh |
| 31 |
\ifx#1^^b7^^7a\else % з - U+0437 - cyrz |
| 32 |
\ifx#1^^b8^^69\else % и - U+0438 - cyri |
| 33 |
\ifx#1^^b9^^ef\else % й - U+0439 - cyrishrt |
| 34 |
\ifx#1^^ba^^6b\else % к - U+043A - cyrk |
| 35 |
\ifx#1^^bb^^6c\else % л - U+043B - cyrl |
| 36 |
\ifx#1^^bc^^6d\else % м - U+043C - cyrm |
| 37 |
\ifx#1^^bd^^6e\else % н - U+043D - cyrn |
| 38 |
\ifx#1^^be^^6f\else % о - U+043E - cyro |
| 39 |
\ifx#1^^bf^^70\else % п - U+043F - cyrp |
| 40 |
\errmessage{Hyphenation pattern file corrupted or lmc 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^^72\else % р - U+0440 - cyrr |
| 44 |
\ifx#1^^81^^73\else % с - U+0441 - cyrs |
| 45 |
\ifx#1^^82^^74\else % т - U+0442 - cyrt |
| 46 |
\ifx#1^^83^^75\else % у - U+0443 - cyru |
| 47 |
\ifx#1^^84^^66\else % ф - U+0444 - cyrf |
| 48 |
\ifx#1^^85^^78\else % х - U+0445 - cyrh |
| 49 |
\ifx#1^^86^^63\else % ц - U+0446 - cyrc |
| 50 |
\ifx#1^^87^^71\else % ч - U+0447 - cyrch |
| 51 |
\ifx#1^^88^^b2\else % ш - U+0448 - cyrsh |
| 52 |
\ifx#1^^89^^b0\else % щ - U+0449 - cyrshch |
| 53 |
\ifx#1^^8a^^b3\else % ъ - U+044A - cyrhrdsn |
| 54 |
\ifx#1^^8b^^79\else % ы - U+044B - cyrery |
| 55 |
\ifx#1^^8d^^e4\else % э - U+044D - cyrerev |
| 56 |
\ifx#1^^8e^^b5\else % ю - U+044E - cyryu |
| 57 |
\ifx#1^^8f^^b6\else % я - U+044F - cyrya |
| 58 |
\ifx#1^^91^^eb\else % ё - U+0451 - cyryo |
| 59 |
\errmessage{Hyphenation pattern file corrupted or lmc encoding not supported!} |
| 60 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} |
| 61 |
\def^^d2#1{% |
| 62 |
\ifx#1^^af^^fc\else % ү - U+04AF - cyry |
| 63 |
\errmessage{Hyphenation pattern file corrupted or lmc encoding not supported!} |
| 64 |
\fi} |
| 65 |
\def^^d3#1{% |
| 66 |
\ifx#1^^a9^^f6\else % ө - U+04E9 - cyrotld |
| 67 |
\errmessage{Hyphenation pattern file corrupted or lmc encoding not supported!} |
| 68 |
\fi} |
| 69 |
% |
| 70 |
% ensure all the chars above have valid \lccode values |
| 71 |
% |
| 72 |
\lccode"61="61 % а - U+0430 - cyra |
| 73 |
\lccode"62="62 % б - U+0431 - cyrb |
| 74 |
\lccode"63="63 % ц - U+0446 - cyrc |
| 75 |
\lccode"64="64 % д - U+0434 - cyrd |
| 76 |
\lccode"65="65 % е - U+0435 - cyre |
| 77 |
\lccode"66="66 % ф - U+0444 - cyrf |
| 78 |
\lccode"67="67 % г - U+0433 - cyrg |
| 79 |
\lccode"69="69 % и - U+0438 - cyri |
| 80 |
\lccode"6A="6A % ж - U+0436 - cyrzh |
| 81 |
\lccode"6B="6B % к - U+043A - cyrk |
| 82 |
\lccode"6C="6C % л - U+043B - cyrl |
| 83 |
\lccode"6D="6D % м - U+043C - cyrm |
| 84 |
\lccode"6E="6E % н - U+043D - cyrn |
| 85 |
\lccode"6F="6F % о - U+043E - cyro |
| 86 |
\lccode"70="70 % п - U+043F - cyrp |
| 87 |
\lccode"71="71 % ч - U+0447 - cyrch |
| 88 |
\lccode"72="72 % р - U+0440 - cyrr |
| 89 |
\lccode"73="73 % с - U+0441 - cyrs |
| 90 |
\lccode"74="74 % т - U+0442 - cyrt |
| 91 |
\lccode"75="75 % у - U+0443 - cyru |
| 92 |
\lccode"77="77 % в - U+0432 - cyrv |
| 93 |
\lccode"78="78 % х - U+0445 - cyrh |
| 94 |
\lccode"79="79 % ы - U+044B - cyrery |
| 95 |
\lccode"7A="7A % з - U+0437 - cyrz |
| 96 |
\lccode"B0="B0 % щ - U+0449 - cyrshch |
| 97 |
\lccode"B2="B2 % ш - U+0448 - cyrsh |
| 98 |
\lccode"B3="B3 % ъ - U+044A - cyrhrdsn |
| 99 |
\lccode"B4="B4 % ı - U+0131 - i |
| 100 |
\lccode"B5="B5 % ю - U+044E - cyryu |
| 101 |
\lccode"B6="B6 % я - U+044F - cyrya |
| 102 |
\lccode"E4="E4 % э - U+044D - cyrerev |
| 103 |
\lccode"EB="EB % ё - U+0451 - cyryo |
| 104 |
\lccode"EF="EF % й - U+0439 - cyrishrt |
| 105 |
\lccode"F6="F6 % ө - U+04E9 - cyrotld |
| 106 |
\lccode"FC="FC % ү - U+04AF - cyry |
| 107 |
|