LyXWhy does lyx say "TeX capacity exceeded"?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

Why does lyx say "TeX capacity exceeded"?

Post by lyxrocks »

when clearly there is only few lines, and when other lyx files compile just fine. i also included the lyx file as attachment, it is quite small, just 3 lines.

if i change the "type" of the math formula from displayed to inline, then it compiles fine. but i need it to be displayed.

if i change the enviorment of the math formula from subsection to standard, then it compiles fine. but i also need it to be subsection, i.e., part of the subsection title.
lyxquestion.jpg
lyxquestion.jpg (104.21 KiB) Viewed 3878 times
lyxquestion.lyx
(5.03 KiB) Downloaded 527 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

Why does lyx say "TeX capacity exceeded"?

Post by Stefan Kottwitz »

There's a still problem with displayed math in the argument, which is also used for bookmarks, for the header, and for the table of contents. There you don't need displayed math for sure, especially in pdf bookmarks and in the running header line.

Just specify a short title, for example click on the title with the right mouse button and choose Insert short title. This title doesn't need the displayed math formula, and the problem would go away.

Stefan
LaTeX.org admin
lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

Re: Why does lyx say "TeX capacity exceeded"?

Post by lyxrocks »

thank you so much.

you are a life saver.
Post Reply