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" />
9 <link rel="stylesheet" type="text/css" href="default.css" />
13 <style type="text/css">
15 a.summary-letter { text-decoration: none }
17 a:visited { color: #884488; }
18 h1 a, h2 a, h3 a { text-decoration: inherit; color: inherit; }
19 p { margin-left: 1em; margin-right: 1em; }
20 table { margin-left: 2em; }
21 pre { margin-left: 2em; }
22 #footer { text-align: center; }
23 #body { margin-left: 1em; margin-right: 1em; }
24 body { background-color: #313131; margin: 0; }
27 background-color: white;
34 background-color: #7BB37B;
35 border: 1px solid #6A996A;
38 padding-bottom: 0.2em;
56 border: 1px solid #bbc9d8;
57 background-color: #dde1e1;
62 border: 1px solid #d26767;
63 background-color: #f8e1e1;
70 my $FFMPEG_NAVBAR = $ENV{"FFMPEG_NAVBAR"} || '';
73 '<div id="container">' .
74 "\n$FFMPEG_NAVBAR\n" .
77 $PRE_BODY_CLOSE = '</div></div>';
82 $print_page_foot = \&FFmpeg_print_page_foot;
83 sub FFmpeg_print_page_foot($$)
86 print $fh '<div id="footer">' . "\n";
87 T2H_DEFAULT_print_page_foot($fh);
91 $float = \&FFmpeg_float;
93 sub FFmpeg_float($$$$)
98 my $shortcaption = shift;
101 if (exists($float->{'id'}))
103 $label = &$anchor($float->{'id'});
108 if ($caption =~ /NOTE/)
112 elsif ($caption =~ /IMPORTANT/)
114 $class = "important";
117 return '<div class="float ' . $class . '">' . "$label\n" . $text . '</div>';
120 $print_page_head = \&FFmpeg_print_page_head;
121 sub FFmpeg_print_page_head($$)
124 my $longtitle = "$Texi2HTML::THISDOC{'title_no_texi'}";
125 $longtitle .= ": $Texi2HTML::NO_TEXI{'This'}" if exists $Texi2HTML::NO_TEXI{'This'};
126 my $description = $DOCUMENT_DESCRIPTION;
127 $description = $longtitle if (!defined($description));
128 $description = "<meta name=\"description\" content=\"$description\">" if
129 ($description ne '');
130 $description = $Texi2HTML::THISDOC{'documentdescription'} if (defined($Texi2HTML::THISDOC{'documentdescription'}));
132 $encoding = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$ENCODING\">" if (defined($ENCODING) and ($ENCODING ne ''));
133 $longtitle =~ s/Documentation.*//g;
134 $longtitle = "FFmpeg documentation : " . $longtitle;
139 $Texi2HTML::THISDOC{'copying'}<!-- Created on $Texi2HTML::THISDOC{today} by $Texi2HTML::THISDOC{program} -->
141 $Texi2HTML::THISDOC{program_authors}
144 <title>$longtitle</title>
147 <meta name="keywords" content="$longtitle">
148 <meta name="resource-type" content="document">
149 <meta name="distribution" content="global">
150 <meta name="Generator" content="$Texi2HTML::THISDOC{program}">
161 # declare encoding in header
162 $IN_ENCODING = $ENCODING = "utf-8";
164 # no navigation elements
165 $SECTION_NAVIGATION = 0;
166 # the same for texi2html 5.0
169 # TOC and Chapter headings link
172 # print the TOC where @contents is used
173 $INLINE_CONTENTS = 1;