Configuring an External MathML Editor
You can configure Oxygen XML Author Eclipse plugin to use a third-party MathML editor (e.g. the free Libre Office equation editor) by following these steps:
- Install the third-party application (for example, Libre Office).
-
Open the MathML
preferences page and in the 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.):You can use the
- 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}"
${cf}
editor variable in the command line to refer to a temporary file automatically created by Oxygen XML Author Eclipse plugin that will contain the edited MathML content. - Windows -
- 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 Eclipse plugin application will load it automatically.