MathFlow's MathML implementation
Applicability
The information on this page applies to: | |
---|---|
MathFlow 1.7 and later | MathFlow SDK |
MathFlow components |
Issue
There are a few elements and attributes in MathML 2.0 that were not implemented in MathFlow 1.7-1.9. MathFlow 2.0 and later has better MathML 2 coverage and some MathML 3 coverage. Other elements behave slightly differently in MathFlow than the specification requires. Below, we've listed the known differences between standard MathML and the MathFlow implementations. If you find something not on this list, please contact us at support@wiris.com.
MathFlow 1.x
MathML 3 not supported.
Plane 1 Unicode Characters Not supported in MathFlow 1.x. However, the alternative method of selecting these characters using the
mathvariant
attribute (or setting the font style) is implemented to the extent that the MathFlow fonts permit.mo: The attributes
separator
andfence
have no effect.The default value forminsize
is 0 in MathFlow rather than 1 as described in the specification.mglyph: Not implemented.
mstyle: The attributes
scriptsizemultiplier
andscriptminsize
are ignored. Setting the value ofbackground
totransparent
has no effect.mmultiscripts: The attributes
subscriptshift
andsuperscriptshift
have no effect in MathFlowmtable: The
displaystyle
attribute has no effect; use thedisplaystyle
attribute in anmstyle
surrounding the table. Thealignmentscope
attribute is not used in MathFlowmaction: MathFlow supports the following action types suggested by the MathML 2.0 specification:
toggle
,statusline
, andhighlight
. MathFlow also provides support for two additional action types:link
andmouseover
. The namespaced attributesdsi:color
,dsi:background
,dsi:cue1
,dsi:cue2
, anddsi:href
are used to pass action parameters not specified in MathML 2.0.declare: Has no effect on rendering.
MathFlow 2.x
Linebreaking and indentation: MathFlow 2's support for MathML 3 linebreaking and indentation includes:
Enhanced linebreaking in tables.
Automatic linebreaking and alignment by operator.
A Linebreak Attributes dialog which can be accessed from the Preferences menu.
Elementary math elements: MathFlow does not yet support
mstack
,mscarry
,mscarries
,msgroup
,msrow
,msline
, andmlongdiv
.Right-to-left: MathFlow does not yet support right-to-left editing & rendering.
mo: The attributes
separator
andfence
have no effect. The default value forminsize
is 0 in MathFlow rather than 1 as described in the specification.mglyph: Not implemented.
mstyle: The attributes
scriptsizemultiplier
andscriptminsize
are ignored. Setting the value ofbackground
totransparent
has no effect.mmultiscripts: The attributes
subscriptshift
andsuperscriptshift
have no effect in MathFlowmtable: The
displaystyle
attribute has no effect; use thedisplaystyle
attribute in anmstyle
surrounding the table. Thealignmentscope
andgroupalign
attributes are not used in MathFlowmaction: MathFlow does not support the menu or tooltip actions from MathML specification. MathFlow uses the namespaced attributes dsi:color, dsi:background, dsi:cue1, dsi:cue2, and dsi:href to pass additional action parameters not specified in MathML 2.0/3.0.
declare: Has no effect on rendering.
We hope this has been helpful. As always, please let us know if you have questions about this, or if you have additional techniques that work. We'd love to hear from you.