From now on \kern and \mkern remain as ERT as long as the length is invalid.
Fixes #10539 (regression at
10c8d51b).
The only way to produce an InsetMathKern now is via parsing (i.e. file opening
or copy-paste). This is because there has never been any sensible way to input a
valid InsetMathKern, but this is another issue.
return MathAtom(new InsetMathMakebox(buf, true));
if (s == "makebox")
return MathAtom(new InsetMathMakebox(buf, false));
return MathAtom(new InsetMathMakebox(buf, true));
if (s == "makebox")
return MathAtom(new InsetMathMakebox(buf, false));
- if (s == "kern" || s == "mkern")
- return MathAtom(new InsetMathKern);
if (s.substr(0, 8) == "xymatrix") {
char spacing_code = '\0';
Length spacing;
if (s.substr(0, 8) == "xymatrix") {
char spacing_code = '\0';
Length spacing;
- cell->push_back(MathAtom(new InsetMathKern));
+ cell->push_back(MathAtom(new MathMacro(buf, t.cs())));
else
cell->push_back(MathAtom(new InsetMathKern(s)));
}
else
cell->push_back(MathAtom(new InsetMathKern(s)));
}