summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-eu.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-eu.tex')
-rw-r--r--Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-eu.tex13
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-eu.tex b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-eu.tex
index a3dedf88d1e..f837f480747 100644
--- a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-eu.tex
+++ b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-eu.tex
@@ -12,7 +12,16 @@
% these lines may be moved to a separate file.
%
\begingroup
-% ASCII patterns - no additional support is needed
-\message{ASCII Basque Hyphenation Patterns}
+% Test whether we received one or two arguments
+\def\testengine#1#2!{\def\secondarg{#2}}
+% That's Tau (as in Taco or ΤΕΧ, Tau-Epsilon-Chi), a 2-byte UTF-8 character
+\testengine Τ!\relax
+% Unicode-aware engine (such as XeTeX or LuaTeX) only sees a single (2-byte) argument
+\ifx\secondarg\empty
+ \message{UTF-8 Basque Hyphenation Patterns}
+\else
+ \message{EC Basque Hyphenation Patterns}
+ \input conv-utf8-ec.tex
+\fi
\input hyph-eu.tex
\endgroup