The branch, master, has been updated. - Log -----------------------------------------------------------------
commit fce4f66718dc25e43da1e3f8a144b1f9cb74918e Author: Georg Baum <[email protected]> Date: Fri Oct 5 23:58:16 2012 +0200 Acknowledge additional \lang command diff --git a/src/tex2lyx/Context.cpp b/src/tex2lyx/Context.cpp index 2db797d..ecf6a14 100644 --- a/src/tex2lyx/Context.cpp +++ b/src/tex2lyx/Context.cpp @@ -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); } diff --git a/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx b/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx index 68b59cc..cf1a7ed 100644 --- a/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx +++ b/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx @@ -78,12 +78,14 @@ \begin_layout Part +\lang british df \end_layout \begin_layout Standard +\lang british 1 English \lang ancientgreek ----------------------------------------------------------------------- Summary of changes: src/tex2lyx/Context.cpp | 3 +++ src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx | 2 ++ 2 files changed, 5 insertions(+), 0 deletions(-) hooks/post-receive -- The LyX Source Repository
