<div class="gmail_quote">On Sat, May 15, 2010 at 11:42 PM, Paul Foley <span dir="ltr"><<a href="mailto:paul@mises.com">paul@mises.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sun, May 16, 2010 at 3:20 PM, Taylor Venable <span dir="ltr"><<a href="mailto:taylor@metasyntax.net" target="_blank">taylor@metasyntax.net</a>></span> wrote:<br></div><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, I just updated my TeXlive 2009 installation the other day from CTAN and am having a problem with some shortcut macros I was using to make indexing easier. I have a shortest working example attached as test.tex, and the log file as well. I've summarised the things which can and can't be changed in the test file. Essentially, if I have a \newcommand which creates an index entry and specifies the output formatting of that entry, while using Polyglossia, I get an error. The error is:<br>
<br>! Missing control sequence inserted.<br><inserted text> <br> \inaccessible <br>l.7 \item {\ttfamily \def r<br> m{tt}lambda}, \hyperpage{1}<br><br>Which originates from the .ind file produced by makeindex. The error is sort of an obvious problem: that \def should not be there! :-) If I remove Polyglossia, it works.<br>
</blockquote></div><div><br>If I delete the .ind file and run xelatex/makeindex/xelatex it works fine.<br></div></div></blockquote><div><br>That's sort of the crux of the problem, because with \usepackage{polyglossia}, running xelatex (for me at least) creates the faulty .idx file, which then causes makeindex to produce a faulty .ind file. Without using the polyglossia package, xelatex produces a correct .idx file and all is well. At least on my system with a clean, fully updated TeXlive 2009 installation, of course.<br>
</div></div><br>-- <br>Taylor C. Venable<br><a href="http://metasyntax.net/">http://metasyntax.net/</a><br>