Backport Vincent's fix for #7004.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40652 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2012-01-22 14:37:13 +00:00
parent 88fe65bf0c
commit 441e7f6c03
2 changed files with 6 additions and 2 deletions

View File

@ -106,8 +106,10 @@ ParagraphList::const_iterator makeParagraph(Buffer const & buf,
for (ParagraphList::const_iterator par = pbegin; par != pend; ++par) {
if (par != pbegin)
os << '\n';
if (buf.params().documentClass().isDefaultLayout(par->layout())
&& par->emptyTag()) {
bool const default_or_plain =
(buf.params().documentClass().isDefaultLayout(par->layout())
|| buf.params().documentClass().isPlainLayout(par->layout()));
if (default_or_plain && par->emptyTag()) {
par->simpleDocBookOnePar(buf, os, runparams,
text.outerFont(distance(paragraphs.begin(), par)));
} else {

View File

@ -151,6 +151,8 @@ What's new
- Fix marvosym/bbding package clash caused by using 0x271d "LATIN CROSS"
unicode symbol (part of bug 7811).
- Fix error when exporting DocBOok tables (bug 7004).
* TEX2LYX