www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3fdbe03b2a6ab77dd5a977fbce07d3b1b1a66835
parent 936f85b537e35ebeefea789e0e47ee03fc9de7f0
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue,  1 Sep 2015 08:32:26 -0400

Update AsciiMath to current version.  Issue #1247.

Diffstat:
Munpacked/jax/input/AsciiMath/jax.js | 4+++-
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]);