Fix longtable captions (#8933)

Don't know why this code is now needed again (or why it had to be removed in the first place).
This commit is contained in:
Juergen Spitzmueller 2014-01-25 09:32:57 +01:00
parent 30b6c83164
commit 2b941da7fc

View File

@ -2447,6 +2447,14 @@ void Tabular::TeXLongtableHeaderFooter(otexstream & os,
if (!is_long_tabular)
return;
// caption handling
// the caption must be output before the headers
if (haveLTCaption()) {
for (row_type r = 0; r < nrows(); ++r) {
if (row_info[r].caption)
TeXRow(os, r, runparams);
}
}
// output first header info
if (haveLTFirstHead()) {
if (endfirsthead.topDL)