[Tex/LaTex] How to find the lost text part when having “Float(s) lost” error

debuggingerrorsfloats

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)

Best Answer

FWIW, my Float(s) lost error seemed to have been due to introducing a todo in a footnote probably because the package I use for adding todos uses marginpar internally.