# How to find the lost text part when having “Float(s) lost” error

I've lost some text. I don't know if theres something missing, so how can I find it? I'm not in the mood to compare the `chapter1.tex` to the `pdf` file by reading both. Chapter 1 (`chapter1.tex`) is rather long but it's the only hint I got.

[35]

! LaTeX Error: Float(s) lost.

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

l.215 \include{chapter1}

? H You've lost some text. Try typing to proceed. If that doesn't work, type X to quit.

So... Whats your coping strategy with that error? (Except not making the error)

-
It will be a figure or table or something, so if you are expecting 10 figures and you only got 9.... it had just finished outputting page 35 (the `[35]` in your snippet) which should also give a clue. Don't put floating environments in minipages or other non-floating boxes. –  David Carlisle Oct 26 '12 at 15:33
aha. so the error should manifest on page 36+... And the figure counter will increase but not be rendered? So there might be a "figure 2.22" and next is a "figure 2.24"? –  helt Oct 26 '12 at 15:41
yes that's the idea.. –  David Carlisle Oct 26 '12 at 16:09
@DavidCarlisle: "or something": footnotes? –  Martin Schröder Oct 27 '12 at 13:20
@naught101 i found the cause by binary search. comment out, recompile, check, repeat... It was pretty frustrating. iirc the cause was a incorrectly closed doublequote. –  helt Nov 16 '12 at 8:24
It will be a `figure` or `table` or other package-defined float type (eg `algorithm`). so if you are expecting 10 figures and you only got 9.... it had just finished outputting page 35 (that is the page numbered 35, not necessarily the 35th output page) (the [35] in your snippet) which should also give a clue.