]> hackdaworld.org Git - lectures/dfb-slides.git/commitdiff
*roq!*
authorhunz <hunz>
Sat, 22 Mar 2003 06:45:29 +0000 (06:45 +0000)
committerhunz <hunz>
Sat, 22 Mar 2003 06:45:29 +0000 (06:45 +0000)
parse.pl

index a25052fa9a13ce2f4960665fe89fce227078015d..e071258591e281d282dbf9677ffd9fecee67a63a 100755 (executable)
--- a/parse.pl
+++ b/parse.pl
@@ -42,7 +42,11 @@ foreach(@content) {
                        pop(@slide);
                        print "<header size=\"20\" fgcolor=\"#22FF22\">$topic</header>\n<text></text>\n";
                        foreach(@slide) {
-                               if(/ \+ /) {
+                               if(/^  \+ /) {
+                                       s/\+//;
+                                       print "<text></text>\n<listitem fgcolor=\"#ff00cc\" size=\"20\">$_</listitem>\n";
+                               }
+                               elsif(/ \+ /) {
                                        s/\+//;
                                        print "<text></text>\n<listitem size=\"20\">$_</listitem>\n";
                                }