+
+
+EOT
+
+my $TEMPLATE_HEADER = $ENV{"LIBAV_HEADER"} || <
+
+
+
+EOT
$PRE_BODY_CLOSE = '
';
@@ -26,16 +145,47 @@ $print_page_foot = \&Libav_print_page_foot;
sub Libav_print_page_foot($$)
{
my $fh = shift;
- print $fh '\n";
+ my $program_string = defined &T2H_DEFAULT_program_string ?
+ T2H_DEFAULT_program_string() : program_string();
+ print $fh '\n";
+}
+
+$float = \&Libav_float;
+
+sub Libav_float($$$$)
+{
+ my $text = shift;
+ my $float = shift;
+ my $caption = shift;
+ my $shortcaption = shift;
+
+ my $label = '';
+ if (exists($float->{'id'}))
+ {
+ $label = &$anchor($float->{'id'});
+ }
+ my $class = '';
+ my $subject = '';
+
+ if ($caption =~ /NOTE/)
+ {
+ $class = "alert alert-info";
+ }
+ elsif ($caption =~ /IMPORTANT/)
+ {
+ $class = "alert alert-warning";
+ }
+
+ return '' . "$label\n" . $text . '
';
}
$print_page_head = \&Libav_print_page_head;
sub Libav_print_page_head($$)
{
my $fh = shift;
- my $longtitle = "$Texi2HTML::THISDOC{'title_no_texi'}";
+ my $longtitle = "$Texi2HTML::THISDOC{'fulltitle_no_texi'}";
$longtitle .= ": $Texi2HTML::NO_TEXI{'This'}" if exists $Texi2HTML::NO_TEXI{'This'};
my $description = $DOCUMENT_DESCRIPTION;
$description = $longtitle if (!defined($description));
@@ -48,7 +198,7 @@ sub Libav_print_page_head($$)
$longtitle = "Libav documentation : " . $longtitle;
print $fh <
$Texi2HTML::THISDOC{'copying'}