aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-10-29 11:20:43 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-10-29 11:20:43 +0200
commite3405029a2ae73a7d7e9c93624f8206dbd2f2d1c (patch)
treed9e9cb5007d26e3a0f55ee51553f475d530e4e40 /doc
parent7e662d44f8c64be0533d2a4548b7ecdda45a2019 (diff)
downloadpies-e3405029a2ae73a7d7e9c93624f8206dbd2f2d1c.tar.gz
pies-e3405029a2ae73a7d7e9c93624f8206dbd2f2d1c.tar.bz2
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/Config8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/Config b/doc/Config
index fefdffe..9e04b5a 100644
--- a/doc/Config
+++ b/doc/Config
@@ -1,7 +1,7 @@
-# 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
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
@@ -345,13 +345,17 @@ sub gray_print_section
{
my $fh = shift;
my $first_in_page = shift;
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')) {
&$print_foot_navigation($fh);
print $fh "$SMALL_RULE\n";
&$print_navigation($fh, \@NODE_FOOTER_BUTTONS) if (!defined($WORDS_IN_PAGE) or (defined ($nw)

Return to:

Send suggestions and report system problems to the System administrator.