1 |
New in version 1.2: |
2 |
|
3 |
- title slide template (if you use only title [<h1>] and sub-title [<h2>] on |
4 |
slide, sub-title will be displayed in middle of screen, centered) |
5 |
- new "make pack" target which will create .zip of your prezentation |
6 |
- added SlideMaker template (called w3c) |
7 |
|
8 |
Requiraments: |
9 |
|
10 |
- Text::FastTemplate > 0.9 or apply following patch to version 0.9: |
11 |
|
12 |
--- FastTemplate.pm.0.9 Fri May 11 23:56:18 2001 |
13 |
+++ FastTemplate.pm Fri May 11 23:57:36 2001 |
14 |
@@ -7,7 +7,7 @@ |
15 |
use Carp; |
16 |
use File::Basename qw/ dirname /; |
17 |
|
18 |
-$VERSION = '0.9'; |
19 |
+$VERSION = '0.91'; |
20 |
|
21 |
# template tokens / block types |
22 |
use constant BASIC => 0; |
23 |
@@ -507,7 +507,7 @@ |
24 |
} |
25 |
elsif ( $blocks->[$block_index]->[BLOCK_TYPE] == IF ) |
26 |
{ |
27 |
- ( my $expression= $macro ) =~ s/##(\w+)##/\$$1/g; |
28 |
+ ( my $expression= $macro ) =~ s/##(\w+)##/\${$1}/g; |
29 |
push @block_code, |
30 |
sprintf( "\tif ( %s ) {\n", $expression), |
31 |
$self->_generate_block_code( $block_index, $blocks, $template), |
32 |
@@ -535,7 +535,7 @@ |
33 |
else |
34 |
{ |
35 |
$b =~ s/([@\$"\\])/\\$1/g; |
36 |
- $b =~ s/##(\w+?)##/\$$1/g; |
37 |
+ $b =~ s/##(\w+?)##/\${$1}/g; |
38 |
push @block_code, "\t\t\"$b\\n\"" . ( ref $z || ( $i == $#$code ) ? ";\n" : ".\n" ); |
39 |
} |
40 |
}; |