From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: XOXO output Date: Tue, 4 Apr 2006 09:57:48 +0200 Message-ID: <15095aae75a043309d3c653356318bc8@science.uva.nl> References: <043b729fad3b50297372c536319cc9c5@science.uva.nl> <87acbt5kcx.fsf@tapsellferrier.co.uk> <878xqm95wh.fsf@tapsellferrier.co.uk> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FQgQD-0007NU-DR for emacs-orgmode@gnu.org; Tue, 04 Apr 2006 03:57:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FQgQC-0007NI-Hf for emacs-orgmode@gnu.org; Tue, 04 Apr 2006 03:57:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQgQC-0007NF-Bs for emacs-orgmode@gnu.org; Tue, 04 Apr 2006 03:57:52 -0400 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FQgTR-0006yF-26 for emacs-orgmode@gnu.org; Tue, 04 Apr 2006 04:01:13 -0400 In-Reply-To: <878xqm95wh.fsf@tapsellferrier.co.uk> 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: Nic Cc: emacs-orgmode@gnu.org On Apr 3, 2006, at 14:53, Nic wrote: > Carsten Dominik writes: > >> Nic, >> >> if it is OK, I am going to include the XOXO exporter in the next test >> release of Org-mode. > > You may as well go ahead. I'll try and find time to update it to > include all the rest of org-modes output options. One immediate thing I see now is that I don't think the code will work correctly when the outline jumst levels (for example, going from a level 2 to a level 4 and back again. Looking at the code I think in this case it will only start one new outline level, but close two of them. Another issue is that I have recently started to make the export an two-stage process. I first copy the entire file to a temporary buffer, where I do some kine of preprocessing. For example I am making all the links to use the now standard [[ ]] format, I am preparing the targets, and I create links from all matches of radio targets. Then, in the second step I do the exporting. maybe it would be good to do these preparatory steps also before exporting to XOXO? Finally a question. You have said at several points that using a format like XOXO and do little or now structural analysis of what is in the Org-mode file except for looking at the levels is a good thing because you can then later use another transformation to do whatever you want. But I guess that transformation code would actually have to be custom written and understand all of the properties of Org-mode files. So I am still wondering if it would be useful to have ev erything that is Org-mode specific translated into something more general. - Carsten