Take the 2-minute tour ×
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.

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:

\documentclass{article}
\usepackage{fontspec,stringstrings}
\begin{document}
  \caselower[q]{AbC}\thestring
\end{document}

Produces an error message only when fontspec is used:

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

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

\edef{\filename}{stuff/\thestring.tex}
\input{\filename}

(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
1  
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

1 Answer 1

up vote 0 down vote accepted

Fixed in TeX Live 2010, thx Philipp.

share|improve this answer

Your Answer

 
discard

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.