]> git.lyx.org Git - lyx.git/commit
Fix bug #10685
authorEnrico Forestieri <forenr@lyx.org>
Tue, 30 May 2017 15:49:59 +0000 (17:49 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 30 May 2017 15:57:37 +0000 (17:57 +0200)
commit2a5bb7ab676c4e7e24d384d461a582e44aeeceef
treeb39a95aa0e6769f730c70ae7e610668f673dd1c9
parentfbcd24584f37fe330b4915f0ee548f937eabe56f
Fix bug #10685

Make sure to properly nest \begin{lang} and \end{lang} tags even
when no language package is selected. In this case, LyX assumes
that babel is being used, so the language names might be wrong
if the user arranged for using polyglossia in the preamble.
Nevertheless, we assure that the produced output is syntactically
correct, so that by adding proper preamble code a correct output
is still possible.
src/Font.cpp
src/Paragraph.cpp
src/output_latex.cpp
src/output_latex.h