From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinh Nguyen Subject: Re: org-odt: command line options for soffice bug? Date: Mon, 18 Feb 2013 12:49:44 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Xm6-0007Wl-2S for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 15:57:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7Xf5-0000WC-5Y for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 15:50:17 -0500 Received: from mail-vc0-f172.google.com ([209.85.220.172]:36361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Xf4-0000Rb-VM for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 15:50:07 -0500 Received: by mail-vc0-f172.google.com with SMTP id l6so3815235vcl.31 for ; Mon, 18 Feb 2013 12:50:04 -0800 (PST) In-Reply-To: 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: emacs-orgmode@gnu.org On Sat, Feb 16, 2013 at 2:33 PM, Vinh Nguyen 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