diff options
author | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-29 13:24:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-30 03:41:47 +0100 |
commit | 5231d6277f2c3b7c13a309964a6edbfa0e9570b5 (patch) | |
tree | ea5fef100658bd298886a866b04d3d69c7de666b /doc/t2h.init | |
parent | bc0a603c7888c1faf4db580829e103b21442b6e4 (diff) | |
download | ffmpeg-5231d6277f2c3b7c13a309964a6edbfa0e9570b5.tar.gz |
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.
(cherry picked from commit a8f0814a742dee4783afaa5bedb01aa0c77b1fc4)
Diffstat (limited to 'doc/t2h.init')
-rw-r--r-- | doc/t2h.init | 24 |
1 files changed, 24 insertions, 0 deletions
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; |