X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTabular.cpp;h=daf4a3634b73d9777087592c3becf31e2fc77eb2;hb=cb81a4e0d4e5e4e30812fea0dfa0e9cb37cbd819;hp=ecd8004b8e925dbaabb391246502aa6df03a346b;hpb=21cab385498ee5e134504c46414620c3e9893dd3;p=lyx.git diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index ecd8004b8e..daf4a3634b 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -2514,11 +2514,12 @@ int Tabular::docbook(odocstream & os, OutputParams const & runparams) const //+--------------------------------------------------------------------- // output header info - if (haveLTHead() || haveLTFirstHead()) { + if (haveLTHead() || haveLTFirstHead()|| haveLTCaption()) { os << "\n"; ++ret; for (row_type i = 0; i < row_info.size(); ++i) { - if (row_info[i].endhead || row_info[i].endfirsthead) { + if (row_info[i].endhead || row_info[i].endfirsthead + || row_info[i].caption) { ret += docbookRow(os, i, runparams); } }