]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web build: fix color generation.
authorGraham Percival <graham@percival-music.ca>
Fri, 5 Feb 2010 18:59:18 +0000 (18:59 +0000)
committerGraham Percival <graham@percival-music.ca>
Fri, 5 Feb 2010 19:05:13 +0000 (19:05 +0000)
I have **no clue** why lc_last() screws up the colors in this one
case, but the workaround appears to work, so yay.

Documentation/lilypond-texi2html.init

index fe3540ef22cdf5040203c3674a30bcedb4d4e0ab..376e201a8cd494564589aaa6977762017dd42ca3 100644 (file)
@@ -815,7 +815,8 @@ sub lilypond_element_file_name($$$)
   if (exists ($node_to_filename_map->{$node_name})) {
     (my $filename, my $anchor) = @{$node_to_filename_map->{$node_name}};
     $filename .= ".$docu_ext" if (defined($docu_ext));
-    $filename = lc_last($filename);
+    # don't do lc_last here, otherwise the colors are messed up!
+    $filename = lc($filename);
 
     # unnumbered sections (except those at top-level!) always go to the same
     # file as the previous numbered section
@@ -831,6 +832,7 @@ sub lilypond_element_file_name($$$)
       $lastfilename = $filename;
     }
     print STDERR "Output file name: $filename\n";
+    $filename = lc_last($filename);
     return $filename;
 
   } elsif ($type eq "top" or $type eq "toc" or $type eq "doc" or