From 93b672829910ccaed7c6d80cdd9a1530dbe44f27 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 16 Apr 2017 22:20:11 +0000
Subject: xevlna (14apr17)

git-svn-id: svn://tug.org/texlive/trunk@43864 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty')

diff --git a/Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty b/Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty
index 7bbeff0f2b4..2ef3cc02f30 100644
--- a/Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty
+++ b/Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty
@@ -1,9 +1,25 @@
 \expandafter\ifx\csname ProvidesPackage\endcsname\relax % No identification in plain XeTeX
 \else % Identification for XeLaTeX
-\ProvidesPackage{xevlna}[2013/04/20 vlna for both XeLaTeX and plain XeTeX]
-\PackageInfo{xevlna}{$Id: xevlna.sty 473 2013-04-20 19:50:52Z zw $\@gobble}
+\ProvidesPackage{xevlna}[2016/09/05 vlna for both XeLaTeX and plain XeTeX]
+\PackageInfo{xevlna}{$Id: xevlna.sty 533 2016-09-07 00:22:25Z zw $\@gobble}
 \fi
 
+\edef\CSat{\the\catcode`\@} % in order to work in plain XeTeX
+\catcode`\@=11
+\ifdefined\e@alloc@intercharclass@top
+  \chardef\CSboundary=\e@alloc@intercharclass@top
+\else
+  \ifdefined\XeTeXinterwordspaceshaping
+    \chardef\CSboundary=4095 %
+    \def\newXeTeXintercharclass{%
+      \e@alloc\XeTeXcharclass\chardef
+              \xe@alloc@intercharclass\m@ne\@ucharclass@boundary}
+  \else
+    \chardef\CSboundary=255
+  \fi
+\fi
+\catcode`\@=\CSat
+
 \XeTeXinterchartokenstate 1
 \newXeTeXintercharclass\CSopenpunctuation
 \newXeTeXintercharclass\CSnonsyllabicpreposition
@@ -27,7 +43,7 @@
 \XeTeXcharclass`\a\CSnonsyllabicpreposition
 \XeTeXcharclass`\I\CSnonsyllabicpreposition
 \XeTeXcharclass`\i\CSnonsyllabicpreposition
-\XeTeXinterchartoks 255 \CSnonsyllabicpreposition {\CSinterchartoks}
+\XeTeXinterchartoks \CSboundary \CSnonsyllabicpreposition {\CSinterchartoks}
 \XeTeXinterchartoks \CSopenpunctuation \CSnonsyllabicpreposition {\CSinterchartoks}
 \def\CSnointerchartoks{\let\CSinterchartoks\PreCSpreposition}
 \def\PreCSpreposition{\def\next{}%
-- 
cgit v1.2.3

