Next: Cache   Previous: Keyword Replacement   Contents: Contents

Using Styles

Using styles is simple. You need to specify the --style option and eventually the --style_dir option if the styles directory is not a subdirectory of the current working directory:


 pp2html --style pp_book --style_dir /home/PP/styles input.pp

A typical option file for usage with styles looks like:


 --activeContents
 --safeOpcode ALL
 --cache
 --slide_dir orange_slides
 --image_ref .
 --count_only

 --style orange_slides
 --style_dir ./pp2html_styles
 --base_left_txt '&copy; <a href="mailto:lorenz.domke@gmx.de">lorenz.domke@gmx.de</a>'
 --base_right_txt "June 2001"
 --logo_image_filename Logo.gif

This activates active contents and the cache. The target directory for the slides is specified and the path for referencing images in <IMG> tags is defined. The --count_only switch suppresses the output of all headers of the created pages.

The second block defines the style to be used and overwrites some of the texts used in the styles template files.

Next: Cache   Previous: Keyword Replacement   Contents: Contents