Re: How do I increase TL2023 TeX capacity?
BTW, make sure you have configured tlmgr to keep one or two versions of updates in case you pull a misunderimproved version of something and so can revert. I do the updates manually (little shell script), so that I am aware of things. el On 29/06/2023 14:41, Rich Shepard wrote: [...] > Sunday, when /etc/cron.weekly runs, there might be an official fix. If > not, then next week. [...] -- To email me replace 'nospam' with 'el' -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
And what Steve and I are saying, doing this successive reduction one will find the location of the error. Then one can either remove the offending code or figure out what to do to make it work. In the case of a KOMA bug, the author is extremely responsive and helpful. el On 29/06/2023 14:41, Rich Shepard wrote: > On Wed, 28 Jun 2023, Steve Litt wrote: [...] > In my case it's a bug in the KOMA-Script book class. Herbert filed a > bug report and sent me a temporary replacement class. Sunday, when > /etc/cron.weekly runs, there might be an official fix. If not, then > next week. [...] -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
Selective quote. Eventually you locate the line that triggers the error. el On 28/06/2023 23:59, Rich Shepard wrote: > On Wed, 28 Jun 2023, Dr Eberhard W Lisse wrote: > >> Reduce the document by half and look at the half which triggers the >> error. > > Would make no difference. > > TL2023 needed an update. Updating TL2023 is now included in > /etc/cron.weekly. > > Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
On Wed, 28 Jun 2023, Steve Litt wrote: 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. Steve, In my case it's a bug in the KOMA-Script book class. Herbert filed a bug report and sent me a temporary replacement class. Sunday, when /etc/cron.weekly runs, there might be an official fix. If not, then next week. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
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 = 2 % 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 2. 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
Re: How do I increase TL2023 TeX capacity?
On Wed, 28 Jun 2023, Dr Eberhard W Lisse wrote: Reduce the document by half and look at the half which triggers the error. Would make no difference. TL2023 needed an update. Updating TL2023 is now included in /etc/cron.weekly. Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
Reduce the document by half and look at the half which triggers the error. Rinse and Repeat until you locate the error in your (generated) LaTeX which triggers this (misleading) error message and fix it. el On 28/06/2023 01:07, Rich Shepard wrote: > On Tue, 27 Jun 2023, Rich Shepard wrote: > >> This is another new one for me: TeX capacity exceeded when I tried >> compiling my book. The full error log is attached. > > I forgot to add that I looked at several StackExchange threads but > they did not seem relevant to my situation. > > Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
On Wed, 28 Jun 2023, Herbert Voss wrote: You can try to increase the stack.for example stack_size = 2 % 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 2. 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)? What might be causing this error? There are many figures and tables in the book if that is an issue. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
Am 28.06.23 um 14:12 schrieb Rich Shepard: On Wed, 28 Jun 2023, Herbert Voss wrote: [11] [12] chapter without number [1] ! TeX capacity exceeded, sorry [input stack size=1]. \protect ->\noexpand \protect \noexpand l.204 Data} that looks like a recursion. In line 204 you are reading a file with Data in its name. Right? Show that part of the source code. Herbert, I saw that in the log file and had no idea what it meant. The Preface is a chapter without number, and I'm adding an Acknowledgement page before that which will also be a chapter without number. Here's the context for line 204 in the .tex file: To appreciate why the statistical framework used for environmental data is critical for decision-makers it is necessary to understand the details of each one. \section{\label{sec:Analyzing-Environmental-Data}Analyzing Environmental Data} Rich, that looks ok. You can try to increase the stack.for example stack_size = 2 % 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 (maybe as root) Herbert There are three statistical model frameworks applied to data sets. They are not equivalent and each is most appropriate to answer questions about different types of data. I want to learn more about incorporating LaTeX in my LyX documents. For this book I want to modify the chapter headings and found code that does most of that (chapter name left-aligned between two horizontal rules) and I want the chapter number in words (all lower case) centered above that. This will wait until I learn how to fix the capacity issue and prepare the index. Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
On Wed, 28 Jun 2023, Herbert Voss wrote: [11] [12] chapter without number [1] ! TeX capacity exceeded, sorry [input stack size=1]. \protect ->\noexpand \protect \noexpand l.204 Data} that looks like a recursion. In line 204 you are reading a file with Data in its name. Right? Show that part of the source code. Herbert, I saw that in the log file and had no idea what it meant. The Preface is a chapter without number, and I'm adding an Acknowledgement page before that which will also be a chapter without number. Here's the context for line 204 in the .tex file: To appreciate why the statistical framework used for environmental data is critical for decision-makers it is necessary to understand the details of each one. \section{\label{sec:Analyzing-Environmental-Data}Analyzing Environmental Data} There are three statistical model frameworks applied to data sets. They are not equivalent and each is most appropriate to answer questions about different types of data. I want to learn more about incorporating LaTeX in my LyX documents. For this book I want to modify the chapter headings and found code that does most of that (chapter name left-aligned between two horizontal rules) and I want the chapter number in words (all lower case) centered above that. This will wait until I learn how to fix the capacity issue and prepare the index. Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
Am 28.06.23 um 01:04 schrieb Rich Shepard: This is another new one for me: TeX capacity exceeded when I tried compiling my book. The full error log is attached. [11] [12] chapter without number [1] ! TeX capacity exceeded, sorry [input stack size=1]. \protect ->\noexpand \protect \noexpand l.204 Data} that looks like a recursion. In line 204 you are reading a file with Data in its name. Right? Show that part of the source code. Herbert -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: How do I increase TL2023 TeX capacity?
On Tue, 27 Jun 2023, Rich Shepard wrote: This is another new one for me: TeX capacity exceeded when I tried compiling my book. The full error log is attached. I forgot to add that I looked at several StackExchange threads but they did not seem relevant to my situation. Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users