TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To construct a lower-case filename out of the mixed-case argument given to a command, I used stringstrings in LaTeX.

Now I switched to XeTeX and it seems the fontspec-package has some interference with stringstrings:


Produces an error message only when fontspec is used:

! Missing control sequence inserted.
<inserted text> 
l.4 \thestring

Just using \lowercase for display won't work, because I need to use it like


(there seems to be a similar clash between stringstrings and polyglossia)

So: what would be other string manipulation packages for LaTeX and XeTeX (coolstr is mentioned, but only supports substring operations I don't need)? Or is there a fix by redefining something?

share|improve this question
Your example works on my machine with current TeX Live. – Philipp Dec 23 '10 at 0:05
Then my Ubuntu version of TeX Live is outdated… (looks like they have a reputation for lagging horribly behind with TeX versions) Thanks. – pascal Dec 31 '10 at 13:04
up vote 0 down vote accepted

Fixed in TeX Live 2010, thx Philipp.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.