-
Notifications
You must be signed in to change notification settings - Fork 545
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. #5
Comments
Looks like TeX Live 2013 behaves a little differently than mine (TeX Live 2012/Debian). Or the newer Libertine fonts have slightly different metrics. I noticed I have smaller overfull:
Somewhere a figure doesn't fit any more and the remaining figures pile up in the queue. Try to change the page geometry in sicp.tex. Starting on the line 68 is \usepackage[..]{geometry} declaration. Enlarge textwidth and textheight a bit, see what happens. You could also insert \clearpage right before figure 3.33 on line 20696. Recompile with If no luck, please share your sicp.log in Gist so I can see the error context and hunt down the offending figure. |
I added 1mm to the textwidth and textheight as you said. It works fine now. Thank you. |
Glad to hear it worked. I put the dimension change suggestion as a comment in the preamble.tex. I tried to recompile with larger width and height: even a tiny 0.2mm addition resulted in completely different page breaks. All the hard work steering the page breaks to good spots would be gone. So I keep the original dimensions for now. This also means that it's hard to recreate the current pagination with different software mix. Maybe finding the offending figures and changing their dimensions in sicp.texi would be another solution. The Texinfo command for image inclusion has a dimension, for example:
The 31mm here means width. If we could find the overweight figures, we could make them a bit smaller and see what happens. Thanks for pointing out the problem. |
I tried to figure out the overweight figures, and found that Figure 3.32, 3.33, 3.34, 3.32,5, 3.37, 3.38 have the problem. If I comment these figures, the compilation is successful. Then I change the width to a smaller number. But the errors still come out. |
The culprit might be found even before 3.32. For example, 3.29 looks suspiciously big, and 3.31 looks very wide. |
I reviewed the figures before 3.32. I found that the figures after 3.15 cannot be shown. I think 3.12-3.15 may cause the problem. |
That seems logical, 3.12-3.15 look as if they just barely fit vertically. I think I remember having trouble with them, why else are there |
I use XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Arch Linux) to compile the latest sicp.tex with
./texi-to-latex.pl sicp.texi ; xelatex sicp.tex
. There is an error:The text was updated successfully, but these errors were encountered: