How to export from Emacs org-mode to both LaTex and OpenOffice with biblatex citations

3

I write my social science research papers in Emacs org-mode. I would like to export these either to LaTeX or OpenOffice (to save in MS Word format) and have it look presentable either way, with similar formatting including footnotes, citations and bibliography entries.

Hitting C-c C-e in an org-more file will load the export screen, which does include LaTex exports and they work pretty well. This screen used to also include OpenOffice exports by default in earlier versions of Org, and they can still be enabled (in version 8.1 at least) by running org-export-odt-convert. But these exports do not work well at all. LaTeX tags are unsurpisingly included verbatim rather then processed. This means the bibliography is mising entirely from the OpenOffice file, and the citations and formatting are all wrong.

Is their a solution?

Brian Z

Posted 2013-09-04T15:33:13.113

Reputation: 856

I installed latex2rtf which may turn out to be an acceptable solution, if I can only figure out how to get it to work... – Brian Z – 2013-09-05T01:04:50.120

You are using an old version of orgmode. Please get version 8.x, because it comes with a completely new exporter. – Keks Dose – 2013-10-29T14:28:15.333

I'm now on Org 8.1, will update question / answer accordingly. – Brian Z – 2013-10-29T18:17:38.290

Answers

1

The best solution I have found so far was to install the package tex4ht. This allows me to run the shell command mk4ht oolatex [filename].tex on the LaTeX file once I export it from org-mode, and this produces an ODT files which looks pretty good in LibreOffice. Apparently this mk4ht command is not compatible with biblatex, but if I use the BiBTeX package natbib instead, it works fine.

Unfortunately, when I save it in MS-Word format, whether DOC or DOCX, the bibliography disappears. But hopefully I can find a further solution to that.

Brian Z

Posted 2013-09-04T15:33:13.113

Reputation: 856