summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/xu-hyphen/xu-nohyphbx.tex
blob: 23b9285747d998a89f4a4799dc073babe99cbf2f (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
% xu-nohyphbx.tex
% Wrapper for XeTeX to read nohyphbx.tex
% Jonathan Kew, 2006-08-17
% Public domain

\begingroup

\expandafter\ifx\csname XeTeXrevision\endcsname\relax
\else

  \let\BEGINGROUP=\begingroup
  \def\begingroup{% at the initial \begingroup in nohyphbx...
    \XeTeXinputencoding "bytes" % read the rest of the file as raw bytes
    \BEGINGROUP
  }

  \let\PATTERNS=\patterns
  \def\patterns{% at the \patterns command...
    \endgroup % end group containing nohyphbx.tex's local definitions
    \BEGINGROUP % and start our own (to match \endgroup in nohyphbx.tex)
    \PATTERNS % and then load the real patterns
  }

\fi

\input nohyphbx.tex

\endgroup
\endinput