From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [RFC][ODT] Converting to pdf (or other formats) via odt Date: Fri, 03 Feb 2012 02:35:24 +0530 Message-ID: <81obthx7xn.fsf@gmail.com> References: <81sjitx86z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3qj-0004dl-ON for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 16:05:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt3qh-0007tk-FV for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 16:05:45 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:46461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt3qh-0007tY-12 for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 16:05:43 -0500 Received: by dadv6 with SMTP id v6so2475382dad.0 for ; Thu, 02 Feb 2012 13:05:42 -0800 (PST) In-Reply-To: <81sjitx86z.fsf@gmail.com> (Jambunathan K.'s message of "Fri, 03 Feb 2012 02:29:48 +0530") 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: Orgmode I committed the changes only a few minutes ago as part of Org-mode version 7.8.03 (release_7.8.03.300.g9b820) So the Org version should be at or above the 300th version. Jambunathan K writes: > Thanks to Giles[1] for introducing us to the "--convert-to" option of > soffice.exe. The option seems to be a fairly recent development[2]. > > With this change, one can export to pdf (or any other popular format) > via odt by a simple > > #+begin_src emacs-lisp > (setq org-export-odt-preferred-output-format "pdf") > #+end_src > > There is no need to install additional converters. It is assumed that > the user has a working and fairly recent LibreOffice installation. > > Footnotes: > [1] > http://imperfectsoftware.blogspot.in/2012/01/one-of-my-less-enjoyable-tasks-is-to.html > > [2] There seems to be a bunch of fairly recent bugs with this option. So > a cutting edge LibreOffice would definitely be needed. > > http://www.google.co.in/search?q=headless+%22--convert-to%22+site%3Alibreoffice.org&btnG=Search&sclient=psy-ab&hl=en&site=&source=hp&gbv=1&sei=L_gqT97rIMXorAf248C6DA > > Feedback welcome. --