The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 746d235c433f75d1508928ebc29d7446dc145c56 Merge: ca16190 1c7d4c8 Author: Juergen Spitzmueller <sp...@lyx.org> Date: Sat Jun 23 15:45:23 2012 +0200 Merge branch 'master' of git.lyx.org:lyx commit ca161900065995b15e45363252bb7fa3cf44c644 Author: Juergen Spitzmueller <sp...@lyx.org> Date: Sat Jun 23 15:44:25 2012 +0200 fix bug #8208: missing \end for polyglossia-only languages at buffer end diff --git a/src/output_latex.cpp b/src/output_latex.cpp index 3178ac5..c5f8306 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -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. ----------------------------------------------------------------------- Summary of changes: src/output_latex.cpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) hooks/post-receive -- The LyX Source Repository