From: Arne Babenhauserheide <arne_bab@web.de>
To: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <87bnzjs3yy.wl%arne_bab@web.de> (raw)
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 <h1> and <h2> 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
"<h1>%t</h1>
<h3>%a</h3>
<h4>%e</h4>
<h4>%d</h4>"
"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 "<h1>%a - %d</h1><h2>%t</h2>"
"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/)
next reply other threads:[~2014-01-11 1:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-11 1:27 Arne Babenhauserheide [this message]
2014-01-17 3:03 ` Bug: s5-export: Improved title template default. [8.2.1 (8.2.1-dist @ /usr/share/emacs/site-lisp/org-mode/)] 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=87bnzjs3yy.wl%arne_bab@web.de \
--to=arne_bab@web.de \
--cc=emacs-orgmode@gnu.org \
/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).