From a3b23f1f9421e2e9861f35897bd64eb8fac1345c Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Thu, 27 Apr 2006 06:59:06 +0000 Subject: [PATCH] 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 --- src/tex2lyx/text.C | 1 + status.14x | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/tex2lyx/text.C b/src/tex2lyx/text.C index b45831f6e3..badcedb339 100644 --- a/src/tex2lyx/text.C +++ b/src/tex2lyx/text.C @@ -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; diff --git a/status.14x b/status.14x index 7940bf8b3d..069369682d 100644 --- a/status.14x +++ b/status.14x @@ -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)