From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: org-odt: command line options for soffice bug? Date: Mon, 18 Feb 2013 16:03:16 -0500 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]:48575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7XsD-0003fu-S1 for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 16:03:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7XsB-00042I-8M for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 16:03:41 -0500 Received: from mail-vc0-f182.google.com ([209.85.220.182]:60455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7XsB-00042E-3i for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 16:03:39 -0500 Received: by mail-vc0-f182.google.com with SMTP id fl17so3873690vcb.13 for ; Mon, 18 Feb 2013 13:03:38 -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: Vinh Nguyen Cc: emacs-orgmode@gnu.org On Mon, Feb 18, 2013 at 3:49 PM, Vinh Nguyen wrote: > 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... LibreOffice 3.6 on archlinux uses double dash. -Ista > >> -- Vinh >