Processors in Slide.pm


Slide

Webber processor, version 1.0
Builds and links a set of pages in a slide-show style.
Target file names are assumed to have the following structure:
	<PREFIX>N<POSTFIX>
Where <PREFIX> and <POSTFIX> are arbitrary strings, without numbers inside
them, and N is the number of the slide. The strings for <PREFIX> and
<POSTFIX> must be the same for all the slides. It is also assumed that all
slide files live in the same directory (or location into the server).
This progran must run inside Webber.
It modifies the Webber variable identified by #slide.dst, as defined below.

Slide uses the following Webber variables:
 
 #slide.dst:          Identifies the name of the Webber variable where the
                      processor will include its output. The output is
                      concatenated with the previous value of the variables. By
                      default, "wbbOut" is used.
 #slide.first:        The number for the first slide to be processed. 1 by
                      default.
 #slide.last:         The number for the last slide to be processed. 100 by
                      default.
 #slide.next_button:  The name of the image to be used for pointing to the next
                      slide. Defaults to "next.gif".
 #slide.prev_button:  The name of the image to be used for pointing to the 
                      previous slide. Defaults to "prev.gif".
 #slide.first_button: The name of the image to be used for pointing to the first
                      slide. Defaults to "first.gif".
 #slide.last_button:  The name of the image to be used for pointing to the last
                      slide. Defaults to "last.gif".
 #slide.header:       Header to be included prior to the contents of the slide.
                      Defaults to "<h3>Slide #slide.num of #slide.last</h3>".
 #slide.image_header: A header to be included prior to the image (if any) shown
                      in the slide. Defaults to ""
 #slide.image:        The name of the image to be shown inside the slide.
 #slide.image_width:  The width the image will be rendered with.
 #slide.image_height: The height the image will be rendered with.
 #slide.text_header:  A eader to be included prior to the text (if any) shown
                      in the slide. Defaults to "<h3>Notes</h3>".
 #slide.text:         The text to be shown inside the slide.
 #slide.num:          It set to the number of the slide being processed, for
                      further use of any other processor.