mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
fix bug #8208: missing \end for polyglossia-only languages at buffer end
This commit is contained in:
parent
20d7e088fa
commit
ca16190006
@ -764,7 +764,9 @@ void TeXOnePar(Buffer const & buf,
|
||||
|| (runparams.isLastPar && par_language->babel() != outer_language->babel()));
|
||||
|
||||
if (closing_rtl_ltr_environment
|
||||
|| (runparams.isLastPar && par_language->babel() != outer_language->babel())) {
|
||||
|| (runparams.isLastPar
|
||||
&& ((!use_polyglossia && par_language->babel() != outer_language->babel())
|
||||
|| (use_polyglossia && par_language->polyglossia() != outer_language->polyglossia())))) {
|
||||
// Since \selectlanguage write the language to the aux file,
|
||||
// we need to reset the language at the end of footnote or
|
||||
// float.
|
||||
|
Loading…
Reference in New Issue
Block a user