From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Rhodes Subject: org-export-current-backend variable and org-mode 8 Date: Wed, 31 Jul 2013 17:27:51 +0100 Message-ID: <874nbavgmw.fsf@cantab.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4aZE-0000kx-Rx for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 13:52:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4ZFt-0005Zg-ON for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 12:28:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:51382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4ZFt-0005Zc-H9 for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 12:28:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V4ZFr-0007US-53 for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 18:28:03 +0200 Received: from 81.174.155.115 ([81.174.155.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Jul 2013 18:28:03 +0200 Received: from csr21 by 81.174.155.115 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Jul 2013 18:28:03 +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 Hi, In org-mode 7, I was able to use the (documented) variable org-export-current-backend to test what the current backend is, allowing me to dynamically produce and include images of different formats depending on whether I was exporting to latex (tikz) or html (png). In org-mode 8, I cannot find this variable, or any documented variable of a similar nature. What is the recommended way for dispatching at the emacs-lisp level when exporting a document on the export backend? Thanks, Christophe