all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ista Zahn <istazahn@gmail.com>
To: Vinh Nguyen <vinhdizzo@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-odt: command line options for soffice bug?
Date: Mon, 18 Feb 2013 16:03:16 -0500	[thread overview]
Message-ID: <CA+vqiLEeJjh88FXTm=xJHx6TF7rwWPEcxG+i8Dp7U8UcGWESMw@mail.gmail.com> (raw)
In-Reply-To: <CA+2DmwiFQZuDoy=SXHwFUDSMwVs70bOTCqWQ3JhDsGAUqsV1NQ@mail.gmail.com>

On Mon, Feb 18, 2013 at 3:49 PM, Vinh Nguyen <vinhdizzo@gmail.com> wrote:
> 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...

LibreOffice 3.6 on archlinux uses double dash.

-Ista

>
>> -- Vinh
>

  reply	other threads:[~2013-02-18 21:03 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
2013-02-18 21:03   ` Ista Zahn [this message]
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+vqiLEeJjh88FXTm=xJHx6TF7rwWPEcxG+i8Dp7U8UcGWESMw@mail.gmail.com' \
    --to=istazahn@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=vinhdizzo@gmail.com \
    /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.