Author: cd@conference.org
Description: PerlPointCD Demo

Check: HTML validity, CSS validity, links.

Start / Long Talks / The editor / Layouts Next: Startup page Previous: Layouts TOC

# Layout configuration

When installed initially, PerlPointCD comes with two demo layouts: `demo-cd` builds frame based HTML pages with Java navigation, while `demo-cd-css` constructs CSS based slides. Prefering one or the other is a matter of personal taste, so the initial `makefile` uses both of them to offer alternatives.

Feel free to modify the demo layouts. To use your own, just store them in the `style` directory as well. (While it is possible to store them anywhere in the PerlPoint include path, integration with the tool directories makes it easier to share a CD package with a team.)

Layout integration is controlled by various files. First, replace the config files with your own ones, or just edit the original files (which can be found as `prepare/demo-cd.cfg` and `prepare/demo-cd-css.cfg`). In any case, adapting these configurations is the next step. I recommend to stay with the frame

     # base configuration
     @demo-cd-base.cfg

     # style
     -style demo-cd

     # use your own filenames
     -start_page   jindex.htm
     -slide_prefix jslide

     # activate browser navigation
     -linknavigation

and to adapt just the `-style`, `-start_page` and `-slide_prefix` options.

Second, the following lines in the `makefile` need to be adapted to integrate your layouts:

     html: explode
       # design 1
       ${PPCD}/pp2html @${PREPARE}/$PROJECT.cfg ...
       # design 2
       ${PPCD}/pp2html @${PREPARE}/$PROJECT-css.cfg ...

If you prefer to have even more layouts or just one, add or delete lines appropriately.

Next: Startup page Previous: Layouts TOC Start / Long Talks / The editor / Layouts