From: Vinh Nguyen <vinhdizzo@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-odt: command line options for soffice bug?
Date: Mon, 18 Feb 2013 12:49:44 -0800 [thread overview]
Message-ID: <CA+2DmwiFQZuDoy=SXHwFUDSMwVs70bOTCqWQ3JhDsGAUqsV1NQ@mail.gmail.com> (raw)
In-Reply-To: <CA+2DmwhLd0OE0_n7BQ_BZr4jiKLdBigW8bQGvA042jqsrCOM9A@mail.gmail.com>
On Sat, Feb 16, 2013 at 2:33 PM, Vinh Nguyen <vinhdizzo@gmail.com> wrote:
> Hi,
>
> I was having issues exporting to a "doc" file with this in my init file:
> (setq org-export-odt-preferred-output-format "doc")
>
> After some debugging, it appears my "soffice" command takes a single
> dash (-), not double dash (--) for command line arguments. When I
> change to
>
> "soffice -headless -convert-to %f%x -outdir %d %i"
>
> in org-odt.el, things seem to work. I am running org-mode 7.9.3e on
> Emacs 24.1.50.1 and LibreOffice 3.3.4 on Ubuntu 11.04. Not sure if
> this is specific to me or not, but it should be fixed in org-mode.
> Thanks!
>
Just checked LibreOffice on my Mac OS X, and it uses two dashes for
arguments. Weird that LibreOffice on Ubuntu uses one dash. Can
anyone else confirm? I guess the emacs function should determine the
current OS to decide whether to use single or double dash for command
line arguments...
> -- Vinh
next prev parent reply other threads:[~2013-02-18 20:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-16 22:33 org-odt: command line options for soffice bug? Vinh Nguyen
2013-02-18 20:49 ` Vinh Nguyen [this message]
2013-02-18 21:03 ` Ista Zahn
2013-02-23 9:43 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+2DmwiFQZuDoy=SXHwFUDSMwVs70bOTCqWQ3JhDsGAUqsV1NQ@mail.gmail.com' \
--to=vinhdizzo@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.