From: Reinhold Kainhofer Date: Sun, 24 Aug 2008 15:30:18 +0000 (+0200) Subject: texi2html: Fix footnotes with index entries (bad hack, due to texi2html feature) X-Git-Tag: release/2.11.58-1~32^2~14 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d39e89a915594205ace2dca950604ecb11aea0ee;p=lilypond.git texi2html: Fix footnotes with index entries (bad hack, due to texi2html feature) --- diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index 08af1b05b0..1d28c76cc5 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -886,7 +886,7 @@ sub lilypond_foot_line_and_ref($$$$$$$) # from

...

. This means that we have to modify this string and # insert the FN number manually. The default (nr) on a separate line before # the FN text is just plain ugly: - $lines->[0] =~ s/^

/

$tmptxt /; + $lines->[0] =~ s/

/

$tmptxt /; # this is a bit obscure, this allows to add an anchor only if formatted # as part of the document. $place_id = '' if ($state->{'outside_document'} or $state->{'multiple_pass'});