* 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
This commit is contained in:
Jürgen Spitzmüller 2008-03-12 19:03:33 +00:00
parent a965ea56a1
commit d6c3c06197
2 changed files with 4 additions and 1 deletions

View File

@ -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);
}

View File

@ -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: