1 # no horiz rules between sections
2 $end_section = \&FFmpeg_end_section;
3 sub FFmpeg_end_section($$)
8 '<link rel="icon" href="favicon.png" type="image/png" />
11 $CSS_LINES = $ENV{"FFMPEG_CSS"} || <<EOT;
12 <link rel="stylesheet" type="text/css" href="default.css" />
15 my $TEMPLATE_HEADER = $ENV{"FFMPEG_HEADER"} || <<EOT;
16 <link rel="icon" href="favicon.png" type="image/png" />
22 $PRE_BODY_CLOSE = '</div></div>';
27 $print_page_foot = \&FFmpeg_print_page_foot;
28 sub FFmpeg_print_page_foot($$)
31 my $program_string = defined &T2H_DEFAULT_program_string ?
32 T2H_DEFAULT_program_string() : program_string();
33 print $fh '<footer class="footer pagination-right">' . "\n";
34 print $fh '<span class="label label-info">' . $program_string;
35 print $fh "</span></footer></div>\n";
38 $float = \&FFmpeg_float;
40 sub FFmpeg_float($$$$)
45 my $shortcaption = shift;
48 if (exists($float->{'id'}))
50 $label = &$anchor($float->{'id'});
55 if ($caption =~ /NOTE/)
57 $class = "alert alert-info";
59 elsif ($caption =~ /IMPORTANT/)
61 $class = "alert alert-warning";
64 return '<div class="float ' . $class . '">' . "$label\n" . $text . '</div>';
67 $print_page_head = \&FFmpeg_print_page_head;
68 sub FFmpeg_print_page_head($$)
71 my $longtitle = "$Texi2HTML::THISDOC{'fulltitle_no_texi'}";
72 $longtitle .= ": $Texi2HTML::NO_TEXI{'This'}" if exists $Texi2HTML::NO_TEXI{'This'};
73 my $description = $DOCUMENT_DESCRIPTION;
74 $description = $longtitle if (!defined($description));
75 $description = "<meta name=\"description\" content=\"$description\">" if
77 $description = $Texi2HTML::THISDOC{'documentdescription'} if (defined($Texi2HTML::THISDOC{'documentdescription'}));
79 $encoding = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$ENCODING\">" if (defined($ENCODING) and ($ENCODING ne ''));
80 $longtitle =~ s/Documentation.*//g;
81 $longtitle = "FFmpeg documentation : " . $longtitle;
86 $Texi2HTML::THISDOC{'copying'}<!-- Created on $Texi2HTML::THISDOC{today} by $Texi2HTML::THISDOC{program} -->
88 $Texi2HTML::THISDOC{program_authors}
91 <title>$longtitle</title>
94 <meta name="keywords" content="$longtitle">
95 <meta name="Generator" content="$Texi2HTML::THISDOC{program}">
102 # declare encoding in header
103 $IN_ENCODING = $ENCODING = "utf-8";
105 # no navigation elements
106 $SECTION_NAVIGATION = 0;
107 # the same for texi2html 5.0
110 # TOC and Chapter headings link
113 # print the TOC where @contents is used
114 $INLINE_CONTENTS = 1;