[XeTeX] polyglossia and stringstrings incompatible?

François Charette firmicus at ankabut.net
Fri Feb 26 23:43:25 CET 2010


On 26/02/2010 11:48, Wybo Dekker wrote:
> When I compile this with xelatex:
>
> \documentclass{article}
> %\usepackage{polyglossia}
> \usepackage{stringstrings}
> \def\alldigits#1{
>   \Treatments{0}{0}{0}{1}{0}{0}
>   \substring{#1}{1}{$}
> }
> \begin{document}
> \def\mystring{there are 365 days in the year 2006}
> mystring:   \mystring
>
> its digits: \alldigits{\mystring}
> \end{document}
>
> I see, in the pdf output, as expected:
>
> mystring: there are 365 days in the year 2006
> its digits: 3652006
>
> But when I uncomment line 2 I get an error message:
>
> ! Missing control sequence inserted.
> <inserted text>
>                 \inaccessible
> l.12 its digits: \alldigits{\mystring}
>
> ?
>
> What's wrong??

No idea! I have never used stringstrings. You might try whether the 
latest git version I have just made available as v1.1.1-rc1 solves this. 
Otherwise I recommend to file a bug report at
http://github.com/fc7/polyglossia/issues

Thanks
FC


More information about the XeTeX mailing list