From e3405029a2ae73a7d7e9c93624f8206dbd2f2d1c Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 29 Oct 2009 11:20:43 +0200 Subject: Fix doc/Commit * doc/Commit (gray_print_section): Output anchors before chapter/section/etc. titles, so that the heading menu in monolithic document works properly. --- doc/Config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/Config b/doc/Config index fefdffe..9e04b5a 100644 --- a/doc/Config +++ b/doc/Config @@ -1,4 +1,4 @@ -# Texi2html configuration for GNU Pies documentation. -*- perl-mode -*- +# Texi2html configuration for GNU Pies documentation. -*- perl -*- # Copyright (C) 2009 Sergey Poznyakoff # # GNU Pies is free software; you can redistribute it and/or modify @@ -348,7 +348,11 @@ sub gray_print_section my $previous_is_top = shift; my $buttons = \@SECTION_BUTTONS; - &$print_head_navigation($fh, $buttons) if ($first_in_page); + if ($first_in_page) { + &$print_head_navigation($fh, $buttons) + } else { + main::print_lines($fh, $Texi2HTML::THIS_HEADER); + } my $nw = main::print_lines($fh); if (defined $SPLIT and ($SPLIT eq 'node')) { -- cgit v1.2.1