Unit test: presentation.001
Introduction
Presentation mode implements paged navigation through a document. As the name implies, it’s designed for use in presentations:
It uses generally larger fonts by default and works best for many small pages
Each unit of a document (part, chapter, article, section, etc.) becomes a page.
Presentation mode replaces earlier “slides” and “speaker notes” implementations.
Use keyboard shortcuts or click the icons in the lower-right corner to navigate (Press F1 for navigation help).
Synchronization
When served with https
(or from localhost
with
http
), presentation mode can use
local storage to synchronize display in different browser windows.
Add
to the|
<meta xmlns="http://www.w3.org/1999/xhtml"
|name="localStorage.key" content="keyName"/>
info
of your document.The key name is irrelevant, but is used to coordinate between windows. All documents with the same key name will be synchronized together. 1
Synchronized displays are useful for reading speaker notes in one view while presenting the “normal” view to your audience.
Speaker notes
Speaker notes can be placed on any page.
They are not displayed as part of the normal presentation.
They can be revealed by selecting notes view.
Use the speaker-notes
role to add speaker notes:
|<para role="speaker-notes">When you present this page
|observe that the speaker notes are normally hidden, but
|can be revealed by pressing <keycap>S</keycap>.</para>
When you present this page observe that the speaker notes are normally hidden, but can be revealed by pressing S.
(If you’re reading this in presentation mode, press S to select notes view.)
Press S again to return to the normal view.
Part I. Progressive reveal
Reveal elements
Any elements marked with the role reveal
will
be hidden initially. Navigating forward or pressing Space will reveal them.
This paragraph is revealed!
List reveals
If a list is marked with reveal
, the behavior applies to
all of the items except the first.
This is the first item in the list, it’s always shown.
This is the second item.
This is the third and last item.
Transitory reveals
If an item is marked both reveal
and transitory
,
it will be revealed in turn and then concealed again when the next item is revealed:
This is the first item in the list, it’s always shown.
This is the second item. It is marked transitory, so it will be replaced.
This is a replacement second item.
This is the third and last item.
Overrides
You can override the reveal behavior with noreveal
. For
example:
This is the first item in the list, it’s always shown.
This is the second item. In a “reveal” list, it would usually be hidden at first, but this one is marked “noreveal”.
This is the third item.
This is the fourth and last item.
Summary
Quick and easy presentations from DocBook documents.
No special markup required.
Easy navigation.
Clean look and feel.
Advanced features:
Synchronized display
Speaker notes
Progressive and transitory reveals