summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-tmupfl.html
blob: 93228659a58fccc5e4b6822ecdfd09b78854be85 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<head>
<title>UK TeX FAQ -- question label tmupfl</title>
</head><body>
<h3>&ldquo;Too many unprocessed floats&rdquo;</h3>
<p/>If LaTeX responds to a <code>\</code><code>begin{figure}</code> or
<code>\</code><code>begin{table}</code> command with the error message
<pre>
! LaTeX Error: Too many unprocessed floats.

See the LaTeX manual or LaTeX Companion for explanation.
</pre>

your figures (or tables) are failing to be placed properly.  LaTeX
has a limited amount of storage for &lsquo;floats&rsquo; (figures, tables, or
floats you&rsquo;ve defined yourself with the <i>float</i> package); if
you don&rsquo;t let it ever actually typeset any floats, it will run out of
space.
<p/>This failure usually occurs in extreme cases of


<a href="FAQ-floats.html">floats moving &ldquo;wrongly&rdquo;</a>;
LaTeX has found it can&rsquo;t place a float, and floats of the same type
have piled up behind it.  LaTeX&rsquo;s idea is to ensure that caption
numbers are sequential in the document: the caption number is
allocated when the figure (or whatever) is created, and can&rsquo;t be
changed, so that placement out of order would mean figure numbers
appearing out of order in the document (and in the list of figures, or
whatever).  So a simple failure to place a figure means that no
subsequent figure can be placed; and hence (eventually) the error.
<p/>Techniques for solving the problem are discussed in the

<a href="FAQ-floats.html">floats question</a>
already referenced.
<p/>The error also occurs in a 
long sequence of <code>figure</code> or <code>table</code>
environments, with no intervening
text.  Unless the environments will fit &ldquo;here&rdquo; (and you&rsquo;ve allowed
them to go &ldquo;here&rdquo;), there will never be a page break, and so there
will never be an opportunity for LaTeX to reconsider placement.
(Of course, the floats can&rsquo;t all fit &ldquo;here&rdquo; if the sequence is
sufficiently prolonged: once the page fills, LaTeX won&rsquo;t place any
more floats, leading to the error.
<p/>Techniques for resolution may involve redefining the floats using the
<i>float</i> package&rsquo;s <code>[H]</code> float qualifier, but you are unlikely
to get away without using <code>\</code><code>clearpage</code> from time to time.
<dl>
<dt><tt><i>float.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/float.zip">macros/latex/contrib/float</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/float/">browse the directory</a>)
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tmupfl">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tmupfl</a>
</body>