diff options
author | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-29 13:24:13 +0100 |
---|---|---|
committer | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-29 16:57:29 +0100 |
commit | a8f0814a742dee4783afaa5bedb01aa0c77b1fc4 (patch) | |
tree | 386e9b15239b7b29eb6976da2ed09e7abc081afc /doc/t2h.init | |
parent | 3af1fe829ee6db5eafe261947e74b8516ffe5188 (diff) | |
download | ffmpeg-a8f0814a742dee4783afaa5bedb01aa0c77b1fc4.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.
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; |