Edit online

Configuring an External MathML Editor

You can configure Oxygen XML Author to use a third-party MathML editor (e.g. the free Libre Office equation editor) by following these steps:

  1. Install the third-party application (for example, Libre Office).
  2. Open the MathML preferences page and in the External application > Command line field, set the command line used to open the external application.
    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}"
    • macOS - /Applications/LibreOffice.app/Contents/MacOS/soffice --math --nologo "${cf}"
    • Linux - /usr/lib/libreoffice/program/smath --nologo "${cf}"
    You can use the ${cf} editor variable in the command line to refer to a temporary file automatically created by Oxygen XML Author that will contain the edited MathML content.
  3. Insert a new equation or double-click an existing equation. The external application starts and it should display the equation inside it. Once you save the equation and close the external application, the equation rendered in the Author visual editing mode will refresh its contents based on your changes. When editing and saving the equation in the started external application, do not alter the path to the saved file in any way as the file is specifically saved in a location from where the Oxygen XML Author application will load it automatically.