From d6c3c06197df7d8a6137723b026262f38583630c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Wed, 12 Mar 2008 19:03:33 +0000 Subject: [PATCH] * src/mathed/InsetMathNest.cpp: - do not output \color{ignore} (bug 4091). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23689 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathNest.cpp | 2 +- status.15x | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 8be58cda89..9f6a997968 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -430,7 +430,7 @@ void InsetMathNest::handleFont2(Cursor & cur, docstring const & arg) Font font; bool b; bv_funcs::string2font(to_utf8(arg), font, b); - if (font.color() != Color::inherit) { + if (font.color() != Color::inherit && font.color() != Color::ignore) { MathAtom at = MathAtom(new InsetMathColor(true, font.color())); cur.handleNest(at, 0); } diff --git a/status.15x b/status.15x index 9f6138c3a9..d62a447350 100644 --- a/status.15x +++ b/status.15x @@ -77,6 +77,9 @@ What's new and shaded notes, thus fixing a problem where documents couldn't be compiled anymore. +- Fix LaTeX error "unknown color 'ignore'" when setting text style + attributes in mathed (bug 4091). + * USER INTERFACE: