From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: exporting from org-mode to S-expressions Date: Sun, 05 Apr 2009 13:50:18 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LqXQK-0000jv-8n for emacs-orgmode@gnu.org; Sun, 05 Apr 2009 14:50:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LqXQF-0000fe-3Z for emacs-orgmode@gnu.org; Sun, 05 Apr 2009 14:50:27 -0400 Received: from [199.232.76.173] (port=55737 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LqXQE-0000fX-T7 for emacs-orgmode@gnu.org; Sun, 05 Apr 2009 14:50:22 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:33918) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LqXQE-0003Qu-1F for emacs-orgmode@gnu.org; Sun, 05 Apr 2009 14:50:22 -0400 In-Reply-To: (Felipe Csaszar's message of "Fri\, 3 Apr 2009 19\:07\:51 +0000 \(UTC\)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Felipe Csaszar Cc: emacs-orgmode@gnu.org Hi Felipe, Felipe Csaszar 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