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

<!-- ================================================ -->
<!--  This is the example-presentation for PresTiMeL  -->
<!-- ================================================ -->

<presentation>

<!-- Uncomment the next line to override the settings for the HTML-output -->
<!-- <html resolution="1024x768" theme="tux" sloppybuttons="yes"/> -->

<!-- This is the title-slide -->
<slide title="Welcome to PresTiMeL">
  <title>
    <h2>PresTiMeL is a tool to create HTML-presentations</h2>
    <h3>Click on the arrow below to continue</h3>
    <author name="Bernhard Trummer" email="bernhard.trummer@gmx.at"/>
    <date>14. April 2000</date>
  </title>
</slide>

<!-- Examples for the itemize-environment -->
<slide title="These are some items">
  <itemize>
    <item>This is item 1</item>
    <item>Item 2</item>
    <item>Last but not least, item 3</item>
  </itemize>
</slide>

<slide title="One-by-one Items">
  <itemize step="yes">
    <item>Here is the first</item>
    <item>The second one</item>
    <item>The last one</item>
  </itemize>
</slide>

<slide title="Nested Items 1">
  <itemize step="yes">
    <item>The first</item>
    <itemize>
      <item>Part one</item>
      <item>Part two</item>
    </itemize>
    <item>The second</item>
    <item>The third</item>
  </itemize>
</slide>

<slide title="Nested Items 2">
  <itemize step="yes">
    <item>The first</item>
    <itemize step="yes">
      <item>Part one</item>
      <item>Part two</item>
    </itemize>
    <item>The second</item>
    <item>The third</item>
  </itemize>
</slide>

<!-- Example for a enumerate-environment -->

<slide title="Enumerations">
  <enumerate step="yes">
    <item>All you can do with</item>
    <item>Itemize environments</item>
    <item>can be done with</item>
    <item>Enumerate environments too.</item>
  </enumerate>
</slide>

<!-- Examples for the image-environment -->
<slide title="A single Image">
  <image>
    <img html="image.png" latex="image"/>
  </image>
</slide>

<slide title="An Image sequence">
  <image>
    <img html="seq_a.png" latex="seq_a"/>
    <img html="seq_b.png" latex="seq_b"/>
    <img html="seq_c.png" latex="seq_c"/>
  </image>
</slide>

<!-- Example for the code-environment -->
<slide title="The Code-Environment">
  <code>
#include <stdlib.h>

int main(int argc, char **argv)
{
    printf("Hello World !\n");
}
  </code>
</slide>

<!-- Example for the text-environment -->
<slide title="The Text-Environment">
  <text>
This is a text-environment.
You can write as much text here, as you like.
You can also emphase some text <emph>this</emph>, <bold>this</bold> or
<tt>this</tt> way by using the <emph>, <bold> and <tt>
markup.
Also, a combination of these markups is possible,
like you can see <emph><bold>here</bold></emph>.
<br/>
Writing a hyperlink is also possible using the <a> markup.
For example : PresTiMeL's homepage is located 
<a href="http://oeh.tu-graz.ac.at/prestimel/">here</a>.
  </text>
</slide>

<!-- Examples for the grid-environment -->
<slide title="Grid Environment 1">
  <grid columns="2">
    <image>
       <img html="image_mini.png" latex="image"/>
    </image>
    <itemize>
      <item>One</item>
      <item>Two</item>
      <item>Three</item>
    </itemize>
  </grid>
</slide>

<slide title="Grid Environment 2">
  <grid columns="2">
    <image>
      <img html="seq_a_mini.png" latex="seq_a"/>
      <img html="seq_b_mini.png" latex="seq_b"/>
      <img html="seq_c_mini.png" latex="seq_c"/>
    </image>
    <itemize step="yes">
      <item>The first</item>
      <item>Second</item>
      <item>And last</item>
    </itemize>
  </grid>
</slide>

<slide title="Grid Environment 3">
  <grid columns="2">
    <itemize step="yes">
      <item>One to the left</item>
      <item>The second</item>
      <item>Last but...</item>
    </itemize>
    <itemize step="yes">
      <item>And one right</item>
      <item>is here too</item>
      <item>...not least</item>
    </itemize>
  </grid>
</slide>

<slide title="Grid Environment 4">
  <grid columns="2">
    <code>
counter++;
if (counter == 10) {
    printf("Yeah !\n");
} else {
    printf("No.\n");
}
    </code>
    <itemize step="yes">
      <item>First...</item>
      <item>Second</item>
      <item>And third.</item>
    </itemize>
  </grid>
</slide>

<slide title="Grid Environment 5">
  <grid rows="2" columns="2" step="yes">
    <image><img html="grid_a.png" latex="seq_a"/></image>
    <image><img html="grid_b.png" latex="seq_b"/></image>
    <image><img html="grid_c.png" latex="seq_c"/></image>
    <image><img html="grid_d.png" latex="image"/></image>
  </grid>
</slide>

<slide title="Grid Environment 6">
  <grid rows="2" columns="2" step="yes">
    <image>
      <img html="grid_d.png" latex="image"/>
    </image>
    <itemize>
      <item>Some explaination</item>
      <item>to be continued...</item>
    </itemize>
    <code>
if (counter == 10) {
    printf("Yeah !\n");
} else {
    printf("No.\n");
}   
    </code>
    <text>
      This is the explaination of the figure above and the code to the left.
    </text>
  </grid>
</slide>

<!-- Example for a note -->
<slide title="Notes" note="notes.html">
  <itemize>
    <item>Each slide can have notes</item>
    <item>A note-button will be shown</item>
    <item>The note itself may contain any HTML-code you want</item>
  </itemize>
</slide>

</presentation>