emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Takaaki ISHIKAWA <takaxp@ieee.org>
To: "Julian M. Burgos" <julian@hafro.is>
Cc: emacs-orgmode@gnu.org
Subject: Re: Extending ODT export
Date: Wed, 8 May 2013 00:06:34 +0900	[thread overview]
Message-ID: <162AA118-3C0D-4E3D-BA96-90CBB47003A0@ieee.org> (raw)
In-Reply-To: <xgzk3naaoeb.fsf@hafnfirdingur.hafro.is>

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" <julian@hafro.is> 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"))
> 
> "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
> file. I have the same problem if I put my org file in other directory.
> 
> Julian
> 
> 
> 
> Carsten Dominik writes:
> 
>> On 7 mei 2013, at 14:29, Christian Moe <mail@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
>>> 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).
>>> 
>> 
>> Another check:  Do you have write permissions in /home ?
>> 
>> Why is it trying to write the file to that location?
>> 
>> - Carsten
>> 
>>> Yours,
>>> Christian
>>> 
>>> Julian M. Burgos writes:
>>> 
>>>> 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 export I get the following
>>>>> error message:
>>>>> 
>>>>> "Export to /home/trial.docx failed"
>>>>> 
>>>>> I am using org-mode 8.0.2, LibreOffice 3.5.7.2, and Fedora 17.
>>>>> 
>>>>> Any ideas?
>>>>> 
>>>>> Julian
>>> 
>>> 
> 
> 
> -- 
> Julian Mariano Burgos, PhD
> Hafrannsóknastofnunin/Marine Research Institute
> Skúlagata 4, 121 Reykjavík, Iceland
> Sími/Telephone : +354-5752037
> Bréfsími/Telefax:  +354-5752001
> Netfang/Email: julian@hafro.is
> 

--
Takaaki ISHIKAWA <takaxp@ieee.org>
  GITI, Waseda University
    :) http://about.me/takaxp

  reply	other threads:[~2013-05-07 15:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 11:37 Extending ODT export Julian M. Burgos
2013-05-07 11:41 ` Julian M. Burgos
2013-05-07 12:29   ` Christian Moe
2013-05-07 13:32     ` Carsten Dominik
2013-05-07 13:51       ` Julian M. Burgos
2013-05-07 15:06         ` Takaaki ISHIKAWA [this message]
2013-05-07 15:41           ` Julian M. Burgos
2013-05-07 16:28             ` Nick Dokos
2013-05-07 16:24           ` Takaaki ISHIKAWA
2013-05-08  7:11             ` Andreas Leha
2013-05-22  8:36               ` Jambunathan K
2002-01-01  0:34                 ` bug#14440: " Jambunathan K
2013-05-10 10:04             ` Julian M. Burgos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=162AA118-3C0D-4E3D-BA96-90CBB47003A0@ieee.org \
    --to=takaxp@ieee.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=julian@hafro.is \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).