diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-10-29 11:20:43 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-10-29 11:20:43 +0200 |
commit | e3405029a2ae73a7d7e9c93624f8206dbd2f2d1c (patch) | |
tree | d9e9cb5007d26e3a0f55ee51553f475d530e4e40 | |
parent | 7e662d44f8c64be0533d2a4548b7ecdda45a2019 (diff) | |
download | pies-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.
-rw-r--r-- | doc/Config | 8 | ||||
-rw-r--r-- | src/depmap.c | 7 |
2 files changed, 6 insertions, 9 deletions
@@ -1,4 +1,4 @@ | |||
1 | # Texi2html configuration for GNU Pies documentation. -*- perl-mode -*- | 1 | # Texi2html configuration for GNU Pies documentation. -*- perl -*- |
2 | # Copyright (C) 2009 Sergey Poznyakoff | 2 | # Copyright (C) 2009 Sergey Poznyakoff |
3 | # | 3 | # |
4 | # GNU Pies is free software; you can redistribute it and/or modify | 4 | # GNU Pies is free software; you can redistribute it and/or modify |
@@ -348,7 +348,11 @@ sub gray_print_section | |||
348 | my $previous_is_top = shift; | 348 | my $previous_is_top = shift; |
349 | my $buttons = \@SECTION_BUTTONS; | 349 | my $buttons = \@SECTION_BUTTONS; |
350 | 350 | ||
351 | &$print_head_navigation($fh, $buttons) if ($first_in_page); | 351 | if ($first_in_page) { |
352 | &$print_head_navigation($fh, $buttons) | ||
353 | } else { | ||
354 | main::print_lines($fh, $Texi2HTML::THIS_HEADER); | ||
355 | } | ||
352 | my $nw = main::print_lines($fh); | 356 | my $nw = main::print_lines($fh); |
353 | if (defined $SPLIT | 357 | if (defined $SPLIT |
354 | and ($SPLIT eq 'node')) { | 358 | and ($SPLIT eq 'node')) { |
diff --git a/src/depmap.c b/src/depmap.c index 2032cf4..1775e06 100644 --- a/src/depmap.c +++ b/src/depmap.c | |||
@@ -161,10 +161,3 @@ depmap_first (pies_depmap_t dmap, enum pies_depmap_direction dir, | |||
161 | pos->coord[pos->dir] = -1; | 161 | pos->coord[pos->dir] = -1; |
162 | return depmap_next (dmap, pos); | 162 | return depmap_next (dmap, pos); |
163 | } | 163 | } |
164 | |||
165 | /* | ||
166 | Local Variables: | ||
167 | c-file-style: "gnu" | ||
168 | End: | ||
169 | */ | ||
170 | /* EOF */ | ||