Re: [O] Extending ODT export

2013-05-22 Thread Jambunathan K
doc-view (for OpenDocument files) uses the below mentioned work around. The fix can be ported to `org-odt.el' and `ox-odt.el'. --8---cut here---start-8--- (defun doc-view-odf-pdf-converter-soffice (odf callback) Convert ODF to PDF asynchronously and call

Re: [O] Extending ODT export

2013-05-10 Thread Julian M. Burgos
Thanks Takaaki! That did the trick. Now things work as they should. :) Takaaki ISHIKAWA writes: Dear Julian, Sorry, the code is an old setting for the previous org. Please try org-odt-preferred-output-format. #+BEGIN_SRC emacs-lisp (setq org-odt-preferred-output-format pdf) (setq

Re: [O] Extending ODT export

2013-05-08 Thread Andreas Leha
Hi all, Takaaki ISHIKAWA tak...@ieee.org writes: Dear Julian, Sorry, the code is an old setting for the previous org. Please try org-odt-preferred-output-format. #+BEGIN_SRC emacs-lisp (setq org-odt-preferred-output-format pdf) (setq org-odt-convert-processes

[O] Extending ODT export

2013-05-07 Thread Julian M. Burgos
Hello everyone, I want to export via ODT directly into a docx format. Following the instructions in the manual, I added (setq org-odt-preferred-output-format docx) to my .emacs file. But if I try to do an export I get the following error message: Export to /home/trial.docx failed I am using

Re: [O] Extending ODT export

2013-05-07 Thread Julian M. Burgos
By the way, it also fails with the pdf and doc options... Julian M. Burgos writes: Hello everyone, I want to export via ODT directly into a docx format. Following the instructions in the manual, I added (setq org-odt-preferred-output-format docx) to my .emacs file. But if I try to do an

Re: [O] Extending ODT export

2013-05-07 Thread Christian Moe
Hi, Possible checks: What value do you have for org-odt-convert-processes? Does the command it provide launch LibreOffice services on your system? On my Mac, the default soffice command is not recognized out of the box; providing the full path to soffice

Re: [O] Extending ODT export

2013-05-07 Thread Carsten Dominik
On 7 mei 2013, at 14:29, Christian Moe m...@christianmoe.com wrote: Hi, Possible checks: What value do you have for org-odt-convert-processes? Does the command it provide launch LibreOffice services on your system? On my Mac, the default soffice command is not recognized out of the

Re: [O] Extending ODT export

2013-05-07 Thread Julian M. Burgos
Hi Christian, The value for org-odt-convert-processes is ((LibreOffice soffice --headless --convert-to %f%x --outdir %d %i) (unoconv unoconv -f %f -o %d %i)) soffice is in my path, so I can run it from any directory. Carsten, I have permission in /home. That is where I had my trial org

Re: [O] Extending ODT export

2013-05-07 Thread Takaaki ISHIKAWA
Dear Julian, When I use soffice with exec-path setting, the ODT export is failed like you. So currently, I use the following setting: #+BEGIN_SRC emacs-lisp (setq org-export-odt-preferred-output-format pdf) (setq org-export-odt-convert-processes '((LibreOffice

Re: [O] Extending ODT export

2013-05-07 Thread Julian M. Burgos
Hi Takaaki, Many thanks, but no luck. I tried adding the complete path to soffice as you did below (of course with the right path in my machine) and no luck. If I do it just like you, the export format does not change and is still ODT. If instead of using (setq

Re: [O] Extending ODT export

2013-05-07 Thread Takaaki ISHIKAWA
Dear Julian, Sorry, the code is an old setting for the previous org. Please try org-odt-preferred-output-format. #+BEGIN_SRC emacs-lisp (setq org-odt-preferred-output-format pdf) (setq org-odt-convert-processes '((LibreOffice

Re: [O] Extending ODT export

2013-05-07 Thread Nick Dokos
Julian M. Burgos jul...@hafro.is writes: Hi Takaaki, Many thanks, but no luck. I tried adding the complete path to soffice as you did below (of course with the right path in my machine) and no luck. If I do it just like you, the export format does not change and is still ODT. If