Update s5 and deck,js slideshow exporters to work with refactored html
commit67a17cfe857a5e3ad58083207c49ce9148f19f97
authorRick Frankel <rick@rickster.com>
Sat, 16 Mar 2013 19:10:53 +0000 (16 15:10 -0400)
committerRick Frankel <rick@rickster.com>
Sat, 16 Mar 2013 19:17:44 +0000 (16 15:17 -0400)
treec27b1a71f7910e0cee7cbcb70c7ffdb859e0afb1
parent243c4618416cf32bb386590509cc7661d1667776
Update s5 and deck,js slideshow exporters to work with refactored html
backend.

* lisp/ox-html.el (org-html--build-pre/postamble): Add css class to
  wrapper div (defaults to `org-pre/postamble-class').  Move spec
  building to separate function (`org-html-format-spec').
(org-html-format-spec): New function.
(org-pre/postamble-class): New variable.

* contrib/lisp/ox-deck.el: Replace :html-{pre,post}amble export
  options with :deck versions.
(org-deck-postamble): Replaces `org-deck-postamble-template', uses
format-spec (and `org-html-format-spec') instead of custom template
option.
(org-deck-preamble): Replaces `org-deck-postamble-template', uses
format-spec (and `org-html-format-spec') instead of custom template
option.
(org-deck-title-slide-template): Use standard format specs.
(org-deck-template): Use org-html--build-pre/postamble instead of
`org-deck-fill-template'. Use fill-template for title slide (with
standard format specs) instead of custom `org-fill-template'
(org-deck-template-alist):  Delete.
(org-deck-postamble-template): Delete.
(org-deck-preamble-template): Delete.

* contrib/lisp/ox-s5.el: Same overall set of changes as ox-deck.
(org-s5-divs): New option, similar usage to `org-html-divs'.
(org-s5-footer-template): Delete.
(org-s5-header-template): Delete.
contrib/lisp/ox-deck.el
contrib/lisp/ox-s5.el
lisp/ox-html.el