Rename AsciiMath config option "decimal" to "decimalsign".
This commit is contained in:
parent
b58c14b557
commit
07c5ee1121
|
@ -33,7 +33,7 @@ MathJax.InputJax.AsciiMath = MathJax.InputJax({
|
||||||
|
|
||||||
config: {
|
config: {
|
||||||
displaystyle: true, // put limits above and below operators
|
displaystyle: true, // put limits above and below operators
|
||||||
decimal: "." // can change to "," but watch out for "(1,2)"
|
decimalsign: "." // can change to "," but watch out for "(1,2)"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
MathJax.InputJax.AsciiMath.Register("math/asciimath");
|
MathJax.InputJax.AsciiMath.Register("math/asciimath");
|
||||||
|
|
|
@ -1193,7 +1193,9 @@ ASCIIMATH.Augment({
|
||||||
AM: {
|
AM: {
|
||||||
Init: function () {
|
Init: function () {
|
||||||
displaystyle = ASCIIMATH.config.displaystyle;
|
displaystyle = ASCIIMATH.config.displaystyle;
|
||||||
decimalsign = ASCIIMATH.config.decimal;
|
// Old versions use the "decimal" option, so take it into account if it
|
||||||
|
// is defined by the user. See issue 384.
|
||||||
|
decimalsign = (ASCIIMATH.config.decimal || ASCIIMATH.config.decimalsign);
|
||||||
INITASCIIMATH();
|
INITASCIIMATH();
|
||||||
AMinitSymbols();
|
AMinitSymbols();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user