InTitle: ignore InPreamble styles for outputting \maketitle.

This commit is contained in:
Guillaume MM 2017-05-05 23:49:52 +02:00
parent f3594cb3eb
commit 98bd27c0bf

View File

@ -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";