The book is quite long (~600 pages), and includes copious footnotes and a long index. I have got through about half of the index (I am proceeding alphabetically, so I am currently on 'L'). I have regularly been "viewing" the output (i.e., compiling the document to a .pdf), and there have been no serious problems with this.
Yesterday, after adding some index entries, I pressed "view". The LaTeX Errors box popped up, containing a list of unfamiliar errors, including something about LyX no longer reading the document after line 'x' (I think the number was about 3,000). Thinking this to be an everyday malfunction, and not knowing how to deal with it, I tried saving the document, then restarting LyX and trying again.
When I did this, the document compiled perfectly, no error messages, but also no index. No matter what I try, I cannot get the index to appear. It seems as if the compiler is ignoring the
\printindex
command.I can see that there is a document called
myfile.idx
, and that this document contains all of the index information that I have entered so far, so I can't see why the thing doesn't work all of a sudden.When I changed the index "processor" (Document\Settings\Indexes) from "Default" to "makeindex", I get the following error:
Code: Select all
LaTeX Error: \begin{theindex} on input line 1 ended by \end{document}.
\end{theindex}
, but it told me
Code: Select all
\begin{document} ended by \end{theindex}
Extra \endgroup
. When I then inserted \begin{theindex}
before \printindex
, and \end{document}
after \end{theindex}
, I got
Code: Select all
LaTeX Error: \begin{theindex} on input line 29395 ended by \end{document}.