]> git.lyx.org Git - features.git/commitdiff
Acknowledge additional \lang command
authorGeorg Baum <baum@lyx.org>
Fri, 5 Oct 2012 21:58:16 +0000 (23:58 +0200)
committerGeorg Baum <baum@lyx.org>
Fri, 5 Oct 2012 21:58:16 +0000 (23:58 +0200)
src/tex2lyx/Context.cpp
src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx

index 2db797d67d2c0a14c8d153b136ac5f6ad1e1b7c6..ecf6a14199824cbc49fa6219009a66aa8d34c219 100644 (file)
@@ -113,6 +113,9 @@ void Context::begin_layout(ostream & os, Layout const * const & l)
        }
        // FIXME: This is not enough for things like
        // \\Huge par1 \\par par2
+       // FIXME: If the document language is not english this outputs a
+       // superflous language change. Fortunately this is only file format
+       // bloat an does not change the TeX export of LyX.
        output_font_change(os, normalfont, font);
 }
 
index 68b59cc56b58c46ad405150008de46d822dc57af..cf1a7ed58ec9d1b128375343923667e319ec1fa9 100644 (file)
 
 \begin_layout Part
 
+\lang british
 
 df
 \end_layout
 
 \begin_layout Standard
 
+\lang british
 
 1 English 
 \lang ancientgreek