From: Uwe Stöhr Date: Mon, 28 Apr 2008 22:47:47 +0000 (+0000) Subject: tex2lyx/text.cpp: \InsetSpace has no begin and end (LyX 1.5 was tolerant to the missi... X-Git-Tag: 1.6.10~4954 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6363e27250f116b199c5ba24316588c0a4d370db;p=features.git tex2lyx/text.cpp: \InsetSpace has no begin and end (LyX 1.5 was tolerant to the missing end, LyX 1.6 is correctly not tolerant) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24547 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 1a2b0947bf..2a38b07e53 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -2403,7 +2403,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, else if (is_known(t.cs(), known_spaces)) { char const * const * where = is_known(t.cs(), known_spaces); context.check_layout(os); - begin_inset(os, "InsetSpace "); + os << "\\InsetSpace "; os << '\\' << known_coded_spaces[where - known_spaces] << '\n'; // LaTeX swallows whitespace after all spaces except