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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 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 ...
Atom's user avatar
  • 513
1 vote
2 answers
118 views

Document Printed an Extra 9,940 Pages

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 ...
ceramicquasar88's user avatar
0 votes
0 answers
33 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{...
crusher's user avatar
0 votes
2 answers
80 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/}} ...
CasperYC's user avatar
  • 649
1 vote
1 answer
152 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 ...
Timo Kuronen's user avatar
0 votes
1 answer
266 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 ...
KeithB's user avatar
  • 441
1 vote
2 answers
992 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{...
Mo Biz's user avatar
  • 19
0 votes
1 answer
85 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 ...
JoelDR's user avatar
  • 3
1 vote
1 answer
281 views

-shell-escape does not work

When running pdflatex -synctex=1 -interaction=nonstopmode -shell-escape %filename%.tex It gives: Package tikz Error: Sorry, the system call 'pdflatex -shell-escape -halt-on-error interaction=batchmode ...
MPEI_stud's user avatar
2 votes
2 answers
247 views

Changing the font size of text along path using tikz within animation, leads to TeX capacity exceeded error

I'm trying to create an animation of a geometrical figure using Tikz and the animate package, in which I want to typeset the angles between lines frame by frame. I can actually achieve this, however ...
Charlie's user avatar
  • 1,135
3 votes
2 answers
298 views

TeX capacity exceeded with several \input in a spreadtab

I use several \input in a spreadtab using the method from this answer in my document until I got this error: TeX capacity exceeded, sorry [text input levels=15]. I read in the Internet that I can ...
IH Pro's user avatar
  • 141
0 votes
1 answer
91 views

TeX capacity exceeded: Beamer not working

I am trying to compile my beamer but somehow this line shows up and the file is not working: TeX capacity exceeded, sorry [parameter stack size=10000] Does anyone know what exactly happened? Thanks in ...
Mermaid's user avatar
0 votes
1 answer
66 views

Figure environment exceeds TeX capacity

I'm trying to include a figure environment in this project (see main.tex file line 76). However, as soon as I include the figure environment, the compiler says that TeX capacity has been exceeded. The ...
R__'s user avatar
  • 103
0 votes
0 answers
79 views

glossaries-extra does not recognise glossaries commands

I have a question regarding the glossaries package. In my thesis I use this package to create a list of symbols/nomenclature. Without the glossaries package and only using glossaries-extra everything ...
JesseHofsteenge's user avatar
0 votes
0 answers
347 views

Tex error: TeX capacity exceeded, sorry [.6=200000]

While a compilation of my file thesis.tex, my computer is stopped and it restarts. Then when I reopen the file, no contain is viewed (although the file size is always 295 kB !), and any compilation is ...
Quốc Hưng Lữ's user avatar
0 votes
0 answers
323 views

Again: ! TeX capacity exceeded, sorry [save size=500000] (LuaLaTeX, MikTeX)

I'm getting the following error message compiling my PhD-file (used: LuaLaTeX, MikTeX 2.9): ! TeX capacity exceeded, sorry [save size=500000]. <to be read again> \relax l.90 \include{...
Bastian Wagner's user avatar
0 votes
1 answer
158 views

Package nicematrix - "TeX capacity exceeded" error

I am trying to reproduce the example from Section 16.3 of the nicematrix manual: \documentclass[10pt,a4paper]{article} \usepackage{nicematrix} \begin{document} \NiceMatrixOptions{nullify-dots,code-...
Yauhen Yakimenka's user avatar
0 votes
0 answers
116 views

Problem with centering the contents title

I sometimes get the fatal error TeX capacity exceeded, sorry [input stack size=5000]. \reserved@a ->\def \reserved@a *{\ttl@assign@i {\@tempskipb }}\reserved@a l.10 \tableofcontents ...
jonnybolton16's user avatar
1 vote
1 answer
500 views

How to create a Multicol within a Page-Frame spanning multiple pages

Added 2020-07-05 -- Details of my requirements: Produce a document that frames doublecol and onecol: The frame is supposed to completely frame all content of the document within one frame that is ...
Simon's user avatar
  • 33
0 votes
0 answers
521 views

Memory Exceeded - Words of Memory

Hoping someone might able to assist or point me in a direction to possibly solve this issue if at all can be. I am creating a very large TEX file using LaTeX pdf. I know after reviewing many posts ...
user avatar
0 votes
0 answers
77 views

tex exceeded capacity when writing simple paragraph

I have a very simple latex code after watching a youtube video which is as follows \documentclass[a4paper]{article} %\usepackage[]{tabular} \usepackage[•]{color} \title{Kodie Data} \author{Kodie} \...
koeradoera's user avatar
0 votes
0 answers
71 views

Exercise package => tex capacity limit

\documentclass[a4paper,11pt,openany,french]{book} \usepackage{float} % figure wont float anymore \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{angles} \usetikzlibrary{decorations....
user5402's user avatar
  • 346
2 votes
1 answer
215 views

Capacitor: curved terminal

I'm drawing an equivalent circuit of a Triode (Vacuum Tube) using circuitikz. Here is my code: \ctikzset{tubes/width=2.8, tubes/height=4, tubes/fill=cyan, tubes/thickness=4} \ctikzset{resistors/scale=...
mikilinux's user avatar
1 vote
1 answer
106 views

Beamer: \truncate + \insertsectionhead throws TeX capacity error

I'm using \truncate and \insertsectionhead in a beamer environment. Under certain conditions, compilation crashes. For more detail, consider this MWE: \documentclass[t]{beamer} \usepackage[british]{...
matsewe's user avatar
  • 138
0 votes
0 answers
46 views

Continue to next page without limits and without "Dimension too large"

I have been wondering if there is a way to control the size (height and width) that a tikzpicture environment can support for drawing and I have often seen only undefined answers being cited. I'm ...
Yaacov NNNNM's user avatar
1 vote
1 answer
266 views

“Tex capacity exceeded, sorry [save size=8000]” on Texpad

I use the Texpad on my iPad. A "TeX capacity exceeded, [save size=8000]" issue occurred when compiling the project. How to fix?
Jong Hyeok Lee's user avatar
7 votes
1 answer
1k views

Capacity exceeded error while using cleveref package with svjour3 (Springer) class

similiar to Capacity exceeded error while using cleveref package with ifacconf class, the class svjour3 by Springer crashes together if the cleveref package is used. (/compile/main.tex ! TeX capacity ...
Alex44's user avatar
  • 563
3 votes
2 answers
712 views

TeX capacity exceeded when externalizing

I have several large TikZ plots I want to externalize. Without externalization, everything works fine. Document: \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} %\tikzexternalize ...
user1494080's user avatar
0 votes
0 answers
327 views

TeX capacity exceeded, sorry [input stack size=5000]. <to be read again>

In fact, I got this error TeX capacity exceeded, sorry [input stack size=5000] when I use \doublespacing of the package setspace and no PDF file is produced. But when I remove \doublespacing, there is ...
kerdouj kardouj's user avatar
1 vote
0 answers
101 views

capacity problem with some packages

I 'm trying to draw the plot of f(x)=sin(1/x) with pgfplot, but I get an error message: ! TeX capacity exceeded, sorry [main memory size=3000000]. I realized that when I delete one of the ...
Kώστας Κούδας's user avatar
5 votes
2 answers
490 views

Workflow for projects with many tikz figures/plots

I love LaTeX and TikZ for creating high-quality documents. The problem is that large projects require a pretty long compilation time and that complicated TikZ figures/plots quickly exceed the memory ...
MachineLearner's user avatar
3 votes
2 answers
1k views

Forest - TeX capacity exceeded, sorry [save size=80000]

I am a novice when it comes to anything related to Latex, so I am sorry if I am unclear or dense. I am using the latest Trisquel operating system. I am trying to make a large tree with Forest from ...
Chris Koch's user avatar
1 vote
1 answer
529 views

Tex capacity exceeded with back references

I am getting an error, TeX capacity exceeded, sorry [text input levels=50]. \backcite {refone}{{1}{1}{section.1}}, TexStudio points to the brf file. I suspect the error comes from \usepackage[...
hola's user avatar
  • 3,976
2 votes
0 answers
2k views

Beamer presentation with itemize exceed text capacity [duplicate]

\documentclass[11pt]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{enumitem} \usetheme{default} \begin{document} \begin{frame} \frametitle{...
robertspierre's user avatar
2 votes
2 answers
135 views

Nested Chemformula exceeds TeX Capacity

Here is an MWE of the problem at hand: \documentclass{article} \usepackage{chemformula} \begin{document} $\varphi_{\ch{N2}}$%chemformula as index works \ch{C + O2 + N2 -> CO2 + N2}%...
Alex Povel's user avatar
1 vote
0 answers
626 views

TeX capacity exceeded using Knitr

I am unable to weave a document containing LaTeX and R code using RStudio due what I think are TeX capacity limitations. Is there a way of fixing this without having to compile using LuaLaTeX which is ...
Helena's user avatar
  • 43
3 votes
1 answer
4k views

capacity exceeded error [text input levels=15]

when I try to compile my document in order to keep looking the format, i recieve the following error: /usr/share/texlive/texmp-dist/tex/latex/base/utf8.def:39:TeX capacity exceeded, sorry [text ...
Juan Luis Melero Ollonarte's user avatar
2 votes
1 answer
215 views

How to avoid "tex capacity exceeded" with several tikzset definitions

Problem I'm defining several .pic keys using tikzset to be consumed later on other libraries. However, when I'm using pdflatex, for example, I get a capacity exceeded error. I just tested that using ...
adn's user avatar
  • 11.1k
7 votes
2 answers
420 views

How to determine how much "save space" I am using

I have once again reached the "save space" limit of 80,000. TeX capacity exceeded, sorry [save size=80000]. The last log file where I did not have this issue reports the following. 182627 ...
Peter Grill's user avatar
5 votes
2 answers
293 views

While loading fancyvrb, siunitx and bigfoot, I got input stack size=5000, TeX STOPPED: fatal errors occurred

If I try to build the following document: \documentclass{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{fancyvrb} \usepackage{siunitx} \usepackage{bigfoot} \begin{...
user's user avatar
  • 4,655
2 votes
1 answer
333 views

TeX capacity exceeded - Babel package

Please consider this document: \documentclass{report} \usepackage[portuguese]{babel} \DeclareTextAccent{\'}{EU1}{"00B4} \begin{document} \chapter{Introduction} \end{document} If I try to compile it ...
José Carlos Santos's user avatar
2 votes
1 answer
1k views

TeX capacity exceeded Error

I've seen a couple of posts of this error being reported but the solutions tend to be very specific. Because I am using a template from here (https://github.com/mlouhivu/prace-latex-whitepaper) I am ...
user8728930's user avatar
0 votes
0 answers
173 views

savetrees + mathptmx error?

Why does the following fail to compile? \documentclass[twocolumn, 10pt]{article} \usepackage{mathptmx} \usepackage[subtle]{savetrees} \title{Test} \author{Foo} \date{} \begin{document} \maketitle \...
akn320's user avatar
  • 101
2 votes
1 answer
587 views

pdflatex not working anymore after updating pdflatex.ini and initexmf --dump=pdflatex

I tried to overcome the well known tex capacity exceed problem, when using large Surf-plot with many datapoints. I tried this by typing into the cmd (Windows 7, MikTex 2.9): initexmf --edit-config-...
user140574's user avatar
4 votes
0 answers
464 views

How to run LuaLaTeX only for tikzexternalize while running PDFLaTeX? [closed]

When I run PDFLaTex when using \tikzexternalize, for large files I get an error that the TeX capacity is exceeded (enlarging does not help). However, when I compile with LuaLaTeX it works (for small ...
Bas's user avatar
  • 61
6 votes
2 answers
1k views

TeX capacity exceeded in figure captions

I got provided with the following code to define a macro for an image composed of any number of subfigures: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{expl3,xparse} \usepackage{...
Gerry's user avatar
  • 277
2 votes
0 answers
124 views

Usage of \pgfkeysvalueof leads to 'Dimension too large'

As the title already says, I got the problem that the Usage of \pgfkeysvalueof leads to an 'Dimension too large' error. Here's an MWE: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{...
joni's user avatar
  • 219
-1 votes
1 answer
269 views

error tex capacity exceeded [duplicate]

I am having a hard time understanding what is wrong with the code below. When I run it in tex, I get an error input limit exceeded. The exact error is pasted below: I am using texmaker to run the ...
Teererai Marange's user avatar
5 votes
3 answers
1k views

TeX capacity exceeded

I have the following stub document: \documentclass[12pt]{article} % packages used in this MS: \usepackage{amsmath, amssymb, amsthm} \usepackage{calc} % to allow duplicate ...
William Grove's user avatar
4 votes
1 answer
1k views

TeX capacity exceeded, sorry , due to \def command

I'm planning a very flexible python program computing the steady states of a system of differential equations. I want to print the output of this program into a .tex file as you can see in the ...
Alexander Tille's user avatar