projects
/
lectures
/
dfb-slides.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jorr
[lectures/dfb-slides.git]
/
parse.pl
diff --git
a/parse.pl
b/parse.pl
index
fb51509
..
0f07155
100755
(executable)
--- a/
parse.pl
+++ b/
parse.pl
@@
-4,6
+4,7
@@
chomp @content;
@slide=();
chomp @content;
@slide=();
+@topics=();
@actions=( "",
"slide top",
@actions=( "",
"slide top",
@@
-21,7
+22,11
@@
print "\n<slides bgcolor=\"#222266\" fgcolor=\"#9999ff\"
bullet=\"../img/bullet.png\"
screen_width=\"1024\" screen_height=\"768\">\n";
bullet=\"../img/bullet.png\"
screen_width=\"1024\" screen_height=\"768\">\n";
-@topics=();
+open(IN,"../head2xml header|") or die "no head2xml / header!!\n";
+while(<IN>) {
+ print $_;
+}
+close(IN);
foreach(@content) {
if((/^\d/) or (/^ \d/)) {
foreach(@content) {
if((/^\d/) or (/^ \d/)) {
@@
-49,6
+54,7
@@
push(@content," 23");
foreach(@content) {
s/\#.*//;
foreach(@content) {
s/\#.*//;
+ if(not /^\s+$/) {
s/&/&/g;
s/</</;
s/>/>/;
s/&/&/g;
s/</</;
s/>/>/;
@@
-112,5
+118,6
@@
foreach(@content) {
push(@slide,$_);
}
}
push(@slide,$_);
}
}
+}
print "</slides>\n";
\ No newline at end of file
print "</slides>\n";
\ No newline at end of file