diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index ee80f37862..ab4a44fe5c 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -1460,7 +1460,7 @@ bool MathCursor::interpret(char c) } if (c == '\\') { - lyxerr << "starting with macro\n"; + //lyxerr << "starting with macro\n"; insert(MathAtom(new MathUnknownInset("\\", false))); return true; } diff --git a/src/mathed/math_fontoldinset.C b/src/mathed/math_fontoldinset.C index aa37571a98..440d8944ab 100644 --- a/src/mathed/math_fontoldinset.C +++ b/src/mathed/math_fontoldinset.C @@ -10,6 +10,7 @@ #include "math_support.h" #include "math_parser.h" #include "textpainter.h" +#include "support/LOstream.h" #include "frontends/Painter.h" diff --git a/src/mathed/math_support.C b/src/mathed/math_support.C index ee875f25b6..9c99a49b0d 100644 --- a/src/mathed/math_support.C +++ b/src/mathed/math_support.C @@ -526,7 +526,8 @@ LyXFont::FONT_SHAPE const inh_shape = LyXFont::INHERIT_SHAPE; // mathnormal should be the first, otherwise the fallback fuerther down // does not work fontinfo fontinfos[] = { - {"mathnormal", inh_family, LyXFont::MEDIUM_SERIES, LyXFont::UP_SHAPE, LColor::math}, + {"mathnormal", + inh_family, LyXFont::MEDIUM_SERIES, LyXFont::UP_SHAPE, LColor::math}, {"mathbf", inh_family, LyXFont::BOLD_SERIES, inh_shape, LColor::math}, {"mathcal",LyXFont::CMSY_FAMILY, inh_series, inh_shape, LColor::math}, {"mathfrak", LyXFont::EUFRAK_FAMILY, inh_series, inh_shape, LColor::math}, @@ -630,7 +631,6 @@ void augmentFont(LyXFont & font, string const & name) static bool initialized = false; if (!initialized) { initialized = true; - // fake fonts if necessary if (!lyx_gui::font_available(getFont("mathfrak"))) fakeFont("mathfrak", "lyxfakefrak");