www

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

commit 6d6cb379232483d2a0926feb82bad42195712d43
parent 21282b683ff303b392e97222cef7eff5a1bea552
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Mon, 21 Apr 2014 19:24:19 -0400

Merge branch 'issue763' into develop.  Issue #763.

Diffstat:
Munpacked/jax/output/HTML-CSS/autoload/mglyph.js | 2+-
Munpacked/jax/output/HTML-CSS/jax.js | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/unpacked/jax/output/HTML-CSS/autoload/mglyph.js b/unpacked/jax/output/HTML-CSS/autoload/mglyph.js @@ -68,7 +68,7 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { this.Append(err); err.toHTML(span); this.data.pop(); span.bbox = err.HTMLspanElement().bbox; } else { - var mu = this.HTMLgetMu(span); + var mu = this.HTMLgetMu(span), size; img = HTMLCSS.addElement(span,"img",{isMathJax:true, src:values.src, alt:values.alt, title:values.alt}); if (values.width) { img.style.width = HTMLCSS.Em(HTMLCSS.length2em(values.width,mu,this.img.img.width/HTMLCSS.em)); diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js @@ -972,7 +972,7 @@ if (unit === "cm") {return m * this.pxPerInch * emFactor / 2.54} // 2.54 cm to an inch if (unit === "mm") {return m * this.pxPerInch * emFactor / 25.4} // 10 mm to a cm if (unit === "mu") {return m / 18 * factor * mu} // 18mu to an em for the scriptlevel - return m*factor*size; // relative to given size (or 1em as default) + return m*size; // relative to given size (or 1em as default) }, thickness2em: function (length,mu) { var thick = HTMLCSS.TeX.rule_thickness;