From a8f0814a742dee4783afaa5bedb01aa0c77b1fc4 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Sat, 29 Jan 2011 13:24:13 +0100 Subject: doc: modify style for texi2html 1.78+ The generated HTML files are similar to the ones generated with texi2html 1.56k used on the website. Tested with texi2html 1.78 and 5.0. 1.78 is the minimal recommended version. The removed @sp from the titlepage section were ignored until texi2html 5.0. If not removed the pages generated by 5.0 will have ugly empty space around the title. --- doc/t2h.init | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/t2h.init (limited to 'doc/t2h.init') diff --git a/doc/t2h.init b/doc/t2h.init new file mode 100644 index 0000000000..cd38a3ec9e --- /dev/null +++ b/doc/t2h.init @@ -0,0 +1,24 @@ +# 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; -- cgit v1.2.3