texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Convert/Converter.pm (node_informati


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/Converter.pm (node_information_filename), tp/Texinfo/Convert/HTML.pm: rename _node_filename() as node_information_filename().
Date: Tue, 07 Sep 2021 19:03:03 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 7c26c9e  * tp/Texinfo/Convert/Converter.pm 
(node_information_filename), tp/Texinfo/Convert/HTML.pm: rename 
_node_filename() as node_information_filename().
7c26c9e is described below

commit 7c26c9e3257afc4e627b5275b06e9ef990c8461d
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Sep 8 01:02:50 2021 +0200

    * tp/Texinfo/Convert/Converter.pm (node_information_filename),
    tp/Texinfo/Convert/HTML.pm: rename _node_filename() as
    node_information_filename().
---
 ChangeLog                       |  6 ++++++
 tp/Texinfo/Convert/Converter.pm | 10 ++++++++--
 tp/Texinfo/Convert/HTML.pm      |  2 +-
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5a80612..f574ff7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2021-09-08  Patrice Dumas  <pertusus@free.fr>
 
+       * tp/Texinfo/Convert/Converter.pm (node_information_filename),
+       tp/Texinfo/Convert/HTML.pm: rename _node_filename() as
+       node_information_filename().
+
+2021-09-08  Patrice Dumas  <pertusus@free.fr>
+
        * tp/Texinfo/Convert/Converter.pm (converter),
        tp/Texinfo/Convert/Text.pm (converter),
        tp/Texinfo/Convert/DocBook.pm, tp/Texinfo/Convert/HTML.pm,
diff --git a/tp/Texinfo/Convert/Converter.pm b/tp/Texinfo/Convert/Converter.pm
index 1ae7189..a1e589d 100644
--- a/tp/Texinfo/Convert/Converter.pm
+++ b/tp/Texinfo/Convert/Converter.pm
@@ -519,7 +519,7 @@ sub normalized_sectioning_command_filename($$)
   return ($normalized_name, $filename);
 }
 
-sub _node_filename($$)
+sub node_information_filename($$)
 {
   my $self = shift;
   my $node_info = shift;
@@ -677,7 +677,8 @@ sub _set_pages_files($$$$$$)
                 or 
!defined($self->{'labels'}->{$root_command->{'extra'}->{'normalized'}})) {
               $node_filename = 'unknown_node';
             } else {
-              $node_filename = $self->_node_filename($root_command->{'extra'});
+              $node_filename
+               = $self->node_information_filename($root_command->{'extra'});
             }
             $node_filename .= $extension;
             $self->_set_element_file($file_element, $node_filename,
@@ -1864,6 +1865,11 @@ format, like the splitting for example.
 
 Returns the value of the Texinfo configuration option I<$option_string>.
 
+=item $filename = sub $converter->node_information_filename($node_info)
+
+Returns the normalized file name correponding to the I<$node_info>
+node element tree C<extra> field.
+
 =item ($normalized_name, $filename) = 
$converter->normalized_sectioning_command_filename($element)
 
 Returns a normalized name I<$normalized_name> corresponding to a sectioning
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 69b61ad..2f86756 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -5499,7 +5499,7 @@ sub _node_id_file($$)
     $target = &$Texinfo::Config::node_target_name($node_info, $target);
   }
 
-  my $filename = $self->_node_filename($node_info);
+  my $filename = $self->node_information_filename($node_info);
 
   return ($filename, $target);
 }



reply via email to

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