summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xunicode/xunicode.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xunicode/xunicode.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/xunicode/xunicode.sty23
1 files changed, 19 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xunicode/xunicode.sty b/Master/texmf-dist/tex/xelatex/xunicode/xunicode.sty
index 37703330247..5d442b6804a 100644
--- a/Master/texmf-dist/tex/xelatex/xunicode/xunicode.sty
+++ b/Master/texmf-dist/tex/xelatex/xunicode/xunicode.sty
@@ -1,7 +1,9 @@
% Copyright 2004-2010 Ross Moore <ross.moore@mq.edu.au>
-\ProvidesFile{xunicode.sty}[2010/05/18 v0.95 provides access to
+% Released under the LPPL licence, version 1.3c or later.
+\ProvidesFile{xunicode.sty}[2010/11/06 v0.96 provides access to
latin accents and many other characters in Unicode lower plane]
+%
% This package is designed to work with TeX engines that directly
% process UTF8 input and use Unicode and OpenType fonts.
% At the time of writing, XeTeX is the only known engine of this kind.
@@ -105,6 +107,9 @@
% completed blocks: x02B0-x02DF and x02E* \textdblig
% supports more macro names
%
+% v0.96 2010/11/06
+% added LPPL licence statement
+%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This package should work with any encoding name.
@@ -821,13 +826,23 @@
\csname useTIPAfont\endcsname
\implementTIPAtextx
}
+\def\implementTIPAtextx#1{#1\egroup}
+\def\implementTIPAtextxx#1{\endlinechar=-1 \scantokens{#1}\egroup}
+\AtBeginDocument{\let\textipa\implementTIPAtext}
\expandafter\ifx\csname scantokens\endcsname\relax
- \def\implementTIPAtextx#1{#1\egroup}
\else
- \def\implementTIPAtextx#1{\scantokens{#1}\egroup}
+ \AtBeginDocument{\@ifpackageloaded{linguex}{%
+ \let\implementTIPAtextx\implementTIPAtextxx}}
\fi
-\AtBeginDocument{\let\textipa\implementTIPAtext}
+%\expandafter\ifx\csname scantokens\endcsname\relax
+% \def\implementTIPAtextx#1{#1\egroup}
+%\else
+%% \def\implementTIPAtextx#1{\scantokens{#1}\egroup}
+% \def\implementTIPAtextx#1{\endlinechar=-1 \scantokens{#1}\egroup}
+%\fi
+%
+%\AtBeginDocument{\let\textipa\implementTIPAtext}