File: FAQ-inputlev.html

package info (click to toggle)
texlive-doc 2005.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 125,100 kB
  • ctags: 12,558
  • sloc: xml: 24,267; perl: 14,394; makefile: 727; sh: 324; lisp: 276; java: 159; sed: 4
file content (25 lines) | stat: -rw-r--r-- 982 bytes parent folder | download | duplicates (3)
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 - 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>