The branch, master, has been updated. - Log -----------------------------------------------------------------
commit e8f4ce572644306e2331e4c7e6d6464088515658 Author: Uwe Stöhr <uwesto...@lyx.org> Date: Fri Jun 22 04:41:08 2012 +0200 tex2lyx/text.cpp: \lang is already handled by parse_text diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 92934cc..3fe7dbd 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -1257,10 +1257,9 @@ void parse_environment(Parser & p, ostream & os, bool outer, parent_context.check_end_layout(os); parent_context.new_paragraph(os); } - // save the language for the case that a - // \textLANGUAGE is used + // save the language in the context so that it is + // handled by parse_text parent_context.font.language = polyglossia2lyx(name); - os << "\n\\lang " << parent_context.font.language << "\n"; parse_text(p, os, FLAG_END, outer, parent_context); // Just in case the environment is empty parent_context.extra_stuff.erase(); ----------------------------------------------------------------------- Summary of changes: src/tex2lyx/text.cpp | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) hooks/post-receive -- The LyX Source Repository