summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-inputlev.html
blob: 366d97da0c956287dbb0ca86142b925d810cd42c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<head>
<title>UK TeX FAQ -- question label inputlev</title>
</head><body>
<h3>Capacity exceeded &mdash; input levels</h3>
<p/>The error
<pre>
! TeX capacity exceeded, sorry [text input levels=15].
</pre>

is caused by nesting your input too deeply.  You can provoke it with
the trivial (Plain TeX) file <i>input.tex</i>, which contains
nothing but: 
<pre>
\input input
</pre>
In the real world, you are unlikely to encounter the error with a
modern TeX distribution.  TeTeX (used to produce the error
message above) allows 15 files open for TeX input at any one time,
which is improbably huge for a document generated by real human
beings.
<p/>However, for those improbable (or machine-generated) situations,
some distributions offer the opportunity to adjust the parameter
<code>max_in_open</code> in a configuration file.
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=inputlev">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=inputlev</a>
</body>