I can't reproduce this, although looking at the code I can't see how
it's working on my computer.  I haven't tried a completely rebuild,
though.

Try this patch; if it fixes the problem on your end, then please push.

Cheers,
- Graham


On Mon, Jan 4, 2010 at 8:49 AM, Patrick McCarty <[email protected]> wrote:
> Hi John,
>
> The HTML pages for the documentation on kainhofer.com have code that
> looks like this:
>
>  <li colorDefault">...</li>
>  <li colorDefault">...</li>
>  <li toc_current colorDefault">...</li>
>
> Was this caused by your refactoring of the texi2html init file?  I'm
> asking because the above is not valid HTML, and the colorDefault class
> is not used in the docs stylesheet, only in lilypond-web.css.
>
> Can you take a look at this?
>
> Thanks,
> Patrick
>
>
> _______________________________________________
> lilypond-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
>
From 732c16a0cae48250adb8c3b3d7c7f46de5ba9bb2 Mon Sep 17 00:00:00 2001
From: Graham Percival <[email protected]>
Date: Mon, 4 Jan 2010 09:11:07 +0000
Subject: [PATCH] Web build: fix color classes.

---
 Documentation/lilypond-texi2html.init |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/lilypond-texi2html.init b/Documentation/lilypond-texi2html.init
index e3b09ab..55186a9 100644
--- a/Documentation/lilypond-texi2html.init
+++ b/Documentation/lilypond-texi2html.init
@@ -957,10 +957,11 @@ sub generate_ly_toc_entries($$$$)
       'manuals' => [1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4],
       'community' => [1, 1, 1, 2, 2, 2, 3, 3],
   );
-  my $addColor = " colorDefault";
+  my $addColor = "class = \"";
+  $addColor = $addColor . "\" colorDefault";
   while (($top_section, $color_indices) = each %color_maps) {
       if (index ($element->{'sectionup'}->{'file'}, $top_section) >= 0) {
-	  $addColor = " color" . $color_indices->[$child_count];
+	  $addColor = $addColor . " color" . $color_indices->[$child_count];
       }
   }
   $this_css_class .= $addColor . "\"";
-- 
1.6.0.4

_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to