emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: pquessev@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: How to create new export modes derived from html
Date: Fri, 13 Sep 2013 17:35:44 +0200	[thread overview]
Message-ID: <87mwngohtb.fsf@gmail.com> (raw)
In-Reply-To: <8638p9xjpc.fsf@gmail.com> (Pascal Quesseveur's message of "Fri, 13 Sep 2013 09:30:07 +0200")

Hello,

Pascal Quesseveur <pquessev@gmail.com> 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

  reply	other threads:[~2013-09-13 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13  7:30 How to create new export modes derived from html Pascal Quesseveur
2013-09-13 15:35 ` Nicolas Goaziou [this message]
2013-09-13 16:26   ` Pascal Quesseveur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwngohtb.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pquessev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).