• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1% xu-dehyphtex.tex
2% Wrapper for XeTeX to read dehyphtex.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"FF=13
12  \def^^ff{^^df}% map EC's es-zet to Unicode value
13
14  \let\BEGINGROUP=\begingroup
15  \def\begingroup{% at the initial \begingroup in dehyphtex...
16    \XeTeXinputencoding "bytes" % read the rest of the file as raw bytes
17    \BEGINGROUP
18  }
19
20  \let\HYPHENATION=\hyphenation
21  \def\hyphenation{% at the \hyphenation command...
22    \endgroup % end group containing dehyphtex.tex's local definitions
23    \BEGINGROUP % and start our own (to match \endgroup in dehyphtex.tex)
24    \HYPHENATION % and then load the real exceptions
25  }
26
27\fi
28
29\input dehyphtex.tex
30
31\endgroup
32\endinput
33