Clean up the tables of child links generated by stock LaTeX2HTML so we get

consistent (lack of) vertical space between sections, and remove some of the
unnecessary cruft that was added in (finally we get to *remove* something
that got generated!).
This commit is contained in:
Fred Drake 2001-10-26 14:16:23 +00:00
parent f0a2ac9d5b
commit fb6499fd9c
1 changed files with 8 additions and 0 deletions

View File

@ -182,6 +182,14 @@ sub make_nav_panel {
return $s;
}
sub add_child_links {
my $toc = add_real_child_links(@_);
$toc =~ s|\s*</[aA]>|</a>|g;
$toc =~ s/ NAME=\"tex2html\d+\"\s*href=/ href=/gi;
$toc =~ s|</UL>(\s*<BR>)?|</ul>|gi;
return $toc;
}
sub get_version_text {
if ($PACKAGE_VERSION ne '' && $t_date) {
return ("<span class=\"release-info\">"