From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Block level specification for tex code html export method Date: Fri, 04 Sep 2015 13:08:20 +0100 Message-ID: References: <87egifp7jb.fsf@ucl.ac.uk> <87h9nbmbe1.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXpnR-00040r-FP for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 08:08:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXpnM-0001my-FW for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 08:08:45 -0400 Received: from plane.gmane.org ([80.91.229.3]:56246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXpnM-0001mQ-98 for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 08:08:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZXpnF-0003nr-A6 for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 14:08:33 +0200 Received: from 193.63.222.90 ([193.63.222.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Sep 2015 14:08:33 +0200 Received: from andreas.leha by 193.63.222.90 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Sep 2015 14:08:33 +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 Nicolas, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> This macro is from Eric Schulte initially. And I guess I would be out >> of luck adapting it to new Org mode versions as well. > > What about > > (defmacro by-backend (&rest body) > `(case org-export-current-backend ,@body)) > ? > > Regards, Thanks for this! One reason less not to upgrade Org mode. Seems to work fine! Just note, that it works for me only after exporting (when tested under emacs -Q). What about including that into org? Regards, Andreas