bug with import of document with multiple languages

Cor Blom cornelisbb at gmail.com
Mon May 25 15:49:55 UTC 2020


Hi,

Take the following, simple document:

\documentclass[ngerman,british]{scrbook}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\setotherlanguage{german}

\begin{document}

English

\begin{german}

Deutsch

\end{german}

Continue

\end{document}

When I import this document in LyX after the german part the document in 
Lyx does not switch back to the default language, but it stays German. I 
expect that after "\end{german}" the default language would be used.

Do I something wrong? Or is this a bug?

This is the latest version: 2.3.3.4 on openSUSE.

Thanks,

Cor


More information about the lyx-devel mailing list