1% xu-sorhyph.tex 2% Wrapper for XeTeX to read sorhyph.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 \def\bgroup{% at the initial \bgroup in sorhyph... 12 \XeTeXinputencoding "bytes" % read the rest of the file as raw bytes 13 \begingroup 14 } 15 16 \let\egroup=\endgroup 17 18 \let\PATTERNS=\patterns 19 \def\patterns{% at the \patterns command... 20 \endgroup % end group containing sorhyph.tex's local definitions 21 \begingroup % and start our own (to match \egroup in sorhyph.tex) 22 \input xu-t1.tex % map T1 codes to Unicode characters 23 \PATTERNS % and then load the real patterns 24 } 25 26\fi 27 28\input sorhyph.tex 29 30\endgroup 31\endinput 32