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
How do I increase TL2023 TeX capacity?
This is another new one for me: TeX capacity exceeded when I tried compiling my book. The full error log is attached. TIA, RichThis is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex 2023.6.27) 27 JUN 2023 15:53 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **quantifying-ambient-conditions.tex (./quantifying-ambient-conditions.tex LaTeX2e <2023-06-01> patch level 1 L3 programming layer <2023-06-16> (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbook.cls Document Class: scrbook 2023/04/24 v3.40 KOMA-Script document class (book) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrkbase.sty Package: scrkbase 2023/04/24 v3.40 KOMA-Script package (KOMA-Script-dependent b asics and keyval usage) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbase.sty Package: scrbase 2023/04/24 v3.40 KOMA-Script package (KOMA-Script-independent basics and keyval usage) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile.sty Package: scrlfile 2023/04/24 v3.40 KOMA-Script package (file load hooks) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty Package: scrlfile-hook 2023/04/24 v3.40 KOMA-Script package (using LaTeX hooks) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlogo.sty Package: scrlogo 2023/04/24 v3.40 KOMA-Script package (logo) ))) (/usr/local/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty Package: keyval 2022/05/29 v1.15 key=value parser (DPC) \KV@toks@=\toks17 ) Applying: [2021/05/01] Usage of raw or classic option list on input line 252. Already applied: [/00/00] Usage of raw or classic option list on input line 368. )) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/tocbasic.sty Package: tocbasic 2023/04/24 v3.40 KOMA-Script package (handling toc-files) \scr@dte@tocline@numberwidth=\skip48 \scr@dte@tocline@numbox=\box51 ) Package tocbasic Info: omitting babel extension for `toc' (tocbasic) because of feature `nobabel' available (tocbasic) for `toc' on input line 135. Class scrbook Info: File `scrsize11pt.clo' used instead of (scrbook) file `scrsize11.clo' to setup font sizes on input line 2671 . (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrsize11pt.clo File: scrsize11pt.clo 2023/04/24 v3.40 KOMA-Script font size class option (11pt ) ) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/typearea.sty Package: typearea 2023/04/24 v3.40 KOMA-Script package (type area) \ta@bcor=\skip49 \ta@div=\count185 Package typearea Info: You've used standard option `executivepaper'. (typearea) This is correct! (typearea) Internally I'm using `paper=executive'. (typearea) If you'd like to set the option with \KOMAoptions, (typearea) you'd have to use `paper=executive' there (typearea) instead of `executivepaper', too. \ta@hblk=\skip50 \ta@vblk=\skip51 \ta@temp=\skip52 \footheight=\skip53 Package typearea Info: With paper sizes other than (almost) `A4' predefined (typearea) DIV values do not exist. Using DIV calculation for good (typearea) line width (unless using `version=3.24` or prior). DIV calculation for typearea with good linewidth. Package typearea Info: These are the values describing the layout: (typearea) DIV = 10 (typearea) BCOR = 0.0pt (typearea) \paperwidth = 523.95749pt (typearea) \textwidth = 366.77028pt (typearea) DIV departure = 0% (typearea) \evensidemargin = 32.52148pt (typearea) \oddsidemargin = -19.87425pt (typearea) \paperheight = 758.83499pt (typearea) \textheight = 541.40024pt (typearea) \topmargin = -33.7865pt (typearea) \headheight = 17.0pt (typearea) \headsep= 20.40001pt (typearea) \topskip= 11.0pt (typearea) \footskip = 47.6pt (typearea) \baselineskip = 13.6pt (typearea) on input line 1798. ) \c@part=\count186 \c@chapter=\count187 \c@section=\count188 \c@subsection=\count189 \c@subsubsection=\count190 \c@paragraph=\count191 \c@subparagraph=\count192 \scr@dte@chapter@maxnumwidth=\skip54 Class scrbook Info: using compatibility default `afterindent=bysign' (scrbook) for `\chapter on input line 5957. \scr@dte@section@maxnumwidth=\skip55 Class scrbook Info: using compatibility default `runin=bysign' (scrbook) for `\section on input line 5968. Class scrbook Info: using compatibility default `afterindent=bysign' (scrbook) for `\section on input line 5968. \scr@dte@part@maxnumwidth=\skip56 Class scrbook Info: using compatibility default `afterindent=true' (scrbook) for `\part on input line 5977. \scr@dte@subsection@maxnumwidth=\skip57 Class scrbook Info: using compatibility default `runin=bysign'