www

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

commit a147a9ac324fb09aad85af9a0807fd8696e87dd5
parent 90cd96cd53c2383457c35418b7a5f6122e5ceb71
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue, 21 May 2013 19:53:28 -0400

Make sure mfenced delimiters are stretchy.  Resolves issue #475.

Diffstat:
Munpacked/jax/input/TeX/config.js | 2+-
Munpacked/jax/input/TeX/jax.js | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/unpacked/jax/input/TeX/config.js b/unpacked/jax/input/TeX/config.js @@ -27,7 +27,7 @@ MathJax.InputJax.TeX = MathJax.InputJax({ id: "TeX", - version: "2.2", + version: "2.2.1", directory: MathJax.InputJax.directory + "/TeX", extensionDir: MathJax.InputJax.extensionDir + "/TeX", diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js @@ -2127,9 +2127,9 @@ mfenced: function (open,mml,close) { var mrow = MML.mrow(); mrow.open = open; mrow.close = close; - if (open) {mrow.Append(MML.mo(open).With({fence:true, texClass:MML.TEXCLASS.OPEN}))} + if (open) {mrow.Append(MML.mo(open).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.OPEN}))} if (mml.type === "mrow") {mrow.Append.apply(mrow,mml.data)} else {mrow.Append(mml)} - if (close) {mrow.Append(MML.mo(close).With({fence:true, texClass:MML.TEXCLASS.CLOSE}))} + if (close) {mrow.Append(MML.mo(close).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.CLOSE}))} return mrow; },