From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: How to easily create a new export engine... Date: Wed, 04 Sep 2013 12:15:07 +0200 Message-ID: <87li3c7v10.fsf@gmx.us> References: <20130903135112.GF22460@kuru.dyndns-at-home.com> <87mwnu2ecd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHA7U-0000SR-5F for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 06:15:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHA7M-0004eo-Rd for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 06:15:28 -0400 Received: from plane.gmane.org ([80.91.229.3]:40938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHA7M-0004ek-L6 for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 06:15:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VHA7L-0003xG-N5 for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 12:15:19 +0200 Received: from g229060001.adsl.alicedsl.de ([92.229.60.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Sep 2013 12:15:19 +0200 Received: from rasmus by g229060001.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Sep 2013 12:15:19 +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, flammable project writes: > I will spend some time on ox-md.el and the section listed by Nicolas. > > One last question: > If I choose to extend the existing back-end, would I be able to put all the > code into a external file and allow the user to load it through it emacs > config file? Yes. Just make NAME.el and end the file by providing NAME (provide 'NAME). > I mean, I would like to add a support of Twitter Bootstrap trough the > ox-html.el export engine. If the user add "(require 'ox-html-bootstrap)" > into its ".emacs" file, it will allow the user to extend the ox-html export > engine. > Does it seems possible? Yeah, that's possible with the derived backend. Indeed, that would seem like on of the main usages. In the simplest case you'd just add an option to export dispatcher and people would have to select it when they want to use twitter bootstrap (whatever that is. . .). –Rasmus -- In theory, practice and theory are the same. In practice they are not