From 98bd27c0bf7eb6a32e5297837b8eb89e4fffd103 Mon Sep 17 00:00:00 2001 From: Guillaume MM Date: Fri, 5 May 2017 23:49:52 +0200 Subject: [PATCH] InTitle: ignore InPreamble styles for outputting \maketitle. --- src/output_latex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output_latex.cpp b/src/output_latex.cpp index 5f834e98a7..7db9e7c52b 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -1358,7 +1358,7 @@ void latexParagraphs(Buffer const & buf, << "}\n"; } } - } else if (was_title && !already_title) { + } else if (was_title && !already_title && !layout.inpreamble) { if (tclass.titletype() == TITLE_ENVIRONMENT) { os << "\\end{" << from_ascii(tclass.titlename()) << "}\n"; -- 2.39.2