From 60830fa4d27c2b86573b0829865c8555b3d76385 Mon Sep 17 00:00:00 2001 From: Rick Frankel Date: Mon, 11 Mar 2013 17:49:39 -0400 Subject: [PATCH] Apply changes to slideshow exporter to use new `org-html-divs' specification. * contrib/lisp/ox-deck.el: - Rename header/footer options and methods to preamble/postamble to be more consistent with underlining html exporter. Also remove included wrapper section to allow for using the element specified in `org-html-divs'. - add `org-deck-preamble-postamble-styles' variable - Rename `org-deck-title-page-styles' to `org-deck-styles'. - Rename `org-deck-title-page-* to `org-deck-title-slide-*' (org-deck-template): - use :html-doctype instead of forcing html5. - use xhtml valid meta charset tag - Use elements specified in `org-html-divs'. - Cleanup embeded css (move into a single style section) * contrib/lisp/ox-s5.el: - Use `org-html-div' container class for content - Change header/footer templates to remove wrapper from customization string. (org-s5-toc): Use :html-container instead of hard-coded div. (org-s5-template): use :html-doctype, :html-container and `org-html-divs' container class. --- contrib/lisp/ox-deck.el | 198 ++++++++++++++++++++++------------------ contrib/lisp/ox-s5.el | 197 ++++++++++++++++++++------------------- 2 files changed, 212 insertions(+), 183 deletions(-) diff --git a/contrib/lisp/ox-deck.el b/contrib/lisp/ox-deck.el index 15b797208..c0e7260ff 100644 --- a/contrib/lisp/ox-deck.el +++ b/contrib/lisp/ox-deck.el @@ -166,89 +166,92 @@ Can be overriden with the DECK_BASE_URL property." :group 'org-export-deck :type 'string) -(defcustom org-deck-footer-template +(defcustom org-deck-postamble-template "

%author - %title

" - "Format template to specify footer div. -Completed using `org-fill-template'. -Optional keys include %author, %email, %file, %title and %date. -This is included in a