From: Patrick McCarty Date: Tue, 11 Aug 2009 23:43:17 +0000 (-0700) Subject: Web: fix alternate stylesheets X-Git-Tag: release/2.13.4-1~179^2~104 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=215cd8acb9b257e17cb94f0da4d1b42a98359f33;p=lilypond.git Web: fix alternate stylesheets --- diff --git a/Documentation/web-texi2html.init b/Documentation/web-texi2html.init index 67bbfbf566..9ea38e8c1d 100644 --- a/Documentation/web-texi2html.init +++ b/Documentation/web-texi2html.init @@ -106,15 +106,12 @@ $Texi2HTML::Config::DOCTYPE = ' "lilypond-web.css", TITLE => "Default style"}, +); + +@Texi2HTML::Config::ALT_CSS_REFS = ( {FILENAME => "lilypond-web-alt1.css", TITLE => "Alternate style 1"}, {FILENAME => "lilypond-web-alt2.css", TITLE => "Alternate style 2"}, - ); - -# GOP tweak: We don't have alternate stylesheets right now -#@Texi2HTML::Config::ALT_CSS_REFS = ( -# {FILENAME => "lilypond.css", TITLE => "Andrew Hawryluk's design" }, -# {FILENAME => "lilypond-blue.css", TITLE => "Kurt Kroon's blue design" }, -#); +); $Texi2HTML::Config::USE_ACCESSKEY = 1; $Texi2HTML::Config::USE_LINKS = 1; @@ -302,11 +299,10 @@ sub lilypond_css_lines ($$) $Texi2HTML::THISDOC{'CSS_LINES'} .= "{TITLE}\" href=\"$ref->{FILENAME}\">\n"; } - # GOP tweak: We don't have alternate stylesheets - #foreach my $ref (@Texi2HTML::Config::ALT_CSS_REFS) - #{ - # $Texi2HTML::THISDOC{'CSS_LINES'} .= "{FILENAME}\" title=\"$ref->{TITLE}\">\n"; - #} + foreach my $ref (@Texi2HTML::Config::ALT_CSS_REFS) + { + $Texi2HTML::THISDOC{'CSS_LINES'} .= "{FILENAME}\" title=\"$ref->{TITLE}\">\n"; + } # GOP tweak: We aren't using an IE-specific stylesheet #$Texi2HTML::THISDOC{'CSS_LINES'} .= "\n";