emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* exporting from org-mode to S-expressions
@ 2009-04-03 19:07 Felipe Csaszar
  2009-04-05 18:50 ` Matthew Lundin
  0 siblings, 1 reply; 2+ messages in thread
From: Felipe Csaszar @ 2009-04-03 19:07 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Has anyone thought about a general framework for exporting Org documents?  I
seem to recall from somewhere that it was possible to export an Org document to
a lisp S-expression, and then parse the S-expression to generate the desired
output.  But have not seen this implemented.

The benefit of this approach is that then building an exporter to any output
format becomes trivial.  In fact a translator, let's say from Org to Beamer,
could be implemented as just one function that describes how each lisp tag
translates into a Beamer tag, instead of a 1500+ lines-long program such
org-export-latex.el.

It would be very beneficial to have such a general translation framework
implemented in Org.

Best regards,

Felipe

PD: there are several formats to describe documents as S-expressions, here are
some of them:
http://www.cliki.net/Lisp+Markup+Languages

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: exporting from org-mode to S-expressions
  2009-04-03 19:07 exporting from org-mode to S-expressions Felipe Csaszar
@ 2009-04-05 18:50 ` Matthew Lundin
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Lundin @ 2009-04-05 18:50 UTC (permalink / raw)
  To: Felipe Csaszar; +Cc: emacs-orgmode

Hi Felipe,

Felipe Csaszar <fcsaszar@gmail.com> writes:

> Has anyone thought about a general framework for exporting Org
> documents? I seem to recall from somewhere that it was possible to
> export an Org document to a lisp S-expression, and then parse the
> S-expression to generate the desired output. But have not seen this
> implemented.
>
> The benefit of this approach is that then building an exporter to any
> output format becomes trivial. In fact a translator, let's say from
> Org to Beamer, could be implemented as just one function that
> describes how each lisp tag translates into a Beamer tag, instead of a
> 1500+ lines-long program such org-export-latex.el.
>
> It would be very beneficial to have such a general translation framework
> implemented in Org.

I believe the most recent talk about a generic export framework was in
this thread:

http://thread.gmane.org/gmane.emacs.orgmode/11930/focus=11939

Best,
Matt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-05 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-03 19:07 exporting from org-mode to S-expressions Felipe Csaszar
2009-04-05 18:50 ` Matthew Lundin

Code repositories for project(s) associated with this 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).