mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
output_latex.cpp: Fix bug 3571:
http://bugzilla.lyx.org/show_bug.cgi?id=3571 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18273 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6bebcf8feb
commit
ff8f2b3609
@ -115,8 +115,8 @@ TeXEnvironment(Buffer const & buf,
|
||||
texrow.newline();
|
||||
}
|
||||
|
||||
if (lyxrc.language_command_end.empty() ||
|
||||
par_language->babel() != doc_language->babel() &&
|
||||
if ((lyxrc.language_command_end.empty() ||
|
||||
par_language->babel() != doc_language->babel()) &&
|
||||
!par_language->babel().empty()) {
|
||||
os << from_ascii(subst(
|
||||
lyxrc.language_command_begin,
|
||||
@ -283,10 +283,9 @@ TeXOnePar(Buffer const & buf,
|
||||
texrow.newline();
|
||||
}
|
||||
|
||||
if (lyxrc.language_command_end.empty() ||
|
||||
par_language->babel() != doc_language->babel() &&
|
||||
!par_language->babel().empty())
|
||||
{
|
||||
if ((lyxrc.language_command_end.empty() ||
|
||||
par_language->babel() != doc_language->babel()) &&
|
||||
!par_language->babel().empty()) {
|
||||
os << from_ascii(subst(
|
||||
lyxrc.language_command_begin,
|
||||
"$$lang",
|
||||
|
Loading…
Reference in New Issue
Block a user