summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-16 22:20:11 +0000
committerKarl Berry <karl@freefriends.org>2017-04-16 22:20:11 +0000
commit93b672829910ccaed7c6d80cdd9a1530dbe44f27 (patch)
tree4042e143972f4100fc0475b3d719f1400debfb82 /Master/texmf-dist/tex/xelatex
parentefe0b7a21b56319128ff8a157ccea02a51692268 (diff)
xevlna (14apr17)
git-svn-id: svn://tug.org/texlive/trunk@43864 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r--Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty22
1 files changed, 19 insertions, 3 deletions
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{}%