Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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)

share|improve this question
2  
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
1  
@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
show 4 more comments

1 Answer

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.

Don't put floating environments in minipages or other non-floating boxes as this is the usual cause for lost floats.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.