mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
30b6c83164
commit
2b941da7fc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user