doc/libavfilter.html: doc/filters.texi
doc/%.html: TAG = HTML
-doc/%.html: doc/%.texi
- $(M)cd doc && texi2html -monolithic -number $(<:doc/%=%)
+doc/%.html: doc/%.texi $(SRC_PATH_BARE)/doc/t2h.init
+ $(M)cd doc && texi2html -monolithic --init-file $(SRC_PATH_BARE)/doc/t2h.init $(<:doc/%=%)
doc/%.pod: TAG = POD
doc/%.pod: doc/%.texi
@settitle Developer Documentation
@titlepage
-@sp 7
@center @titlefont{Developer Documentation}
-@sp 3
@end titlepage
+@top
+
+@contents
@chapter Developers Guide
@settitle FFmpeg FAQ
@titlepage
-@sp 7
@center @titlefont{FFmpeg FAQ}
-@sp 3
@end titlepage
+@top
+
+@contents
@chapter General Questions
@settitle FFmpeg Documentation
@titlepage
-@sp 7
@center @titlefont{FFmpeg Documentation}
-@sp 3
@end titlepage
+@top
+
+@contents
+
@chapter Synopsis
The generic syntax is:
@settitle FFplay Documentation
@titlepage
-@sp 7
@center @titlefont{FFplay Documentation}
-@sp 3
@end titlepage
+@top
+
+@contents
+
@chapter Synopsis
@example
@settitle FFprobe Documentation
@titlepage
-@sp 7
@center @titlefont{FFprobe Documentation}
-@sp 3
@end titlepage
+@top
+
+@contents
+
@chapter Synopsis
The generic syntax is:
@settitle FFserver Documentation
@titlepage
-@sp 7
@center @titlefont{FFserver Documentation}
-@sp 3
@end titlepage
+@top
+
+@contents
+
@chapter Synopsys
The generic syntax is:
@settitle General Documentation
@titlepage
-@sp 7
@center @titlefont{General Documentation}
-@sp 3
@end titlepage
+@top
+
+@contents
@chapter external libraries
@settitle Libavfilter Documentation
@titlepage
-@sp 7
@center @titlefont{Libavfilter Documentation}
-@sp 3
@end titlepage
+@top
+
+@contents
@chapter Introduction
--- /dev/null
+# no horiz rules between sections
+$end_section = \&FFMPEG_end_section;
+sub FFMPEG_end_section($$)
+{
+}
+
+$print_page_foot = \&FFMPEG_print_page_foot;
+sub FFMPEG_print_page_foot($$)
+{
+ my $fh = shift;
+ print $fh "$SMALL_RULE\n";
+ T2H_DEFAULT_print_page_foot($fh);
+}
+
+# no navigation elements
+$SECTION_NAVIGATION = 0;
+# the same for texi2html 5.0
+$HEADERS = 0;
+
+# TOC and Chapter headings link
+$TOC_LINKS = 1;
+
+# print the TOC where @contents is used
+$INLINE_CONTENTS = 1;