From 70be14e9ec1c5bc101114cdd33ea23c8ec080f84 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Nov 2010 01:40:41 +0000 Subject: xunicode 96 (24nov10) git-svn-id: svn://tug.org/texlive/trunk@20553 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/xelatex/xunicode/xunicode.sty | 23 ++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/xelatex/xunicode') 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 -\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} -- cgit v1.2.3