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

\begingroup

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

  \let\PATTERNS=\patterns
  \def\patterns{% at the \patterns command in hrhyph.tex...
    \endgroup % end group containing hrhyph.tex's local definitions
    \begingroup % and start our own (to match \endgroup in hrhyph.tex)

    \input xu-t1.tex % remap T1 codes to Unicode characters

    \PATTERNS % and then load the real patterns
  }

\fi

\input hrhyph.tex

\endgroup

\lefthyphenmin=2 \righthyphenmin=2

\endinput