[XeTeX] polyglossia and stringstrings incompatible?
Wybo Dekker
wybo at servalys.nl
Fri Feb 26 11:48:37 CET 2010
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??
--
Wybo
More information about the XeTeX
mailing list