diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index adbf290880..545ab0baee 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -1095,8 +1095,6 @@ void Paragraph::Private::latexInset(BufferParams const & bparams, // decorations at all && inset->lyxCode() != ERT_CODE) { if (runparams.use_polyglossia) { - if (style.isEnvironment()) - os << "\\begin{LTR}"; os << "\\LRE{"; } else if (running_font.language()->lang() == "farsi" || running_font.language()->lang() == "arabic_arabi") @@ -1156,12 +1154,8 @@ void Paragraph::Private::latexInset(BufferParams const & bparams, throw(e); } - if (close) { - if (runparams.use_polyglossia && style.isEnvironment()) - os << "\\end{LTR}"; - else - os << '}'; - } + if (close) + os << '}'; if (os.texrow().rows() > previous_row_count) { os.texrow().start(owner_->id(), i + 1);