Edit online

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 Design Science MathFlow, which is a commercial product that requires a separate license or use an external MathML editor like 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 (Options > Preferences) and go to Editor > Edit modes > Author > MathML.

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 &#xNNN format. 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 Ω.

More documentation is available on the Design Science MathFlow website.

Using an External Tool for Editing MathML Equations

External application > Command line
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 Libre Office application (depending on the O.S.):
  • Windows - "C:\Program Files\LibreOffice 5\program\smath.exe" "${cf}"
  • OS X - /Applications/LibreOffice.app/Contents/MacOS/soffice --math "${cf}"
  • Linux - /usr/lib/libreoffice/program/smath "${cf}"