TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

The document I have been working on has built the index fine in the past. I have since made some changes to Part and Chapters, and re-arranged things in the preamble a little. Now pdflatex, mkindex, pdflatex fails with the following error:

Undefined control sequence. l.3  \makeatletter\scan@allowedfalse
Undefined control sequence. l.6   \item Acceptance set\pfill
Undefined control sequence. l.7 ...cceptance setand demand for insurance\pfill

I am using the index package as so in my preamble (I have tried moving it around heaps with no effect)

the preamble is here: http://pastebin.com/ng47YuZh


share|improve this question
There is probable some index item that contains something wrong. Check all your \index, remove any .ind and .idx files and try again. – Caramdir Apr 8 '11 at 1:52
It seems that this is a problem with my texlive install (Ubuntu 11.04). The index fails with even the simplest document 8( – SpmP Apr 9 '11 at 7:41
Why don't you show such a simple document? Your example does not compile (it has no text and depends on tcilatex and other files not in general distribution). – egreg Apr 9 '11 at 8:14
pastebin.com/hhdaHWWB – SpmP Apr 9 '11 at 8:21
It doesn't fail on my machine; what's the error on yours? – egreg Apr 9 '11 at 8:30
up vote 1 down vote accepted

I find the same problem, my mistake was to use mkindex instead of makeindex. Using makeindex solve the problem.

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.