summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/xu-hyphen/xu-huhyphn.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/xu-hyphen/xu-huhyphn.tex')
-rw-r--r--Master/texmf-dist/tex/generic/xu-hyphen/xu-huhyphn.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/xu-hyphen/xu-huhyphn.tex b/Master/texmf-dist/tex/generic/xu-hyphen/xu-huhyphn.tex
new file mode 100644
index 00000000000..662064ff904
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/xu-hyphen/xu-huhyphn.tex
@@ -0,0 +1,27 @@
+% xu-huhyphn.tex
+% Wrapper for XeTeX to read huhyphn.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 huhyphn.tex...
+ \endgroup % end group containing huhyphn.tex's local definitions
+ \begingroup % and start our own (to match \endgroup in huhyphn.tex)
+
+ \input xu-t1.tex % map T1 codes to Unicode characters
+
+ \XeTeXinputencoding "bytes" % read the rest of the file as raw bytes
+ \PATTERNS % and then load the real patterns
+ }
+
+\fi
+
+\input huhyphn.tex
+
+\endgroup
+\endinput