Hi,
I am experiencing a weird error message and would be extremely grateful
for any hints.
I'm writing a book using the scrbook class, and after manually adding
scrheadings, I suddenly get the error message
> Improper \prevdepth.
> You can't use '\prevdepth' in horizontal mode.
and
> \end{figure}
> You can refer to \spacefactor only in horizontal mode;
> you can refer to \prevdepth only in vertical mode; and
> neither of these is meaningful inside \write. So
> I'm forgetting what you said and using zero instead.
This occurs in the middle of the book directly after a figure float with
a PDF file. When I remove the float/figure, it occurs at the next
float/figure in the book, and so on.
I did not touch anything, and before I started playing with scrheadings,
there was no error message at all. I have no clue as to what \prevdepth
and \spacefactor are or do.
I deleted all the scrheadings again, but the error message is still
there. I also read this:
http://www.math.upenn.edu/tex_docs/help/faq/uktug-faq/FAQ229.html, but
there is no \@ in any macro name as far as I can tell (I exported my
file to pdfLaTeX and checked the output with TeXShop).
What's going on here? Any hint would be appreciated.
-- Christian