Next: Read On   Previous: Creating Slides   Contents: Contents

More Slides

But right now, there's only one page. So back to the source, let's add statistics. Append the following to your source:


  =Statistics

  We counted our coffee material needs over half a year.
  Surprisingly, we consume almost as much milk as coffee!
  We need

  # 50% coffee

  # 40% milk

  # 10% sugar

The first paragraph is another headline, opening a new chapter. The next paragraph is of a new type - this is a text paragraph. For convenience, it needs no special startup character. So you can start writing text without thinking of rules. The paragraph ends with an empty line as usual.

The following list consists of paragraphs starting with a #. What's that? The # symbolizes a number, and these paragraphs are made points of an ordered list. They will be replaced by the correct numbers automatically. Store the source, rerun pp2html and look at the results!


  pp2html -style_dir $PPCPATH/pp2html_styles -style orange_slides coffee.pp

The new chapter is made a new slide, and the ordered list contains numbers.

Next: Read On   Previous: Creating Slides   Contents: Contents