Re: How do I increase TL2023 TeX capacity?

2023-06-28 Thread Steve Litt
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


biblatex question

2023-06-28 Thread Rich Shepard

I'm getting a build error at the bibliography grey box at the end of the
document: "Package inputenc error: keyboard character used is undefined."

In the biblatex cheat sheet the first command in the preamble should be
\usepackage[utf8]{inputenc}
but in my document it's
\usepackage[latin9]{inputenc}

I don't see where in Settings I can change that. It must be an option in one
of the settings and I don't know which one.

Pointer needed.

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?

2023-06-28 Thread Rich Shepard

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?

2023-06-28 Thread Dr Eberhard W Lisse
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


LyX 2.4, Beta 3

2023-06-28 Thread Richard Kimberly Heck
A new beta of LyX 2.4 has been released. Source code and binaries for 
Windows and OSX can be found here:


http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/

Please report any bugs either using our bug tracker or else by sending 
an email to


    lyx-de...@lists.lyx.org

We hope to proceed to a release candidate in the near future.

Riki


--
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?

2023-06-28 Thread Rich Shepard

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?

2023-06-28 Thread Herbert Voss



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?

2023-06-28 Thread 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}

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