From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: HTML5 presentations Date: Thu, 16 Jun 2011 14:35:52 -0500 Message-ID: <4DFA5B18.4090209@sift.info> References: <871uz54diw.fsf@member.fsf.org> <4DFA5480.1070502@sift.info> <87y611bmmr.fsf@gmail.com> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXIM8-0006Qm-Pv for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 15:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXIM6-0006Pd-Ug for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 15:35:56 -0400 Received: from mpls.sift.info ([75.146.46.193]:38205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXIM6-0006PX-JA for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 15:35:54 -0400 In-Reply-To: <87y611bmmr.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org Mode On 6/16/11 Jun 16 -2:29 PM, Eric Schulte wrote: > Robert Goldman writes: > >> On 6/7/11 Jun 7 -3:01 PM, Tassilo Horn wrote: >>> Vinh Nguyen writes: >>> >>>> After the recent org-mode to S5 discussion, I stumbled onto >>>> [these](https://gist.github.com/509761) code. It offers a way to >>>> export org files to HTML5 presentations. I think it looks quite nice. >>>> I see it being better than S5 in that no "ui" folder is required. >>>> What do you all think? Is it worthy of being incorporated into >>>> org-mode? >>> >>> Just tried it, and it's pretty cool! Easy to use and nicely looking. >>> >>> Bye, >>> Tassilo >>> >>> >>> >> >> I have tried the version here: >> https://github.com/twada/org-html5presentation.el >> >> and it does not seem to be ready for prime-time. Org-babel features >> don't work, and there seems to be not a clear integration with the >> org-export-preprocessor. See my two issues, one (not satisfactorily) >> closed, one open. >> >> Possibly this should be folded into contrib, so that people could >> cooperate on it more easily than when it lives off in a separate git >> repo, but it shouldn't be enabled for the unwary until it's been >> thoroughly exercised. >> >> Is there a "tries to use all features" org presentation somewhere that >> would serve as a good acid test for an export facility? It would be >> very handy to have that. >> > > This export target seems to re-implement much of the org HTML export > mechanics which is most likely the reason for the incomplete coverage of > Org's large functionality. > > Perhaps it would be possible to change this so that it works more like > org-s5, that is, so that it firsts exports using the existing html > export functionality, and then simply manipulates the resulting html. Alternatively, would it be possible to have this behave mostly like conventional HTML export (i.e., have the org-export-current-backend be 'html), and then simply have the code that does the emitting override particular bits of the normal org-html behavior? The problem with this approach is that a side-effect of setting the org-export-current-backend to 'foo is to (require 'org-foo). This means it's difficult to make something like org-export-as-html5presentation be parasitic on org-export-as-html... I confess to not understanding how beamer and conventional latex export interact; possibly that would provide valuable precedent for this. best, r