mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
InsetTabular.cpp: when there is no first header or last footer, then don't mention it in the LaTeX code, otherwise the header/footer will not appear on the first page.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28472 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2a4a6724ff
commit
256ba59d5f
@ -2120,10 +2120,6 @@ int Tabular::TeXLongtableHeaderFooter(odocstream & os,
|
|||||||
}
|
}
|
||||||
// output header info
|
// output header info
|
||||||
if (haveLTHead()) {
|
if (haveLTHead()) {
|
||||||
if (!haveLTFirstHead()) {
|
|
||||||
os << "\\endfirsthead\n";
|
|
||||||
++ret;
|
|
||||||
}
|
|
||||||
if (endhead.topDL) {
|
if (endhead.topDL) {
|
||||||
os << "\\hline\n";
|
os << "\\hline\n";
|
||||||
++ret;
|
++ret;
|
||||||
@ -2157,10 +2153,6 @@ int Tabular::TeXLongtableHeaderFooter(odocstream & os,
|
|||||||
}
|
}
|
||||||
os << "\\endfoot\n";
|
os << "\\endfoot\n";
|
||||||
++ret;
|
++ret;
|
||||||
if (!haveLTLastFoot()) {
|
|
||||||
os << "\\endlastfoot\n";
|
|
||||||
++ret;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// output lastfooter info
|
// output lastfooter info
|
||||||
if (haveLTLastFoot()) {
|
if (haveLTLastFoot()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user