commit 3253d39fc94345565b7772869d593aa32a3c1f63
parent 936f85b537e35ebeefea789e0e47ee03fc9de7f0
Author: Davide P. Cervone <dpvc@union.edu>
Date: Thu, 3 Sep 2015 09:41:13 -0400
Merge branch 'issue1247' into develop. Issue #1247.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/unpacked/jax/input/AsciiMath/jax.js b/unpacked/jax/input/AsciiMath/jax.js
@@ -623,6 +623,8 @@ var AMsymbols = [
{input:"frac", tag:"mfrac", output:"/", tex:null, ttype:BINARY},
{input:"/", tag:"mfrac", output:"/", tex:null, ttype:INFIX},
{input:"stackrel", tag:"mover", output:"stackrel", tex:null, ttype:BINARY},
+{input:"overset", tag:"mover", output:"stackrel", tex:null, ttype:BINARY},
+{input:"underset", tag:"munder", output:"stackrel", tex:null, ttype:BINARY},
{input:"_", tag:"msub", output:"_", tex:null, ttype:INFIX},
{input:"^", tag:"msup", output:"^", tex:null, ttype:INFIX},
{input:"hat", tag:"mover", output:"\u005E", tex:null, ttype:UNARY, acc:true},
@@ -929,7 +931,7 @@ function AMparseSexpr(str) { //parses str and returns [node,tailstr]
node.setAttribute("mathcolor",st);
return [node,result2[1]];
}
- if (symbol.input=="root" || symbol.input=="stackrel")
+ if (symbol.input=="root" || symbol.output=="stackrel")
newFrag.appendChild(result2[0]);
newFrag.appendChild(result[0]);
if (symbol.input=="frac") newFrag.appendChild(result2[0]);