If you have a .tex file and want to move its content into a .doc-style workflow, especially in LibreOffice Writer, directly transferring LaTeX equations can be difficult.
If that is your goal, this article is for you.
LibreOffice does not directly support LaTeX equations. It supports a format called MathML. So, you first need to convert equations from LaTeX to MathML.
That is exactly what this tool does:
- It takes your
.texfile from Overleaf or any other source. - It extracts all equations one by one.
- It converts each equation into LibreOffice-compatible MathML.
- It lets you copy the output and insert equations into the right places in your Writer document.
Tool link:
Open-Source Credit
This converter uses Temml as the LaTeX to MathML engine. Temml is open source and distributed under the MIT License.
- Project: https://github.com/ronkok/Temml
- License: https://raw.githubusercontent.com/ronkok/Temml/master/LICENSE
How to Insert Equations in LibreOffice
Follow these steps:
- Open your LibreOffice Writer document.
- Go to the Insert menu.
- Choose OLE Object.
- Select Formula Object.
- In the formula editor, open the Tools menu.
- Click Import MathML from Clipboard.
- If you copied MathML output from our system, your equation is imported into LibreOffice immediately.
Who This Guide Is For
- Users with many equations in TeX files
- Users moving from Overleaf to LibreOffice
- Students, researchers, and writers who do not want to rewrite equations manually
Short Summary
In this workflow, equations are first converted from .tex to MathML, then inserted into LibreOffice Writer using
Tools -> Import MathML from Clipboard.