LaTeX-Fehler „Too many unprocessed floats“: Ursache und Lösung

Fehler Too many unprocessed floats

LaTeX hält Gleitobjekte, die es noch nicht platziert hat, in einer Warteliste, und diese Liste ist voll. In TeX Live 2023 fasst sie 52 Gleitobjekte; das 53., das warten muss, löst diesen Fehler aus.

Wodurch sie entsteht

So behebst du sie

Ein Dokument, das die Meldung auslöst

\documentclass{article}
\newcommand{\plot}{\begin{figure}
	\centering\rule{4cm}{3cm}\caption{A plot}
\end{figure}}
\begin{document}
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\end{document}

Im Editor öffnen

Das korrigierte Dokument

\documentclass{article}
\newcommand{\plot}{\begin{figure}
	\centering\rule{4cm}{3cm}\caption{A plot}
\end{figure}}
\begin{document}
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\clearpage
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\clearpage
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot
\end{document}

Im Editor öffnen

Beide Dokumente wurden mit pdfLaTeX aus TeX Live 2023 kompiliert. Das erste erzeugt die Meldung, das zweite kompiliert ohne Fehler.

Die Zeile im Editor finden

Der Editor listet jeden Fehler und jede Warnung eines Kompilierlaufs mit Datei und Zeile auf. Wähle einen Eintrag, und der Cursor springt in diese Zeile. Siehe Fehlerliste mit Sprung in die Zeile.

Verwandte Seiten