How to convert Latex document to ODT

This page shows how to easily convert LaTeX documents into ODT (Open Document Text). This files could be edited by LibreOffice/OpenOffice Writer. This format is needed for submissions to Zagadnienia Filozoficzne w Nauce.

Installing PanDoc utility

For conversions you need a PanDoc.

This program could be downloaded freely from the PanDoc site. There you can find a guide for installing this utility under various operating systems.

Basic conversion

You should call this program from command line like this example:

> pandoc -s MyDocument.tex -o MyNewDocument.odt

The conversion is quite fast. It will provide a file with the basic text formatting, very useful for editing and publishing. You should check if the formulas are translated correctly.

Important notice: all the files have to be encoded in UTF-8.
How to change file's encoding to UTF-8.

Conversion of documents with the bibliography

> pandoc -s MyDocument.tex -o MyNewDocument.odt --bibliography MyBibliographyFile.bib

The bibliography may have any of these formats:

Format File extension
BibLaTeX .bib
BibTeX .bibtex
Copac .copac
CSL JSON .json
CSL YAML .yaml
EndNote .enl
EndNote XML .xml
ISI .wos
MEDLINE .medline
MODS .mods
RIS .ris

Note that .bib can be used with both BibTeX and BibLaTeX files; use .bibtex to force BibTeX.

Formatting the references and bibliography with CSL

PanDoc by default use the Chicago-author-date style. You can change it using the special description in CSL (Citation Langusge Style) file. Unfortunately the command

> pandoc -s MyDocument.tex -o MyNewDocument.odt --bibliography MyBibliographyFile.bib --csl MyStyle.csl

do not work properly.

For the journal Zagadnienia Filozoficzne w Nauce you should use a Harvard 1 style.