From cb81a4e0d4e5e4e30812fea0dfa0e9cb37cbd819 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 12 Feb 2009 02:31:00 +0000 Subject: [PATCH 1/1] InsetTabular.cpp: output the caption for docbook git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28462 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetTabular.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } } -- 2.39.2