From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Babenhauserheide Subject: Bug: s5-export: Improved title template default. [8.2.1 (8.2.1-dist @ /usr/share/emacs/site-lisp/org-mode/)] Date: Sat, 11 Jan 2014 02:27:01 +0100 Message-ID: <87bnzjs3yy.wl%arne_bab@web.de> Reply-To: arne_bab@web.de Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1nN9-0002TP-Dx for emacs-orgmode@gnu.org; Fri, 10 Jan 2014 20:28:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1nN3-00073R-WE for emacs-orgmode@gnu.org; Fri, 10 Jan 2014 20:28:23 -0500 Received: from mout.web.de ([212.227.15.14]:60593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1nN3-00073G-Le for emacs-orgmode@gnu.org; Fri, 10 Jan 2014 20:28:17 -0500 Received: from fluss.draketo.de ([212.255.229.227]) by smtp.web.de (mrweb102) with ESMTPA (Nemesis) id 0MX0UC-1VpmI73FDg-00Vw8E for ; Sat, 11 Jan 2014 02:28:16 +0100 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: emacs-orgmode@gnu.org Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ The current ox-s5.el code produces a title page with just

and

which does not fit the defaults of s5 and creates slightly off-looking presentations. The s5 primer[1] specifies different levels of headlines for different content, though: - h1: title - h2: subtitle - h3: presenter - h4: affilitation Same for the footer. The following in ox-s5.el should fix this: (defcustom org-s5-title-slide-template "

%t

%a

%e

%d

" "Format template to specify title page section. See `org-html-postamble-format' for the valid elements which can be included. It will be wrapped in the element defined in the :html-container property, and defaults to the value of `org-html-container-element', and have the id \"title-slide\"." :group 'org-export-s5 :type 'string) (defcustom org-s5-postamble "

%a - %d

%t

" "Preamble inserted into the S5 layout section. When set to a string, use this string as the postamble. When set to a function, apply this function and insert the returned string. The function takes the property list of export options as its only argument. Setting the S5_POSTAMBLE option -- or the :s5-postamble in publishing projects -- will take precedence over this variable. Note that the default css styling will break if this is set to nil or an empty string." :group 'org-export-s5 :type '(choice (const :tag "No postamble" " ") (string :tag "Custom formatting string") (function :tag "Function (must return a string)"))) [1]: http://meyerweb.com/eric/tools/s5/primer.html Happy Hacking! Arne Emacs : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-10-14 on fluss Package: Org-mode version 8.2.1 (8.2.1-dist @ /usr/share/emacs/site-lisp/org-mode/)