From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: S5 export Date: Thu, 03 Feb 2011 19:48:47 +0100 Message-ID: <878vxx0x9s.fsf@Rainer.invalid> References: <28A74B24-4011-4F2D-AA51-7E18C4765669@chem.utoronto.ca> <87oc6tf2x3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=54298 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl4Ep-0006Vz-CJ for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 13:49:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pl4En-0003DX-V0 for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 13:49:03 -0500 Received: from lo.gmane.org ([80.91.229.12]:52606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pl4En-0003DC-Nz for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 13:49:01 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pl4El-00024v-KH for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 19:48:59 +0100 Received: from p57aaafa3.dip.t-dialin.net ([87.170.175.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Feb 2011 19:48:59 +0100 Received: from Stromeko by p57aaafa3.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Feb 2011 19:48:59 +0100 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 Bastien writes: > I would welcome an approach where we factor out some elements of > org-export-as-html, so that exporting to s5 would just require the > user to customize those elements. Sorry for piggy-backing onto this topic, but I seem to remember the mention of a "generic exporter" on this list, but I don't remember what the outcome of that discussion was. While looking at the table export I realized that there is lots of duplicated code just for exporting the tables, which seems wasteful (and error-prone in the longer term). Would it seem reasonable to have a "generic export" function that parses the org document into a structure of callbacks and lists and then only define the callbacks for each backend? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada