From c57eabd07f180b03d2d6d5486d617dc5fb0209aa Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Wed, 6 Aug 2008 12:59:12 +0200 Subject: [PATCH] texi2html: Ignore dummy appendix nodes and top node in section map (no warning) --- lilypond-texi2html.init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index f1815cb339..5d31b054b6 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -284,7 +284,8 @@ sub split_at_numbered_sections($$$) return; } else { print STDERR "WARNING: Node '$node_name' was NOT found in the map\n" - unless ($node_name eq '') or ($element->{'tag'} eq 'unnumberedsec'); + unless ($node_name eq '') or ($element->{'tag'} eq 'unnumberedsec') + or ($node_name =~ /NOT REALLY USED/); # derive the name of the anchor (i.e. the part after # in the links!), # don't use texi2html's SECx.x default! @@ -420,7 +421,7 @@ sub lilypond_external_href($$$) # node_xhtml_id by the map's values # 4) call the t2h_default_external_href with these values (or the old ones if not found) - if (($node_id ne '') and defined($file)) { + if (($node_id ne '') and defined($file) and ($node_id ne 'Top')) { my $map_name = $file; $map_name =~ s/-big-page//; -- 2.39.5