version 1.190, 2003/10/08 06:36:13
|
version 1.191, 2003/10/09 07:43:24
|
Line 2237 void CheckFence (Element el, Docume
|
Line 2237 void CheckFence (Element el, Docume
|
TtaDeleteTree (content, doc); |
TtaDeleteTree (content, doc); |
/* change the MO element into a MF element */ |
/* change the MO element into a MF element */ |
if (elType.ElTypeNum == MathML_EL_MO) |
if (elType.ElTypeNum == MathML_EL_MO) |
ChangeTypeOfElement (el, doc, MathML_EL_MF); |
TtaChangeTypeOfElement (el, doc, MathML_EL_MF); |
/* is there an attribute stretchy on this mo element? */ |
/* is there an attribute stretchy on this mo element? */ |
attrType.AttrSSchema = elType.ElSSchema; |
attrType.AttrSSchema = elType.ElSSchema; |
attrType.AttrTypeNum = MathML_ATTR_stretchy; |
attrType.AttrTypeNum = MathML_ATTR_stretchy; |
Line 4133 void MathMLElementComplete (ParserD
|
Line 4133 void MathMLElementComplete (ParserD
|
case MathML_EL_MI: |
case MathML_EL_MI: |
if (TtaGetFirstChild (el) == NULL) |
if (TtaGetFirstChild (el) == NULL) |
/* empty <mi> Replace it by an empty Construct */ |
/* empty <mi> Replace it by an empty Construct */ |
ChangeTypeOfElement (el, doc, MathML_EL_Construct); |
TtaChangeTypeOfElement (el, doc, MathML_EL_Construct); |
else |
else |
SetFontstyleAttr (el, doc); |
SetFontstyleAttr (el, doc); |
break; |
break; |
Line 4676 void MathMLAttributeComplete (Attribute
|
Line 4676 void MathMLAttributeComplete (Attribute
|
{ |
{ |
elType = TtaGetElementType (el); |
elType = TtaGetElementType (el); |
if (elType.ElTypeNum == MathML_EL_MFRAC) |
if (elType.ElTypeNum == MathML_EL_MFRAC) |
ChangeTypeOfElement (el, doc, MathML_EL_BevelledMFRAC); |
TtaChangeTypeOfElement (el, doc, MathML_EL_BevelledMFRAC); |
} |
} |
} |
} |
|
|