]> git.lyx.org Git - features.git/commit
Sort the language nesting mess with polyglossia
authorEnrico Forestieri <forenr@lyx.org>
Sat, 29 Oct 2016 22:16:50 +0000 (00:16 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 29 Oct 2016 22:16:50 +0000 (00:16 +0200)
commit0dd7505ec66a235af2e2f22602a60947cd310848
tree98ebfb7ac144341ab0bb517a327bde7ba929fcb6
parent3508c7bc8ac74e18c3428698287de7f6404bd60e
Sort the language nesting mess with polyglossia

When using polyglossia, lyx was making a real mess when changing
language inside nested insets. The \begin{language} and
\end{language} commands were not well paired such that they could
easily occur just before and after the start or end of an
environment. Of course this was causing latex errors such that
"\begin{otherlanguage} ended by \end{environment}".

Fixes #9633
src/Font.cpp
src/Paragraph.cpp
src/insets/InsetIPA.h
src/output_latex.cpp
src/output_latex.h
status.22x