From f6cdffa509c8082653ba4c7946ae899e368a0333 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 23 Apr 2013 22:21:58 +0000 Subject: xevlna (21apr13) git-svn-id: svn://tug.org/texlive/trunk@30086 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty | 47 +++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty (limited to 'Master/texmf-dist/tex/xelatex') diff --git a/Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty b/Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty new file mode 100644 index 00000000000..7bbeff0f2b4 --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/xevlna/xevlna.sty @@ -0,0 +1,47 @@ +\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} +\fi + +\XeTeXinterchartokenstate 1 +\newXeTeXintercharclass\CSopenpunctuation +\newXeTeXintercharclass\CSnonsyllabicpreposition +\XeTeXcharclass`\(\CSopenpunctuation +\XeTeXcharclass`\[\CSopenpunctuation +\XeTeXcharclass`\„\CSopenpunctuation +\XeTeXcharclass`\»\CSopenpunctuation +\XeTeXcharclass`\K\CSnonsyllabicpreposition +\XeTeXcharclass`\k\CSnonsyllabicpreposition +\XeTeXcharclass`\S\CSnonsyllabicpreposition +\XeTeXcharclass`\s\CSnonsyllabicpreposition +\XeTeXcharclass`\V\CSnonsyllabicpreposition +\XeTeXcharclass`\v\CSnonsyllabicpreposition +\XeTeXcharclass`\Z\CSnonsyllabicpreposition +\XeTeXcharclass`\z\CSnonsyllabicpreposition +\XeTeXcharclass`\O\CSnonsyllabicpreposition +\XeTeXcharclass`\o\CSnonsyllabicpreposition +\XeTeXcharclass`\U\CSnonsyllabicpreposition +\XeTeXcharclass`\u\CSnonsyllabicpreposition +\XeTeXcharclass`\A\CSnonsyllabicpreposition +\XeTeXcharclass`\a\CSnonsyllabicpreposition +\XeTeXcharclass`\I\CSnonsyllabicpreposition +\XeTeXcharclass`\i\CSnonsyllabicpreposition +\XeTeXinterchartoks 255 \CSnonsyllabicpreposition {\CSinterchartoks} +\XeTeXinterchartoks \CSopenpunctuation \CSnonsyllabicpreposition {\CSinterchartoks} +\def\CSnointerchartoks{\let\CSinterchartoks\PreCSpreposition} +\def\PreCSpreposition{\def\next{}% + \ifnum\catcode`\ =10 % nothing will be done in verbatim + \ifmmode % nothing in math + \else + \let\CSinterchartoks\CSnointerchartoks + \let\next\ExamineCSpreposition + \fi \fi + \next} +\def\ExamineCSpreposition #1{#1\futurelet\next\ProcessCSpreposition} +\def\ProcessCSpreposition{\ifx\next\xevlnaXeTeXspace\nobreak\fi} +\futurelet\xevlnaXeTeXspace{ }\CSnointerchartoks + +% Enabling and disabling +\def\xevlnaDisable{\def\CSinterchartoks{}} +\let\xevlnaEnable\CSnointerchartoks -- cgit v1.2.3