]> git.lyx.org Git - features.git/commit
Sort the language nesting mess with polyglossia
authorEnrico Forestieri <forenr@lyx.org>
Sat, 24 Sep 2016 01:15:02 +0000 (03:15 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 24 Sep 2016 01:15:02 +0000 (03:15 +0200)
commit3bc08a76c42cd350a3141f00f37082bc9fab8967
tree9337f09f97e5a1dadcb607da08623601368f9573
parentb40184ce7198e744ea5cdc2747a0e4d585709869
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}".
There may still be some cases I did not take into account.
src/output_latex.cpp