From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takaaki ISHIKAWA Subject: Re: Extending ODT export Date: Wed, 8 May 2013 00:06:34 +0900 Message-ID: <162AA118-3C0D-4E3D-BA96-90CBB47003A0@ieee.org> References: Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZjTc-0007oS-7i for emacs-orgmode@gnu.org; Tue, 07 May 2013 11:06:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZjTV-0008SX-Ez for emacs-orgmode@gnu.org; Tue, 07 May 2013 11:06:48 -0400 Received: from mail-da0-x229.google.com ([2607:f8b0:400e:c00::229]:63417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZjTV-0008SC-8K for emacs-orgmode@gnu.org; Tue, 07 May 2013 11:06:41 -0400 Received: by mail-da0-f41.google.com with SMTP id y19so385214dan.28 for ; Tue, 07 May 2013 08:06:39 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Julian M. Burgos" Cc: emacs-orgmode@gnu.org 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" "/Applications/LibreOffice.app/Contents/MacOS/soffice = --headless --convert-to %f%x --outdir %d %i") ("unoconv" "unoconv -f %f -o %d %i"))) #+END_SRC It works fine for me. Best regards, Takaaki Ishikawa On May 7, 2013, at 10:51 PM, "Julian M. Burgos" wrote: > 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")) >=20 > "soffice" is in my path, so I can run it from any directory. =20 >=20 > Carsten, I have permission in /home. That is where I had my trial org > file. I have the same problem if I put my org file in other directory. >=20 > Julian >=20 >=20 >=20 > Carsten Dominik writes: >=20 >> On 7 mei 2013, at 14:29, Christian Moe wrote: >>=20 >>>=20 >>> Hi, >>>=20 >>> Possible checks: What value do you have for = org-odt-convert-processes? >>> Does the command it provide launch LibreOffice services on your = system? >>>=20 >>> On my Mac, the default "soffice" command is not recognized out of = the >>> box; providing the full path to soffice >>> ("/Applications/LibreOffice.app/Contents/MacOS/soffice") helps. = Also, it >>> only seems to work when LibreOffice isn't already running, though I = may >>> be wrong about that (I just tried this for the first time). >>>=20 >>=20 >> Another check: Do you have write permissions in /home ? >>=20 >> Why is it trying to write the file to that location? >>=20 >> - Carsten >>=20 >>> Yours, >>> Christian >>>=20 >>> Julian M. Burgos writes: >>>=20 >>>> By the way, it also fails with the "pdf" and "doc" options... >>>>=20 >>>> Julian M. Burgos writes: >>>>=20 >>>>> Hello everyone, >>>>> I want to export via ODT directly into a "docx" format. Following = the >>>>> instructions in the manual, I added=20 >>>>> (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: >>>>>=20 >>>>> "Export to /home/trial.docx failed" >>>>>=20 >>>>> I am using org-mode 8.0.2, LibreOffice 3.5.7.2, and Fedora 17. >>>>>=20 >>>>> Any ideas? >>>>>=20 >>>>> Julian >>>=20 >>>=20 >=20 >=20 > --=20 > Julian Mariano Burgos, PhD > Hafranns=C3=B3knastofnunin/Marine Research Institute > Sk=C3=BAlagata 4, 121 Reykjav=C3=ADk, Iceland > S=C3=ADmi/Telephone : +354-5752037 > Br=C3=A9fs=C3=ADmi/Telefax: +354-5752001 > Netfang/Email: julian@hafro.is >=20 -- Takaaki ISHIKAWA GITI, Waseda University :) http://about.me/takaxp