Rich Shepard said on Wed, 28 Jun 2023 06:44:45 -0700 (PDT) >On Wed, 28 Jun 2023, Herbert Voss wrote: > >> You can try to increase the stack.for example >> stack_size = 20000 % simultaneous input sources >> Put this into a file /usr/local/texlive/2023/texmf.cnf >> Create it, if not present. The main system configuration file is in >> .../texmf-dist/web2c/ >> but should not be touched. Then run fmtutil-sys --all > >Herbert, > >Did all this. > >Tried compiling the book and get the same error, but with the >stack_size at 20000. The build stops at the same point: `Data' on line >402. > >Should I increase the stack_size more (there's 32G RAM on this host)?
You can, and I suggest you try it just in case it works, but my experience tells me that out of stack errors are caused by bad LaTeX authoring, not a correct LaTeX file that just happens to need a little more stack. I know how to fix this. Archive what you currently have, copy it to mwe.lyx, then start subtracting stuff until only the essentials of the requirements to produce the error remain. Archive that file as mwe.lyx. Then, with some experimentation, the root cause should stick out like a sore thumb, and once you find it, you can fix it either by fixing the root cause in the originally archived document, or by slowly building up the fixed mwe until it becomes obvious how to fix the original file. Even if this doesn't work for you, asking questions about mwe.lyx would *greatly* increase the likelihood of somebody accurately answering your questions. I run into this hassle all the time. It's frustrating and time consuming, but if you follow the process, fixing it isn't rocket science. SteveT Steve Litt Autumn 2022 featured book: Thriving in Tough Times http://www.troubleshooters.com/bookstore/thrive.htm -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users