texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Structuring.pm (sectioning_structure


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Structuring.pm (sectioning_structure): do not use no_root_command_tree() to check if there is no section structure, use the tree directly to define $sec_root.
Date: Thu, 30 Dec 2021 16:12:25 -0500

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 fb18463619 * tp/Texinfo/Structuring.pm (sectioning_structure): do not 
use no_root_command_tree() to check if there is no section structure, use the 
tree directly to define $sec_root.
fb18463619 is described below

commit fb18463619481ddfa9f983c63de2fb49932c8820
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Dec 30 22:12:13 2021 +0100

    * tp/Texinfo/Structuring.pm (sectioning_structure): do not
    use no_root_command_tree() to check if there is no section
    structure, use the tree directly to define $sec_root.
    
    * tp/Texinfo/Convert/LaTeX.pm (output): no need to modify the
    tree structure anymore.
---
 ChangeLog                                          |   9 ++++++
 tp/Texinfo/Convert/LaTeX.pm                        |  31 ++++++++-------------
 tp/Texinfo/Structuring.pm                          |  10 ++-----
 .../results/converters_tests/at_commands_in_raw.pl |   2 --
 tp/t/results/converters_tests/complex_nestings.pl  |   2 --
 .../results/converters_tests/footnote_no_number.pl |   2 --
 .../footnote_no_number_separate.pl                 |   2 --
 tp/t/results/converters_tests/image_formatting.pl  |   2 --
 .../index_entry_in_preformatted.pl                 |   2 --
 .../printindex_merged_indices_code_style.pl        |   2 --
 .../converters_tests/spaces_in_empty_node_names.pl |   2 --
 .../converters_tests/spaces_in_node_names.pl       |   2 --
 tp/t/results/converters_tests/top_in_ref.pl        |   2 --
 .../converters_tests/top_in_ref_keep_top.pl        |   2 --
 .../coverage_braces/inforef_too_much_args.pl       |   2 --
 tp/t/results/coverage_braces/test_image.pl         |   2 --
 tp/t/results/coverage_braces/verb_in_xref.pl       |   2 --
 .../def/all_commands_delimiters_printindex.pl      |   2 --
 tp/t/results/def/all_commands_printindex.pl        |   2 --
 tp/t/results/def/ref_in_def.pl                     |   2 --
 tp/t/results/def/space_in_def_for_index.pl         |   2 --
 tp/t/results/float/anchor_in_caption.pl            |   2 --
 tp/t/results/float/cindex_in_caption.pl            |   2 --
 .../results/float/comment_space_comand_in_float.pl |   2 --
 tp/t/results/float/footnote_in_caption.pl          |   2 --
 .../results/float/footnote_in_caption_and_error.pl |   2 --
 tp/t/results/formatting/cond.pl                    |   2 --
 .../results/formatting/cond_ifhtml_ifinfo_iftex.pl |   2 --
 tp/t/results/formatting/cond_info.pl               |   2 --
 .../formatting/cond_info_ifhtml_ifinfo_iftex.pl    |   2 --
 .../cond_info_no-ifhtml_no-ifinfo_no-iftex.pl      |   2 --
 .../cond_no-ifhtml_no-ifinfo_no-iftex.pl           |   2 --
 tp/t/results/formatting/cond_xml.pl                |   2 --
 .../formatting/simplest_test_date_in_header.pl     |   2 --
 tp/t/results/formatting/simplest_test_prefix.pl    |   2 --
 .../formatting/simplest_test_prefix_info.pl        |   2 --
 .../formatting/split_for_format_not_split.pl       |   2 --
 tp/t/results/formatting/texi_cond.pl               |   2 --
 tp/t/results/heading/heading_in_copying.pl         |   2 --
 tp/t/results/html_tests/ref_in_preformatted.pl     |   2 --
 tp/t/results/include/cpp_lines.pl                  |   2 --
 tp/t/results/include/value_expansion_in_include.pl |   2 --
 tp/t/results/indices/complex_recursive_synindex.pl |   2 --
 ...default_cp_index_and_one_letter_syncodeindex.pl |   2 --
 tp/t/results/indices/double_index_entry.pl         |   2 --
 tp/t/results/indices/double_syncodeindex.pl        |   2 --
 tp/t/results/indices/empty_cindex_entry.pl         |   2 --
 tp/t/results/indices/empty_index_entry.pl          |   2 --
 tp/t/results/indices/empty_string_index_entry.pl   |   2 --
 tp/t/results/indices/ftable_vtable.pl              |   2 --
 tp/t/results/indices/image_lines_count.pl          |   2 --
 tp/t/results/indices/image_text_lines_count.pl     |   2 --
 tp/t/results/indices/index_entries_locations.pl    |   2 --
 .../indices/index_entry_before_first_node.pl       | Bin 9558 -> 9499 bytes
 tp/t/results/indices/index_entry_before_node.pl    |   2 --
 tp/t/results/indices/index_entry_in_footnote.pl    |   2 --
 .../index_entry_in_footnote_different_node_end.pl  |   2 --
 .../indices/index_entry_in_footnote_separate.pl    |   2 --
 tp/t/results/indices/print_merged_index.pl         |   2 --
 .../indices/printindex_with_space_before.pl        | Bin 9126 -> 9068 bytes
 tp/t/results/indices/seealso_duplicate.pl          |   2 --
 tp/t/results/indices/syncodeindex_to_plain.pl      |   2 --
 tp/t/results/info_tests/anchor_in_command.pl       |   2 --
 tp/t/results/info_tests/colon_in_index_entry.pl    |   2 --
 tp/t/results/info_tests/encoding_us_ascii.pl       |   2 --
 tp/t/results/info_tests/error_in_footnote.pl       |   2 --
 tp/t/results/info_tests/file_only_png.pl           | Bin 6925 -> 6882 bytes
 tp/t/results/info_tests/float_long_captions.pl     |   2 --
 tp/t/results/info_tests/image_and_punctuation.pl   |   2 --
 .../info_tests/image_and_spaces_formatting.pl      |   2 --
 tp/t/results/info_tests/image_extension.pl         |   2 --
 tp/t/results/info_tests/image_in_paragraph.pl      | Bin 6637 -> 6589 bytes
 tp/t/results/info_tests/image_not_found.pl         |   2 --
 tp/t/results/info_tests/image_quotes.pl            | Bin 5405 -> 5363 bytes
 .../info_tests/invalid_node_name_no_warning.pl     |   2 --
 .../info_tests/invalid_node_name_warning.pl        |   2 --
 tp/t/results/info_tests/known_encoding.pl          |   2 --
 .../multitable_anchor_and_index_entry.pl           |   2 --
 .../info_tests/nested_footnotes_separate.pl        |   2 --
 .../info_tests/nested_multitable_anchor_index.pl   |   2 --
 tp/t/results/info_tests/no_top_node.pl             |   2 --
 tp/t/results/info_tests/note_in_strong.pl          |   2 --
 .../info_tests/note_in_strong_end_of_line.pl       |   2 --
 tp/t/results/info_tests/novalidate_empty_refs.pl   |   2 --
 tp/t/results/info_tests/pxref_test.pl              |   2 --
 tp/t/results/info_tests/ref_tests.pl               |   2 --
 tp/t/results/info_tests/space_at_menu_end.pl       |   2 --
 tp/t/results/info_tests/space_in_setfilename.pl    |   2 --
 tp/t/results/info_tests/top_node_normalization.pl  |   2 --
 tp/t/results/info_tests/unknown_encoding.pl        |   2 --
 tp/t/results/info_tests/xref_test.pl               |   2 --
 tp/t/results/invalid_nestings/footnote_in_ref.pl   |   2 --
 tp/t/results/invalid_nestings/ignore_in_xref.pl    |   2 --
 tp/t/results/invalid_nestings/ignored_text.pl      |   2 --
 tp/t/results/invalid_nestings/in_table.pl          |   2 --
 .../invalid_nestings/menu_in_style_command.pl      |   2 --
 tp/t/results/invalid_nestings/node_in_copying.pl   |   2 --
 .../invalid_nestings/node_on_index_entry_line.pl   |   2 --
 tp/t/results/invalid_nestings/on_node_line.pl      |   2 --
 tp/t/results/invalid_nestings/quotation_in_ref.pl  |   2 --
 tp/t/results/invalid_nestings/ref_in_anchor.pl     |   2 --
 tp/t/results/invalid_nestings/ref_in_ref.pl        |   2 --
 .../style_not_closed_before_first_node.pl          |   2 --
 tp/t/results/invalid_nestings/verbatim_in_ref.pl   |   2 --
 tp/t/results/languages/multiple.pl                 |   2 --
 tp/t/results/languages/simple.pl                   |   2 --
 tp/t/results/languages/unknown_region.pl           |   2 --
 tp/t/results/macro/backslash_in_arg.pl             |   2 --
 tp/t/results/macro/macro_in_index_commands.pl      |   2 --
 tp/t/results/menu/detailmenu_unknown_node.pl       |   2 --
 tp/t/results/menu/empty_menu_entry_name.pl         |   2 --
 tp/t/results/menu/entry_after_detailmenu.pl        |   2 --
 tp/t/results/menu/formats_in_menu.pl               |   2 --
 tp/t/results/menu/invalid_info_menu_entry.pl       |   2 --
 tp/t/results/menu/menu_in_deffn.pl                 |   2 --
 tp/t/results/menu/menu_in_example.pl               |   2 --
 tp/t/results/menu/menu_node_unterminated.pl        |   2 --
 tp/t/results/menu/menu_title_before_entries.pl     |   2 --
 tp/t/results/menu/multiple_menus.pl                |   2 --
 tp/t/results/menu/no_colon_in_menu.pl              |   2 --
 tp/t/results/menu/reference_to_external_manual.pl  |   2 --
 tp/t/results/menu/sc_in_menu.pl                    |   2 --
 tp/t/results/menu/submenu_in_example.pl            |   2 --
 tp/t/results/misc_commands/ref_in_center.pl        |   2 --
 tp/t/results/misc_commands/test_allowcodebreaks.pl |   2 --
 tp/t/results/moreindices/double_index_entry.pl     |   2 --
 tp/t/results/moreindices/nodes_before_top.pl       |   2 --
 .../moreindices/nodes_before_top_no_nodes.pl       |   2 --
 tp/t/results/moreindices/nodes_before_top_nodes.pl |   2 --
 tp/t/results/moresectioning/equivalent_nodes.pl    |   2 --
 .../moresectioning/equivalent_nodes_no_node.pl     |   2 --
 tp/t/results/plaintext_tests/all_spaces.pl         |   2 --
 .../plaintext_tests/chinese_mixed_with_en.pl       |   2 --
 .../plaintext_tests/line_passed_and_formats.pl     |   2 --
 tp/t/results/plaintext_tests/non_break_spaces.pl   |   2 --
 tp/t/results/regions/anchor_in_copying.pl          |   2 --
 .../regions/anchor_in_copying_in_footnote.pl       |   2 --
 tp/t/results/regions/format_in_titlepage.pl        |   2 --
 .../regions/format_in_titlepage_titlepage.pl       |   2 --
 tp/t/results/sectioning/a_comma_after_node.pl      |   2 --
 tp/t/results/sectioning/anchor_zero.pl             |   2 --
 tp/t/results/sectioning/at_commands_in_node.pl     |   2 --
 .../sectioning/character_and_spaces_in_node.pl     |   2 --
 tp/t/results/sectioning/contents_no_section.pl     |   2 --
 .../sectioning/contents_with_only_top_node.pl      |   2 --
 .../results/sectioning/double_node_anchor_float.pl |   2 --
 tp/t/results/sectioning/double_top.pl              |   2 --
 tp/t/results/sectioning/double_top_in_menu.pl      |   2 --
 tp/t/results/sectioning/email_in_node.pl           |   2 --
 tp/t/results/sectioning/empty_node.pl              |   2 --
 .../sectioning/empty_nodes_with_commands.pl        |   2 --
 tp/t/results/sectioning/empty_ref_arg.pl           |   2 --
 tp/t/results/sectioning/equivalent_labels.pl       |   2 --
 tp/t/results/sectioning/equivalent_nodes.pl        |   2 --
 .../results/sectioning/explicit_node_directions.pl |   2 --
 tp/t/results/sectioning/next_no_prev_to_node.pl    |   2 --
 tp/t/results/sectioning/node_empty_direction.pl    |   2 --
 tp/t/results/sectioning/node_line_arguments.pl     |   2 --
 tp/t/results/sectioning/node_nested_parentheses.pl |   2 --
 tp/t/results/sectioning/node_referenced_in_ref.pl  |   2 --
 tp/t/results/sectioning/node_too_much_args.pl      |   2 --
 .../node_up_direction_for_top_with_manual.pl       |   2 --
 tp/t/results/sectioning/node_up_external_node.pl   |   2 --
 .../nodes_no_node_top_explicit_directions.pl       |   2 --
 tp/t/results/sectioning/novalidate.pl              |   2 --
 .../one_node_explicit_directions_anchor.pl         |   2 --
 tp/t/results/sectioning/rec_nodes.pl               |   2 --
 tp/t/results/sectioning/space_in_node.pl           |   2 --
 .../sectioning/top_node_no_menu_direction.pl       |   2 --
 .../transliterated_split_equivalent_nodes.pl       |   2 --
 tp/t/results/sectioning/unknown_node_in_menu.pl    |   2 --
 tp/t/results/value/value_in_index_commands.pl      |   2 --
 tp/t/results/xml_tests/commands_and_spaces.pl      |   2 --
 tp/t/results/xml_tests/node_and_bye.pl             |   2 --
 tp/t/results/xml_tests/node_no_section.pl          |   2 --
 175 files changed, 23 insertions(+), 361 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ca740390bd..dd4c3c9b41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2021-12-30  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Structuring.pm (sectioning_structure): do not
+       use no_root_command_tree() to check if there is no section
+       structure, use the tree directly to define $sec_root.
+
+       * tp/Texinfo/Convert/LaTeX.pm (output): no need to modify the
+       tree structure anymore.
+
 2021-12-30  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/ParserNonXS.pm (_setup_document_root_and_text_root)
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index dce087d022..9df8566cdc 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -934,21 +934,12 @@ sub output($$)
     }
   }
 
-  # add one level if not a document_root, to always have
-  # the same tree structure
-  my $top_root;
-  if (not $root->{'type'} or $root->{'type'} ne 'document_root') {
-    $top_root = {'contents' => [$root]};
-  } else {
-    $top_root = $root;
-  }
-
   # Ignore everything between Top node and the next node.
   # TODO find a way to process informative commands as TeX does
-  my $modified_top_root = {'contents' => []};
+  my $modified_root = {'contents' => []};
 
   my $in_top_node = 0;
-  foreach my $element_content (@{$top_root->{'contents'}}) {
+  foreach my $element_content (@{$root->{'contents'}}) {
     if ($element_content->{'cmdname'}
         and $element_content->{'cmdname'} eq 'node') {
       if ($element_content->{'extra'}->{'normalized'} eq 'Top') {
@@ -957,11 +948,11 @@ sub output($$)
         if ($in_top_node) {
           $in_top_node = 0;
         }
-        push @{$modified_top_root->{'contents'}},
+        push @{$modified_root->{'contents'}},
           $element_content;
       }
     } elsif (not $in_top_node) {
-      push @{$modified_top_root->{'contents'}},
+      push @{$modified_root->{'contents'}},
         $element_content;
     }
   }
@@ -973,10 +964,10 @@ sub output($$)
   # at the first paragraph.
   my $begin_document_type = {'type' => $latex_document_type};
   # already a top node sectioning or node command
-  if (defined($modified_top_root->{'contents'}->[0]->{'cmdname'})) {
-    unshift @{$modified_top_root->{'contents'}}, $begin_document_type;
+  if (defined($modified_root->{'contents'}->[0]->{'cmdname'})) {
+    unshift @{$modified_root->{'contents'}}, $begin_document_type;
   } else {
-    my $first_element = shift @{$modified_top_root->{'contents'}};
+    my $first_element = shift @{$modified_root->{'contents'}};
     my @first_element_contents = @{$first_element->{'contents'}};
     my $new_first_element = {'contents' => []};
     if ($first_element->{'type'}) {
@@ -994,24 +985,24 @@ sub output($$)
              shift @first_element_contents;
     }
     $begin_document_type->{'contents'} = \@first_element_contents;
-    unshift @{$modified_top_root->{'contents'}},
+    unshift @{$modified_root->{'contents'}},
       ($new_first_element, $begin_document_type);
   }
 
   # nothing after Top node the end, mark that Top node is ignored.
   if ($in_top_node) {
-    push @{$modified_top_root->{'contents'}},
+    push @{$modified_root->{'contents'}},
         {'type' => 'paragraph', 'contents' => [
         {'text' => "\n(`Top' node ignored)\n", 'type' => 'ignored_top_node'}]};
   }
 
   my $result = '';
 
-  $self->_prepare_conversion($modified_top_root);
+  $self->_prepare_conversion($modified_root);
 
   $result .= $self->write_or_return($self->_latex_header(), $fh);
   _push_new_context($self, 'main');
-  $result .= $self->write_or_return($self->convert_tree($modified_top_root), 
$fh);
+  $result .= $self->write_or_return($self->convert_tree($modified_root), $fh);
   $result .= $self->write_or_return($self->_latex_footer(), $fh);
 
   #print $result;
diff --git a/tp/Texinfo/Structuring.pm b/tp/Texinfo/Structuring.pm
index 387dd939f7..c820f229e3 100644
--- a/tp/Texinfo/Structuring.pm
+++ b/tp/Texinfo/Structuring.pm
@@ -147,11 +147,7 @@ sub sectioning_structure($$$)
   my $configuration_informations = shift;
   my $root = shift;
 
-  if (no_root_command_tree($root)) {
-    return undef;
-  }
-
-  my $sec_root = {};
+  my $sec_root;
   my $previous_section;
   my $previous_toplevel;
 
@@ -241,9 +237,9 @@ sub sectioning_structure($$$)
         if ($new_upper_part_element) {
           # In that case the root has to be updated because the first 
           # 'part' just appeared
-          $content->{'section_up'} = $sec_root;
           $sec_root->{'level'} = $level - 1;
           push @{$sec_root->{'section_childs'}}, $content;
+          $content->{'section_up'} = $sec_root;
           $number_top_level = $level;
           $number_top_level++ if (!$number_top_level);
         } else {
@@ -261,9 +257,9 @@ sub sectioning_structure($$$)
       }
     } else { # first section determines the level of the root.  It is 
       # typically -1 when there is a @top.
-      $content->{'section_up'} = $sec_root;
       $sec_root->{'level'} = $level - 1;
       $sec_root->{'section_childs'} = [$content];
+      $content->{'section_up'} = $sec_root;
       $number_top_level = $level;
       # if $level of top sectioning element is 0, which means that
       # it is a @top, $number_top_level is 1 as it is associated to
diff --git a/tp/t/results/converters_tests/at_commands_in_raw.pl 
b/tp/t/results/converters_tests/at_commands_in_raw.pl
index 5b6efd63d4..f72ad7cf26 100644
--- a/tp/t/results/converters_tests/at_commands_in_raw.pl
+++ b/tp/t/results/converters_tests/at_commands_in_raw.pl
@@ -1002,8 +1002,6 @@ Macros that should not be defined: . with arg.
 
 ';
 
-$result_sectioning{'at_commands_in_raw'} = {};
-
 $result_nodes{'at_commands_in_raw'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/converters_tests/complex_nestings.pl 
b/tp/t/results/converters_tests/complex_nestings.pl
index 7d20e21060..6a15ef7e95 100644
--- a/tp/t/results/converters_tests/complex_nestings.pl
+++ b/tp/t/results/converters_tests/complex_nestings.pl
@@ -1392,8 +1392,6 @@ explanation
 
 ';
 
-$result_sectioning{'complex_nestings'} = {};
-
 $result_nodes{'complex_nestings'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/converters_tests/footnote_no_number.pl 
b/tp/t/results/converters_tests/footnote_no_number.pl
index e85b0a60a3..9e034ff97f 100644
--- a/tp/t/results/converters_tests/footnote_no_number.pl
+++ b/tp/t/results/converters_tests/footnote_no_number.pl
@@ -192,8 +192,6 @@ Para.
 Para2.
 ';
 
-$result_sectioning{'footnote_no_number'} = {};
-
 $result_nodes{'footnote_no_number'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/converters_tests/footnote_no_number_separate.pl 
b/tp/t/results/converters_tests/footnote_no_number_separate.pl
index e8ea6f6756..e149799c32 100644
--- a/tp/t/results/converters_tests/footnote_no_number_separate.pl
+++ b/tp/t/results/converters_tests/footnote_no_number_separate.pl
@@ -192,8 +192,6 @@ Para.
 Para2.
 ';
 
-$result_sectioning{'footnote_no_number_separate'} = {};
-
 $result_nodes{'footnote_no_number_separate'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/converters_tests/image_formatting.pl 
b/tp/t/results/converters_tests/image_formatting.pl
index 40949a82ba..205d2f8db9 100644
--- a/tp/t/results/converters_tests/image_formatting.pl
+++ b/tp/t/results/converters_tests/image_formatting.pl
@@ -2521,8 +2521,6 @@ in para
 f--ile.
 ';
 
-$result_sectioning{'image_formatting'} = {};
-
 $result_nodes{'image_formatting'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/converters_tests/index_entry_in_preformatted.pl 
b/tp/t/results/converters_tests/index_entry_in_preformatted.pl
index cbbbd4368f..a51e2bd2e8 100644
--- a/tp/t/results/converters_tests/index_entry_in_preformatted.pl
+++ b/tp/t/results/converters_tests/index_entry_in_preformatted.pl
@@ -339,8 +339,6 @@ text
 text2
 ';
 
-$result_sectioning{'index_entry_in_preformatted'} = {};
-
 $result_nodes{'index_entry_in_preformatted'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git 
a/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl 
b/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl
index 606ee65c9c..d7119270c0 100644
--- a/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl
+++ b/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl
@@ -673,8 +673,6 @@ $result_texts{'printindex_merged_indices_code_style'} = '
 
 ';
 
-$result_sectioning{'printindex_merged_indices_code_style'} = {};
-
 $result_nodes{'printindex_merged_indices_code_style'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/converters_tests/spaces_in_empty_node_names.pl 
b/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
index cae444294e..70610d6e35 100644
--- a/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
+++ b/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
@@ -811,8 +811,6 @@ $result_texts{'spaces_in_empty_node_names'} = '
   
 ';
 
-$result_sectioning{'spaces_in_empty_node_names'} = {};
-
 $result_nodes{'spaces_in_empty_node_names'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/converters_tests/spaces_in_node_names.pl 
b/tp/t/results/converters_tests/spaces_in_node_names.pl
index df4bdbc3b7..38d056e5e1 100644
--- a/tp/t/results/converters_tests/spaces_in_node_names.pl
+++ b/tp/t/results/converters_tests/spaces_in_node_names.pl
@@ -903,8 +903,6 @@ b
 c  
 ';
 
-$result_sectioning{'spaces_in_node_names'} = {};
-
 $result_nodes{'spaces_in_node_names'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/converters_tests/top_in_ref.pl 
b/tp/t/results/converters_tests/top_in_ref.pl
index 494300eef4..3152c8c14a 100644
--- a/tp/t/results/converters_tests/top_in_ref.pl
+++ b/tp/t/results/converters_tests/top_in_ref.pl
@@ -4349,8 +4349,6 @@ $result_texts{'top_in_ref'} = '
 @inforef{Top,,file name} Top
 ';
 
-$result_sectioning{'top_in_ref'} = {};
-
 $result_nodes{'top_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/converters_tests/top_in_ref_keep_top.pl 
b/tp/t/results/converters_tests/top_in_ref_keep_top.pl
index 268b879a84..b0f10087e7 100644
--- a/tp/t/results/converters_tests/top_in_ref_keep_top.pl
+++ b/tp/t/results/converters_tests/top_in_ref_keep_top.pl
@@ -4349,8 +4349,6 @@ $result_texts{'top_in_ref_keep_top'} = '
 @inforef{Top,,file name} Top
 ';
 
-$result_sectioning{'top_in_ref_keep_top'} = {};
-
 $result_nodes{'top_in_ref_keep_top'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/coverage_braces/inforef_too_much_args.pl 
b/tp/t/results/coverage_braces/inforef_too_much_args.pl
index 991289b48f..472deca97d 100644
--- a/tp/t/results/coverage_braces/inforef_too_much_args.pl
+++ b/tp/t/results/coverage_braces/inforef_too_much_args.pl
@@ -157,8 +157,6 @@ $result_texts{'inforef_too_much_args'} = '
 chapter
 ';
 
-$result_sectioning{'inforef_too_much_args'} = {};
-
 $result_nodes{'inforef_too_much_args'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/coverage_braces/test_image.pl 
b/tp/t/results/coverage_braces/test_image.pl
index 0d82f0cacb..eab602a82a 100644
--- a/tp/t/results/coverage_braces/test_image.pl
+++ b/tp/t/results/coverage_braces/test_image.pl
@@ -3620,8 +3620,6 @@ In text f@i--le..  a@<"%@  < & @ % " .
 
 ';
 
-$result_sectioning{'test_image'} = {};
-
 $result_nodes{'test_image'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/coverage_braces/verb_in_xref.pl 
b/tp/t/results/coverage_braces/verb_in_xref.pl
index 6917d7fc1e..b387d90758 100644
--- a/tp/t/results/coverage_braces/verb_in_xref.pl
+++ b/tp/t/results/coverage_braces/verb_in_xref.pl
@@ -193,8 +193,6 @@ $result_texts{'verb_in_xref'} = '
 Top.
 ';
 
-$result_sectioning{'verb_in_xref'} = {};
-
 $result_nodes{'verb_in_xref'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/def/all_commands_delimiters_printindex.pl 
b/tp/t/results/def/all_commands_delimiters_printindex.pl
index f37f7a2155..87ac5435db 100644
--- a/tp/t/results/def/all_commands_delimiters_printindex.pl
+++ b/tp/t/results/def/all_commands_delimiters_printindex.pl
@@ -15773,8 +15773,6 @@ Variables
 =========
 ';
 
-$result_sectioning{'all_commands_delimiters_printindex'} = {};
-
 $result_nodes{'all_commands_delimiters_printindex'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/def/all_commands_printindex.pl 
b/tp/t/results/def/all_commands_printindex.pl
index 4e2c984462..bf9774c504 100644
--- a/tp/t/results/def/all_commands_printindex.pl
+++ b/tp/t/results/def/all_commands_printindex.pl
@@ -5671,8 +5671,6 @@ Variables
 =========
 ';
 
-$result_sectioning{'all_commands_printindex'} = {};
-
 $result_nodes{'all_commands_printindex'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/def/ref_in_def.pl b/tp/t/results/def/ref_in_def.pl
index ecd1624f8b..b44ee03928 100644
--- a/tp/t/results/def/ref_in_def.pl
+++ b/tp/t/results/def/ref_in_def.pl
@@ -805,8 +805,6 @@ T
 
 ';
 
-$result_sectioning{'ref_in_def'} = {};
-
 $result_nodes{'ref_in_def'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/def/space_in_def_for_index.pl 
b/tp/t/results/def/space_in_def_for_index.pl
index 6128adc78a..11d19714d7 100644
--- a/tp/t/results/def/space_in_def_for_index.pl
+++ b/tp/t/results/def/space_in_def_for_index.pl
@@ -466,8 +466,6 @@ AAA1: AAA2 arg3
 
 ';
 
-$result_sectioning{'space_in_def_for_index'} = {};
-
 $result_nodes{'space_in_def_for_index'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/float/anchor_in_caption.pl 
b/tp/t/results/float/anchor_in_caption.pl
index 54129ce319..c245480ab6 100644
--- a/tp/t/results/float/anchor_in_caption.pl
+++ b/tp/t/results/float/anchor_in_caption.pl
@@ -317,8 +317,6 @@ In float.
 
 ';
 
-$result_sectioning{'anchor_in_caption'} = {};
-
 $result_nodes{'anchor_in_caption'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/float/cindex_in_caption.pl 
b/tp/t/results/float/cindex_in_caption.pl
index 1339c0a650..af6bc5238b 100644
--- a/tp/t/results/float/cindex_in_caption.pl
+++ b/tp/t/results/float/cindex_in_caption.pl
@@ -390,8 +390,6 @@ In float.
 
 ';
 
-$result_sectioning{'cindex_in_caption'} = {};
-
 $result_nodes{'cindex_in_caption'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/float/comment_space_comand_in_float.pl 
b/tp/t/results/float/comment_space_comand_in_float.pl
index 62c9c8b844..54df4191a8 100644
--- a/tp/t/results/float/comment_space_comand_in_float.pl
+++ b/tp/t/results/float/comment_space_comand_in_float.pl
@@ -296,8 +296,6 @@ Float
 
 ';
 
-$result_sectioning{'comment_space_comand_in_float'} = {};
-
 $result_nodes{'comment_space_comand_in_float'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/float/footnote_in_caption.pl 
b/tp/t/results/float/footnote_in_caption.pl
index 65989e8a7b..f1f5e24234 100644
--- a/tp/t/results/float/footnote_in_caption.pl
+++ b/tp/t/results/float/footnote_in_caption.pl
@@ -317,8 +317,6 @@ In float.
 
 ';
 
-$result_sectioning{'footnote_in_caption'} = {};
-
 $result_nodes{'footnote_in_caption'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/float/footnote_in_caption_and_error.pl 
b/tp/t/results/float/footnote_in_caption_and_error.pl
index 38edd9be52..1d056833ec 100644
--- a/tp/t/results/float/footnote_in_caption_and_error.pl
+++ b/tp/t/results/float/footnote_in_caption_and_error.pl
@@ -328,8 +328,6 @@ In float.
 
 ';
 
-$result_sectioning{'footnote_in_caption_and_error'} = {};
-
 $result_nodes{'footnote_in_caption_and_error'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/cond.pl b/tp/t/results/formatting/cond.pl
index e937328793..6cb8649819 100644
--- a/tp/t/results/formatting/cond.pl
+++ b/tp/t/results/formatting/cond.pl
@@ -429,8 +429,6 @@ This is ifnottex text.
 
 ';
 
-$result_sectioning{'cond'} = {};
-
 $result_nodes{'cond'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/cond_ifhtml_ifinfo_iftex.pl 
b/tp/t/results/formatting/cond_ifhtml_ifinfo_iftex.pl
index 9658f65160..50ad38b5ca 100644
--- a/tp/t/results/formatting/cond_ifhtml_ifinfo_iftex.pl
+++ b/tp/t/results/formatting/cond_ifhtml_ifinfo_iftex.pl
@@ -446,8 +446,6 @@ This is iftex text.
 
 ';
 
-$result_sectioning{'cond_ifhtml_ifinfo_iftex'} = {};
-
 $result_nodes{'cond_ifhtml_ifinfo_iftex'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/cond_info.pl 
b/tp/t/results/formatting/cond_info.pl
index 457d227e42..9d4987bc4f 100644
--- a/tp/t/results/formatting/cond_info.pl
+++ b/tp/t/results/formatting/cond_info.pl
@@ -412,8 +412,6 @@ This is ifnottex text.
 
 ';
 
-$result_sectioning{'cond_info'} = {};
-
 $result_nodes{'cond_info'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/cond_info_ifhtml_ifinfo_iftex.pl 
b/tp/t/results/formatting/cond_info_ifhtml_ifinfo_iftex.pl
index f7efee3845..9ea5fa6066 100644
--- a/tp/t/results/formatting/cond_info_ifhtml_ifinfo_iftex.pl
+++ b/tp/t/results/formatting/cond_info_ifhtml_ifinfo_iftex.pl
@@ -446,8 +446,6 @@ This is iftex text.
 
 ';
 
-$result_sectioning{'cond_info_ifhtml_ifinfo_iftex'} = {};
-
 $result_nodes{'cond_info_ifhtml_ifinfo_iftex'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/cond_info_no-ifhtml_no-ifinfo_no-iftex.pl 
b/tp/t/results/formatting/cond_info_no-ifhtml_no-ifinfo_no-iftex.pl
index 730f0ec129..a0b92cf3f3 100644
--- a/tp/t/results/formatting/cond_info_no-ifhtml_no-ifinfo_no-iftex.pl
+++ b/tp/t/results/formatting/cond_info_no-ifhtml_no-ifinfo_no-iftex.pl
@@ -412,8 +412,6 @@ This is ifnottex text.
 
 ';
 
-$result_sectioning{'cond_info_no-ifhtml_no-ifinfo_no-iftex'} = {};
-
 $result_nodes{'cond_info_no-ifhtml_no-ifinfo_no-iftex'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/cond_no-ifhtml_no-ifinfo_no-iftex.pl 
b/tp/t/results/formatting/cond_no-ifhtml_no-ifinfo_no-iftex.pl
index c0fd8300f0..c1cd0fbf2e 100644
--- a/tp/t/results/formatting/cond_no-ifhtml_no-ifinfo_no-iftex.pl
+++ b/tp/t/results/formatting/cond_no-ifhtml_no-ifinfo_no-iftex.pl
@@ -412,8 +412,6 @@ This is ifnottex text.
 
 ';
 
-$result_sectioning{'cond_no-ifhtml_no-ifinfo_no-iftex'} = {};
-
 $result_nodes{'cond_no-ifhtml_no-ifinfo_no-iftex'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/cond_xml.pl 
b/tp/t/results/formatting/cond_xml.pl
index 2250064bad..0bcc03efa5 100644
--- a/tp/t/results/formatting/cond_xml.pl
+++ b/tp/t/results/formatting/cond_xml.pl
@@ -412,8 +412,6 @@ This is ifnottex text.
 
 ';
 
-$result_sectioning{'cond_xml'} = {};
-
 $result_nodes{'cond_xml'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/simplest_test_date_in_header.pl 
b/tp/t/results/formatting/simplest_test_date_in_header.pl
index 1cbcc863da..948d011dd5 100644
--- a/tp/t/results/formatting/simplest_test_date_in_header.pl
+++ b/tp/t/results/formatting/simplest_test_date_in_header.pl
@@ -201,8 +201,6 @@ This is a very simple texi manual   <>.
 
 ';
 
-$result_sectioning{'simplest_test_date_in_header'} = {};
-
 $result_nodes{'simplest_test_date_in_header'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/simplest_test_prefix.pl 
b/tp/t/results/formatting/simplest_test_prefix.pl
index 97e3c4dc29..5b7b00586f 100644
--- a/tp/t/results/formatting/simplest_test_prefix.pl
+++ b/tp/t/results/formatting/simplest_test_prefix.pl
@@ -201,8 +201,6 @@ This is a very simple texi manual   <>.
 
 ';
 
-$result_sectioning{'simplest_test_prefix'} = {};
-
 $result_nodes{'simplest_test_prefix'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/simplest_test_prefix_info.pl 
b/tp/t/results/formatting/simplest_test_prefix_info.pl
index c6e79e2af0..9fd21b22c9 100644
--- a/tp/t/results/formatting/simplest_test_prefix_info.pl
+++ b/tp/t/results/formatting/simplest_test_prefix_info.pl
@@ -201,8 +201,6 @@ This is a very simple texi manual   <>.
 
 ';
 
-$result_sectioning{'simplest_test_prefix_info'} = {};
-
 $result_nodes{'simplest_test_prefix_info'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/split_for_format_not_split.pl 
b/tp/t/results/formatting/split_for_format_not_split.pl
index be19493e8d..02e0a2bf00 100644
--- a/tp/t/results/formatting/split_for_format_not_split.pl
+++ b/tp/t/results/formatting/split_for_format_not_split.pl
@@ -201,8 +201,6 @@ This is a very simple texi manual   <>.
 
 ';
 
-$result_sectioning{'split_for_format_not_split'} = {};
-
 $result_nodes{'split_for_format_not_split'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/formatting/texi_cond.pl 
b/tp/t/results/formatting/texi_cond.pl
index 7244ac3cf2..25a28e649a 100644
--- a/tp/t/results/formatting/texi_cond.pl
+++ b/tp/t/results/formatting/texi_cond.pl
@@ -429,8 +429,6 @@ This is ifnottex text.
 
 ';
 
-$result_sectioning{'texi_cond'} = {};
-
 $result_nodes{'texi_cond'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/heading/heading_in_copying.pl 
b/tp/t/results/heading/heading_in_copying.pl
index 28d1f79a41..064788be0e 100644
--- a/tp/t/results/heading/heading_in_copying.pl
+++ b/tp/t/results/heading/heading_in_copying.pl
@@ -372,8 +372,6 @@ $result_texts{'heading_in_copying'} = '
 
 ';
 
-$result_sectioning{'heading_in_copying'} = {};
-
 $result_nodes{'heading_in_copying'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/html_tests/ref_in_preformatted.pl 
b/tp/t/results/html_tests/ref_in_preformatted.pl
index 82585d4047..29272972f8 100644
--- a/tp/t/results/html_tests/ref_in_preformatted.pl
+++ b/tp/t/results/html_tests/ref_in_preformatted.pl
@@ -403,8 +403,6 @@ node name
 
 ';
 
-$result_sectioning{'ref_in_preformatted'} = {};
-
 $result_nodes{'ref_in_preformatted'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/include/cpp_lines.pl 
b/tp/t/results/include/cpp_lines.pl
index ac4e9d0fc0..8c30eb2cad 100644
--- a/tp/t/results/include/cpp_lines.pl
+++ b/tp/t/results/include/cpp_lines.pl
@@ -910,8 +910,6 @@ after verb
 
 ';
 
-$result_sectioning{'cpp_lines'} = {};
-
 $result_nodes{'cpp_lines'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/include/value_expansion_in_include.pl 
b/tp/t/results/include/value_expansion_in_include.pl
index 77bf4064b5..647928bffc 100644
--- a/tp/t/results/include/value_expansion_in_include.pl
+++ b/tp/t/results/include/value_expansion_in_include.pl
@@ -578,8 +578,6 @@ test_var include: This is the included file 
(include-value2.txi) <> --.
 
 test_var verbatiminclude: ';
 
-$result_sectioning{'value_expansion_in_include'} = {};
-
 $result_nodes{'value_expansion_in_include'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/complex_recursive_synindex.pl 
b/tp/t/results/indices/complex_recursive_synindex.pl
index c02bb0f765..bd9b94f968 100644
--- a/tp/t/results/indices/complex_recursive_synindex.pl
+++ b/tp/t/results/indices/complex_recursive_synindex.pl
@@ -1088,8 +1088,6 @@ ddd
 eee
 ';
 
-$result_sectioning{'complex_recursive_synindex'} = {};
-
 $result_nodes{'complex_recursive_synindex'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git 
a/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl 
b/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl
index 29610a568b..730f2ed59f 100644
--- a/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl
+++ b/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl
@@ -267,8 +267,6 @@ 
$result_texts{'default_cp_index_and_one_letter_syncodeindex'} = '
 
 ';
 
-$result_sectioning{'default_cp_index_and_one_letter_syncodeindex'} = {};
-
 $result_nodes{'default_cp_index_and_one_letter_syncodeindex'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/double_index_entry.pl 
b/tp/t/results/indices/double_index_entry.pl
index d1aac79db0..70907138f5 100644
--- a/tp/t/results/indices/double_index_entry.pl
+++ b/tp/t/results/indices/double_index_entry.pl
@@ -543,8 +543,6 @@ Text
 
 ';
 
-$result_sectioning{'double_index_entry'} = {};
-
 $result_nodes{'double_index_entry'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/double_syncodeindex.pl 
b/tp/t/results/indices/double_syncodeindex.pl
index c7dbf1f31d..c735934166 100644
--- a/tp/t/results/indices/double_syncodeindex.pl
+++ b/tp/t/results/indices/double_syncodeindex.pl
@@ -339,8 +339,6 @@ $result_texts{'double_syncodeindex'} = '
 
 ';
 
-$result_sectioning{'double_syncodeindex'} = {};
-
 $result_nodes{'double_syncodeindex'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/empty_cindex_entry.pl 
b/tp/t/results/indices/empty_cindex_entry.pl
index 870a10ba9d..7aaaba8fe4 100644
--- a/tp/t/results/indices/empty_cindex_entry.pl
+++ b/tp/t/results/indices/empty_cindex_entry.pl
@@ -96,8 +96,6 @@ $result_texis{'empty_cindex_entry'} = '@node Top
 
 $result_texts{'empty_cindex_entry'} = '';
 
-$result_sectioning{'empty_cindex_entry'} = {};
-
 $result_nodes{'empty_cindex_entry'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/empty_index_entry.pl 
b/tp/t/results/indices/empty_index_entry.pl
index f7d2a846e7..10af222251 100644
--- a/tp/t/results/indices/empty_index_entry.pl
+++ b/tp/t/results/indices/empty_index_entry.pl
@@ -254,8 +254,6 @@ $result_texts{'empty_index_entry'} = '
 
 ';
 
-$result_sectioning{'empty_index_entry'} = {};
-
 $result_nodes{'empty_index_entry'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/empty_string_index_entry.pl 
b/tp/t/results/indices/empty_string_index_entry.pl
index d9db888f90..5b56e36df9 100644
--- a/tp/t/results/indices/empty_string_index_entry.pl
+++ b/tp/t/results/indices/empty_string_index_entry.pl
@@ -744,8 +744,6 @@ Function:
 
 ';
 
-$result_sectioning{'empty_string_index_entry'} = {};
-
 $result_nodes{'empty_string_index_entry'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/ftable_vtable.pl 
b/tp/t/results/indices/ftable_vtable.pl
index 4babbe6ed6..fd10cca3ed 100644
--- a/tp/t/results/indices/ftable_vtable.pl
+++ b/tp/t/results/indices/ftable_vtable.pl
@@ -825,8 +825,6 @@ var3
 
 ';
 
-$result_sectioning{'ftable_vtable'} = {};
-
 $result_nodes{'ftable_vtable'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/image_lines_count.pl 
b/tp/t/results/indices/image_lines_count.pl
index 742211cd96..fd32b328df 100644
--- a/tp/t/results/indices/image_lines_count.pl
+++ b/tp/t/results/indices/image_lines_count.pl
@@ -218,8 +218,6 @@ count_image
 
 ';
 
-$result_sectioning{'image_lines_count'} = {};
-
 $result_nodes{'image_lines_count'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/image_text_lines_count.pl 
b/tp/t/results/indices/image_text_lines_count.pl
index 4c8ef23fb8..2ada4fac06 100644
--- a/tp/t/results/indices/image_text_lines_count.pl
+++ b/tp/t/results/indices/image_text_lines_count.pl
@@ -218,8 +218,6 @@ count_image_text
 
 ';
 
-$result_sectioning{'image_text_lines_count'} = {};
-
 $result_nodes{'image_text_lines_count'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/index_entries_locations.pl 
b/tp/t/results/indices/index_entries_locations.pl
index 483a99f7d2..c51b03b255 100644
--- a/tp/t/results/indices/index_entries_locations.pl
+++ b/tp/t/results/indices/index_entries_locations.pl
@@ -458,8 +458,6 @@ Last paragraph.
 
 ';
 
-$result_sectioning{'index_entries_locations'} = {};
-
 $result_nodes{'index_entries_locations'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/index_entry_before_first_node.pl 
b/tp/t/results/indices/index_entry_before_first_node.pl
index 5e20105e1c..c137375d20 100644
Binary files a/tp/t/results/indices/index_entry_before_first_node.pl and 
b/tp/t/results/indices/index_entry_before_first_node.pl differ
diff --git a/tp/t/results/indices/index_entry_before_node.pl 
b/tp/t/results/indices/index_entry_before_node.pl
index c44ad11efe..d9d197b1e2 100644
--- a/tp/t/results/indices/index_entry_before_node.pl
+++ b/tp/t/results/indices/index_entry_before_node.pl
@@ -610,8 +610,6 @@ Para.
 
 ';
 
-$result_sectioning{'index_entry_before_node'} = {};
-
 $result_nodes{'index_entry_before_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/index_entry_in_footnote.pl 
b/tp/t/results/indices/index_entry_in_footnote.pl
index 79ee1bf3b6..0c184f40a5 100644
--- a/tp/t/results/indices/index_entry_in_footnote.pl
+++ b/tp/t/results/indices/index_entry_in_footnote.pl
@@ -227,8 +227,6 @@ Top node
 
 ';
 
-$result_sectioning{'index_entry_in_footnote'} = {};
-
 $result_nodes{'index_entry_in_footnote'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/index_entry_in_footnote_different_node_end.pl 
b/tp/t/results/indices/index_entry_in_footnote_different_node_end.pl
index 3aea37e865..726837b34e 100644
--- a/tp/t/results/indices/index_entry_in_footnote_different_node_end.pl
+++ b/tp/t/results/indices/index_entry_in_footnote_different_node_end.pl
@@ -525,8 +525,6 @@ Top node
 
 ';
 
-$result_sectioning{'index_entry_in_footnote_different_node_end'} = {};
-
 $result_nodes{'index_entry_in_footnote_different_node_end'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/index_entry_in_footnote_separate.pl 
b/tp/t/results/indices/index_entry_in_footnote_separate.pl
index c2c3a72d7e..b189978522 100644
--- a/tp/t/results/indices/index_entry_in_footnote_separate.pl
+++ b/tp/t/results/indices/index_entry_in_footnote_separate.pl
@@ -561,8 +561,6 @@ Top node
 
 ';
 
-$result_sectioning{'index_entry_in_footnote_separate'} = {};
-
 $result_nodes{'index_entry_in_footnote_separate'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/print_merged_index.pl 
b/tp/t/results/indices/print_merged_index.pl
index 1fa6295db8..5aac0ee2a4 100644
--- a/tp/t/results/indices/print_merged_index.pl
+++ b/tp/t/results/indices/print_merged_index.pl
@@ -138,8 +138,6 @@ $result_texis{'print_merged_index'} = '@syncodeindex fn cp
 
 $result_texts{'print_merged_index'} = '';
 
-$result_sectioning{'print_merged_index'} = {};
-
 $result_nodes{'print_merged_index'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/printindex_with_space_before.pl 
b/tp/t/results/indices/printindex_with_space_before.pl
index fa0c38d79e..e7dcfc070f 100644
Binary files a/tp/t/results/indices/printindex_with_space_before.pl and 
b/tp/t/results/indices/printindex_with_space_before.pl differ
diff --git a/tp/t/results/indices/seealso_duplicate.pl 
b/tp/t/results/indices/seealso_duplicate.pl
index 89614f9e93..b86f0eff97 100644
--- a/tp/t/results/indices/seealso_duplicate.pl
+++ b/tp/t/results/indices/seealso_duplicate.pl
@@ -386,8 +386,6 @@ $result_texts{'seealso_duplicate'} = '
 
 ';
 
-$result_sectioning{'seealso_duplicate'} = {};
-
 $result_nodes{'seealso_duplicate'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/indices/syncodeindex_to_plain.pl 
b/tp/t/results/indices/syncodeindex_to_plain.pl
index 4ea5c43b7a..3c7ff4cf33 100644
--- a/tp/t/results/indices/syncodeindex_to_plain.pl
+++ b/tp/t/results/indices/syncodeindex_to_plain.pl
@@ -391,8 +391,6 @@ cp index.
 vr index.
 ';
 
-$result_sectioning{'syncodeindex_to_plain'} = {};
-
 $result_nodes{'syncodeindex_to_plain'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/anchor_in_command.pl 
b/tp/t/results/info_tests/anchor_in_command.pl
index 2c23ea486f..381a59710e 100644
--- a/tp/t/results/info_tests/anchor_in_command.pl
+++ b/tp/t/results/info_tests/anchor_in_command.pl
@@ -259,8 +259,6 @@ aaa TeX in emph after
 emph emph2 .
 ';
 
-$result_sectioning{'anchor_in_command'} = {};
-
 $result_nodes{'anchor_in_command'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/colon_in_index_entry.pl 
b/tp/t/results/info_tests/colon_in_index_entry.pl
index cda88463d2..15d5b085f4 100644
--- a/tp/t/results/info_tests/colon_in_index_entry.pl
+++ b/tp/t/results/info_tests/colon_in_index_entry.pl
@@ -736,8 +736,6 @@ x:y: z:t n m o
 
 ';
 
-$result_sectioning{'colon_in_index_entry'} = {};
-
 $result_nodes{'colon_in_index_entry'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/encoding_us_ascii.pl 
b/tp/t/results/info_tests/encoding_us_ascii.pl
index 1189c515ad..6cbe2937ab 100644
--- a/tp/t/results/info_tests/encoding_us_ascii.pl
+++ b/tp/t/results/info_tests/encoding_us_ascii.pl
@@ -133,8 +133,6 @@ $result_texts{'encoding_us_ascii'} = '
 
 ';
 
-$result_sectioning{'encoding_us_ascii'} = {};
-
 $result_nodes{'encoding_us_ascii'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/error_in_footnote.pl 
b/tp/t/results/info_tests/error_in_footnote.pl
index 859f9b6244..513952d035 100644
--- a/tp/t/results/info_tests/error_in_footnote.pl
+++ b/tp/t/results/info_tests/error_in_footnote.pl
@@ -501,8 +501,6 @@ Float text1
 
 ';
 
-$result_sectioning{'error_in_footnote'} = {};
-
 $result_nodes{'error_in_footnote'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/file_only_png.pl 
b/tp/t/results/info_tests/file_only_png.pl
index eb19d68976..1d386f7794 100644
Binary files a/tp/t/results/info_tests/file_only_png.pl and 
b/tp/t/results/info_tests/file_only_png.pl differ
diff --git a/tp/t/results/info_tests/float_long_captions.pl 
b/tp/t/results/info_tests/float_long_captions.pl
index cc870a991c..63c7a6ecf8 100644
--- a/tp/t/results/info_tests/float_long_captions.pl
+++ b/tp/t/results/info_tests/float_long_captions.pl
@@ -422,8 +422,6 @@ Text, text2
 
 ';
 
-$result_sectioning{'float_long_captions'} = {};
-
 $result_nodes{'float_long_captions'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/image_and_punctuation.pl 
b/tp/t/results/info_tests/image_and_punctuation.pl
index 9074f8ee4c..b190504545 100644
--- a/tp/t/results/info_tests/image_and_punctuation.pl
+++ b/tp/t/results/info_tests/image_and_punctuation.pl
@@ -418,8 +418,6 @@ End line.
 words.
 ';
 
-$result_sectioning{'image_and_punctuation'} = {};
-
 $result_nodes{'image_and_punctuation'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/image_and_spaces_formatting.pl 
b/tp/t/results/info_tests/image_and_spaces_formatting.pl
index b93a60eb02..d2f08733b5 100644
--- a/tp/t/results/info_tests/image_and_spaces_formatting.pl
+++ b/tp/t/results/info_tests/image_and_spaces_formatting.pl
@@ -1036,8 +1036,6 @@ Text. words       words.
 
 ';
 
-$result_sectioning{'image_and_spaces_formatting'} = {};
-
 $result_nodes{'image_and_spaces_formatting'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/image_extension.pl 
b/tp/t/results/info_tests/image_extension.pl
index 89149ae924..3b08e298ce 100644
--- a/tp/t/results/info_tests/image_extension.pl
+++ b/tp/t/results/info_tests/image_extension.pl
@@ -277,8 +277,6 @@ fdotext
 f--ile
 ';
 
-$result_sectioning{'image_extension'} = {};
-
 $result_nodes{'image_extension'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/image_in_paragraph.pl 
b/tp/t/results/info_tests/image_in_paragraph.pl
index ebff257bcb..181948be84 100644
Binary files a/tp/t/results/info_tests/image_in_paragraph.pl and 
b/tp/t/results/info_tests/image_in_paragraph.pl differ
diff --git a/tp/t/results/info_tests/image_not_found.pl 
b/tp/t/results/info_tests/image_not_found.pl
index ef5b371126..aef9115121 100644
--- a/tp/t/results/info_tests/image_not_found.pl
+++ b/tp/t/results/info_tests/image_not_found.pl
@@ -106,8 +106,6 @@ $result_texis{'image_not_found'} = '@node Top
 $result_texts{'image_not_found'} = 'n_f_image
 ';
 
-$result_sectioning{'image_not_found'} = {};
-
 $result_nodes{'image_not_found'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/image_quotes.pl 
b/tp/t/results/info_tests/image_quotes.pl
index 463904228c..28e96df74d 100644
Binary files a/tp/t/results/info_tests/image_quotes.pl and 
b/tp/t/results/info_tests/image_quotes.pl differ
diff --git a/tp/t/results/info_tests/invalid_node_name_no_warning.pl 
b/tp/t/results/info_tests/invalid_node_name_no_warning.pl
index 5860c9b915..9737d4494f 100644
--- a/tp/t/results/info_tests/invalid_node_name_no_warning.pl
+++ b/tp/t/results/info_tests/invalid_node_name_no_warning.pl
@@ -988,8 +988,6 @@ nodename. a. node,comma.
 bidule:.
 ';
 
-$result_sectioning{'invalid_node_name_no_warning'} = {};
-
 $result_nodes{'invalid_node_name_no_warning'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/invalid_node_name_warning.pl 
b/tp/t/results/info_tests/invalid_node_name_warning.pl
index 95202a3f51..3f47bae66c 100644
--- a/tp/t/results/info_tests/invalid_node_name_warning.pl
+++ b/tp/t/results/info_tests/invalid_node_name_warning.pl
@@ -988,8 +988,6 @@ nodename. a. node,comma.
 bidule:.
 ';
 
-$result_sectioning{'invalid_node_name_warning'} = {};
-
 $result_nodes{'invalid_node_name_warning'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/known_encoding.pl 
b/tp/t/results/info_tests/known_encoding.pl
index 5f9c3197dd..3442e7309d 100644
--- a/tp/t/results/info_tests/known_encoding.pl
+++ b/tp/t/results/info_tests/known_encoding.pl
@@ -133,8 +133,6 @@ $result_texts{'known_encoding'} = '
 
 ';
 
-$result_sectioning{'known_encoding'} = {};
-
 $result_nodes{'known_encoding'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/multitable_anchor_and_index_entry.pl 
b/tp/t/results/info_tests/multitable_anchor_and_index_entry.pl
index c6e75bcf3b..e3d92dc3d8 100644
--- a/tp/t/results/info_tests/multitable_anchor_and_index_entry.pl
+++ b/tp/t/results/info_tests/multitable_anchor_and_index_entry.pl
@@ -1177,8 +1177,6 @@ mark
 anchor in multitable
 ';
 
-$result_sectioning{'multitable_anchor_and_index_entry'} = {};
-
 $result_nodes{'multitable_anchor_and_index_entry'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/nested_footnotes_separate.pl 
b/tp/t/results/info_tests/nested_footnotes_separate.pl
index c3d032ecd4..4b8e95ae0e 100644
--- a/tp/t/results/info_tests/nested_footnotes_separate.pl
+++ b/tp/t/results/info_tests/nested_footnotes_separate.pl
@@ -228,8 +228,6 @@ $result_texts{'nested_footnotes_separate'} = '
 F
 ';
 
-$result_sectioning{'nested_footnotes_separate'} = {};
-
 $result_nodes{'nested_footnotes_separate'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/nested_multitable_anchor_index.pl 
b/tp/t/results/info_tests/nested_multitable_anchor_index.pl
index 176126f53c..08af9ecfe1 100644
--- a/tp/t/results/info_tests/nested_multitable_anchor_index.pl
+++ b/tp/t/results/info_tests/nested_multitable_anchor_index.pl
@@ -848,8 +848,6 @@ mark.
 mark inside.
 ';
 
-$result_sectioning{'nested_multitable_anchor_index'} = {};
-
 $result_nodes{'nested_multitable_anchor_index'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/no_top_node.pl 
b/tp/t/results/info_tests/no_top_node.pl
index 67088d76ec..cf14086ce4 100644
--- a/tp/t/results/info_tests/no_top_node.pl
+++ b/tp/t/results/info_tests/no_top_node.pl
@@ -69,8 +69,6 @@ $result_texis{'no_top_node'} = '@node node Top not Top node
 
 $result_texts{'no_top_node'} = '';
 
-$result_sectioning{'no_top_node'} = {};
-
 $result_nodes{'no_top_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/note_in_strong.pl 
b/tp/t/results/info_tests/note_in_strong.pl
index 78af3dbfb6..c10afef945 100644
--- a/tp/t/results/info_tests/note_in_strong.pl
+++ b/tp/t/results/info_tests/note_in_strong.pl
@@ -412,8 +412,6 @@ $result_texts{'note_in_strong'} = '
 15 note-bbb.
 ';
 
-$result_sectioning{'note_in_strong'} = {};
-
 $result_nodes{'note_in_strong'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/note_in_strong_end_of_line.pl 
b/tp/t/results/info_tests/note_in_strong_end_of_line.pl
index cf4bcedf10..a387e80c48 100644
--- a/tp/t/results/info_tests/note_in_strong_end_of_line.pl
+++ b/tp/t/results/info_tests/note_in_strong_end_of_line.pl
@@ -186,8 +186,6 @@ bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 
vvvvvvvvvvvvvvvv note
 a
 ';
 
-$result_sectioning{'note_in_strong_end_of_line'} = {};
-
 $result_nodes{'note_in_strong_end_of_line'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/novalidate_empty_refs.pl 
b/tp/t/results/info_tests/novalidate_empty_refs.pl
index 83ba49cea7..c8da11d505 100644
--- a/tp/t/results/info_tests/novalidate_empty_refs.pl
+++ b/tp/t/results/info_tests/novalidate_empty_refs.pl
@@ -381,8 +381,6 @@ $result_texts{'novalidate_empty_refs'} = '
 
 ';
 
-$result_sectioning{'novalidate_empty_refs'} = {};
-
 $result_nodes{'novalidate_empty_refs'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/pxref_test.pl 
b/tp/t/results/info_tests/pxref_test.pl
index 42ac5a0115..1bb7e8db49 100644
--- a/tp/t/results/info_tests/pxref_test.pl
+++ b/tp/t/results/info_tests/pxref_test.pl
@@ -375,8 +375,6 @@ Hey ((m) in pxref) and continue ((m) in pxref) and end.
 (m) n. (m) n.
 ';
 
-$result_sectioning{'pxref_test'} = {};
-
 $result_nodes{'pxref_test'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/ref_tests.pl 
b/tp/t/results/info_tests/ref_tests.pl
index d403495bb7..8b89b7739c 100644
--- a/tp/t/results/info_tests/ref_tests.pl
+++ b/tp/t/results/info_tests/ref_tests.pl
@@ -650,8 +650,6 @@ $result_texts{'ref_tests'} = '
 
 ';
 
-$result_sectioning{'ref_tests'} = {};
-
 $result_nodes{'ref_tests'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/space_at_menu_end.pl 
b/tp/t/results/info_tests/space_at_menu_end.pl
index 31d2b8aaac..e6ed259a04 100644
--- a/tp/t/results/info_tests/space_at_menu_end.pl
+++ b/tp/t/results/info_tests/space_at_menu_end.pl
@@ -266,8 +266,6 @@ $result_texts{'space_at_menu_end'} = '
 A para.
 ';
 
-$result_sectioning{'space_at_menu_end'} = {};
-
 $result_nodes{'space_at_menu_end'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/space_in_setfilename.pl 
b/tp/t/results/info_tests/space_in_setfilename.pl
index 230e789a6f..5ce605ea36 100644
--- a/tp/t/results/info_tests/space_in_setfilename.pl
+++ b/tp/t/results/info_tests/space_in_setfilename.pl
@@ -146,8 +146,6 @@ $result_texis{'space_in_setfilename'} = '@setfilename @ 
@verb{: name :}@
 $result_texts{'space_in_setfilename'} = '
 ';
 
-$result_sectioning{'space_in_setfilename'} = {};
-
 $result_nodes{'space_in_setfilename'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/top_node_normalization.pl 
b/tp/t/results/info_tests/top_node_normalization.pl
index 1463ff7ae7..17638410cf 100644
--- a/tp/t/results/info_tests/top_node_normalization.pl
+++ b/tp/t/results/info_tests/top_node_normalization.pl
@@ -311,8 +311,6 @@ TOP. tOP.
 * tOP::
 ';
 
-$result_sectioning{'top_node_normalization'} = {};
-
 $result_nodes{'top_node_normalization'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/unknown_encoding.pl 
b/tp/t/results/info_tests/unknown_encoding.pl
index 124a6434e7..17c4d3dcaa 100644
--- a/tp/t/results/info_tests/unknown_encoding.pl
+++ b/tp/t/results/info_tests/unknown_encoding.pl
@@ -131,8 +131,6 @@ $result_texts{'unknown_encoding'} = '
 
 ';
 
-$result_sectioning{'unknown_encoding'} = {};
-
 $result_nodes{'unknown_encoding'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/info_tests/xref_test.pl 
b/tp/t/results/info_tests/xref_test.pl
index eac93753df..b701a321eb 100644
--- a/tp/t/results/info_tests/xref_test.pl
+++ b/tp/t/results/info_tests/xref_test.pl
@@ -428,8 +428,6 @@ $result_texts{'xref_test'} = '
 (m)in ref followed by symbol# g.
 ';
 
-$result_sectioning{'xref_test'} = {};
-
 $result_nodes{'xref_test'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/footnote_in_ref.pl 
b/tp/t/results/invalid_nestings/footnote_in_ref.pl
index 2e5a086841..b7d991e10c 100644
--- a/tp/t/results/invalid_nestings/footnote_in_ref.pl
+++ b/tp/t/results/invalid_nestings/footnote_in_ref.pl
@@ -185,8 +185,6 @@ seond para}.}';
 $result_texts{'footnote_in_ref'} = '
 Top';
 
-$result_sectioning{'footnote_in_ref'} = {};
-
 $result_nodes{'footnote_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/ignore_in_xref.pl 
b/tp/t/results/invalid_nestings/ignore_in_xref.pl
index bf81bcbfa5..406220b5e3 100644
--- a/tp/t/results/invalid_nestings/ignore_in_xref.pl
+++ b/tp/t/results/invalid_nestings/ignore_in_xref.pl
@@ -188,8 +188,6 @@ $result_texts{'ignore_in_xref'} = '
 Top.
 ';
 
-$result_sectioning{'ignore_in_xref'} = {};
-
 $result_nodes{'ignore_in_xref'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/ignored_text.pl 
b/tp/t/results/invalid_nestings/ignored_text.pl
index bba3940450..028e17d123 100644
--- a/tp/t/results/invalid_nestings/ignored_text.pl
+++ b/tp/t/results/invalid_nestings/ignored_text.pl
@@ -50,8 +50,6 @@ $result_texis{'ignored_text'} = '@node before ignore ';
 
 $result_texts{'ignored_text'} = '';
 
-$result_sectioning{'ignored_text'} = {};
-
 $result_errors{'ignored_text'} = [
   {
     'error_line' => ':1: warning: @ifinfo should only appear at the beginning 
of a line
diff --git a/tp/t/results/invalid_nestings/in_table.pl 
b/tp/t/results/invalid_nestings/in_table.pl
index 77379bf4f9..d2bd6fb1a5 100644
--- a/tp/t/results/invalid_nestings/in_table.pl
+++ b/tp/t/results/invalid_nestings/in_table.pl
@@ -1256,8 +1256,6 @@ Even more
 
 ';
 
-$result_sectioning{'in_table'} = {};
-
 $result_nodes{'in_table'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/menu_in_style_command.pl 
b/tp/t/results/invalid_nestings/menu_in_style_command.pl
index 894c0ad4df..9d096fa237 100644
--- a/tp/t/results/invalid_nestings/menu_in_style_command.pl
+++ b/tp/t/results/invalid_nestings/menu_in_style_command.pl
@@ -254,8 +254,6 @@ $result_texts{'menu_in_style_command'} = '
 * (truc)::
 ';
 
-$result_sectioning{'menu_in_style_command'} = {};
-
 $result_nodes{'menu_in_style_command'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/node_in_copying.pl 
b/tp/t/results/invalid_nestings/node_in_copying.pl
index de01338b13..88c1a7173a 100644
--- a/tp/t/results/invalid_nestings/node_in_copying.pl
+++ b/tp/t/results/invalid_nestings/node_in_copying.pl
@@ -104,8 +104,6 @@ $result_texis{'node_in_copying'} = '@copying
 $result_texts{'node_in_copying'} = '
 ';
 
-$result_sectioning{'node_in_copying'} = {};
-
 $result_nodes{'node_in_copying'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/node_on_index_entry_line.pl 
b/tp/t/results/invalid_nestings/node_on_index_entry_line.pl
index 5d7ee9db6a..d33e1b0789 100644
--- a/tp/t/results/invalid_nestings/node_on_index_entry_line.pl
+++ b/tp/t/results/invalid_nestings/node_on_index_entry_line.pl
@@ -252,8 +252,6 @@ $result_texts{'node_on_index_entry_line'} = '
 Content
 ';
 
-$result_sectioning{'node_on_index_entry_line'} = {};
-
 $result_nodes{'node_on_index_entry_line'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/on_node_line.pl 
b/tp/t/results/invalid_nestings/on_node_line.pl
index d7dbe79455..ca8e6ec4ca 100644
--- a/tp/t/results/invalid_nestings/on_node_line.pl
+++ b/tp/t/results/invalid_nestings/on_node_line.pl
@@ -332,8 +332,6 @@ $result_texis{'on_node_line'} = '@node @ref{a, b, c, 
filename}, (@pxref{(someman
 
 $result_texts{'on_node_line'} = '';
 
-$result_sectioning{'on_node_line'} = {};
-
 $result_nodes{'on_node_line'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/quotation_in_ref.pl 
b/tp/t/results/invalid_nestings/quotation_in_ref.pl
index 9c694eba05..ba265d9b2b 100644
--- a/tp/t/results/invalid_nestings/quotation_in_ref.pl
+++ b/tp/t/results/invalid_nestings/quotation_in_ref.pl
@@ -214,8 +214,6 @@ Topquotation in ref
 .
 ';
 
-$result_sectioning{'quotation_in_ref'} = {};
-
 $result_nodes{'quotation_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/ref_in_anchor.pl 
b/tp/t/results/invalid_nestings/ref_in_anchor.pl
index f074263023..7da362e923 100644
--- a/tp/t/results/invalid_nestings/ref_in_anchor.pl
+++ b/tp/t/results/invalid_nestings/ref_in_anchor.pl
@@ -146,8 +146,6 @@ $result_texis{'ref_in_anchor'} = '@node Top
 
 $result_texts{'ref_in_anchor'} = '';
 
-$result_sectioning{'ref_in_anchor'} = {};
-
 $result_nodes{'ref_in_anchor'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/ref_in_ref.pl 
b/tp/t/results/invalid_nestings/ref_in_ref.pl
index 41752adbcf..16a34c99af 100644
--- a/tp/t/results/invalid_nestings/ref_in_ref.pl
+++ b/tp/t/results/invalid_nestings/ref_in_ref.pl
@@ -144,8 +144,6 @@ $result_texis{'ref_in_ref'} = '@node Top
 
 $result_texts{'ref_in_ref'} = 'Top';
 
-$result_sectioning{'ref_in_ref'} = {};
-
 $result_nodes{'ref_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git 
a/tp/t/results/invalid_nestings/style_not_closed_before_first_node.pl 
b/tp/t/results/invalid_nestings/style_not_closed_before_first_node.pl
index 34c106fd27..b30959f53a 100644
--- a/tp/t/results/invalid_nestings/style_not_closed_before_first_node.pl
+++ b/tp/t/results/invalid_nestings/style_not_closed_before_first_node.pl
@@ -130,8 +130,6 @@ $result_texts{'style_not_closed_before_first_node'} = 'in 
code
 In node
 ';
 
-$result_sectioning{'style_not_closed_before_first_node'} = {};
-
 $result_nodes{'style_not_closed_before_first_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/invalid_nestings/verbatim_in_ref.pl 
b/tp/t/results/invalid_nestings/verbatim_in_ref.pl
index 930c5ad8f0..1d6a6716da 100644
--- a/tp/t/results/invalid_nestings/verbatim_in_ref.pl
+++ b/tp/t/results/invalid_nestings/verbatim_in_ref.pl
@@ -183,8 +183,6 @@ $result_texts{'verbatim_in_ref'} = '
 Topverbat text
 .';
 
-$result_sectioning{'verbatim_in_ref'} = {};
-
 $result_nodes{'verbatim_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/languages/multiple.pl 
b/tp/t/results/languages/multiple.pl
index 5d7adfb0fa..b71dc56406 100644
--- a/tp/t/results/languages/multiple.pl
+++ b/tp/t/results/languages/multiple.pl
@@ -961,8 +961,6 @@ Instance Variable of pt: BBB CCC
 
 ';
 
-$result_sectioning{'multiple'} = {};
-
 $result_nodes{'multiple'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/languages/simple.pl b/tp/t/results/languages/simple.pl
index b0ef38b331..fa19fed157 100644
--- a/tp/t/results/languages/simple.pl
+++ b/tp/t/results/languages/simple.pl
@@ -313,8 +313,6 @@ $result_texts{'simple'} = '
 Instance Variable of AAA: BBB CCC
 ';
 
-$result_sectioning{'simple'} = {};
-
 $result_nodes{'simple'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/languages/unknown_region.pl 
b/tp/t/results/languages/unknown_region.pl
index c81078bdf4..d37b08f97c 100644
--- a/tp/t/results/languages/unknown_region.pl
+++ b/tp/t/results/languages/unknown_region.pl
@@ -313,8 +313,6 @@ $result_texts{'unknown_region'} = '
 Instance Variable of AAA: BBB CCC
 ';
 
-$result_sectioning{'unknown_region'} = {};
-
 $result_nodes{'unknown_region'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/macro/backslash_in_arg.pl 
b/tp/t/results/macro/backslash_in_arg.pl
index 47a523b9d4..98324592c5 100644
--- a/tp/t/results/macro/backslash_in_arg.pl
+++ b/tp/t/results/macro/backslash_in_arg.pl
@@ -373,8 +373,6 @@ $result_texts{'backslash_in_arg'} = '
 
 ';
 
-$result_sectioning{'backslash_in_arg'} = {};
-
 $result_nodes{'backslash_in_arg'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/macro/macro_in_index_commands.pl 
b/tp/t/results/macro/macro_in_index_commands.pl
index 34c3b01542..8e2085a1e0 100644
--- a/tp/t/results/macro/macro_in_index_commands.pl
+++ b/tp/t/results/macro/macro_in_index_commands.pl
@@ -1093,8 +1093,6 @@ macro cp
 
 ';
 
-$result_sectioning{'macro_in_index_commands'} = {};
-
 $result_nodes{'macro_in_index_commands'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/detailmenu_unknown_node.pl 
b/tp/t/results/menu/detailmenu_unknown_node.pl
index 6dcc90a550..6d4c40681f 100644
--- a/tp/t/results/menu/detailmenu_unknown_node.pl
+++ b/tp/t/results/menu/detailmenu_unknown_node.pl
@@ -272,8 +272,6 @@ $result_texts{'detailmenu_unknown_node'} = '
 * unknown::
 ';
 
-$result_sectioning{'detailmenu_unknown_node'} = {};
-
 $result_nodes{'detailmenu_unknown_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/empty_menu_entry_name.pl 
b/tp/t/results/menu/empty_menu_entry_name.pl
index 19f1678e06..02b32b133d 100644
--- a/tp/t/results/menu/empty_menu_entry_name.pl
+++ b/tp/t/results/menu/empty_menu_entry_name.pl
@@ -372,8 +372,6 @@ $result_texts{'empty_menu_entry_name'} = '
 
 ';
 
-$result_sectioning{'empty_menu_entry_name'} = {};
-
 $result_nodes{'empty_menu_entry_name'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/entry_after_detailmenu.pl 
b/tp/t/results/menu/entry_after_detailmenu.pl
index b2197bd63a..49cf35c37d 100644
--- a/tp/t/results/menu/entry_after_detailmenu.pl
+++ b/tp/t/results/menu/entry_after_detailmenu.pl
@@ -707,8 +707,6 @@ Menu comment
 
 ';
 
-$result_sectioning{'entry_after_detailmenu'} = {};
-
 $result_nodes{'entry_after_detailmenu'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/formats_in_menu.pl 
b/tp/t/results/menu/formats_in_menu.pl
index 576ece9397..fda576666e 100644
--- a/tp/t/results/menu/formats_in_menu.pl
+++ b/tp/t/results/menu/formats_in_menu.pl
@@ -933,8 +933,6 @@ Menu comment
 
 ';
 
-$result_sectioning{'formats_in_menu'} = {};
-
 $result_nodes{'formats_in_menu'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/invalid_info_menu_entry.pl 
b/tp/t/results/menu/invalid_info_menu_entry.pl
index b2f96a3fbd..38ff8e5fe3 100644
--- a/tp/t/results/menu/invalid_info_menu_entry.pl
+++ b/tp/t/results/menu/invalid_info_menu_entry.pl
@@ -761,8 +761,6 @@ $result_texts{'invalid_info_menu_entry'} = '
 * name: (f)node        n. d3
 ';
 
-$result_sectioning{'invalid_info_menu_entry'} = {};
-
 $result_nodes{'invalid_info_menu_entry'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/menu_in_deffn.pl 
b/tp/t/results/menu/menu_in_deffn.pl
index e88ffd8875..fd48265eb1 100644
--- a/tp/t/results/menu/menu_in_deffn.pl
+++ b/tp/t/results/menu/menu_in_deffn.pl
@@ -380,8 +380,6 @@ a: b c
 * (mynode)::
 ';
 
-$result_sectioning{'menu_in_deffn'} = {};
-
 $result_nodes{'menu_in_deffn'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/menu_in_example.pl 
b/tp/t/results/menu/menu_in_example.pl
index 1fe25b1d98..535512d014 100644
--- a/tp/t/results/menu/menu_in_example.pl
+++ b/tp/t/results/menu/menu_in_example.pl
@@ -680,8 +680,6 @@ in cartouche in menu comment in menu in example
 * a menu name:(other) node. 
 ';
 
-$result_sectioning{'menu_in_example'} = {};
-
 $result_nodes{'menu_in_example'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/menu_node_unterminated.pl 
b/tp/t/results/menu/menu_node_unterminated.pl
index 798c56cc39..dde8256f0b 100644
--- a/tp/t/results/menu/menu_node_unterminated.pl
+++ b/tp/t/results/menu/menu_node_unterminated.pl
@@ -219,8 +219,6 @@ $result_texts{'menu_node_unterminated'} = '
 * Example: Examples of Login Verification Functions
 ';
 
-$result_sectioning{'menu_node_unterminated'} = {};
-
 $result_nodes{'menu_node_unterminated'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/menu_title_before_entries.pl 
b/tp/t/results/menu/menu_title_before_entries.pl
index 31ec280f1e..48e23a7db8 100644
--- a/tp/t/results/menu/menu_title_before_entries.pl
+++ b/tp/t/results/menu/menu_title_before_entries.pl
@@ -288,8 +288,6 @@ Horizontal space
 
 ';
 
-$result_sectioning{'menu_title_before_entries'} = {};
-
 $result_nodes{'menu_title_before_entries'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/multiple_menus.pl 
b/tp/t/results/menu/multiple_menus.pl
index e7430e1490..469053a380 100644
--- a/tp/t/results/menu/multiple_menus.pl
+++ b/tp/t/results/menu/multiple_menus.pl
@@ -388,8 +388,6 @@ $result_texts{'multiple_menus'} = '
 * (b)b::
 ';
 
-$result_sectioning{'multiple_menus'} = {};
-
 $result_nodes{'multiple_menus'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/no_colon_in_menu.pl 
b/tp/t/results/menu/no_colon_in_menu.pl
index e6c29a42ee..8168bd67b6 100644
--- a/tp/t/results/menu/no_colon_in_menu.pl
+++ b/tp/t/results/menu/no_colon_in_menu.pl
@@ -163,8 +163,6 @@ $result_texts{'no_colon_in_menu'} = '
 * a
 ';
 
-$result_sectioning{'no_colon_in_menu'} = {};
-
 $result_nodes{'no_colon_in_menu'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/reference_to_external_manual.pl 
b/tp/t/results/menu/reference_to_external_manual.pl
index c88790e5bc..ae1ca61222 100644
--- a/tp/t/results/menu/reference_to_external_manual.pl
+++ b/tp/t/results/menu/reference_to_external_manual.pl
@@ -229,8 +229,6 @@ $result_texts{'reference_to_external_manual'} = '
 * (info)::
 ';
 
-$result_sectioning{'reference_to_external_manual'} = {};
-
 $result_nodes{'reference_to_external_manual'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/sc_in_menu.pl b/tp/t/results/menu/sc_in_menu.pl
index 818a5c779c..5a7dfb0f54 100644
--- a/tp/t/results/menu/sc_in_menu.pl
+++ b/tp/t/results/menu/sc_in_menu.pl
@@ -1027,8 +1027,6 @@ EXAMPLE COMMENT
 
 ';
 
-$result_sectioning{'sc_in_menu'} = {};
-
 $result_nodes{'sc_in_menu'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/menu/submenu_in_example.pl 
b/tp/t/results/menu/submenu_in_example.pl
index 682a9297f7..adb7dadbdd 100644
--- a/tp/t/results/menu/submenu_in_example.pl
+++ b/tp/t/results/menu/submenu_in_example.pl
@@ -789,8 +789,6 @@ subheading in menu
 
 ';
 
-$result_sectioning{'submenu_in_example'} = {};
-
 $result_nodes{'submenu_in_example'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/misc_commands/ref_in_center.pl 
b/tp/t/results/misc_commands/ref_in_center.pl
index 1443036467..0eeff807e9 100644
--- a/tp/t/results/misc_commands/ref_in_center.pl
+++ b/tp/t/results/misc_commands/ref_in_center.pl
@@ -239,8 +239,6 @@ Top
 very long
 ';
 
-$result_sectioning{'ref_in_center'} = {};
-
 $result_nodes{'ref_in_center'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/misc_commands/test_allowcodebreaks.pl 
b/tp/t/results/misc_commands/test_allowcodebreaks.pl
index 72a507992a..e4a9296a42 100644
--- a/tp/t/results/misc_commands/test_allowcodebreaks.pl
+++ b/tp/t/results/misc_commands/test_allowcodebreaks.pl
@@ -2686,8 +2686,6 @@ anc-hor
 in-example
 ';
 
-$result_sectioning{'test_allowcodebreaks'} = {};
-
 $result_nodes{'test_allowcodebreaks'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/moreindices/double_index_entry.pl 
b/tp/t/results/moreindices/double_index_entry.pl
index 4c3c197583..9be1f840ec 100644
--- a/tp/t/results/moreindices/double_index_entry.pl
+++ b/tp/t/results/moreindices/double_index_entry.pl
@@ -568,8 +568,6 @@ Text
 
 ';
 
-$result_sectioning{'double_index_entry'} = {};
-
 $result_nodes{'double_index_entry'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/moreindices/nodes_before_top.pl 
b/tp/t/results/moreindices/nodes_before_top.pl
index 7033cb7523..492b424163 100644
--- a/tp/t/results/moreindices/nodes_before_top.pl
+++ b/tp/t/results/moreindices/nodes_before_top.pl
@@ -2568,8 +2568,6 @@ Text and then index entries
 
 ';
 
-$result_sectioning{'nodes_before_top'} = {};
-
 $result_nodes{'nodes_before_top'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/moreindices/nodes_before_top_no_nodes.pl 
b/tp/t/results/moreindices/nodes_before_top_no_nodes.pl
index 331bffa721..e39c5aafa9 100644
--- a/tp/t/results/moreindices/nodes_before_top_no_nodes.pl
+++ b/tp/t/results/moreindices/nodes_before_top_no_nodes.pl
@@ -2568,8 +2568,6 @@ Text and then index entries
 
 ';
 
-$result_sectioning{'nodes_before_top_no_nodes'} = {};
-
 $result_nodes{'nodes_before_top_no_nodes'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/moreindices/nodes_before_top_nodes.pl 
b/tp/t/results/moreindices/nodes_before_top_nodes.pl
index 5b85eefaf4..e7c838fa7d 100644
--- a/tp/t/results/moreindices/nodes_before_top_nodes.pl
+++ b/tp/t/results/moreindices/nodes_before_top_nodes.pl
@@ -2568,8 +2568,6 @@ Text and then index entries
 
 ';
 
-$result_sectioning{'nodes_before_top_nodes'} = {};
-
 $result_nodes{'nodes_before_top_nodes'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/moresectioning/equivalent_nodes.pl 
b/tp/t/results/moresectioning/equivalent_nodes.pl
index 2b49c9b6d6..50b47c7734 100644
--- a/tp/t/results/moresectioning/equivalent_nodes.pl
+++ b/tp/t/results/moresectioning/equivalent_nodes.pl
@@ -905,8 +905,6 @@ Ref to @samp{node} node.
 
 ';
 
-$result_sectioning{'equivalent_nodes'} = {};
-
 $result_nodes{'equivalent_nodes'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/moresectioning/equivalent_nodes_no_node.pl 
b/tp/t/results/moresectioning/equivalent_nodes_no_node.pl
index 4d267b385d..67979e7835 100644
--- a/tp/t/results/moresectioning/equivalent_nodes_no_node.pl
+++ b/tp/t/results/moresectioning/equivalent_nodes_no_node.pl
@@ -905,8 +905,6 @@ Ref to @samp{node} node.
 
 ';
 
-$result_sectioning{'equivalent_nodes_no_node'} = {};
-
 $result_nodes{'equivalent_nodes_no_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/plaintext_tests/all_spaces.pl 
b/tp/t/results/plaintext_tests/all_spaces.pl
index b859353a5f..9c5a262afc 100644
--- a/tp/t/results/plaintext_tests/all_spaces.pl
+++ b/tp/t/results/plaintext_tests/all_spaces.pl
@@ -774,8 +774,6 @@ IDEOGRAPHIC SPACE: | |
 
 ';
 
-$result_sectioning{'all_spaces'} = {};
-
 $result_nodes{'all_spaces'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/plaintext_tests/chinese_mixed_with_en.pl 
b/tp/t/results/plaintext_tests/chinese_mixed_with_en.pl
index 92d4a77522..25cf327dd7 100644
--- a/tp/t/results/plaintext_tests/chinese_mixed_with_en.pl
+++ b/tp/t/results/plaintext_tests/chinese_mixed_with_en.pl
@@ -499,8 +499,6 @@ overlap。
 
 ';
 
-$result_sectioning{'chinese_mixed_with_en'} = {};
-
 $result_nodes{'chinese_mixed_with_en'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/plaintext_tests/line_passed_and_formats.pl 
b/tp/t/results/plaintext_tests/line_passed_and_formats.pl
index 54351fc6c2..0f46b24217 100644
--- a/tp/t/results/plaintext_tests/line_passed_and_formats.pl
+++ b/tp/t/results/plaintext_tests/line_passed_and_formats.pl
@@ -2937,8 +2937,6 @@ menu
 end menu
 ';
 
-$result_sectioning{'line_passed_and_formats'} = {};
-
 $result_nodes{'line_passed_and_formats'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/plaintext_tests/non_break_spaces.pl 
b/tp/t/results/plaintext_tests/non_break_spaces.pl
index ab4019c002..503efee14a 100644
--- a/tp/t/results/plaintext_tests/non_break_spaces.pl
+++ b/tp/t/results/plaintext_tests/non_break_spaces.pl
@@ -147,8 +147,6 @@ NO-BREAK SPACE: 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbb
 NARROW NO-BREAK SPACE: 
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccc dddddddddddddddddddd
 ';
 
-$result_sectioning{'non_break_spaces'} = {};
-
 $result_nodes{'non_break_spaces'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/regions/anchor_in_copying.pl 
b/tp/t/results/regions/anchor_in_copying.pl
index c8fb33bb62..0919d0f28f 100644
--- a/tp/t/results/regions/anchor_in_copying.pl
+++ b/tp/t/results/regions/anchor_in_copying.pl
@@ -352,8 +352,6 @@ Copying information.
 
 ';
 
-$result_sectioning{'anchor_in_copying'} = {};
-
 $result_nodes{'anchor_in_copying'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/regions/anchor_in_copying_in_footnote.pl 
b/tp/t/results/regions/anchor_in_copying_in_footnote.pl
index 64eae24e0a..3ba4b70276 100644
--- a/tp/t/results/regions/anchor_in_copying_in_footnote.pl
+++ b/tp/t/results/regions/anchor_in_copying_in_footnote.pl
@@ -387,8 +387,6 @@ Copying footnote.
 
 ';
 
-$result_sectioning{'anchor_in_copying_in_footnote'} = {};
-
 $result_nodes{'anchor_in_copying_in_footnote'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/regions/format_in_titlepage.pl 
b/tp/t/results/regions/format_in_titlepage.pl
index f7af41aba0..ce3fd1612b 100644
--- a/tp/t/results/regions/format_in_titlepage.pl
+++ b/tp/t/results/regions/format_in_titlepage.pl
@@ -243,8 +243,6 @@ $result_texts{'format_in_titlepage'} = '
 
 ';
 
-$result_sectioning{'format_in_titlepage'} = {};
-
 $result_nodes{'format_in_titlepage'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/regions/format_in_titlepage_titlepage.pl 
b/tp/t/results/regions/format_in_titlepage_titlepage.pl
index 3c06d09e89..f2da7eca35 100644
--- a/tp/t/results/regions/format_in_titlepage_titlepage.pl
+++ b/tp/t/results/regions/format_in_titlepage_titlepage.pl
@@ -243,8 +243,6 @@ $result_texts{'format_in_titlepage_titlepage'} = '
 
 ';
 
-$result_sectioning{'format_in_titlepage_titlepage'} = {};
-
 $result_nodes{'format_in_titlepage_titlepage'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/a_comma_after_node.pl 
b/tp/t/results/sectioning/a_comma_after_node.pl
index f4c0010188..a4cd3a63b1 100644
--- a/tp/t/results/sectioning/a_comma_after_node.pl
+++ b/tp/t/results/sectioning/a_comma_after_node.pl
@@ -136,8 +136,6 @@ $result_texts{'a_comma_after_node'} = '
 A comma in text, end.
 ';
 
-$result_sectioning{'a_comma_after_node'} = {};
-
 $result_nodes{'a_comma_after_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/anchor_zero.pl 
b/tp/t/results/sectioning/anchor_zero.pl
index bc283f9aa0..ba6cae5a8f 100644
--- a/tp/t/results/sectioning/anchor_zero.pl
+++ b/tp/t/results/sectioning/anchor_zero.pl
@@ -186,8 +186,6 @@ $result_texts{'anchor_zero'} = '
 0.
 ';
 
-$result_sectioning{'anchor_zero'} = {};
-
 $result_nodes{'anchor_zero'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/at_commands_in_node.pl 
b/tp/t/results/sectioning/at_commands_in_node.pl
index 2a3844bbc8..9f02c6b042 100644
--- a/tp/t/results/sectioning/at_commands_in_node.pl
+++ b/tp/t/results/sectioning/at_commands_in_node.pl
@@ -369,8 +369,6 @@ $result_texis{'at_commands_in_node'} = '@node A @sc{sc} 
node @"i @"{@dotless{i}}
 
 $result_texts{'at_commands_in_node'} = '';
 
-$result_sectioning{'at_commands_in_node'} = {};
-
 $result_nodes{'at_commands_in_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/character_and_spaces_in_node.pl 
b/tp/t/results/sectioning/character_and_spaces_in_node.pl
index 79a07b1c55..5a51e95752 100644
--- a/tp/t/results/sectioning/character_and_spaces_in_node.pl
+++ b/tp/t/results/sectioning/character_and_spaces_in_node.pl
@@ -498,8 +498,6 @@ $result_texis{'character_and_spaces_in_node'} = '
 $result_texts{'character_and_spaces_in_node'} = '
 ';
 
-$result_sectioning{'character_and_spaces_in_node'} = {};
-
 $result_nodes{'character_and_spaces_in_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/contents_no_section.pl 
b/tp/t/results/sectioning/contents_no_section.pl
index ec445dbbac..1a04a38916 100644
--- a/tp/t/results/sectioning/contents_no_section.pl
+++ b/tp/t/results/sectioning/contents_no_section.pl
@@ -196,8 +196,6 @@ $result_texts{'contents_no_section'} = '
 
 ';
 
-$result_sectioning{'contents_no_section'} = {};
-
 $result_nodes{'contents_no_section'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/contents_with_only_top_node.pl 
b/tp/t/results/sectioning/contents_with_only_top_node.pl
index 26cb213c15..9856c974b1 100644
--- a/tp/t/results/sectioning/contents_with_only_top_node.pl
+++ b/tp/t/results/sectioning/contents_with_only_top_node.pl
@@ -109,8 +109,6 @@ $result_texts{'contents_with_only_top_node'} = '
 
 ';
 
-$result_sectioning{'contents_with_only_top_node'} = {};
-
 $result_nodes{'contents_with_only_top_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/double_node_anchor_float.pl 
b/tp/t/results/sectioning/double_node_anchor_float.pl
index 6fcb1c55dd..1e6d7f1ce7 100644
--- a/tp/t/results/sectioning/double_node_anchor_float.pl
+++ b/tp/t/results/sectioning/double_node_anchor_float.pl
@@ -623,8 +623,6 @@ Text, float1
 
 ';
 
-$result_sectioning{'double_node_anchor_float'} = {};
-
 $result_nodes{'double_node_anchor_float'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/double_top.pl 
b/tp/t/results/sectioning/double_top.pl
index 40712d613d..1aff906b74 100644
--- a/tp/t/results/sectioning/double_top.pl
+++ b/tp/t/results/sectioning/double_top.pl
@@ -237,8 +237,6 @@ $result_texts{'double_top'} = '
 .
 ';
 
-$result_sectioning{'double_top'} = {};
-
 $result_nodes{'double_top'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/double_top_in_menu.pl 
b/tp/t/results/sectioning/double_top_in_menu.pl
index c766a8505d..525317ebd6 100644
--- a/tp/t/results/sectioning/double_top_in_menu.pl
+++ b/tp/t/results/sectioning/double_top_in_menu.pl
@@ -426,8 +426,6 @@ $result_texts{'double_top_in_menu'} = 'Top node
 second node.
 ';
 
-$result_sectioning{'double_top_in_menu'} = {};
-
 $result_nodes{'double_top_in_menu'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/email_in_node.pl 
b/tp/t/results/sectioning/email_in_node.pl
index 04e199224b..69b3b53b17 100644
--- a/tp/t/results/sectioning/email_in_node.pl
+++ b/tp/t/results/sectioning/email_in_node.pl
@@ -199,8 +199,6 @@ $result_texis{'email_in_node'} = '@node @email{ a } 
@email{c , d} @email{ , e}
 
 $result_texts{'email_in_node'} = '';
 
-$result_sectioning{'email_in_node'} = {};
-
 $result_nodes{'email_in_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/empty_node.pl 
b/tp/t/results/sectioning/empty_node.pl
index fcaa8f90fa..3680f34a63 100644
--- a/tp/t/results/sectioning/empty_node.pl
+++ b/tp/t/results/sectioning/empty_node.pl
@@ -155,8 +155,6 @@ $result_texis{'empty_node'} = '@node
 $result_texts{'empty_node'} = '
 ';
 
-$result_sectioning{'empty_node'} = {};
-
 $result_errors{'empty_node'} = [
   {
     'error_line' => ':1: empty argument in @node
diff --git a/tp/t/results/sectioning/empty_nodes_with_commands.pl 
b/tp/t/results/sectioning/empty_nodes_with_commands.pl
index 14b65ff4dc..15887120a2 100644
--- a/tp/t/results/sectioning/empty_nodes_with_commands.pl
+++ b/tp/t/results/sectioning/empty_nodes_with_commands.pl
@@ -233,8 +233,6 @@ $result_texts{'empty_nodes_with_commands'} = '
 
 ';
 
-$result_sectioning{'empty_nodes_with_commands'} = {};
-
 $result_errors{'empty_nodes_with_commands'} = [
   {
     'error_line' => ':2: empty argument in @node
diff --git a/tp/t/results/sectioning/empty_ref_arg.pl 
b/tp/t/results/sectioning/empty_ref_arg.pl
index 6354c2221c..dc4a73c7ce 100644
--- a/tp/t/results/sectioning/empty_ref_arg.pl
+++ b/tp/t/results/sectioning/empty_ref_arg.pl
@@ -448,8 +448,6 @@ Top
 Top
 ';
 
-$result_sectioning{'empty_ref_arg'} = {};
-
 $result_nodes{'empty_ref_arg'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/equivalent_labels.pl 
b/tp/t/results/sectioning/equivalent_labels.pl
index 2af5e976c8..cc8768c743 100644
--- a/tp/t/results/sectioning/equivalent_labels.pl
+++ b/tp/t/results/sectioning/equivalent_labels.pl
@@ -496,8 +496,6 @@ In float
 * floa::
 ';
 
-$result_sectioning{'equivalent_labels'} = {};
-
 $result_nodes{'equivalent_labels'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/equivalent_nodes.pl 
b/tp/t/results/sectioning/equivalent_nodes.pl
index 178726e518..469cc0a638 100644
--- a/tp/t/results/sectioning/equivalent_nodes.pl
+++ b/tp/t/results/sectioning/equivalent_nodes.pl
@@ -407,8 +407,6 @@ $result_texts{'equivalent_nodes'} = '
 node.
 ';
 
-$result_sectioning{'equivalent_nodes'} = {};
-
 $result_nodes{'equivalent_nodes'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/explicit_node_directions.pl 
b/tp/t/results/sectioning/explicit_node_directions.pl
index 5182c35f87..6446743ca1 100644
--- a/tp/t/results/sectioning/explicit_node_directions.pl
+++ b/tp/t/results/sectioning/explicit_node_directions.pl
@@ -561,8 +561,6 @@ second node
 
 ';
 
-$result_sectioning{'explicit_node_directions'} = {};
-
 $result_nodes{'explicit_node_directions'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/next_no_prev_to_node.pl 
b/tp/t/results/sectioning/next_no_prev_to_node.pl
index 4c70bba2e6..7712015711 100644
--- a/tp/t/results/sectioning/next_no_prev_to_node.pl
+++ b/tp/t/results/sectioning/next_no_prev_to_node.pl
@@ -475,8 +475,6 @@ $result_texts{'next_no_prev_to_node'} = '
 
 ';
 
-$result_sectioning{'next_no_prev_to_node'} = {};
-
 $result_nodes{'next_no_prev_to_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/node_empty_direction.pl 
b/tp/t/results/sectioning/node_empty_direction.pl
index a8697ad7ed..6912b6b3cd 100644
--- a/tp/t/results/sectioning/node_empty_direction.pl
+++ b/tp/t/results/sectioning/node_empty_direction.pl
@@ -74,8 +74,6 @@ $result_texis{'node_empty_direction'} = '@node name, ';
 
 $result_texts{'node_empty_direction'} = '';
 
-$result_sectioning{'node_empty_direction'} = {};
-
 $result_nodes{'node_empty_direction'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/node_line_arguments.pl 
b/tp/t/results/sectioning/node_line_arguments.pl
index c377e229ac..d83ec64c79 100644
--- a/tp/t/results/sectioning/node_line_arguments.pl
+++ b/tp/t/results/sectioning/node_line_arguments.pl
@@ -730,8 +730,6 @@ $result_texts{'node_line_arguments'} = '
 
 ';
 
-$result_sectioning{'node_line_arguments'} = {};
-
 $result_nodes{'node_line_arguments'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/node_nested_parentheses.pl 
b/tp/t/results/sectioning/node_nested_parentheses.pl
index 2dcd6e756a..53694d0c81 100644
--- a/tp/t/results/sectioning/node_nested_parentheses.pl
+++ b/tp/t/results/sectioning/node_nested_parentheses.pl
@@ -523,8 +523,6 @@ $result_texts{'node_nested_parentheses'} = '
 * ())) error::
 ';
 
-$result_sectioning{'node_nested_parentheses'} = {};
-
 $result_nodes{'node_nested_parentheses'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/node_referenced_in_ref.pl 
b/tp/t/results/sectioning/node_referenced_in_ref.pl
index 44abced01b..a4e73ac49c 100644
--- a/tp/t/results/sectioning/node_referenced_in_ref.pl
+++ b/tp/t/results/sectioning/node_referenced_in_ref.pl
@@ -383,8 +383,6 @@ second level node.
 
 ';
 
-$result_sectioning{'node_referenced_in_ref'} = {};
-
 $result_nodes{'node_referenced_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/node_too_much_args.pl 
b/tp/t/results/sectioning/node_too_much_args.pl
index 790d520ddd..9a7efa3473 100644
--- a/tp/t/results/sectioning/node_too_much_args.pl
+++ b/tp/t/results/sectioning/node_too_much_args.pl
@@ -115,8 +115,6 @@ $result_texis{'node_too_much_args'} = '@node Top, , ,  
(dir)';
 
 $result_texts{'node_too_much_args'} = '';
 
-$result_sectioning{'node_too_much_args'} = {};
-
 $result_nodes{'node_too_much_args'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl 
b/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl
index a4af0a0829..34950caf2c 100644
--- a/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl
+++ b/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl
@@ -121,8 +121,6 @@ $result_texis{'node_up_direction_for_top_with_manual'} = 
'@node Top,,,(dir)top
 
 $result_texts{'node_up_direction_for_top_with_manual'} = '';
 
-$result_sectioning{'node_up_direction_for_top_with_manual'} = {};
-
 $result_nodes{'node_up_direction_for_top_with_manual'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/node_up_external_node.pl 
b/tp/t/results/sectioning/node_up_external_node.pl
index 16c8435341..3ee3fffe2c 100644
--- a/tp/t/results/sectioning/node_up_external_node.pl
+++ b/tp/t/results/sectioning/node_up_external_node.pl
@@ -379,8 +379,6 @@ $result_texts{'node_up_external_node'} = '
 
 ';
 
-$result_sectioning{'node_up_external_node'} = {};
-
 $result_nodes{'node_up_external_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/nodes_no_node_top_explicit_directions.pl 
b/tp/t/results/sectioning/nodes_no_node_top_explicit_directions.pl
index c91c2c5c12..abaf66cfe1 100644
--- a/tp/t/results/sectioning/nodes_no_node_top_explicit_directions.pl
+++ b/tp/t/results/sectioning/nodes_no_node_top_explicit_directions.pl
@@ -405,8 +405,6 @@ $result_texts{'nodes_no_node_top_explicit_directions'} = 
'first node
 second node
 ';
 
-$result_sectioning{'nodes_no_node_top_explicit_directions'} = {};
-
 $result_nodes{'nodes_no_node_top_explicit_directions'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/novalidate.pl 
b/tp/t/results/sectioning/novalidate.pl
index c76b9892c0..f8ebccad8a 100644
--- a/tp/t/results/sectioning/novalidate.pl
+++ b/tp/t/results/sectioning/novalidate.pl
@@ -327,8 +327,6 @@ $result_texts{'novalidate'} = '
 unknown ref.
 ';
 
-$result_sectioning{'novalidate'} = {};
-
 $result_nodes{'novalidate'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl 
b/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl
index d6a58e0333..dd73ea5ccf 100644
--- a/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl
+++ b/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl
@@ -253,8 +253,6 @@ anchor ref .
 ref to ref ref.
 ';
 
-$result_sectioning{'one_node_explicit_directions_anchor'} = {};
-
 $result_nodes{'one_node_explicit_directions_anchor'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/rec_nodes.pl 
b/tp/t/results/sectioning/rec_nodes.pl
index e99d9ddf97..37acc950f0 100644
--- a/tp/t/results/sectioning/rec_nodes.pl
+++ b/tp/t/results/sectioning/rec_nodes.pl
@@ -1325,8 +1325,6 @@ in node following second
 * node up node following second::
 ';
 
-$result_sectioning{'rec_nodes'} = {};
-
 $result_nodes{'rec_nodes'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/space_in_node.pl 
b/tp/t/results/sectioning/space_in_node.pl
index 0a1a70cec9..8536dd1ddf 100644
--- a/tp/t/results/sectioning/space_in_node.pl
+++ b/tp/t/results/sectioning/space_in_node.pl
@@ -556,8 +556,6 @@ $result_texts{'space_in_node'} = '
 
 ';
 
-$result_sectioning{'space_in_node'} = {};
-
 $result_nodes{'space_in_node'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/top_node_no_menu_direction.pl 
b/tp/t/results/sectioning/top_node_no_menu_direction.pl
index f6d5dd9b14..4da52fa75c 100644
--- a/tp/t/results/sectioning/top_node_no_menu_direction.pl
+++ b/tp/t/results/sectioning/top_node_no_menu_direction.pl
@@ -380,8 +380,6 @@ $result_texts{'top_node_no_menu_direction'} = '
 
 ';
 
-$result_sectioning{'top_node_no_menu_direction'} = {};
-
 $result_nodes{'top_node_no_menu_direction'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/transliterated_split_equivalent_nodes.pl 
b/tp/t/results/sectioning/transliterated_split_equivalent_nodes.pl
index 043df476ee..d745668104 100644
--- a/tp/t/results/sectioning/transliterated_split_equivalent_nodes.pl
+++ b/tp/t/results/sectioning/transliterated_split_equivalent_nodes.pl
@@ -645,8 +645,6 @@ $result_texts{'transliterated_split_equivalent_nodes'} = '
 
 ';
 
-$result_sectioning{'transliterated_split_equivalent_nodes'} = {};
-
 $result_nodes{'transliterated_split_equivalent_nodes'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/sectioning/unknown_node_in_menu.pl 
b/tp/t/results/sectioning/unknown_node_in_menu.pl
index ef5f4dc3af..bf41141735 100644
--- a/tp/t/results/sectioning/unknown_node_in_menu.pl
+++ b/tp/t/results/sectioning/unknown_node_in_menu.pl
@@ -210,8 +210,6 @@ $result_texts{'unknown_node_in_menu'} = '
 * unknown::
 ';
 
-$result_sectioning{'unknown_node_in_menu'} = {};
-
 $result_nodes{'unknown_node_in_menu'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/value/value_in_index_commands.pl 
b/tp/t/results/value/value_in_index_commands.pl
index 049181fb63..6bfb3517ea 100644
--- a/tp/t/results/value/value_in_index_commands.pl
+++ b/tp/t/results/value/value_in_index_commands.pl
@@ -951,8 +951,6 @@ value truc
 value cp
 ';
 
-$result_sectioning{'value_in_index_commands'} = {};
-
 $result_nodes{'value_in_index_commands'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/xml_tests/commands_and_spaces.pl 
b/tp/t/results/xml_tests/commands_and_spaces.pl
index 34093b20a0..75b6822415 100644
--- a/tp/t/results/xml_tests/commands_and_spaces.pl
+++ b/tp/t/results/xml_tests/commands_and_spaces.pl
@@ -2201,8 +2201,6 @@ T
 
 ';
 
-$result_sectioning{'commands_and_spaces'} = {};
-
 $result_nodes{'commands_and_spaces'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/xml_tests/node_and_bye.pl 
b/tp/t/results/xml_tests/node_and_bye.pl
index 3f327ef108..5dd4a8e90d 100644
--- a/tp/t/results/xml_tests/node_and_bye.pl
+++ b/tp/t/results/xml_tests/node_and_bye.pl
@@ -99,8 +99,6 @@ $result_texis{'node_and_bye'} = '@node Top
 $result_texts{'node_and_bye'} = '
 ';
 
-$result_sectioning{'node_and_bye'} = {};
-
 $result_nodes{'node_and_bye'} = {
   'cmdname' => 'node',
   'extra' => {
diff --git a/tp/t/results/xml_tests/node_no_section.pl 
b/tp/t/results/xml_tests/node_no_section.pl
index b827b5c0c2..a40b2875ca 100644
--- a/tp/t/results/xml_tests/node_no_section.pl
+++ b/tp/t/results/xml_tests/node_no_section.pl
@@ -69,8 +69,6 @@ $result_texis{'node_no_section'} = '@node Top
 
 $result_texts{'node_no_section'} = '';
 
-$result_sectioning{'node_no_section'} = {};
-
 $result_nodes{'node_no_section'} = {
   'cmdname' => 'node',
   'extra' => {



reply via email to

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