1 # no horiz rules between sections
2 $end_section = \&FFmpeg_end_section;
3 sub FFmpeg_end_section($$)
7 my $TEMPLATE_HEADER1 = $ENV{"FFMPEG_HEADER1"} || <<EOT;
11 <meta charset="utf-8" />
12 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
13 <title>FFmpeg documentation</title>
14 <link rel="stylesheet" href="style.min.css" />
17 my $TEMPLATE_HEADER2 = $ENV{"FFMPEG_HEADER2"} || <<EOT;
20 <div style="width: 95%; margin: auto">
23 my $TEMPLATE_FOOTER = $ENV{"FFMPEG_FOOTER"} || <<EOT;
32 $print_page_foot = \&FFmpeg_print_page_foot;
33 sub FFmpeg_print_page_foot($$)
36 my $program_string = defined &T2H_DEFAULT_program_string ?
37 T2H_DEFAULT_program_string() : program_string();
38 print $fh '<footer class="footer pagination-right">' . "\n";
39 print $fh '<span class="label label-info">' . $program_string;
40 print $fh "</span></footer></div></div></body>\n";
43 $float = \&FFmpeg_float;
45 sub FFmpeg_float($$$$)
50 my $shortcaption = shift;
53 if (exists($float->{'id'}))
55 $label = &$anchor($float->{'id'});
60 if ($caption =~ /NOTE/)
62 $class = "alert alert-info";
64 elsif ($caption =~ /IMPORTANT/)
66 $class = "alert alert-warning";
69 return '<div class="float ' . $class . '">' . "$label\n" . $text . '</div>';
72 $print_page_head = \&FFmpeg_print_page_head;
73 sub FFmpeg_print_page_head($$)
76 my $longtitle = "$Texi2HTML::THISDOC{'fulltitle_no_texi'}";
77 $longtitle .= ": $Texi2HTML::NO_TEXI{'This'}" if exists $Texi2HTML::NO_TEXI{'This'};
78 my $description = $DOCUMENT_DESCRIPTION;
79 $description = $longtitle if (!defined($description));
80 $description = "<meta name=\"description\" content=\"$description\">" if
82 $description = $Texi2HTML::THISDOC{'documentdescription'} if (defined($Texi2HTML::THISDOC{'documentdescription'}));
84 $encoding = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$ENCODING\">" if (defined($ENCODING) and ($ENCODING ne ''));
85 $longtitle =~ s/Documentation.*//g;
86 $longtitle = "FFmpeg documentation : " . $longtitle;
91 <meta name="keywords" content="$longtitle">
92 <meta name="Generator" content="$Texi2HTML::THISDOC{program}">
93 $Texi2HTML::THISDOC{'copying'}<!-- Created on $Texi2HTML::THISDOC{today} by $Texi2HTML::THISDOC{program} -->
95 $Texi2HTML::THISDOC{program_authors}
102 $print_page_foot = \&FFmpeg_print_page_foot;
103 sub FFmpeg_print_page_foot($$)
111 # declare encoding in header
112 $IN_ENCODING = $ENCODING = "utf-8";
114 # no navigation elements
115 $SECTION_NAVIGATION = 0;
116 # the same for texi2html 5.0
119 # TOC and Chapter headings link
122 # print the TOC where @contents is used
123 $INLINE_CONTENTS = 1;