Fix bug 2546:

* src/tex2lyx/text.C
	(parse_arguments): Eat space in front of required arguments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13754 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-04-27 06:59:06 +00:00
parent 2a156525f9
commit a3b23f1f94
2 changed files with 3 additions and 0 deletions

View File

@ -536,6 +536,7 @@ void parse_arguments(string const & command,
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;

View File

@ -50,6 +50,8 @@ What's new
- Always honor the "Requirement" tag in External Template Definitions
- Fix tex2lyx to handle whitespace in front of required arguments (bug 2546)
* Math editor:
- Fix metrics of AMS array environments like bmatrix, vmatrix etc. (bug 2036)