Do not output a \par inside a local language switch command

This commit is contained in:
Enrico Forestieri 2017-06-04 03:12:41 +02:00
parent 5febcf6236
commit 71f532db4b

View File

@ -507,7 +507,7 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams,
if (f.size() != FONT_SIZE_INHERIT) { if (f.size() != FONT_SIZE_INHERIT) {
// We only have to close if only size changed // We only have to close if only size changed
if (!env) { if (!env) {
if (needPar) { if (needPar && !closeLanguage) {
os << "\\par"; os << "\\par";
count += 4; count += 4;
needPar = false; needPar = false;