From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Csaszar Subject: exporting from org-mode to S-expressions Date: Fri, 3 Apr 2009 19:07:51 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LpokQ-0007kX-Jn for emacs-orgmode@gnu.org; Fri, 03 Apr 2009 15:08:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LpokL-0007j2-ME for emacs-orgmode@gnu.org; Fri, 03 Apr 2009 15:08:14 -0400 Received: from [199.232.76.173] (port=37670 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LpokL-0007iy-Dl for emacs-orgmode@gnu.org; Fri, 03 Apr 2009 15:08:09 -0400 Received: from main.gmane.org ([80.91.229.2]:51416 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LpokK-0002TS-UR for emacs-orgmode@gnu.org; Fri, 03 Apr 2009 15:08:09 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LpokF-0007ZH-59 for emacs-orgmode@gnu.org; Fri, 03 Apr 2009 19:08:03 +0000 Received: from shdh-dhcp-295.wharton.upenn.edu ([128.91.113.192]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Apr 2009 19:08:03 +0000 Received: from fcsaszar by shdh-dhcp-295.wharton.upenn.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Apr 2009 19:08:03 +0000 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: emacs-orgmode@gnu.org 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