emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Felipe Csaszar <fcsaszar@gmail.com>
To: emacs-orgmode@gnu.org
Subject: exporting from org-mode to S-expressions
Date: Fri, 3 Apr 2009 19:07:51 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090403T185702-56@post.gmane.org> (raw)

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

             reply	other threads:[~2009-04-03 19:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03 19:07 Felipe Csaszar [this message]
2009-04-05 18:50 ` Matthew Lundin

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=loom.20090403T185702-56@post.gmane.org \
    --to=fcsaszar@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: exporting from org-mode to S-expressions' \
    /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

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).