commit 9c05f221f9b9bc499143f44f0e47fc28d34ad3c6
Author: Juergen Spitzmueller <[email protected]>
Date:   Thu Aug 28 08:37:39 2014 +0200

    Revert "Fix bug with wrong baseline calculation in last paragraph"
    
    This reverts commit b555f31a34112761f360ec69c996abcb3272e135.

diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index c7bac75..8115e6a 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -852,7 +852,6 @@ void TeXOnePar(Buffer const & buf,
        // Is this really needed ? (Dekel)
        // We do not need to use to change the font for the last paragraph
        // or for a command.
-       // Spitz: We need for the last par, actually. See #9231.
 
        Font const font = par.empty()
                 ? par.getLayoutFont(bparams, outerfont)
@@ -861,6 +860,7 @@ void TeXOnePar(Buffer const & buf,
        bool const is_command = style.isCommand();
 
        if (style.resfont.size() != font.fontInfo().size()
+           && nextpar
            && !is_command) {
                os << '{';
                os << "\\" << from_ascii(font.latexSize()) << " \\par}";

Reply via email to