From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takaaki ISHIKAWA Subject: Re: Extending ODT export Date: Wed, 8 May 2013 01:24:53 +0900 Message-ID: <969F330B-BF74-4C3F-A166-13BE3DFF2EF6@ieee.org> References: <162AA118-3C0D-4E3D-BA96-90CBB47003A0@ieee.org> 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]:42581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZkhI-0004lP-ES for emacs-orgmode@gnu.org; Tue, 07 May 2013 12:25:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZkhG-0004F6-JB for emacs-orgmode@gnu.org; Tue, 07 May 2013 12:25:00 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:61852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZkhG-0004Et-BE for emacs-orgmode@gnu.org; Tue, 07 May 2013 12:24:58 -0400 Received: by mail-pd0-f179.google.com with SMTP id q10so531301pdj.10 for ; Tue, 07 May 2013 09:24:57 -0700 (PDT) In-Reply-To: <162AA118-3C0D-4E3D-BA96-90CBB47003A0@ieee.org> 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 mailing list Org" 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" "/Applications/LibreOffice.app/Contents/MacOS/soffice = --headless --convert-to %f%x --outdir %d %i") ("unoconv" "unoconv -f %f -o %d %i"))) #+END_SRC Best, Takaaki On May 8, 2013, at 12:06 AM, Takaaki ISHIKAWA wrote: > Dear Julian, >=20 > When I use "soffice" with exec-path setting, > the ODT export is failed like you. > So currently, I use the following setting: >=20 > #+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 >=20 > It works fine for me. >=20 > Best regards, > Takaaki Ishikawa >=20 >=20 > On May 7, 2013, at 10:51 PM, "Julian M. Burgos" = wrote: >=20 >> 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 >=20 > -- > Takaaki ISHIKAWA > GITI, Waseda University > :) http://about.me/takaxp >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 -- Takaaki ISHIKAWA GITI, Waseda University :) http://about.me/takaxp