summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xetex/xesearch
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-19 20:30:58 +0000
committerKarl Berry <karl@freefriends.org>2019-08-19 20:30:58 +0000
commita400f83d38801f72bbf43eb30e332e4bc266e32f (patch)
treef4ee8d7bbb743b19527334d728ccb9c8054b6837 /Master/texmf-dist/tex/xetex/xesearch
parentf40c8f749447cc4f1f799f95f68777b4f69bac2d (diff)
xesearch
git-svn-id: svn://tug.org/texlive/trunk@51908 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xetex/xesearch')
-rw-r--r--Master/texmf-dist/tex/xetex/xesearch/t-xesearch.tex4
-rw-r--r--Master/texmf-dist/tex/xetex/xesearch/xesearch.sty14
2 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/xetex/xesearch/t-xesearch.tex b/Master/texmf-dist/tex/xetex/xesearch/t-xesearch.tex
index e16a4cf2ca6..04a2933f32c 100644
--- a/Master/texmf-dist/tex/xetex/xesearch/t-xesearch.tex
+++ b/Master/texmf-dist/tex/xetex/xesearch/t-xesearch.tex
@@ -5,11 +5,11 @@
% without the `produce' option.
%
% SOURCE: xesearch.tex
-% DATE: 2009.11.04
+% DATE: 2019.04.24
% VERSION: v.0.1
%D \module
%D [ file=t-xesearch,
-%D version=2009.11.04,
+%D version=2019.04.24,
%D title=\CONTEXT\ User Module,
%D subtitle=XeSearch,
%D author=Paul Isambert,
diff --git a/Master/texmf-dist/tex/xetex/xesearch/xesearch.sty b/Master/texmf-dist/tex/xetex/xesearch/xesearch.sty
index f6d049325ac..4c8074c2a74 100644
--- a/Master/texmf-dist/tex/xetex/xesearch/xesearch.sty
+++ b/Master/texmf-dist/tex/xetex/xesearch/xesearch.sty
@@ -5,8 +5,8 @@
% without the `produce' option.
%
% SOURCE: xesearch.tex
-% DATE: 2009/11/04
-% VERSION: v.0.1
+% DATE: 2019/04/24
+% VERSION: v.0.2
\ifx\csname XeTeXrevision\endcsname\relax
\errmessage{You need XeTeX to run xesearch. It won't be loaded.}
\expandafter\endinput
@@ -39,7 +39,7 @@
\xs@ChangeCatcodes
\ifdefined\ProvidesPackage
\def\xs@err#1{\PackageError{xesearch}{#1}{}}
- \ProvidesPackage{xesearch}[2009/11/04 v.0.1 Searching documents.]
+ \ProvidesPackage{xesearch}[2019/04/24 v.0.2 Searching documents.]
\else
\def\MessageBreak{^^J}
\def\xs@err#1{%
@@ -84,9 +84,9 @@
\newif\ifxs@Match
\newtoks\xs@DefToks
\newtoks\xs@NoReplaceToks
-\chardef\xs@NatDel=255
-\chardef\xs@lrDel=254
-\chardef\xs@Classes=253
+\chardef\xs@NatDel=\e@alloc@intercharclass@top
+\chardef\xs@lrDel=\numexpr\e@alloc@intercharclass@top-1\relax
+\chardef\xs@Classes=\numexpr\e@alloc@intercharclass@top-2\relax
\chardef\xs@Classless=0
\XeTeXinterchartoks\xs@lrDel\xs@Classless={\xs@LearnLetter}
\XeTeXinterchartoks\xs@NatDel\xs@Classless={\xs@LearnLetter}
@@ -1038,7 +1038,7 @@
}
\def\xs@SearchOne#1{%
\ifx#1\xs@end
- \let\xs@next\relax
+ \let\xs@next\relax^^I
\else
\let\xs@next\xs@SearchOne
\expandafter\def\csname xs@#1@WhatNext\endcsname##1\xs@end,{}%