From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: [PATH] [NEW EXPORTER] two slide backends for contrib Date: Tue, 27 Aug 2013 23:41:20 -0400 Message-ID: References: <20130220001816.GA9315@BigDog.local> <877gm32e4f.fsf@bzg.ath.cx> <93919f48ecf046d20c57cdccf773634f@mail.rickster.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEWdG-0002uV-JW for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 23:41:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEWdF-0005Bz-CY for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 23:41:22 -0400 Received: from mail-qe0-x235.google.com ([2607:f8b0:400d:c02::235]:49184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEWdF-0005Bn-7k for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 23:41:21 -0400 Received: by mail-qe0-f53.google.com with SMTP id 1so3123308qee.40 for ; Tue, 27 Aug 2013 20:41:20 -0700 (PDT) In-Reply-To: <93919f48ecf046d20c57cdccf773634f@mail.rickster.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: Rick Frankel , Org Mode On Tue, Aug 27, 2013 at 10:12 AM, Rick Frankel wrote: > On 2013-08-27 00:41, Matt Price wrote: >> >> I just came across this, having missed it in February. Rick, I was >> wondering if you had thought about enabling some of deck.js's snazzier >> features -- transitions for text elements, for instance, like we see >> in the intro deck here: http://imakewebthings.com/deck.js/#intro >> >> I'm mostly asking because I'd like to try and copy your work to make >> an exporter for impress.js (https://github.com/bartaz/impress.js). >> Kinjo has written one, but it uses the old exporter and no longer >> works with current versions of org, so I thought I would start with >> your deck.js work. >> >> I know that's not very specific, but if you've thought about these >> issues I would love to learn wat you've figured out. Thanks! > > > All the fancy transitions and builds in the deck.js intro are handled > via CSS. So, the exporter will handle them easily. > > If you look at the source for the intro, you will see that all the > builds and transitions are defined in home.css, and applied based on > slide id and/or class. ah, I wish I understood css transforms better! But yes, I can see that they are being defined in home.css and attached to individual classes/ids for slides. That's very helpful. > > If you look at the documentation for ox-deck > @https://github.com/cybercode/org-slides, you will see that you can > specify per-slide classes via the HTML_CONTAINER_CLASS property on the > headline (and any headline can be build by setting the "slide" class > on the headline). ah, I get it now. Thank you. > > Taking a quick look @ the impress.js docs, i noticed that there is an > S9 template for impress.js > (http://slideshow-s9.github.io/slideshow-impress.js), and that > everything is specified w/ slide properties (x, y, z, scale and > rotate), so I would use headline PROPERTIES ( :IMPRESS_X, etc) to > define the slideshow. I'll give that a try, if I end up having time (argh). I'm actually liking deck, though. Am wondering if it would be very hard to add support for the codemirror extension to your deck code. Maybe I'll try that first... > > Also note that it might be easier to inherit from ox-s5 instead of > ox-deck as it is more generic (and add a wrapper around > `org-s5-headline') to process the additional properties. Thanks again, very very helpful. Matt > > rick