From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: [PATH] [NEW EXPORTER] two slide backends for contrib Date: Tue, 27 Aug 2013 10:12:30 -0400 Message-ID: <93919f48ecf046d20c57cdccf773634f@mail.rickster.com> References: <20130220001816.GA9315@BigDog.local> <877gm32e4f.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEK0c-0007dt-2Z for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 10:12:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEK0X-0004P9-MA for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 10:12:37 -0400 Received: from [204.62.15.78] (port=56961 helo=mail.rickster.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEK0X-0004Os-Ik for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 10:12:33 -0400 In-Reply-To: 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: Matt Price Cc: Bastien , Org Mode 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. 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). 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. 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. rick