<br><br><div class="gmail_quote">On Wed, Feb 9, 2011 at 8:55 PM, Heiko Oberdiek <span dir="ltr"><<a href="mailto:heiko.oberdiek@googlemail.com">heiko.oberdiek@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Wed, Feb 09, 2011 at 10:17:54PM +0100, Paul Isambert wrote:<br>
<br>
> Le 09/02/2011 20:52, Michael Joyner a écrit :<br>
<br>
</div><div><div></div><div class="h5">> >We are trying to use XeIndex/XeSearch on what we consider to be<br>
> >some medium/small documents and are getting the following error:<br>
> ><br>
> >    ! TeX capacity exceeded, sorry [save size=80000].<br>
> >    \pdfstringdef ... \let \GenericError \@gobblefour<br>
> >                                                      \let<br>
> >    <br></div></div><br>
<br>
The example shows that each word creates two command sequences,<br>
example for "Hello":<br>
<br>
  {changing \Hello@cs@xs@words=undefined}<br>
  {into \Hello@cs@xs@words=\relax}<br>
  {changing \hello@ncs@xs@words=undefined}<br>
  {into \hello@ncs@xs@words=\relax}<br>
<br>
I don't know the internals of xesearch.sty, but do you really need<br>
the meaning \relax? Or it is just the usual side effect of TeX's<br>
\csname?<br>
<br>
In \xs@@F@Test you are using:<br>
<br>
  \expandafter\ifx\csname\xs@String @cs@xs@words\endcsname\relax<br>
<br>
Perhaps you can replace it by \ifcsname ...\endcsname?<br>
<div><div></div><div class="h5"><br></div></div></blockquote></div>I haven't the faintest idea. :) I am not the author of xesearch. is this an easy change to test?<br>