]> git.lyx.org Git - features.git/commit
Fix bug #10685
authorEnrico Forestieri <forenr@lyx.org>
Mon, 5 Jun 2017 22:01:14 +0000 (00:01 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Mon, 5 Jun 2017 22:01:14 +0000 (00:01 +0200)
commitd738151a9b686eb260690780c7ec0edc59cf22fd
tree082fe7e3c322754ed9f649f11eecc50bc9e17c4b
parent59c22bd7b604a3ba9e0e78f7c51cb601f08d0192
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
status.22x