summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/xu-hyphen/xu-rohyph.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/xu-hyphen/xu-rohyph.tex')
-rw-r--r--Master/texmf-dist/tex/generic/xu-hyphen/xu-rohyph.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/xu-hyphen/xu-rohyph.tex b/Master/texmf-dist/tex/generic/xu-hyphen/xu-rohyph.tex
new file mode 100644
index 00000000000..e81a925f31e
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/xu-hyphen/xu-rohyph.tex
@@ -0,0 +1,26 @@
+% xu-rohyph.tex
+% Wrapper for XeTeX to read rohyph.tex
+% Jonathan Kew, 2006-08-17
+% Public domain
+
+\begingroup
+
+\let\INPUT=\input
+
+\expandafter\ifx\csname XeTeXrevision\endcsname\relax
+\else
+
+ % rohyph.tex uses ^^xx for T1 characters;
+ % redefine them to access the required Unicode characters
+ \input xu-t1.tex
+ % and disable \input so that it won't read cathyph.tex
+ \def\input #1 {}
+ % allow hyphen in patterns
+ \lccode`\-=`\-
+
+\fi
+
+\INPUT rohyph.tex
+
+\endgroup
+\endinput