]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs: Make TOC headline in TOC frame a link to the top node and use manual title
authorReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 30 Sep 2008 16:56:27 +0000 (18:56 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 30 Sep 2008 20:30:28 +0000 (22:30 +0200)
-) Make TOC headline in TOC frame a link to the top node
-) Use the manual title as the TOC headline in the TOC bar on the left

lilypond-texi2html.init

index f05ee37a481289c984a0f3cf3b58d52e11c63231..5573c92bac54ec8c67fa1e0d26d803a75be798e7 100644 (file)
@@ -612,8 +612,13 @@ sub lilypond_print_toc_div ($$)
   # use default TOC if no custom lines have been generated
   @lines = @default_toc if (not @lines);
   if (@lines) {
+  
     print $fh "\n\n<div id=\"tocframe\">\n";
-    print $fh '<h4> ' . $Texi2HTML::NAME{'Contents'}  . "</h4>\n";
+    print $fh '<h4 class="toc_header"> ' . &$anchor('',
+                                    $Texi2HTML::HREF{'Top'},
+                                    $Texi2HTML::NAME{'Top'},
+                                    'title="Start of the manual"'
+                                   ) . "</h4>\n";
     foreach my $line (@lines) {
       print $fh $line;
     }