# Init file for texi2html. # This is deprecated, and the makeinfo/texi2any version is doc/t2h.pm # no horiz rules between sections $end_section = \&FFmpeg_end_section; sub FFmpeg_end_section($$) { } my $TEMPLATE_HEADER1 = $ENV{"FFMPEG_HEADER1"} || < FFmpeg documentation EOT my $TEMPLATE_HEADER2 = $ENV{"FFMPEG_HEADER2"} || <
EOT my $TEMPLATE_FOOTER = $ENV{"FFMPEG_FOOTER"} || < EOT $SMALL_RULE = ''; $BODYTEXT = ''; $print_page_foot = \&FFmpeg_print_page_foot; sub FFmpeg_print_page_foot($$) { my $fh = shift; my $program_string = defined &T2H_DEFAULT_program_string ? T2H_DEFAULT_program_string() : program_string(); print $fh '
' . "\n"; print $fh '' . $program_string; print $fh "
\n"; } $float = \&FFmpeg_float; sub FFmpeg_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 = \&FFmpeg_print_page_head; sub FFmpeg_print_page_head($$) { my $fh = shift; 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)); $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 = "FFmpeg documentation : " . $longtitle; print $fh < $Texi2HTML::THISDOC{'copying'} $encoding $TEMPLATE_HEADER2 EOT } $print_page_foot = \&FFmpeg_print_page_foot; sub FFmpeg_print_page_foot($$) { my $fh = shift; print $fh <