org-odt.el: Make LibreOffice the default converter
commit9b820def5ba55a551860a0ee548004434f4092ae
authorJambunathan K <kjambunathan@gmail.com>
Thu, 2 Feb 2012 20:38:50 +0000 (3 02:08 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Thu, 2 Feb 2012 20:51:10 +0000 (3 02:21 +0530)
treeedbad404b81e8e05c6f3b33ed6d9468db3067338
parente30e13b8c75a90a5d5057f76b9ef69f4420d7821
org-odt.el: Make LibreOffice the default converter

* lisp/org-lparse.el (org-lparse-do-convert): Replace
`call-process' with `shell-command-to-string'.

* lisp/org-odt.el (org-export-odt-convert-processes): Add a new
converter which depends solely on LibreOffice and nothing
else.
(org-export-odt-convert-process): Make the above native
converter the default.

Thanks to Giles for introducing the "--convert-to" option of
soffice.exe.  The option seems to be a fairly recent
development.

http://imperfectsoftware.blogspot.in/2012/01/one-of-my-less-enjoyable-tasks-is-to.html

With this change, one can export to pdf via odt by a simple
  (setq org-export-odt-preferred-output-format "pdf")
There is no need to install additional converters.
lisp/org-lparse.el
lisp/org-odt.el