From a5f5985d28439f9f959152648ca7db41a6129601 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 31 Mar 2019 15:14:28 +0200 Subject: [PATCH] Fix bug #11528 The code was not doing what said in the description. (cherry picked from commit 45e0ce2372467516355d81bbba4a5852d9569f98) --- src/output_latex.cpp | 2 +- status.23x | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/output_latex.cpp b/src/output_latex.cpp index 9cdea9778b..858717b64c 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -1333,7 +1333,7 @@ void TeXOnePar(Buffer const & buf, && nextpar->getAlign() == par.getAlign()) || (!next_layout.isEnvironment() && nextpar->getDepth() > par.getDepth() - && nextpar->getAlign() == par.getAlign()) + && nextpar->getAlign() == next_layout.align) || (!style.isEnvironment() && next_layout.latextype == LATEX_ENVIRONMENT && nextpar->getDepth() < par.getDepth()) diff --git a/status.23x b/status.23x index d5a1d07057..e8930712c5 100644 --- a/status.23x +++ b/status.23x @@ -127,6 +127,8 @@ What's new - Only write btUnits if we have a bibliography (bug 11562). +- Fix paragraph break in particular cases (bug 11528). + * USER INTERFACE -- 2.39.5