How to prevent LaTeX to put the table caption on the next page?
Here is a demonstration, bottom of a page:
Top of the next page:
As you can see, "táblázat 8: Sorirányok összesítése" - that is the caption of the table - was placed on the top of the next page. If the longtable has a header, then sometimes the header is repeated on the next page with the caption. But there is no data, just the header and the caption. I suspect that this is typographically incorrect. Is this a bug? Or is it by design?