Next Previous Contents

2. Syntax of the inputfile

2.1 A small introduction to XML

bla bla bla...


<markup property="value">
...
<markup>

...


<markup property="value"/>

...

2.2 The example presentation

Lets take a look at the example presentation. It begins with :


<?xml version="1.0"?>
<!DOCTYPE prestimel SYSTEM "/usr/local/share/prestimel/prestimel.dtd">

The first line is the standard-header, which every XML-file must have. The second line defines the document type definition (DTD), which should be used. This DTD will be used by the XML-parser to validate the XML-file and to detect and report any errors or wrong markups.

The presentation itself is embedded within the markups <presentation> and </presentation>. Within these markup, all slides for the presentation will be defined.


<!-- The start of the presentation -->
<presentation>

...
<!-- blah blah blah -->
...

</presentation>

The presentation-file may contain any number of comment-lines, which are marked with <!-- and -->.

2.3 The definition of slides

A slide is defined with the <slide> markup, which must have the property title, which contains the title of the slide. Optional, a slide may have the following properties :

note

The URI to any HTML-file you want. This note may contain some detailled background-information for the slide.

latex

If set to "no", the slide will be skipped in the LaTeX-output. The default-value for this property is "yes".

2.4 Grouping slides into sections

It is possible, to embed multiple slides inside of a section. For example :


<section title="Title of the section">
<slide title="Title of the first slide">
...
</slide>
<slide title="The second slide">
...
</slide>
</section>

As you can see, the <section> markup takes the property title, which will be shown on each HTML-slide inside this section. This section-title will also be a hyperlink to the first slide in this section.

If the title property is omitted, the title of the first slide in the section will be used as section-title. This may be useful, if you want to use an overview-slide for the section.

Please note, that the current implementation of the sectioning will mess up the background-graphic of the header. So you should disable the header-graphic with the commandline-option -H.


Next Previous Contents