From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: ODT preferred format option per-file? Date: Fri, 31 Aug 2012 12:53:54 +0800 Message-ID: <877gsfr7a5.wl%jamshark70@dewdrop-world.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7JF5-0003v0-GG for emacs-orgmode@gnu.org; Fri, 31 Aug 2012 00:54:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7JF4-0001Na-2f for emacs-orgmode@gnu.org; Fri, 31 Aug 2012 00:54:03 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:34786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7JF3-0001NU-SA for emacs-orgmode@gnu.org; Fri, 31 Aug 2012 00:54:01 -0400 Received: by pbbro12 with SMTP id ro12so4495338pbb.0 for ; Thu, 30 Aug 2012 21:54:00 -0700 (PDT) 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 Hi, I have one particular org file that I would like to export to PDF by way of ODT. (I already set up outline styling in LibreOffice and I would like to use that, instead of trying to reconfigure a similar look in LaTeX. For fun, I did try the LaTeX pdf export and the output format is not what I need for this case.) But I may want to export other org files to ODT *without* converting them to PDF. http://orgmode.org/manual/Extending-ODT-export.html This says I can customize the org-export-odt-preferred-output-format variable. This works beautifully, but it's a global setting that will apply to every ODT export. So my question is -- is there any export option for the preferred format, per file? Something like: #+ODT_PREFERRED_FORMAT: pdf I couldn't find any documentation in the ODT export section of the manual for an option like this. Alternately, I suppose I could write a lisp function that would set the variable and call the export, but that would definitely be a hack. Thanks in advance, hjh -- James Harkins /// dewdrop world jamshark70@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks