From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: unnumbered subsections in latex export Date: Mon, 04 Apr 2011 13:09:53 -0400 Message-ID: <4466.1301936993@alphaville.usa.hp.com> References: <20110322051038.21655c80@kuru.homelinux.net> <80d3lj9wj6.fsf@somewhere.org> <20110322053134.669127e9@kuru.homelinux.net> <8999.1300804510@alphaville.dokosmarshall.org> <20110322160814.227fc53f@bhishma.homelinux.net> <27844.1300836065@alphaville.usa.hp.com> <8162r9hgxm.fsf@gmail.com> <87bp11dk4h.fsf@gnu.org> <87tyejymto.fsf@gmail.com> <81y63u7fo1.fsf@gmail.com> <877hbernbs.fsf@ucl.ac.uk> <87aag66rrh.fsf@fastmail.fm> <81r59iw1fn.fsf@gmail.com> <87lizqug6m.fsf@fastmail.fm> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=45839 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6nHq-0000zL-De for emacs-orgmode@gnu.org; Mon, 04 Apr 2011 13:10:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6nHo-0000qw-VN for emacs-orgmode@gnu.org; Mon, 04 Apr 2011 13:09:58 -0400 Received: from g4t0014.houston.hp.com ([15.201.24.17]:27664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6nHo-0000qI-Q5 for emacs-orgmode@gnu.org; Mon, 04 Apr 2011 13:09:56 -0400 In-Reply-To: Message from Matt Lundin of "Mon, 04 Apr 2011 12:36:33 EDT." <87lizqug6m.fsf@fastmail.fm> 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: Matt Lundin Cc: Bastien , nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Jambunathan K Matt Lundin wrote: > Hi Jambunathan, > > Jambunathan K writes: > > > Matt Lundin writes: > > > >> I agree that the org-exporter currently does its job very well. The > >> astounding utility of org-mode is ample proof of the value of releasing > >> early; even if the exporter is not as elegant as a modern compiler, it > >> works. :) > >> > >> That said, I very much support Nicolas' proposal. > > > > A quick (prototype) exporter demoing Nicolas's proposal could be > > developed by using my new org-html.el in under few hours. > > > > Think of it this way: If something could be XML-ified it could be > > lispified. My exporter already has a common core that emits html and odt > > and it is a matter of altering few callbacks so that it generates a > > lispy list instead of XML. > > Thanks for all the hard work on your exporter and the rewrite! I look > forward to looking at it more closely very soon. > > In the meantime, does anyone have advice on how to start creating a > formal syntax definition for org-mode? Any good links or resources we > might check out? EBNF is pretty much the standard metasyntax for context-free grammars (check Wikipedia). However, I doubt org is context-free, so EBNF might need extensions to deal with it. Or it can do the context-free part and any context-dependent stuff is superimposed on that. Nick > > I'm guessing that writing a formal definition is more complex than > simply defining org-mode syntax in prose---that we are after something a > little more formal and symbolic than "a headline is demarcated by one or > more asterisks beginning at column 0 of a new line...." Is that correct? > > Best, > Matt >