From 500b022270bc2ec5192ad5587f4db63780d48869 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Wed, 26 Mar 2008 00:12:21 +0100 Subject: [PATCH] texi2html: Remove debug output --- lilypond-texi2html.init | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index bc7c782044..2dc663efaa 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -473,24 +473,15 @@ sub lilypond_unknown($$$$$) my $pass = shift; my $stack = shift; my $state = shift; - + + # the @translationof macro provides the original English section title, + # which should be used for file/anchor naming, while the title will be + # translated to each language if ($pass == 1 and $macro eq "translationof") { if (ref($state->{'element'})=='HASH') { $state->{'element'}->{'translationof'} = main::normalise_space($line); } - print "UNKNOWN: macro:$macro, line:$line, pass:$pass, stack:$stack, state:$state\n"; - print Dumper($stack); - print Dumper($state); return ('', true, undef, undef); - } - if ($pass == 2 and $macro eq "translationof") { -# if (ref($state->{'element'})=='HASH') { -# # $state->{'element'}->{'translationonf'} = $line; -# } - print "UNKNOWN: macro:$macro, line:$line, pass:$pass, stack:$stack, state:$state\n"; - print Dumper($stack); - print Dumper($state); - return ($line, 0, undef, undef); } else { return t2h_default_unknown($macro, $line, $pass, $stack, $state); } -- 2.39.5