From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ezequiel Birman Subject: new exporter, conditional options according to backend Date: Fri, 18 Jan 2013 12:47:19 -0300 Message-ID: <87hame8pdk.fsf@david.espiga4.com.ar> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwE3W-0008V1-Vk for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 10:40:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwE3O-0001NX-Lj for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 10:40:30 -0500 Received: from plane.gmane.org ([80.91.229.3]:51420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwE3O-0001NC-Er for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 10:40:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TwE3b-0000Pn-0H for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 16:40:39 +0100 Received: from 186.22.172.130 ([186.22.172.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jan 2013 16:40:38 +0100 Received: from stormwatch by 186.22.172.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jan 2013 16:40:38 +0100 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 Is it possible to write something like this with the new exporter? #+OPTIONS: (if (and (boundp 'org-export-current-backend) (eq org-export-current-backend 'e-beamer)) "H:1" "H:3") >From what I read in org-export.el the backend is stored in a plist, not sure how to get it's value when exporting. Or, maybe I need to write a filter function to be run from org-export-before-process-hook? -- Ezequiel Birman