Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LaTeX Error: Too many unprocessed floats #1676

Closed
grownseed opened this issue Oct 9, 2014 · 2 comments
Closed

LaTeX Error: Too many unprocessed floats #1676

grownseed opened this issue Oct 9, 2014 · 2 comments

Comments

@grownseed
Copy link

Using latest Pandoc (1.13.1) with latest TexLive (2014-10-08), built from source on CentOS 6.5.

Running:

pandoc mydoc.md -o mydoc.pdf

Returns:

! LaTeX Error: Too many unprocessed floats.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.789 \begin{figure}[htbp]

pandoc: Error producing PDF from TeX source

This happens when a markdown file has too many images.

It appears this particular issue was meant to be resolved by #285 (as mentioned in the changelog).

@jgm
Copy link
Owner

jgm commented Oct 19, 2014

Most likely the reference to #285 is to an issue in the old googlecode tracker.
https://code.google.com/p/pandoc/issues/detail?id=285&can=1
See also
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tmupfl
Some solutions given there include using the morefloats package (try adding \usepackage{morefloats} to the preamble in a custom latex template or adding \clearpage in places, especially where you have a sequence of floats in a row.

@jgm
Copy link
Owner

jgm commented Oct 19, 2014

Anyway, I don't think this is a pandoc bug, or anything pandoc can fix automatically; it's a LaTeX limitation and you'll need to look to LaTeX documentation to fix.

@jgm jgm closed this as completed Oct 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants