mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 13:40:19 +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)
|
if (!is_long_tabular)
|
||||||
return;
|
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
|
// output first header info
|
||||||
if (haveLTFirstHead()) {
|
if (haveLTFirstHead()) {
|
||||||
if (endfirsthead.topDL)
|
if (endfirsthead.topDL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user