Graphics, Figures & TablesToo many unprocessed Floats prevent Compilation

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
jameschampion01
Posts: 9
Joined: Mon Jun 17, 2013 4:39 pm

Too many unprocessed Floats prevent Compilation

Post by jameschampion01 »

Dear all,

I am in the process of trying to compile a LaTeX document. I have a separate .bib file and am using BiBTeX. I had put in 8 figures, generally using the [htbp] placement option, and these compiled fine.

However when trying to compile and insert a 9th figure using the command:

Code: Select all

\begin{figure}[htbp]
  \centering
  \includegraphics[width=\textwidth]{figures/Fig9-retry.png}
  \caption{A representation of an injector block.}
  \label{fig:injectorblock}
\end{figure}
It does not compile and I get the following error messages.

Code: Select all

Undefined control sequence \begin{figure}[htbp]
Undefined control sequence \begin{figure}[htbp]
Missing number, treated as zero \begin{figure}[htbp]
Too many unprocessed floats. \begin{figure}[htbp]
Undefined control sequence \begin{figure}[htbp]
Missing number, treated as zero \begin{figure}[htbp]
Undefined control sequence \end{figure}
Missing number, treated as zero \end{figure}
Undefined control sequence \end{figure}
Improper \prevdepth \end{figure}
You can't use `\prevdepth' in horizontal mode \end{figure}
Missing number, treated as zero \end{figure}
Illegal unit of measure (pt inserted) \end{figure}
Float(s) lost. \begin{thebibliography}{10}
`h' float specifier changed to `ht'.
Underfull \hbox (badness 10000) in paragraph
Underfull \hbox (badness 10000) in paragraph
Underfull \hbox (badness 10000) in paragraph
I have looked into a few previous forum answers relating to the "too many unprocessed floats" problem and I tried inserting the \clearpage command at the bottom of each page, and also tried using the morefloats package. Neither of these seemed to work and it is still not compiling. The problem seems linked with the 9th figure insert.

Does anyone have and suggestions on how I could get the file to compile? This would be much appreciated.

My pre-amble looks like this.

Code: Select all

\documentclass[a4paper,12pt]{report}
\usepackage{graphicx}
\usepackage[left=3.0cm, right=2.0cm, top=3.0cm, bottom=3.0cm]{geometry}
\usepackage{amsmath}
\usepackage{url}
\usepackage[notlof,nottoc,notlot]{tocbibind}
\usepackage{hyperref}
\usepackage{siunitx}
\usepackage{mathabx}
\usepackage{morefloats}
\usepackage{setspace}
\linespread{1.6} 
\usepackage{cite}
Thanks,

James
Last edited by localghost on Wed Sep 04, 2013 3:26 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Too many unprocessed Floats prevent Compilation

Post by localghost »

For an adequate problem description please prepare a self-contained and minimal example in order to avoid speculations and guesswork. This example should come along with either the relevant error messages extracted from the log file (*.log) or the log file itself attached by upload to the forum server.

Nevertheless some speculations that might help (although I hate that).
  • Appropriate options to morefloats (which you are already loading) could help. Do you know what it's for or is it only a decorating element in your preamble.
  • A regularly inserted \clearpage or \cleardoublepage would force the floats to be processed.
Just for information to other users for awareness of possibly already existing solutions. The question has also been posted to {TeX} SX. Please read what our administrator thinks about that.
Board Rules wrote:A crossposting is always contra-productive. But there is nothing really against it as long as it is mentioned. This means that a direct link has to be added. So other users who want to help are preserved from double efforts and waste of time.

Thorsten
Post Reply