diff options
author | Sébastien Delafond <sdelafond@gmail.com> | 2015-08-25 12:27:35 +0200 |
---|---|---|
committer | Sébastien Delafond <sdelafond@gmail.com> | 2015-08-25 14:22:00 +0200 |
commit | 97c50971465ff7f49ef2f57b3c09060939778727 (patch) | |
tree | 3da0aef5dd29bbe67a6e85b5a9a76b9b60b75d13 /contrib/lisp/ox-s5.el | |
parent | a3a85ee67f2216f1d3c91e84474ba492ae9e1046 (diff) |
Imported Upstream version 8.3.1
Diffstat (limited to 'contrib/lisp/ox-s5.el')
-rw-r--r-- | contrib/lisp/ox-s5.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/lisp/ox-s5.el b/contrib/lisp/ox-s5.el index 26e83a3..503bfd0 100644 --- a/contrib/lisp/ox-s5.el +++ b/contrib/lisp/ox-s5.el @@ -48,7 +48,14 @@ ;; in an Org mode buffer. See ox.el and ox-html.el for more details ;; on how this exporter works. +;; TODOs +;; ------ +;; The title page is formatted using format-spec. This is error prone +;; when details are missing and may insert empty tags, like <h2></h2>, +;; for missing values. + (require 'ox-html) +(eval-when-compile (require 'cl)) (org-export-define-derived-backend 's5 'html :menu-entry @@ -173,6 +180,7 @@ or an empty string." (defcustom org-s5-title-slide-template "<h1>%t</h1> +<h2>%s</h2> <h2>%a</h2> <h3>%e</h3> <h4>%d</h4>" @@ -201,7 +209,7 @@ INFO is a plist used as a communication channel." (concat section-number (org-export-data (org-export-get-alt-title headline info) info) - (and tags " ") (org-html--tags tags)))) + (and tags " ") (org-html--tags tags info)))) (defun org-s5-toc (depth info) (let* ((headlines (org-export-collect-headlines info depth)) |