What if I told you you can convert ODT to TeX files without having
– Simon Wilper 11/2015
People that do not want to go through the hazzle of installing a complete compiler toolchain under Windows can also download a prebuilt binary with all dependencies:
odt2tex is a simple command line tool that converts ODT
(Libre/OpenOffice text documents) to LaTeX .tex input files. It is released
under the MIT license and written in plain
C depending only on two further libraries:
The project is in early development stage. The following features are supported yet:
If you have any requests feel free to send me an E-Mail.
Example of a very simple document conversion (click image for lager version):
|Office Source Document||Converted Document|
|A very simple test
|Math equations are written to a
odt2tex opens the ZIP file to access the contents.xml
feeding that to the expat XML parser. All embedded objects like
math or pictures are extracted first. The output is a
main.tex file that can be processed by
pdflatex to obtain a PDF file.
Development takes place right here on chronowerks. If you are interested in contributing drop me a mail.
Simon Wilper firstname.lastname@example.org
pub rsa4096 2013-07-28 [SC] E4F9C79F4F55017840CBEFAB5441232C97449D0E uid [ultimate] Simon Wilper <email@example.com> sub rsa4096 2013-07-28 [E]