From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Extending ODT export Date: Tue, 07 May 2013 12:28:03 -0400 Message-ID: <87k3nalppo.fsf@pierrot.dokosmarshall.org> References: <162AA118-3C0D-4E3D-BA96-90CBB47003A0@ieee.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZkkT-0002Mq-VB for emacs-orgmode@gnu.org; Tue, 07 May 2013 12:28:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZkkR-0005JX-Ni for emacs-orgmode@gnu.org; Tue, 07 May 2013 12:28:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:46241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZkkR-0005Ih-HF for emacs-orgmode@gnu.org; Tue, 07 May 2013 12:28:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UZkkQ-00062Z-LG for emacs-orgmode@gnu.org; Tue, 07 May 2013 18:28:14 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 May 2013 18:28:14 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 May 2013 18:28:14 +0200 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 "Julian M. Burgos" writes: > Hi Takaaki, > > Many thanks, but no luck. I tried adding the complete path to soffice as you did below > (of course with the right path in my machine) and no luck. If I do it > just like you, the export format does not change and is still ODT. If > instead of using (setq org-export-odt-preferred-output-format "pdf") I > use (setq org-odt-preferred-output-format "pdf"), I get the same error > message as before. > I tried with this setting of org-odt-preferred-output-format, and my *Message* buffers shows: ,---- | Creating ODT file... | Running zip -mX0 foo.odt mimetype | Running zip -rmTq foo.odt . | Created /home/nick/src/org/foo.odt | Executing soffice --headless --convert-to pdf --outdir /home/nick/src/org/ /home/nick/src/org/foo.odt | convert /home/nick/src/org/foo.odt -> /home/nick/src/org//foo.pdf using writer_pdf_Export | | Exported to /home/nick/src/org/foo.pdf `---- When I execute the command soffice --headless --convert-to pdf --outdir /home/nick/src/org/ /home/nick/src/org/foo.odt from a shell, I get no errors. Perhaps you can try the equivalent on your system and see if you get an error. If so, you can stop worrying about org and start worrying about your LibreOffice installation. But in any case, you should have more information about what goes wrong. If you can't figure it out, you should probably post both what your *Message* buffer shows after the failure and what the command output is. Nick