bgimage="../img/bg.png"
bullet="../img/bullet.png"
screen_width="1024" screen_height="768">
+
<slide effect="none">
<header size="10"></header>
<header fgcolor="#5080FF" size="80">$dir</header>
total=$#
((count = 0))
+cat >> $dir/$name << EOF
+ <slide>
+ <header size="10"></header>
+ <header fgcolor="#8080FF" size="35">Inhalt</header>
+ <header size="20"></header>
+
+EOF
+for i in $@; do
+ ((j = 0))
+ ((count += 1))
+ cat >> $dir/$name << EOF
+ <text size="20">Kapitel $count</text>
+ <text/>
+EOF
+ while [ "1" ]; do
+ ((j += 1))
+ cat >> $dir/$name << EOF
+ <listitem size="20">$j</listitem>
+EOF
+ [ "$j" = "$i" ] && break
+ done
+ cat >> $dir/$name << EOF
+ <text/>
+EOF
+done
+cat >> $dir/$name << EOF
+ </slide>
+
+EOF
+
+((count = 0))
+
for i in $@; do
((count += 1))
cat >> $dir/$name << EOF