* How to create new export modes derived from html
@ 2013-09-13 7:30 Pascal Quesseveur
2013-09-13 15:35 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Pascal Quesseveur @ 2013-09-13 7:30 UTC (permalink / raw)
To: emacs-orgmode
Hello,
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?
--
Pascal Quesseveur
pquessev@gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to create new export modes derived from html
2013-09-13 7:30 How to create new export modes derived from html Pascal Quesseveur
@ 2013-09-13 15:35 ` Nicolas Goaziou
2013-09-13 16:26 ` Pascal Quesseveur
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-09-13 15:35 UTC (permalink / raw)
To: pquessev; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to create new export modes derived from html
2013-09-13 15:35 ` Nicolas Goaziou
@ 2013-09-13 16:26 ` Pascal Quesseveur
0 siblings, 0 replies; 3+ messages in thread
From: Pascal Quesseveur @ 2013-09-13 16:26 UTC (permalink / raw)
To: emacs-orgmode
>"NG" == Nicolas Goaziou <n.goaziou@gmail.com> a écrit :
NG> We rewrote export framework in Org 8.0. I suggest to use it
NG> instead.
Thank you for your answer. Yes I have read about the new exports but
my initial goal was to use the version included in latest emacs
release distribution and I think it is version 7.9. The javahelp and
CHM files are mainly html files created by splitting main HTML. Those
files are then processed by external tools. I thought I could create
the required files without requiring too much of org export machinery.
NG> IIUC, what you want to create is called a "derived back-end".
Exactly.
NG> There is a section about it in the manual.
This section doesn't seem to exist in my version. I think it is in
version 8.
NG> Also, ox-md (Markdown back-end) in core and both ox-s5 and
NG> ox-deck in contrib directory are all derived from html
NG> back-end. You may want to look at them.
From what you said I think I have to consider switching to version 8.
--
Pascal Quesseveur
pquessev@gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-13 16:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-13 7:30 How to create new export modes derived from html Pascal Quesseveur
2013-09-13 15:35 ` Nicolas Goaziou
2013-09-13 16:26 ` Pascal Quesseveur
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.