emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Extending ODT export
Date: Tue, 07 May 2013 12:28:03 -0400	[thread overview]
Message-ID: <87k3nalppo.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: xgzehdin6fg.fsf@hafnfirdingur.hafro.is

"Julian M. Burgos" <julian@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
> instead of using (setq org-export-odt-preferred-output-format "pdf") I
> use (setq org-odt-preferred-output-format "pdf"), I get the same error
> message as before.
>

I tried with this setting of org-odt-preferred-output-format, and my
*Message* buffers shows:

,----
| Creating ODT file...
| Running zip -mX0 foo.odt mimetype
| Running zip -rmTq foo.odt .
| Created /home/nick/src/org/foo.odt
| Executing soffice --headless --convert-to pdf --outdir /home/nick/src/org/ /home/nick/src/org/foo.odt
| convert /home/nick/src/org/foo.odt -> /home/nick/src/org//foo.pdf using writer_pdf_Export
| 
| Exported to /home/nick/src/org/foo.pdf
`----

When I execute the command

  soffice --headless --convert-to pdf --outdir /home/nick/src/org/ /home/nick/src/org/foo.odt

from a shell, I get no errors. Perhaps you can try the equivalent on
your system and see if you get an error. If so, you can stop worrying
about org and start worrying about your LibreOffice installation. But
in any case, you should have more information about what goes wrong.
If you can't figure it out, you should probably post both what your
*Message* buffer shows after the failure and what the command output is.

Nick

  reply	other threads:[~2013-05-07 16:28 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
2013-05-07 15:41           ` Julian M. Burgos
2013-05-07 16:28             ` Nick Dokos [this message]
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=87k3nalppo.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).