1% xu-bahyph.tex 2% Wrapper for XeTeX to read Basque hyphenation patterns 3% Jonathan Kew, 2006-08-24 4% Public domain 5 6\begingroup 7 8\expandafter\ifx\csname XeTeXrevision\endcsname\relax 9\else 10 11 % The standard bahyph.tex is plain ASCII, so directly readable; 12 % but we want to add patterns for n-tilde (^^f1), as generated by 13 % bahyph.sh if the "latin1" option is given. 14 % However, if a "latin1" version of bahyph was already present, 15 % these would be duplicate patterns. 16 % We'll watch the \lccode of ^^f1 so as to detect this. 17 \lccode`\^^f1=0 18 \let\PATTERNS=\patterns 19 \def\patterns{% 20 \ifnum\lccode`\^^f1=0 % if bahyph.tex didn't change this, 21 \lccode`\^^f1=`\^^f1 % then we can load the extra patterns here 22 \PATTERNS{1^^f1a 1^^f1e 1^^f1o 1^^f1i 1^^f1u}% 23 \fi 24 \PATTERNS 25 } 26 27\fi 28 29\input bahyph.tex 30 31\endgroup 32\endinput 33