This trivial patch fixes bug 2546. Going into trunk soon. Also OK for 1.4?

Georg
Log:
Fix bug 2546:
        * src/tex2lyx/text.C
        (parse_arguments): Eat space in front of required arguments
Index: src/tex2lyx/text.C
===================================================================
--- src/tex2lyx/text.C	(Revision 13751)
+++ src/tex2lyx/text.C	(Arbeitskopie)
@@ -536,6 +536,7 @@ void parse_arguments(string const & comm
 		case required:
 			// This argument contains regular LaTeX
 			handle_ert(os, ert + '{', context);
+			eat_whitespace(p, os, context, false);
 			parse_text(p, os, FLAG_ITEM, outer, context);
 			ert = "}";
 			break;

Reply via email to