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