texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrice Dumas
Date: Tue, 8 Nov 2022 03:29:26 -0500 (EST)

branch: master
commit 15a9c2b07de201cacc1a061f51ef606800f6001a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Nov 2 08:01:43 2022 +0100

    * doc/texi2any_api.texi (Simple Navigation Panel Customization):
    add CHAPTER_FOOTER_BUTTONS, update explanations.
---
 ChangeLog                  |  5 +++++
 doc/texi2any_api.texi      | 16 ++++++++--------
 tp/Texinfo/Common.pm       |  3 +--
 tp/Texinfo/Convert/HTML.pm |  2 +-
 4 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e23eed1f45..6e8a0786e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-11-02  Patrice Dumas  <pertusus@free.fr>
+
+       * doc/texi2any_api.texi (Simple Navigation Panel Customization):
+       add CHAPTER_FOOTER_BUTTONS, update explanations.
+
 2022-11-01  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/LaTeX.pm (%LaTeX_encoding_names_map)
diff --git a/doc/texi2any_api.texi b/doc/texi2any_api.texi
index 6da5fe2e72..fc0bd539be 100644
--- a/doc/texi2any_api.texi
+++ b/doc/texi2any_api.texi
@@ -1090,20 +1090,20 @@ buttons present in the various navigation panels:
 
 @vtable @code
 @item SECTION_BUTTONS
-Specifies the navigation panel buttons present at the beginning of
-sectioning elements.  If the output is split at nodes or sections,
-they are also used at the page footer, and in the case of section
-navigation being enabled, at the page header.
+Specifies the navigation panel buttons present at the beginning of sectioning
+elements in the case of section navigation being enabled or if split at nodes.
+Specifies the navigation panel buttons present at the page header if split at
+section and there is no section navigation.
 
 @item SECTION_FOOTER_BUTTONS
+@itemx CHAPTER_FOOTER_BUTTONS
 @itemx NODE_FOOTER_BUTTONS
 These arrays specify the navigation panel buttons present in the page
-footer when the output is split at sections or nodes, respectively.
+footer when the output is split at sections, chapters or nodes, respectively.
 
 @item CHAPTER_BUTTONS
-Specifies the buttons appearing at the page footer if split at
-chapters, and at the page header if split at chapters and there is no
-section navigation.
+Specifies the buttons appearing at the page header if split at chapters and
+there is no section navigation.
 
 @item MISC_BUTTONS
 Specifies the buttons appearing at the beginning of special elements
diff --git a/tp/Texinfo/Common.pm b/tp/Texinfo/Common.pm
index a7489155ea..59c2e6d0e3 100644
--- a/tp/Texinfo/Common.pm
+++ b/tp/Texinfo/Common.pm
@@ -431,8 +431,7 @@ our @variable_string_settables = (
 'XREF_USE_NODE_NAME_ARG',
 );
 
-# Not strings.  Not documented in the manual nor elsewhere.
-# FIXME To be documented somewhere, but where?
+# Not strings.  Documented in the texi2any_api manual
 my @variable_other_settables = (
   'LINKS_BUTTONS', 'TOP_BUTTONS', 'SECTION_BUTTONS',
   'CHAPTER_FOOTER_BUTTONS', 'SECTION_FOOTER_BUTTONS',
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index a7ed0998f0..3e94febe60 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -1863,7 +1863,7 @@ foreach my $buttons ('CHAPTER_BUTTONS', 'MISC_BUTTONS', 
'TOP_BUTTONS') {
   $defaults{$buttons} = [@{$defaults{'SECTION_BUTTONS'}}];
 }
 
-foreach my $buttons ('SECTION_FOOTER_BUTTONS', 'CHAPTER_FOOTER_BUTTONS') {
+foreach my $buttons ('CHAPTER_FOOTER_BUTTONS') {
   $defaults{$buttons} = [@{$defaults{'SECTION_FOOTER_BUTTONS'}}];
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]