Section 44.5 Reveal.js Slideshow Options
See Section 34.1 for a more general overview of this conversion.
Subsection 44.5.1 Reveal.js Appearance
The
/publication/revealjs/appearance
element can have the following attribute:
@theme
: the base name of a file that is a reveal.js theme. For example if the desired theme/CSS file iscss/theme/solarized.css
, then set the value of this attribute tosolarized
.
Subsection 44.5.2 Reveal.js Controls
The
/publication/revealjs/controls
element can have the following attributes:
@backarrow
: for the visibility of a “back” arrow. Values arefaded
,hidden
, orvisible
. The default isfaded
.@display
: for the overall visibility of controls. Values areyes
orno
. The default isyes
.@layout
: for the location of the controls. Values areedges
orbottom-right
. The default isbottom-right
.@tutorial
: for animation of suggested navigation arrows. Values areyes
orno
. The default isyes
.
Subsection 44.5.4 Reveal.js Resources
You may wish to host the reveal.js CSS and javascript files locally or obtain them online. Be sure to read in Section 34.1 about the necessity of providing the complete MathJax library Section 34.1 if your document has mathematics and you opt for local resources.
The
/publication/revealjs/resources
element can have the following attributes:
@host
: The valueslocal
andcdn
will retrieve various Javascript and CSS files (such as the theme) relative to the slideshow HTML file or from an online Content Delivery Network (respectively). PreTeXt will maintain a link to a current, updated, CDN version and this will change without notice. This attribute may be given a URL or a local path, though this has not been tested, so should be considered experimental.