Skip to content
Snippets Groups Projects
Commit 40318b6e authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Show only section-nav buttons inside the page

parent dcbc367c
No related branches found
No related tags found
No related merge requests found
......@@ -196,11 +196,18 @@ sub lilypond_print_element_header
@this_page_toc = lilypond_generate_page_toc_body($Texi2HTML::THIS_ELEMENT);
}
}
return T2H_DEFAULT_print_element_header( $fh, $first_in_page, $previous_is_top);
}
# return T2H_DEFAULT_print_element_header( $fh, $first_in_page, $previous_is_top);
if (($first_in_page or $previous_is_top) and $SECTION_NAVIGATION)
{
&$print_head_navigation($fh, \@SECTION_BUTTONS);
}
else
{ # got to do this here, as it isn't done in print_head_navigation
main::print_lines($fh, $Texi2HTML::THIS_HEADER);
&$print_navigation($fh, \@INSIDE_SECTION_BUTTONS) if ($SECTION_NAVIGATION);
}
}
......@@ -433,6 +440,13 @@ sub lilypond_print_navigation
'right-aligned-cell-2', 'Forward'
);
@Texi2HTML::Config::INSIDE_SECTION_BUTTONS =
('left-aligned-cell-2', 'Back',
'center-aligned-cell-1', 'Up',
'right-aligned-cell-2', 'Forward'
);
# $Texi2HTML::Config::SPLIT = 'section';
# @Texi2HTML::Config::CSS_REFS = ("lilypond.css");
$Texi2HTML::Config::USE_ACCESSKEY = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment