mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
branch: Fix bug #6387: Incorrect selectlanguage command at end of document.
see r32792. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32808 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
39d43fcd78
commit
237be3e41d
@ -681,7 +681,7 @@ TeXOnePar(Buffer const & buf,
|
|||||||
(nextpit == paragraphs.end()
|
(nextpit == paragraphs.end()
|
||||||
&& runparams.master_language)
|
&& runparams.master_language)
|
||||||
? runparams.master_language
|
? runparams.master_language
|
||||||
: prev_language;
|
: outer_language;
|
||||||
if (!current_language->babel().empty()) {
|
if (!current_language->babel().empty()) {
|
||||||
os << from_ascii(subst(
|
os << from_ascii(subst(
|
||||||
lyxrc.language_command_begin,
|
lyxrc.language_command_begin,
|
||||||
|
@ -79,6 +79,9 @@ What's new
|
|||||||
|
|
||||||
- Do not insert \foreignlanguage in ERTs (bug 6426).
|
- Do not insert \foreignlanguage in ERTs (bug 6426).
|
||||||
|
|
||||||
|
- Reset the language at the end of the document to the correct
|
||||||
|
language (bug 6387).
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user