X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lilypond-texi2html.init;h=7f4c32a1750f29eb6b083c8c9bdc256f481eeee2;hb=e70a653c98735b5ed3ef17e5bf52d2d796d4f462;hp=caab10ec7efefa75c2b4bb561e49b447ee188e50;hpb=f73a6e433d582d57dd87487f6ad56a47f47bd083;p=lilypond.git diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index caab10ec7e..7f4c32a175 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -74,10 +74,11 @@ package Texi2HTML::Config; ############################################################################# @Texi2HTML::Config::CSS_REFS = ( - {FILENAME => "lilypond.css", TITLE => "Default Style" } + {FILENAME => "lilypond-mccarty.css", TITLE => "Patrick McCarty's design"} ); @Texi2HTML::Config::ALT_CSS_REFS = ( - {FILENAME => "lilypond-mccarty.css", TITLE => "Patrick McCarty's design"} + {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; @@ -108,6 +109,7 @@ $Texi2HTML::Config::paragraph = \&makeinfo_like_paragraph; $Texi2HTML::Config::complex_format_map->{'example'} = { 'begin' => q{"
"},
   'end' => q{"
\n"}, + 'style' => 'code', }; %Texi2HTML::config::misc_pages_targets = ( @@ -619,9 +621,29 @@ sub lilypond_print_toc_div ($$) if (@lines) { print $fh "\n\n
\n"; + + # Remove the leading "GNU LilyPond --- " from the manual title + my $topname = $Texi2HTML::NAME{'Top'}; + $topname =~ s/^GNU LilyPond(:| &[mn]dash;) //; + + # construct the top-level Docs index (relative path and including language!) + my $lang = $Texi2HTML::THISDOC{current_lang}; + if ($lang and $lang ne "en") { + $lang .= "."; + } else { + $lang = ""; + } + my $reldir = ""; + $reldir = "../" if ($Texi2HTML::Config::SPLIT eq 'section'); + my $uplink = $reldir."index.${lang}html"; + + print $fh "

<< Back to + Documentation Index

\n"; + print $fh '

' . &$anchor('', $Texi2HTML::HREF{'Top'}, - $Texi2HTML::NAME{'Top'}, + $topname, 'title="Start of the manual"' ) . "

\n"; foreach my $line (@lines) {