From 215cd8acb9b257e17cb94f0da4d1b42a98359f33 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Tue, 11 Aug 2009 16:43:17 -0700 Subject: [PATCH] Web: fix alternate stylesheets --- Documentation/web-texi2html.init | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) 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"; -- 2.39.5