• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1% xu-lahyph.tex
2% Wrapper for XeTeX to read lahyph.tex
3% Jonathan Kew, 2006-08-17
4% Public domain
5
6\begingroup
7
8\expandafter\ifx\csname XeTeXrevision\endcsname\relax
9\else
10
11  \catcode`\"=12
12  \def\n#1{}% ignore the T1-ligature patterns
13  \def\a{\errmessage{Hyphenation pattern file corrupted!}}%
14  \let\o=\a
15  \def\ae{^^^^00e6}% map \ae and \oe to Unicode
16  \def\oe{^^^^0153}%
17  \lccode`\'=`\' % allow apostrophe in patterns
18  \lccode"2019="2019 % also allow curly apostrophe
19
20  \let\PATTERNS=\patterns
21  \def\patterns{% at the \patterns command in lahyph.tex...
22    \endgroup % end group containing lahyph.tex's local definitions
23    \begingroup % and start our own (to match \endgroup in lahyph.tex)
24    \PATTERNS{2^^^^20192}% add a pattern for curly apostrophe
25    \PATTERNS % and then load the real patterns
26  }
27
28\fi
29
30\input lahyph.tex
31
32\endgroup
33\endinput
34