commit 11740f6fc02196323b8ec5c24397d0a88e6836b8
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Sun Dec 27 14:00:30 2020 +0100

    Amend dc174db6c1973d1/lyxgit (#12057)
---
 src/output_latex.cpp |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index 4bb1400..17e9743 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -1671,6 +1671,15 @@ void latexParagraphs(Buffer const & buf,
                                        os << '\n' << '\n';
                                continue;
                        }
+               } else {
+                       // This is the last par
+                       Paragraph const & cpar = paragraphs.at(pit);
+                       if (!runparams.for_search && !cpar.empty()
+                           && cpar.isDeleted(0, cpar.size()) && 
!bparams.output_changes) {
+                               if (!cpar.parEndChange().deleted())
+                                       os << '\n' << '\n';
+                               continue;
+                       }
                }
 
                TeXEnvironmentData const data =
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to