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

\begingroup

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

  % plhyph.tex will not redefine slash if it is already active,
  % so we define it to access the required Unicode characters
  \catcode`\/=\active
  \def/#1{%
    \ifx#1a^^^^0105\else\ifx#1c^^^^0107\else\ifx#1e^^^^0119\else\ifx#1l^^^^0142\else
    \ifx#1n^^^^0144\else\ifx#1o^^^^00f3\else\ifx#1s^^^^015b\else\ifx#1x^^^^017a\else
    \ifx#1z^^^^017c\fi\fi\fi\fi\fi\fi\fi\fi\fi}%

\fi

\input plhyph.tex

\endgroup
\endinput