This element allows for the configuration of MathML content generated by the Equation Editor component of the editor.

Configuration Element Tree Structure

<editLive>
<mediaSettings>
<mathml>

<editLive>
     ...
     <mediaSettings>
          <mathml ... />
     </mediaSettings>
     ...
</editLive>

Required Attributes

createEquationImage

This attribute specifies whether equations created in the MathFlow equation editor are stored as either <img> tags or MathML markup language. This attribute is a boolean and can only be true or false. If set to true, the <img> tag generated will contain a mathml attribute. This attribute will contain the mathml markup.

Default Value: false

Optional Attributes

pointSize

This attribute specifies the point size value of the images generated by the Equation Editor. This attribute is expressed as a numerical value.

dpi

This attribute specifies the dots-per-inch value to be used when printing MathML content. This attribute is expressed as a numerical value.

defaultFormat

When specifying createEquationImage=true, this value specifies what image format is used to represent the MathML. This attribute has two values:

  • gif
  • png

Default Value: png

gif is only available for clients running the editor under JRE 1.6.

Remarks

The <mathml> element can appear only once within the <mediaSettings> element.

See Also