MathML Preferences
Oxygen XML Editor allows you to edit MathML equations and displays the results in a preview window. For a more specialized MathML editor, you can either install Wiris MathFlow, which is a commercial product that requires a separate license, or use an external MathML editor (e.g. the LibreOffice equation editor).
Using MathFlow for Editing and Rendering MathML Equations
To configure the MathML editor or to enter your MathFlow license information, open the Preferences dialog box and go to .
You can configure the following options:
- Equation minimum font size
- The minimum size of the font used for rendering mathematical symbols when editing in the Author mode.
- MathFlow installation directory
- The installation folder for the MathFlow components product (MathFlow SDK).
- MathFlow license file
- The license file for the MathFlow components product (MathFlow SDK).
- MathFlow preferred editor
- A MathML formula can be edited in one of three editors of MathFlow
components product (MathFlow SDK).
- Structure Editor (default selection) - Targets professional XML workflow users.
- Style Editor - Tailored to the needs of content authors.
- Simple Editor - Designed for applications where end-users can enter mathematical equations without prior training and only the meaning of the math matters.
- Save special characters
- Specifies how special characters are saved in the XML file.
- As entity names - Saves the characters in
&name;format. It refers to a character by the name of the entity that has the desired character as its replacement text. For example, the Greek Omega character is saved asΩ. - As character entities (default selection) - Saves the
characters in a hexadecimal value, using the
&#xNNNformat. For example, the Greek Omega character is saved asΩ. - As character values - Saves the characters as the actual
symbol. For example, the Greek Omega character is saved as
Ω.
- As entity names - Saves the characters in
More documentation is available on the Wiris MathFlow website.
Using an External Tool for Editing MathML Equations
- You can use this option to specify an external MathML application for editing MathML
equations. For example, the following commands could be used to edit MathML equations
with a LibreOffice application (depending on the O.S.):
- Windows -
"C:\Program Files\LibreOffice\program\smath.exe" --nologo "${cf}" - OS X -
/Applications/LibreOffice.app/Contents/MacOS/soffice --math --nologo "${cf}" - Linux -
/usr/lib/libreoffice/program/smath --nologo "${cf}"
- Windows -