Merge branch 'issue775' into develop. Issue #775.
This commit is contained in:
commit
ab9570b614
|
@ -2185,9 +2185,9 @@
|
||||||
*/
|
*/
|
||||||
fenced: function (open,mml,close) {
|
fenced: function (open,mml,close) {
|
||||||
var mrow = MML.mrow().With({open:open, close:close, texClass:MML.TEXCLASS.INNER});
|
var mrow = MML.mrow().With({open:open, close:close, texClass:MML.TEXCLASS.INNER});
|
||||||
if (open) {mrow.Append(MML.mo(open).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.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 (mml.type === "mrow") {mrow.Append.apply(mrow,mml.data)} else {mrow.Append(mml)}
|
||||||
if (close) {mrow.Append(MML.mo(close).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.CLOSE}))}
|
mrow.Append(MML.mo(close).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.CLOSE}));
|
||||||
return mrow;
|
return mrow;
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1636,10 +1636,11 @@
|
||||||
|
|
||||||
MML.mrow.Augment({
|
MML.mrow.Augment({
|
||||||
SVG: BBOX.ROW,
|
SVG: BBOX.ROW,
|
||||||
toSVG: function () {
|
toSVG: function (h,d) {
|
||||||
this.SVGgetStyles();
|
this.SVGgetStyles();
|
||||||
var svg = this.SVG();
|
var svg = this.SVG();
|
||||||
this.SVGhandleSpace(svg);
|
this.SVGhandleSpace(svg);
|
||||||
|
if (d != null) {this.sh = h; this.sd = d}
|
||||||
for (var i = 0, m = this.data.length; i < m; i++)
|
for (var i = 0, m = this.data.length; i < m; i++)
|
||||||
{if (this.data[i]) {svg.Check(this.data[i])}}
|
{if (this.data[i]) {svg.Check(this.data[i])}}
|
||||||
svg.Stretch(); svg.Clean();
|
svg.Stretch(); svg.Clean();
|
||||||
|
@ -1659,13 +1660,11 @@
|
||||||
},
|
},
|
||||||
SVGmultiline: function (span) {MML.mbase.SVGautoloadFile("multiline")},
|
SVGmultiline: function (span) {MML.mbase.SVGautoloadFile("multiline")},
|
||||||
SVGstretchH: function (w) {
|
SVGstretchH: function (w) {
|
||||||
var svg = this.data[this.core].SVGstretchH(w);
|
var svg = this.SVG();
|
||||||
this.SVGhandleColor(svg);
|
this.SVGhandleSpace(svg);
|
||||||
this.SVGsaveData(svg);
|
for (var i = 0, m = this.data.length; i < m; i++)
|
||||||
return svg;
|
{svg.Add(this.SVGdataStretched(i,w),svg.w,0)}
|
||||||
},
|
svg.Clean();
|
||||||
SVGstretchV: function (h,d) {
|
|
||||||
var svg = this.data[this.core].SVGstretchV(h,d);
|
|
||||||
this.SVGhandleColor(svg);
|
this.SVGhandleColor(svg);
|
||||||
this.SVGsaveData(svg);
|
this.SVGsaveData(svg);
|
||||||
return svg;
|
return svg;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user