This chapter describes the facilities Skribe offers authoring slides.
In order to access the functionalities described in this chapter, it
is require to introduce a (skribe-load "slides.skr")
expression
at the beginning of the document. The Slide package supports two
skribe-load
user options: :advi and :prosper .
The first one tells Skribe to generate slides for the Advi presenter. The
second one tells Skribe to generate slides for the LaTeX prosper package.
A slide
function call creates a slide.
prototype
( slide :title [:ident ] [:toc #t
] [:class ] [:number #t
] [:vspace ] [:vfill ] [:transition ] [:bg ] [:image ])
:ident html latex xml The node identifier.
:class html latex xml The node class.
:title html latex The title of the slide.
:number html latex The number of the slide (a boolean or an integer).
:toc html latex This argument controls if the slide must
be referenced in the toctable of contents.
:vspace latex The boolean #f or an integer representing
the vertical space size between the title and the body of the slide.
:vfill latex A boolean that is used to control whether a LaTeX
\vfill is issued at the end of the slide.
:transition html latex The boolean #f or a symbol in the
list (split blinds box wipe dissolve glitter).
:bg html The background color of the slide.
:image latex The background image of the slide.
A slide-pause
function call introduces a pause in the slide
projection.
12.3 Slide Vertical Space
The slide-vspace
introduces a vertical space in the slide.
prototype
( slide-vspace [:unit 'cm
] val
)
:unit latex The unit of the space.
val
The size of the vertical space.
12.4 Slide Embed Applications
Embed an application inside a slide.
prototype
( slide-embed :command [:geometry-opt "-geometry"
] [:geometry ] [:rgeometry ] [:transient ] [:transient-opt ] [:alt ])
:command latex The binary file for running the embedded
application.
:geometry-opt html latex xml The name of the geometry option to be sent
to the embedded application.
:geometry latex The geometry value to be sent.
:rgeometry latex A relative geometry to be sent.
:transient-opt latex The name of the transient option to be sent
to the embedded application.
:transient latex The transient value to be sent.
:alt html latex xml An alternative Skribe expression to be used if the
output format does not support embedded application.
Here is a complete example of Skribe slides:
Example:
(skribe-load "slide.skr" :advi #t)
(document :title (color :fg "red" (sf (font :size +2. "Skribe Slides" )))
:author (author :name (it "Manuel Serrano" )
:affiliation [ Inria Sophia Antipolis]
:address (ref :url "http://www.inria.fr/mimosa/Manuel.Serrano" ))
(if (engine-format? "html" )
(slide :title "Table of contents" :number #f :toc #f
(toc :chapter #f :section #f :subsection #f :subsubsection #f
:slide #t)))
(slide :title "X11 client" :toc #t :vspace 0.3
(itemize
(item "xlock" )
(item "xeyes" )
(item "xterm" )))
(slide :title "Xclock" :toc #t :vspace 0.3
(center (sf (underline "The Unix xclock client" )))
(slide-vspace 0.3)
(slide-pause)
(slide-embed :command "xlock"
:alt (frame "Can't run embedded application" ))))
Ex. 34: Example of Skribe slides
Produces:
Skribe Slides
Skribe Slides
Manuel Serrano
Inria Sophia Antipolis
This Html page has been produced by
Skribe .
Last update Thu Nov 18 23:12:49 2004 .