On 05/15/2018 10:26 PM, Robert Kern wrote:
Dear lyx-users,
I'm writing a book, and this evening I decided to export it to a .pdf
file to check it out. I went to File->Export->PDF (pdflatex) and hit
Enter. A few seconds later I received an error message which said,
"! TeX capacity exceeded, sorry [parameter stack size=10000].
If you really absolutely need more capacity,
you can ask a wizard to enlarge me."
I'm running LyX on Linux and have plenty of memory and disk space, so
I wondered where I could find a "wizard" to increase the Tex stack
size. I went to www.lyx.org, but found nothing there, so I went to
www.ctan.org and searched for "wizard" and "stack size."
So, can anyone tell me how to increase the Tex stack size, or where I
can find a "wizard" that can help me? Otherwise, I'm stuck with a
three-quarter completed book which I can't complete using LyX.
Thanks in advance,
Robert Kern
Various errors in the source document can cause this error message
(which means that increasing the stack size may not actually help). You
might try compiling portions of the books (individual chapters, first
half then second half, ...) to see if you can isolate a specific section
that triggers the error. I think a relatively painless way to do it is
to put portions of the file in deactivated branches (Document > Settings
> Branches to create and activate/deactivate them, Insert > Branch to
put selected text in a branch).
Paul