diff --git a/doc/t2h.init b/doc/t2h.init
index cd38a3ec9e..d464aa1c00 100644
--- a/doc/t2h.init
+++ b/doc/t2h.init
@@ -1,15 +1,69 @@
# no horiz rules between sections
-$end_section = \&FFMPEG_end_section;
-sub FFMPEG_end_section($$)
+$end_section = \&Libav_end_section;
+sub Libav_end_section($$)
{
}
-$print_page_foot = \&FFMPEG_print_page_foot;
-sub FFMPEG_print_page_foot($$)
+$EXTRA_HEAD =
+ '\n' .
+ '\n';
+
+$AFTER_BODY_OPEN = '
'.
+ '
';
+
+$PRE_BODY_CLOSE = '
';
+
+$SMALL_RULE = '';
+$BODYTEXT = '';
+
+$print_page_foot = \&Libav_print_page_foot;
+sub Libav_print_page_foot($$)
{
my $fh = shift;
- print $fh "$SMALL_RULE\n";
+ print $fh '\n';
+}
+
+$print_page_head = \&Libav_print_page_head;
+sub Libav_print_page_head($$)
+{
+ my $fh = shift;
+ my $longtitle = "$Texi2HTML::THISDOC{'title_no_texi'}";
+ $longtitle .= ": $Texi2HTML::NO_TEXI{'This'}" if exists $Texi2HTML::NO_TEXI{'This'};
+ my $description = $DOCUMENT_DESCRIPTION;
+ $description = $longtitle if (!defined($description));
+ $description = "" if
+ ($description ne '');
+ $description = $Texi2HTML::THISDOC{'documentdescription'} if (defined($Texi2HTML::THISDOC{'documentdescription'}));
+ my $encoding = '';
+ $encoding = "" if (defined($ENCODING) and ($ENCODING ne ''));
+ $longtitle =~ s/Documentation.*//g;
+ $longtitle = "Libav documentation : " . $longtitle;
+
+ print $fh <
+$Texi2HTML::THISDOC{'copying'}
+
+
+$longtitle
+
+$description
+
+
+
+
+$encoding
+$CSS_LINES
+$EXTRA_HEAD
+
+
+
+$AFTER_BODY_OPEN
+EOT
}
# no navigation elements