From 63f72c39be81d8cac987e3d9e17eed1c758353a0 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 25 Jul 2009 01:09:31 +0000 Subject: [PATCH] This should have gone in r30766. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30768 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/output_latex.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output_latex.cpp b/src/output_latex.cpp index ff25c1579c..606dec005e 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -359,7 +359,8 @@ ParagraphList::const_iterator TeXOnePar(Buffer const & buf, bool topped = outpit == paragraphs.begin() && (outpit->hasSameLayout(*priorpit) || outpit->getDepth() > pit->getDepth() - || outpit->getAlign() != outpit->layout().align); + || outpit->getAlign() != outpit->layout().align + || outpit->layout().isEnvironment()); Language const * const outenv_language = topped ? outer_language : outpit->getParLanguage(bparams);