Take the 2-minute tour ×
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
3  
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
1  
Is it possible that there is no text loss anyway? I cant find any lost text between page 36 and 38... Its all there. –  helt Oct 28 '12 at 13:38
1  
I'm seeing this too. I'm using the AGU latex template, and everything works perfectly on draft mode, but I get this error, and one of my tables goes missing when not on draft mode. Even more annoying, this is the second of two nearly identical tables, and the first one works fine. Extremely frustrating. –  naught101 Nov 16 '12 at 1:32
2  
@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
2  
uhh. thats loong ago... en.wikipedia.org/wiki/Binary_search_algorithm :) -- Instead of checking one line after an other, i comment out a large portion of text, check if the error is gone and then i comment back in the half of the previously disabled markup. by doing so, you need less runs. still too many, but less. –  helt Apr 8 at 15:48

1 Answer 1

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.