From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: How to create new export modes derived from html Date: Fri, 13 Sep 2013 17:35:44 +0200 Message-ID: <87mwngohtb.fsf@gmail.com> References: <8638p9xjpc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKVPG-0002UK-KX for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 11:35:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKVP8-0005AN-7V for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 11:35:38 -0400 Received: from mail-ee0-x230.google.com ([2a00:1450:4013:c00::230]:42816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKVP8-0005AD-0n for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 11:35:30 -0400 Received: by mail-ee0-f48.google.com with SMTP id l10so658367eei.21 for ; Fri, 13 Sep 2013 08:35:29 -0700 (PDT) In-Reply-To: <8638p9xjpc.fsf@gmail.com> (Pascal Quesseveur's message of "Fri, 13 Sep 2013 09:30:07 +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: pquessev@gmail.com Cc: emacs-orgmode@gnu.org Hello, Pascal Quesseveur writes: > In the past I have created 2 modes in Muse to produce help files from > JavaHelp and CSH. Those modes derived throm html. I want to adapt them > to org-mode (version 7.9). I think they could be implemented as a hook > to html export. What do you think is the best way to create new > exports in that case? We rewrote export framework in Org 8.0. I suggest to use it instead. IIUC, what you want to create is called a "derived back-end". There is a section about it in the manual. Also, ox-md (Markdown back-end) in core and both ox-s5 and ox-deck in contrib directory are all derived from html back-end. You may want to look at them. Do not hesitate to ask on this ML if you need help. Regards, -- Nicolas Goaziou