From: Reinhold Kainhofer Date: Tue, 22 Jul 2008 19:19:19 +0000 (+0200) Subject: texi2html: Put every top-level section/unnumbered into its own file X-Git-Tag: release/2.11.58-1~32^2~100 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=00b4540a7546f04ec1ec7a81630c954e759109ce;p=lilypond.git texi2html: Put every top-level section/unnumbered into its own file Now, the LSR page also used one page per tag and looks fine. --- diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index e743d6f551..2388c5cdb9 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -269,7 +269,7 @@ sub split_at_numbered_sections($$$) $$element{id} = $anchor; # Numbered sections will get a filename Node_title, unnumbered sections will use # the file name of the previous numbered section: - if (($element->{number}) or ($lastfilename eq '')) { + if (($element->{number}) or ($lastfilename eq '') or ($element->{level} == 1)) { my $filename = $anchor; $filename .= ".$docu_ext" if (defined($docu_ext)); $docnr += 1;