mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
* 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:
parent
a965ea56a1
commit
d6c3c06197
@ -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);
|
||||
}
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user