Questions tagged [capacity]
Concerned with the various capacity limitations in TeX, related errors, solutions and workarounds. Capacity limitations include restrictions on the size of numbers, dimensions, input-output streams, memory usage etc. If the question specifically concerns memory restrictions, the memory tag should be added.
63 questions
3 votes
2 answers
258 views
Dimension too large compiling longtable with lualatex. What is the cause?
I do not know what causes this error in TL 2025. Overfull \hbox (500.39865pt too wide) in paragraph at lines 34--35 [] \OT1/cmr/m/n/12 + ! Dimension too large. \ar@align@mcell ->\ifdim \ht \ar@...
2 votes
2 answers
296 views
! TeX capacity exceeded, sorry [input stack size=10000]
I get this error with these sets of equations. The commented out ones also produce same error as one that is not commented out. How do I fix it? What am I doing wrong? This is my error code: ! TeX ...
0 votes
1 answer
72 views
Capacity exceeded error using doc.sty and dox.sty
I use dox.sty in package creation. I recently installed the latest TeX Live available on Mint (version 2023.20240207-1) and encountered the following error processing my packages: ! TeX capacity ...
1 vote
1 answer
144 views
Why does this go into an infinite loop?
I am trying to maintain a string that will contain all the authors' names. \documentclass[11pt,a4paper]{article} \usepackage{hyperref,authblk} \def\authorsnames{} \newcommand*{\addauthor}[2]{\author[#...
0 votes
1 answer
117 views
Beamer - Undefined control sequence \end{frame}
I am having trouble working with this code : \documentclass[aspectratio=43]{beamer} \usepackage[utf8]{inputenc} \usepackage[export]{adjustbox} \usepackage{listings} \usepackage{xcolor} \usepackage{...
1 vote
1 answer
173 views
gb4e and leipzig not working together: TeX capacity exceeded
I'm on Windows 11 using MikTex as my LaTeX manager. I'm trying to make good-looking linguistic glosses using gb4e and leipzig, but they don't seem to be compatible together for some reason on my ...
6 votes
2 answers
625 views
How can I use morewrites and memoize?
Consider the following MNWE, which I'm compiling with pdfTeX: \documentclass{article} \usepackage{morewrites} \usepackage{memoize} \usepackage{tikz} \begin{document} \begin{tikz} \draw (0,0) -| (1,1)...
1 vote
0 answers
20 views
\bm in chapter title causes "TeX capacity exceeded" [duplicate]
Here's the MWE: \documentclass{book} \usepackage{amsfonts} \usepackage{bm} \usepackage{hyperref} \begin{document} \chapter{$\bm{a^2 + b^2 = c^2}$} \end{document} And here's the errors I ...
1 vote
2 answers
166 views
Document Printed an Extra 9,940 Pages [closed]
TeX capacity exceeded, sorry [input stack size=10000]. <to be read again> I have a book class document that has added thousands of extra pages. I have scoured the log files, but I cannot find ...
0 votes
0 answers
44 views
How can I scale the .tikz picture? I tried using tikzpicture but then it says TeX Capacity exceeded, so I sticked to minipage
\begin{figure}[H] \begin{minipage}{.5\linewidth} \centering \def\svgwidth{1.0\textwidth} \def\svgwidth{100pt} \import{pdf/}{/diodebridge.tikz} \end{minipage} \begin{...
0 votes
2 answers
162 views
conflict with currfile and doclicense causing ! TeX capacity exceeded, sorry [input stack size=10000]
\documentclass[12pt,a4paper,UTF8,scheme = plain]{ctexart} %%% 28 April 2022 %%%%% packages \usepackage{amsmath,amsfonts,amssymb} \usepackage[export]{adjustbox} % uses graphicx \graphicspath{{./figs/}} ...
1 vote
1 answer
253 views
tex4ebook does not accept config file
I installed today March 27 2022 new version of texlive. I made MWE which works well with pdfLatex. It works well with "tex4ebook -l myfile.tex". But, if I include minimal config file (from ...
0 votes
1 answer
506 views
biblatex: \nocite{*} causes TeX capacity exceeded
I am using \nocite{*} to create a typeset bibliography of the complete contents of all my .bib files. Under Ubuntu 18 (TexLive 2017), this worked perfectly and gave a 200 page document. Now Ubuntu ...
1 vote
2 answers
1k views
TeX capacity exceeded, sorry [input stack size=5000
\documentclass[11pt,a4paper]{article} \usepackage{ngerman} \usepackage[ngerman]{babel} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{marvosym} \usepackage{...
0 votes
1 answer
152 views
nameref circular reference causes TeX capacity exceeded
Update: Thanks everyone for your help, looks like I just misunderstood how \nameref works. I didn't realise it printed the entire caption, so as Ulrike commented it looks like the code is simply ...