emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] New exporter: where are the back-end functions called?


From: Nicolas Goaziou
Subject: Re: [O] New exporter: where are the back-end functions called?
Date: Tue, 12 Jun 2012 14:53:04 +0200

Hello,

Thorsten Jolitz <address@hidden> writes:

> when trying to enhance the HTML back-end of the new exporter with
> interactive HTML elements, one possibility (probably the easiest and
> best) is to write variants for the export functions for some Org
> elements that insert different HTML in the output string (HTML form
> fields instead of static HTML).
>
> By far the most interesting Org element for me is the 'headline'
> element, that is transcoded by the following function from
> 'org-e-html.el': 
>
> ,--------------------------------------------------------------
> | (defun org-e-html-headline (headline contents info)
> |   "Transcode an HEADLINE element from Org to HTML.
> | CONTENTS holds the contents of the headline.  INFO is a plist
> | holding contextual information."
> `--------------------------------------------------------------
>
> Now I don't want to mess around in the original exporter code, but
> rather would like to rename this function and all the helper functions
> it calls with the 'iorg'-prefix and then experiment with changing the
> function bodies.

You may have a look at `org-export-define-derived-backend' macro and
"Defining a Back-End" in Org export documentation[1].


Regards,

[1] http://orgmode.org/worg/dev/org-export-reference.html

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]