- explicit InsetMathFontOld(latexkeys const * key);
- /// we are in text mode.
- mode_type currentMode() const { return TEXT_MODE; }
+ explicit InsetMathFontOld(Buffer * buf, latexkeys const * key);
+ /// we inherit the mode
+ mode_type currentMode() const { return current_mode_; }