emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Frankel <rick@rickster.com>
To: Matt Price <moptop99@gmail.com>
Cc: Bastien <bzg@altern.org>, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [PATH] [NEW EXPORTER] two slide backends for contrib
Date: Tue, 27 Aug 2013 10:12:30 -0400	[thread overview]
Message-ID: <93919f48ecf046d20c57cdccf773634f@mail.rickster.com> (raw)
In-Reply-To: <CAN_Dec9WPOviAXE5qkH4yM=xw0a45wd3go+OLyhBG96uHy3R9Q@mail.gmail.com>

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

  reply	other threads:[~2013-08-27 14:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-20  0:18 [PATH] [NEW EXPORTER] two slide backends for contrib Rick Frankel
2013-02-20 15:34 ` Bastien
2013-08-27  4:41   ` Matt Price
2013-08-27 14:12     ` Rick Frankel [this message]
2013-08-28  3:41       ` Matt Price
2013-08-28 11:52         ` Rick Frankel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=93919f48ecf046d20c57cdccf773634f@mail.rickster.com \
    --to=rick@rickster.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=moptop99@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).