Fix wrong error message for double exponents
This commit is contained in:
parent
1044df8076
commit
81b87c1ea3
|
@ -1194,7 +1194,7 @@
|
||||||
var movesupsub = base.movesupsub, position = base.sup;
|
var movesupsub = base.movesupsub, position = base.sup;
|
||||||
if ((base.type === "msubsup" && base.data[base.sup]) ||
|
if ((base.type === "msubsup" && base.data[base.sup]) ||
|
||||||
(base.type === "munderover" && base.data[base.over]))
|
(base.type === "munderover" && base.data[base.over]))
|
||||||
{TEX.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"])}
|
{TEX.Error(["DoubleExponent","Double exponent: use braces to clarify"])}
|
||||||
if (base.type !== "msubsup") {
|
if (base.type !== "msubsup") {
|
||||||
if (movesupsub) {
|
if (movesupsub) {
|
||||||
if (base.type !== "munderover" || base.data[base.over]) {
|
if (base.type !== "munderover" || base.data[base.over]) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user