If we run the example created so far, it will immediately exit: no slides
defined. Seems alright to me. Now let me create a real slide!
We selected a style: let us assume it is the default style (you do not have to do anything to get that one). Within a style, you can select a style-element implementation. The default selected style-elements of the default style are:
When you create a slide, you specify a number of options, which overrule the defaults as are set by the style-elements. There is a huge amount of options (all options). If you try to use an option which is not part of any selected style-element you will be warned.
Adding a slide:
#!/usr/local/bin/perl -w use strict; my $show = PPresenter->new; $show->addSlide ( -title => 'first slide' , -main => '<HUGE>Hi there</HUGE>' ); $show->run;Each slide shall have a title. Furthermore, we used all the defaults: only the default style-elements, and from them the default options.
You also have to understand the markup formatter.
Next: Changing defaults.
Portable Presenter is written and maintained by Mark Overmeer. Copyright (C) 2000-2002, Free Software Foundation FSF.