1 # no horiz rules between sections
2 $end_section = \&Libav_end_section;
3 sub Libav_end_section($$)
8 '<link rel="icon" href="favicon.png" type="image/png" />
11 $CSS_LINES = $ENV{"LIBAV_CSS"} || <<EOT;
12 <style type="text/css">
23 background-color: #ffffff;
27 text-decoration: none;
31 text-decoration: underline;
43 border-color: #D6E9C6;
46 border-width: 0 0 1px;
71 font-family: monospace;
82 word-break: break-all;
83 word-wrap: break-word;
85 white-space: pre-wrap;
86 background-color: #f5f5f5;
87 border: 1px solid #ccc;
94 background-color: #f7f7f9;
95 border: 1px solid #e1e1e8;
100 background-color: transparent;
104 padding: 8px 35px 8px 14px;
106 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
107 background-color: #fcf8e3;
108 border: 1px solid #fbeed5;
115 background-color: #f2dede;
116 border-color: #eed3d7;
120 background-color: #d9edf7;
121 border-color: #bce8f1;
126 list-style-type: none;
132 my $TEMPLATE_HEADER = $ENV{"LIBAV_HEADER"} || <<EOT;
133 <link rel="icon" href="favicon.png" type="image/png" />
136 <div class="container">
139 $PRE_BODY_CLOSE = '</div></div>';
144 $print_page_foot = \&Libav_print_page_foot;
145 sub Libav_print_page_foot($$)
148 my $program_string = defined &T2H_DEFAULT_program_string ?
149 T2H_DEFAULT_program_string() : program_string();
150 print $fh '<footer class="footer pagination-right">' . "\n";
151 print $fh '<span class="label label-info">' . $program_string;
152 print $fh "</span></footer></div>\n";
155 $float = \&Libav_float;
157 sub Libav_float($$$$)
162 my $shortcaption = shift;
165 if (exists($float->{'id'}))
167 $label = &$anchor($float->{'id'});
172 if ($caption =~ /NOTE/)
174 $class = "alert alert-info";
176 elsif ($caption =~ /IMPORTANT/)
178 $class = "alert alert-warning";
181 return '<div class="float ' . $class . '">' . "$label\n" . $text . '</div>';
184 $print_page_head = \&Libav_print_page_head;
185 sub Libav_print_page_head($$)
188 my $longtitle = "$Texi2HTML::THISDOC{'fulltitle_no_texi'}";
189 $longtitle .= ": $Texi2HTML::NO_TEXI{'This'}" if exists $Texi2HTML::NO_TEXI{'This'};
190 my $description = $DOCUMENT_DESCRIPTION;
191 $description = $longtitle if (!defined($description));
192 $description = "<meta name=\"description\" content=\"$description\">" if
193 ($description ne '');
194 $description = $Texi2HTML::THISDOC{'documentdescription'} if (defined($Texi2HTML::THISDOC{'documentdescription'}));
196 $encoding = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$ENCODING\">" if (defined($ENCODING) and ($ENCODING ne ''));
197 $longtitle =~ s/Documentation.*//g;
198 $longtitle = "Libav documentation : " . $longtitle;
203 $Texi2HTML::THISDOC{'copying'}<!-- Created on $Texi2HTML::THISDOC{today} by $Texi2HTML::THISDOC{program} -->
205 $Texi2HTML::THISDOC{program_authors}
208 <title>$longtitle</title>
211 <meta name="keywords" content="$longtitle">
212 <meta name="resource-type" content="document">
213 <meta name="distribution" content="global">
214 <meta name="Generator" content="$Texi2HTML::THISDOC{program}">
221 # no navigation elements
222 $SECTION_NAVIGATION = 0;
223 # the same for texi2html 5.0
226 # TOC and Chapter headings link
229 # print the TOC where @contents is used
230 $INLINE_CONTENTS = 1;