texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: t/test_utils.pl remove redundant section_level fr


From: Patrice Dumas
Subject: branch master updated: t/test_utils.pl remove redundant section_level from some test results
Date: Sun, 02 Jan 2022 19:37:12 -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 793c81e19e t/test_utils.pl remove redundant section_level from some 
test results
793c81e19e is described below

commit 793c81e19eb572661fcd309fef609a59877d5d58
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Jan 3 01:36:30 2022 +0100

    t/test_utils.pl remove redundant section_level from some test results
---
 tp/t/results/converters_tests/ref_in_sectioning.pl |   6 +-
 tp/t/results/converters_tests/refs_formatting.pl   |   1 -
 .../some_at_commands_in_ref_nodes.pl               |   5 +-
 .../converters_tests/test_deftypefnnewline.pl      |   5 +-
 .../converters_tests/things_before_setfilename.pl  |   4 +-
 .../coverage/punctuation_in_line_commands.pl       |   8 +-
 .../coverage_braces/two_footnotes_in_nodes.pl      |   5 +-
 .../two_footnotes_in_nodes_separate.pl             |   5 +-
 .../docbook_tests/multiple_documentlanguage.pl     |   6 +-
 .../docbook_tests/special_docbook_unnumbered.pl    |  17 +---
 tp/t/results/float/complex_float.pl                |  10 +-
 tp/t/results/float/float_copying.pl                |   5 +-
 .../float/numbering_captions_listoffloats.pl       |  44 ++-------
 tp/t/results/formats_encodings/accent.pl           |   4 +-
 .../formats_encodings/accent_enable_encoding.pl    |   4 +-
 tp/t/results/formats_encodings/accentenc.pl        |   4 +-
 .../formats_encodings/accentenc_enable_encoding.pl |   4 +-
 .../formats_encodings/at_commands_in_refs.pl       |  31 +-----
 .../at_commands_in_refs_latin1.pl                  |  31 +-----
 .../formats_encodings/at_commands_in_refs_utf8.pl  |  31 +-----
 .../char_latin1_latin1_in_refs.pl                  |   9 +-
 .../formats_encodings/char_latin1_utf8_in_refs.pl  |   9 +-
 .../char_latin2_latin2_in_refs.pl                  |   5 +-
 .../formats_encodings/japanese_shift_jis.pl        |   6 +-
 tp/t/results/formats_encodings/sample_utf8.pl      |  10 +-
 tp/t/results/formats_encodings/weird_accents.pl    |   4 +-
 .../weird_accents_disable_encoding.pl              |   4 +-
 .../formatting/direntry_dircategory_info_split.pl  |   5 +-
 .../formatting/documentlanguage_set_option.pl      |   4 +-
 .../formatting/documentlanguage_set_option_info.pl |   4 +-
 .../formatting/documentlanguage_set_unknown.pl     |   4 +-
 tp/t/results/formatting/float_copying.pl           |   5 +-
 tp/t/results/formatting/split_nocopying.pl         |   5 +-
 tp/t/results/formatting/split_nocopying_split.pl   |   5 +-
 tp/t/results/formatting/texi_bib_example.pl        |   6 +-
 tp/t/results/formatting/texi_glossary.pl           |   5 +-
 tp/t/results/html_tests/check_htmlxref.pl          |   4 +-
 .../deftypefnnewline_for_copying_after.pl          |   4 +-
 .../deftypefnnewline_for_copying_before.pl         |   4 +-
 .../empty_lines_at_beginning_no_setfilename.pl     |   4 +-
 .../html_tests/footnotestyle_separate_late.pl      |   5 +-
 tp/t/results/html_tests/html_in_copying.pl         |   4 +-
 tp/t/results/html_tests/index_below.pl             |   5 +-
 tp/t/results/html_tests/redirection_same_labels.pl |  15 +--
 tp/t/results/html_tests/simple_menu.pl             |   4 +-
 .../html_tests/test_xrefautomaticsectiontitle.pl   |   5 +-
 .../test_xrefautomaticsectiontitle_off_first.pl    |   5 +-
 .../text_before_top_and_contents_after_title.pl    |   4 +-
 ...t_before_top_and_summarycontents_after_title.pl |   4 +-
 tp/t/results/html_tests/titles.pl                  |   4 +-
 tp/t/results/htmlxref/htmlxref.pl                  |   5 +-
 tp/t/results/htmlxref/htmlxref_nodes.pl            |   5 +-
 tp/t/results/htmlxref/htmlxref_only_mono.pl        |   5 +-
 tp/t/results/htmlxref/htmlxref_only_mono_nodes.pl  |   5 +-
 tp/t/results/htmlxref/htmlxref_only_split.pl       |   5 +-
 tp/t/results/htmlxref/htmlxref_only_split_nodes.pl |   5 +-
 .../macro_and_commands_in_early_commands.pl        |   4 +-
 tp/t/results/include/macro_in_early_commands.pl    |   4 +-
 tp/t/results/indices/def_syn_indices.pl            |   5 +-
 tp/t/results/indices/double_seeentry_seealso.pl    |   5 +-
 tp/t/results/indices/encoding_index_ascii.pl       |   4 +-
 .../encoding_index_ascii_enable_encoding.pl        |   4 +-
 tp/t/results/indices/encoding_index_latin1.pl      |   4 +-
 .../encoding_index_latin1_enable_encoding.pl       |   4 +-
 tp/t/results/indices/encoding_index_utf8.pl        |   4 +-
 .../indices/encoding_index_utf8_enable_encoding.pl |   4 +-
 tp/t/results/indices/explicit_sort_key.pl          |   4 +-
 .../indices/printindex_index_entry_in_copying.pl   |   5 +-
 ...rintindex_index_entry_in_copying_in_footnote.pl |   5 +-
 ...ndex_index_entry_in_copying_no_insertcopying.pl |   5 +-
 .../indices/same_index_entry_merged_indices.pl     |   4 +-
 tp/t/results/indices/seeentry.pl                   |   5 +-
 tp/t/results/indices/subentries.pl                 |   5 +-
 tp/t/results/indices/subentry_and_sortas.pl        |   5 +-
 tp/t/results/indices/syncode_index_print_both.pl   |   5 +-
 tp/t/results/indices/transparent_sort_chars.pl     |   4 +-
 tp/t/results/indices/w_lines_count.pl              |   4 +-
 tp/t/results/info_tests/anchor_and_spaces.pl       |   4 +-
 tp/t/results/info_tests/before_node_and_section.pl |   5 +-
 tp/t/results/info_tests/def_in_copying.pl          |   4 +-
 .../direntry_dircategory_and_commands.pl           |   4 +-
 tp/t/results/info_tests/index_entry_at_end_node.pl |   6 +-
 .../info_tests/paragraphindent_and_preamble.pl     |   4 +-
 tp/t/results/info_tests/space_in_menu.pl           |   5 +-
 tp/t/results/info_tests/split_no_copying.pl        |   5 +-
 .../info_tests/split_test_before_first_node.pl     |   5 +-
 .../split_test_before_first_node_no_empty_line.pl  |   5 +-
 tp/t/results/info_tests/test_index.pl              |   6 +-
 tp/t/results/info_tests/text_before_node.pl        |   5 +-
 .../invalid_nestings/node_in_copying_not_closed.pl |   4 +-
 .../style_not_closed_no_newline_root_commands.pl   |   5 +-
 .../style_not_closed_root_commands.pl              |   5 +-
 .../itemize/inter_item_commands_in_enumerate.pl    |   5 +-
 .../itemize/inter_item_commands_in_itemize.pl      |   5 +-
 tp/t/results/languages/appendix_translated.pl      |   4 +-
 tp/t/results/languages/command_translated.pl       |   4 +-
 tp/t/results/languages/multiple_lang_chapters.pl   |   9 +-
 .../languages/multiple_lang_chapters_latex.pl      |   9 +-
 .../languages/multiple_lang_chapters_texi2html.pl  |   9 +-
 tp/t/results/languages/unknown_language.pl         |   4 +-
 .../anchor_links_xref_xrefautomaticsectiontitle.pl |   5 +-
 tp/t/results/latex_tests/custom_headings.pl        |   5 +-
 tp/t/results/latex_tests/float_and_refs.pl         |   6 +-
 tp/t/results/latex_tests/fonttextsize.pl           |   5 +-
 tp/t/results/latex_tests/indices.pl                |   5 +-
 .../informative_commands_in_top_node.pl            |   5 +-
 tp/t/results/latex_tests/pagesizes.pl              |   5 +-
 tp/t/results/latex_tests/pagetype.pl               |   5 +-
 tp/t/results/latex_tests/shorttitlepage.pl         |   5 +-
 tp/t/results/latex_tests/titlepage_classical.pl    |   5 +-
 tp/t/results/latex_tests/titlepage_in_top_node.pl  |   5 +-
 tp/t/results/latex_tests/titlepage_long_title.pl   |   5 +-
 tp/t/results/latex_tests/titlepage_no_author.pl    |   5 +-
 tp/t/results/latex_tests/titlepage_no_title.pl     |   5 +-
 .../titlepage_with_commands_classical.pl           |   5 +-
 tp/t/results/layout/navigation.pl                  |   7 +-
 tp/t/results/layout/navigation_chapter.pl          |   7 +-
 .../results/layout/navigation_chapter_no_header.pl |   7 +-
 .../navigation_chapter_no_header_vertical.pl       |   7 +-
 tp/t/results/layout/navigation_chapter_vertical.pl |   7 +-
 tp/t/results/layout/navigation_no_header.pl        |   7 +-
 .../layout/navigation_no_header_vertical.pl        |   7 +-
 tp/t/results/layout/navigation_node.pl             |   7 +-
 tp/t/results/layout/navigation_node_no_header.pl   |   7 +-
 .../layout/navigation_node_no_header_vertical.pl   |   7 +-
 tp/t/results/layout/navigation_node_vertical.pl    |   7 +-
 tp/t/results/layout/navigation_section.pl          |   7 +-
 .../results/layout/navigation_section_no_header.pl |   7 +-
 .../navigation_section_no_header_vertical.pl       |   7 +-
 tp/t/results/layout/navigation_section_vertical.pl |   7 +-
 tp/t/results/layout/navigation_vertical.pl         |   7 +-
 tp/t/results/layout/no_monolithic.pl               |   5 +-
 tp/t/results/macro/macro_in_misc_commands.pl       |   5 +-
 .../menu/block_commands_in_menu_description.pl     |   4 +-
 tp/t/results/menu/comment_on_menu_line.pl          |   1 -
 tp/t/results/menu/detailmenu_on_subnodes.pl        |  12 +--
 .../menu/direntry_dircategory_after_first_node.pl  |   4 +-
 tp/t/results/menu/example_in_menu_description.pl   |   4 +-
 tp/t/results/menu/inlineraw_in_menu_description.pl |   4 +-
 tp/t/results/menu/menu_pointing_to_anchor.pl       |   4 +-
 tp/t/results/menu/verb_in_menu_description.pl      |   4 +-
 .../codequoteundirected_codequotebacktick.pl       |   4 +-
 .../misc_commands/comment_space_command_on_line.pl |   8 +-
 .../misc_commands/text_before_line_command.pl      |   1 -
 tp/t/results/morecoverage/formatting_fr.pl         |   9 +-
 tp/t/results/morecoverage/texi_formatting.pl       |   9 +-
 tp/t/results/moreindices/index_split.pl            |  11 +--
 tp/t/results/moreindices/index_split_nodes.pl      |  11 +--
 .../nodes_before_top_and_sections_monolithic.pl    |   4 +-
 tp/t/results/moreindices/split_chapter_index.pl    |   7 +-
 .../moresectioning/more_sections_than_nodes.pl     |   8 +-
 tp/t/results/moresectioning/node_footnote_end.pl   |   1 -
 .../moresectioning/node_footnote_separated.pl      |   1 -
 .../moresectioning/node_footnote_use_node.pl       |   1 -
 .../nodes_after_top_before_chapter.pl              |   1 -
 ...s_after_top_before_chapter_use_nodes_chapter.pl |   1 -
 .../nodes_after_top_before_section.pl              |   1 -
 .../nodes_after_top_before_section_use_nodes.pl    |   1 -
 ...s_after_top_before_section_use_nodes_chapter.pl |   1 -
 tp/t/results/moresectioning/sectioning_frames.pl   |  34 ++-----
 .../results/moresectioning/top_node_up_explicit.pl |   5 +-
 .../results/moresectioning/top_node_up_implicit.pl |   5 +-
 .../moresectioning/two_footnotes_in_nodes.pl       |   5 +-
 .../two_footnotes_in_nodes_separated.pl            |   5 +-
 tp/t/results/plaintext_tests/japanese_utf8.pl      |   6 +-
 tp/t/results/plaintext_tests/quote_node_names.pl   |   8 +-
 tp/t/results/regions/ref_in_copying.pl             |   5 +-
 tp/t/results/regions/today_in_copying.pl           |   4 +-
 tp/t/results/sectioning/anchor_in_footnote.pl      |   5 +-
 .../sectioning/anchor_in_footnote_separate.pl      |   5 +-
 .../sectioning/chapter_before_and_after_part.pl    |   5 +-
 tp/t/results/sectioning/chapter_before_part.pl     |   4 +-
 tp/t/results/sectioning/chapter_between_nodes.pl   |   5 +-
 .../chapter_node_before_and_after_part.pl          |   6 +-
 tp/t/results/sectioning/chapter_sections.pl        |  10 +-
 .../sectioning/character_and_spaces_in_refs.pl     |   5 +-
 .../sectioning/character_and_spaces_in_refs_out.pl |   4 +-
 tp/t/results/sectioning/complex.pl                 |  99 ++++++-------------
 tp/t/results/sectioning/complex_split_at_node.pl   |  33 ++-----
 .../sectioning/contents_at_document_begin.pl       |   4 +-
 .../results/sectioning/contents_at_end_document.pl |   4 +-
 .../contents_at_end_document_after_node.pl         |   4 +-
 tp/t/results/sectioning/contents_in_document.pl    |   4 +-
 tp/t/results/sectioning/double_part.pl             |  30 ++----
 tp/t/results/sectioning/empty_top_node_up.pl       |   4 +-
 tp/t/results/sectioning/external_node_in_menu.pl   |   6 +-
 tp/t/results/sectioning/internal_top_node_up.pl    |   3 +-
 tp/t/results/sectioning/lone_Top_node.pl           |   3 -
 tp/t/results/sectioning/loop_nodes.pl              |   4 +-
 tp/t/results/sectioning/lowered_subsubsection.pl   |  10 +-
 tp/t/results/sectioning/menutextorder.pl           |   7 --
 .../results/sectioning/more_sections_than_nodes.pl |   8 +-
 tp/t/results/sectioning/next_in_menu_is_below.pl   |   7 +-
 tp/t/results/sectioning/no_menu.pl                 |   7 +-
 .../sectioning/node_part_chapter_after_chapter.pl  |  24 ++---
 .../sectioning/node_part_chapter_after_top.pl      |  21 ++--
 .../node_sectop_before_chapter_no_node.pl          |   4 +-
 .../sectioning/node_sectop_before_lone_node_Top.pl |   5 +-
 tp/t/results/sectioning/nodename_parentheses.pl    |   7 +-
 .../nodes_after_top_before_chapter_nodes.pl        |   1 -
 .../nodes_after_top_before_chapter_not_split.pl    |   1 -
 ...ore_chapter_not_split_no_use_node_directions.pl |   1 -
 .../nodes_after_top_before_chapter_sections.pl     |   3 -
 .../nodes_after_top_before_section_nodes.pl        |   1 -
 .../nodes_after_top_before_section_sections.pl     |   3 -
 tp/t/results/sectioning/nodes_before_after_top.pl  |   5 +-
 .../sectioning/nodes_before_after_top_xref.pl      |   5 +-
 tp/t/results/sectioning/nodes_before_top.pl        |   5 +-
 .../non_automatic_internal_top_node_up.pl          |   3 +-
 .../non_automatic_top_node_up_and_url.pl           |   3 +-
 .../sectioning/non_automatic_top_node_up_url.pl    |   3 +-
 tp/t/results/sectioning/one_subsection_and_node.pl |   1 -
 tp/t/results/sectioning/part_before_chapter.pl     |   4 +-
 tp/t/results/sectioning/part_before_section.pl     |   4 +-
 tp/t/results/sectioning/part_before_top.pl         |   6 +-
 tp/t/results/sectioning/part_chapter_after_top.pl  |  21 ++--
 tp/t/results/sectioning/part_node_after_top.pl     |  18 ++--
 tp/t/results/sectioning/part_node_before_top.pl    |  18 ++--
 .../sectioning/part_node_chapter_after_top.pl      |  21 ++--
 .../sectioning/part_node_chapter_appendix.pl       |  24 ++---
 .../sectioning/part_node_chapter_node_appendix.pl  |  24 ++---
 .../sectioning/part_node_node_part_appendix.pl     |  33 ++-----
 tp/t/results/sectioning/part_node_part_appendix.pl |  33 ++-----
 .../sectioning/part_node_part_node_appendix.pl     |  33 ++-----
 .../sectioning/placed_things_before_node.pl        |   4 +-
 .../sectioning/protected_node_parentheses.pl       |   4 +-
 tp/t/results/sectioning/raiselowersections.pl      |   9 +-
 tp/t/results/sectioning/ref_to_top.pl              |   4 +-
 .../sectioning/section_before_after_top_node.pl    |   4 +-
 .../section_before_after_top_node_last_node.pl     |   4 +-
 tp/t/results/sectioning/section_before_top.pl      |   5 +-
 .../results/sectioning/section_below_unnumbered.pl |  12 +--
 .../sectioning/section_chapter_before_top_nodes.pl |   6 +-
 .../sectioning/section_in_unnumbered_info.pl       | 107 +++++----------------
 .../sectioning/section_in_unnumbered_plaintext.pl  | 107 +++++----------------
 .../results/sectioning/section_node_before_part.pl |   1 -
 .../results/sectioning/sectioning_part_appendix.pl |  17 +---
 .../sectioning/sectioning_part_appendix_no_top.pl  |  14 +--
 tp/t/results/sectioning/semi_auto.pl               |   7 +-
 .../setfilename_on_top_and_after_node.pl           |   4 +-
 tp/t/results/sectioning/top_chapter_sections.pl    |  13 +--
 .../results/sectioning/top_no_argument_and_node.pl |   4 +-
 .../sectioning/top_no_argument_and_top_node.pl     |   4 +-
 tp/t/results/sectioning/top_node_part_top.pl       |  18 ++--
 tp/t/results/sectioning/top_node_up_url.pl         |   3 +-
 tp/t/results/sectioning/top_part_chapter.pl        |   7 +-
 tp/t/results/sectioning/top_without_node_nodes.pl  |   1 -
 .../sectioning/top_without_node_sections.pl        |  12 +--
 tp/t/results/sectioning/two_nodes_at_the_end.pl    |  12 +--
 .../sectioning/two_nodes_between_chapters.pl       |  15 +--
 .../sectioning/unnumbered_before_node_top_top.pl   |  18 ++--
 .../sectioning/unnumbered_before_top_node.pl       |   9 +-
 .../unnumbered_top_without_node_nodes.pl           |   4 +-
 .../unnumbered_top_without_node_sections.pl        |  21 ++--
 tp/t/results/value/value_in_misc_commands.pl       |   4 +-
 tp/t/results/value/value_in_node.pl                |   5 +-
 tp/t/results/value/value_node_directions.pl        |   6 +-
 tp/t/results/xml_tests/image_inline_or_not.pl      |   6 +-
 tp/t/results/xtable/block_commands_in_table.pl     |   4 +-
 .../results/xtable/inter_item_commands_in_table.pl |   5 +-
 tp/t/test_utils.pl                                 |   5 +-
 261 files changed, 457 insertions(+), 1676 deletions(-)

diff --git a/tp/t/results/converters_tests/ref_in_sectioning.pl 
b/tp/t/results/converters_tests/ref_in_sectioning.pl
index 5fb0972ca7..5cad7febb6 100644
--- a/tp/t/results/converters_tests/ref_in_sectioning.pl
+++ b/tp/t/results/converters_tests/ref_in_sectioning.pl
@@ -2329,9 +2329,7 @@ $result_nodes{'ref_in_sectioning'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -2349,7 +2347,6 @@ $result_nodes{'ref_in_sectioning'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -2363,7 +2360,6 @@ $result_nodes{'ref_in_sectioning'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git a/tp/t/results/converters_tests/refs_formatting.pl 
b/tp/t/results/converters_tests/refs_formatting.pl
index 43a36f4be7..8e0f858fe9 100644
--- a/tp/t/results/converters_tests/refs_formatting.pl
+++ b/tp/t/results/converters_tests/refs_formatting.pl
@@ -4359,7 +4359,6 @@ $result_nodes{'refs_formatting'} = {
       'cmdname' => 'chapter',
       'extra' => {},
       'structure' => {
-        'section_level' => 1,
         'section_number' => 1
       }
     },
diff --git a/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl 
b/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl
index 2c4ea925c4..04b4660a79 100644
--- a/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl
+++ b/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl
@@ -1744,9 +1744,7 @@ $result_nodes{'some_at_commands_in_ref_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1764,7 +1762,6 @@ $result_nodes{'some_at_commands_in_ref_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/converters_tests/test_deftypefnnewline.pl 
b/tp/t/results/converters_tests/test_deftypefnnewline.pl
index f96e858319..9d791df209 100644
--- a/tp/t/results/converters_tests/test_deftypefnnewline.pl
+++ b/tp/t/results/converters_tests/test_deftypefnnewline.pl
@@ -3279,9 +3279,7 @@ $result_nodes{'test_deftypefnnewline'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -3293,7 +3291,6 @@ $result_nodes{'test_deftypefnnewline'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/converters_tests/things_before_setfilename.pl 
b/tp/t/results/converters_tests/things_before_setfilename.pl
index d75a8695df..1dab41878c 100644
--- a/tp/t/results/converters_tests/things_before_setfilename.pl
+++ b/tp/t/results/converters_tests/things_before_setfilename.pl
@@ -1386,9 +1386,7 @@ $result_nodes{'things_before_setfilename'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/coverage/punctuation_in_line_commands.pl 
b/tp/t/results/coverage/punctuation_in_line_commands.pl
index f8eea28f42..e6d4188b79 100644
--- a/tp/t/results/coverage/punctuation_in_line_commands.pl
+++ b/tp/t/results/coverage/punctuation_in_line_commands.pl
@@ -1061,9 +1061,7 @@ $result_nodes{'punctuation_in_line_commands'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'node_0021-After-punc'
@@ -1089,9 +1087,7 @@ $result_floats{'punctuation_in_line_commands'} = {
         'float_section' => {
           'cmdname' => 'top',
           'extra' => {},
-          'structure' => {
-            'section_level' => 0
-          }
+          'structure' => {}
         },
         'normalized' => 'float-label_0021-After-punc',
         'shortcaption' => {
diff --git a/tp/t/results/coverage_braces/two_footnotes_in_nodes.pl 
b/tp/t/results/coverage_braces/two_footnotes_in_nodes.pl
index d037335318..1bd9c3e92b 100644
--- a/tp/t/results/coverage_braces/two_footnotes_in_nodes.pl
+++ b/tp/t/results/coverage_braces/two_footnotes_in_nodes.pl
@@ -733,9 +733,7 @@ $result_nodes{'two_footnotes_in_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -753,7 +751,6 @@ $result_nodes{'two_footnotes_in_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl 
b/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl
index d90e6d78b7..dda9dff3e0 100644
--- a/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl
+++ b/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl
@@ -769,9 +769,7 @@ $result_nodes{'two_footnotes_in_nodes_separate'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -789,7 +787,6 @@ $result_nodes{'two_footnotes_in_nodes_separate'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/docbook_tests/multiple_documentlanguage.pl 
b/tp/t/results/docbook_tests/multiple_documentlanguage.pl
index e074ea8b9f..387b9c8643 100644
--- a/tp/t/results/docbook_tests/multiple_documentlanguage.pl
+++ b/tp/t/results/docbook_tests/multiple_documentlanguage.pl
@@ -743,9 +743,7 @@ $result_nodes{'multiple_documentlanguage'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -757,7 +755,6 @@ $result_nodes{'multiple_documentlanguage'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -771,7 +768,6 @@ $result_nodes{'multiple_documentlanguage'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git a/tp/t/results/docbook_tests/special_docbook_unnumbered.pl 
b/tp/t/results/docbook_tests/special_docbook_unnumbered.pl
index 1e40c3e4e9..8a9098e1a4 100644
--- a/tp/t/results/docbook_tests/special_docbook_unnumbered.pl
+++ b/tp/t/results/docbook_tests/special_docbook_unnumbered.pl
@@ -1064,9 +1064,7 @@ $result_nodes{'special_docbook_unnumbered'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1083,9 +1081,7 @@ $result_nodes{'special_docbook_unnumbered'} = {
         'associated_section' => {
           'cmdname' => 'unnumbered',
           'extra' => {},
-          'structure' => {
-            'section_level' => 1
-          }
+          'structure' => {}
         },
         'normalized' => 'Dedication'
       },
@@ -1096,9 +1092,7 @@ $result_nodes{'special_docbook_unnumbered'} = {
             'associated_section' => {
               'cmdname' => 'unnumbered',
               'extra' => {},
-              'structure' => {
-                'section_level' => 1
-              }
+              'structure' => {}
             },
             'normalized' => 'preface'
           },
@@ -1109,9 +1103,7 @@ $result_nodes{'special_docbook_unnumbered'} = {
                 'associated_section' => {
                   'cmdname' => 'unnumbered',
                   'extra' => {},
-                  'structure' => {
-                    'section_level' => 1
-                  }
+                  'structure' => {}
                 },
                 'normalized' => 'colophon'
               },
@@ -1123,7 +1115,6 @@ $result_nodes{'special_docbook_unnumbered'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 1
                       }
                     },
diff --git a/tp/t/results/float/complex_float.pl 
b/tp/t/results/float/complex_float.pl
index dbd5a10b51..db84f8c1a5 100644
--- a/tp/t/results/float/complex_float.pl
+++ b/tp/t/results/float/complex_float.pl
@@ -4612,9 +4612,7 @@ $result_nodes{'complex_float'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -4632,7 +4630,6 @@ $result_nodes{'complex_float'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -4689,9 +4686,7 @@ $result_floats{'complex_float'} = {
         'float_section' => {
           'cmdname' => 'top',
           'extra' => {},
-          'structure' => {
-            'section_level' => 0
-          }
+          'structure' => {}
         },
         'normalized' => 'text-with-a-lot-of-features',
         'shortcaption' => {
@@ -4726,7 +4721,6 @@ $result_floats{'complex_float'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/float/float_copying.pl 
b/tp/t/results/float/float_copying.pl
index c33d84cc42..c14e1047de 100644
--- a/tp/t/results/float/float_copying.pl
+++ b/tp/t/results/float/float_copying.pl
@@ -1274,9 +1274,7 @@ $result_nodes{'float_copying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1294,7 +1292,6 @@ $result_nodes{'float_copying'} = {
           'cmdname' => 'appendix',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 'A'
           }
         },
diff --git a/tp/t/results/float/numbering_captions_listoffloats.pl 
b/tp/t/results/float/numbering_captions_listoffloats.pl
index 2d44e023d7..f260f1ada7 100644
--- a/tp/t/results/float/numbering_captions_listoffloats.pl
+++ b/tp/t/results/float/numbering_captions_listoffloats.pl
@@ -6914,9 +6914,7 @@ $result_nodes{'numbering_captions_listoffloats'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -6934,7 +6932,6 @@ $result_nodes{'numbering_captions_listoffloats'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -6954,7 +6951,6 @@ $result_nodes{'numbering_captions_listoffloats'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -6970,9 +6966,7 @@ $result_nodes{'numbering_captions_listoffloats'} = {
             'associated_section' => {
               'cmdname' => 'unnumbered',
               'extra' => {},
-              'structure' => {
-                'section_level' => 1
-              }
+              'structure' => {}
             },
             'menus' => [
               {
@@ -6989,9 +6983,7 @@ $result_nodes{'numbering_captions_listoffloats'} = {
                 'associated_section' => {
                   'cmdname' => 'section',
                   'extra' => {},
-                  'structure' => {
-                    'section_level' => 2
-                  }
+                  'structure' => {}
                 },
                 'normalized' => 'Section-within-unnumbered'
               },
@@ -7006,7 +6998,6 @@ $result_nodes{'numbering_captions_listoffloats'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 2
                   }
                 },
@@ -7025,9 +7016,7 @@ $result_nodes{'numbering_captions_listoffloats'} = {
                     'associated_section' => {
                       'cmdname' => 'unnumberedsec',
                       'extra' => {},
-                      'structure' => {
-                        'section_level' => 2
-                      }
+                      'structure' => {}
                     },
                     'normalized' => 'unnumbered-sec'
                   },
@@ -7042,7 +7031,6 @@ $result_nodes{'numbering_captions_listoffloats'} = {
                       'cmdname' => 'appendix',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 'A'
                       }
                     },
@@ -7055,9 +7043,7 @@ $result_nodes{'numbering_captions_listoffloats'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumbered',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 1
-                          }
+                          'structure' => {}
                         },
                         'normalized' => 'list-of-floats'
                       },
@@ -7238,9 +7224,7 @@ $result_floats{'numbering_captions_listoffloats'} = {
         'float_section' => {
           'cmdname' => 'top',
           'extra' => {},
-          'structure' => {
-            'section_level' => 0
-          }
+          'structure' => {}
         },
         'normalized' => 'label-but-no-type',
         'shortcaption' => {
@@ -7340,7 +7324,6 @@ $result_floats{'numbering_captions_listoffloats'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -7371,9 +7354,7 @@ $result_floats{'numbering_captions_listoffloats'} = {
         'float_section' => {
           'cmdname' => 'unnumbered',
           'extra' => {},
-          'structure' => {
-            'section_level' => 1
-          }
+          'structure' => {}
         },
         'normalized' => 'label-but-no-type-in-unnumbered',
         'shortcaption' => {
@@ -7402,9 +7383,7 @@ $result_floats{'numbering_captions_listoffloats'} = {
         'float_section' => {
           'cmdname' => 'unnumberedsec',
           'extra' => {},
-          'structure' => {
-            'section_level' => 2
-          }
+          'structure' => {}
         },
         'normalized' => 'label-but-no-type-in-unnumbered-subsec-in-chapter',
         'shortcaption' => {
@@ -7535,7 +7514,6 @@ $result_floats{'numbering_captions_listoffloats'} = {
           'cmdname' => 'section',
           'extra' => {},
           'structure' => {
-            'section_level' => 2,
             'section_number' => '1.1'
           }
         },
@@ -7595,9 +7573,7 @@ $result_floats{'numbering_captions_listoffloats'} = {
         'float_section' => {
           'cmdname' => 'section',
           'extra' => {},
-          'structure' => {
-            'section_level' => 2
-          }
+          'structure' => {}
         },
         'normalized' => 'Section-within-unnumbered-float',
         'shortcaption' => {
@@ -7632,7 +7608,6 @@ $result_floats{'numbering_captions_listoffloats'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 2
           }
         },
@@ -7699,7 +7674,6 @@ $result_floats{'numbering_captions_listoffloats'} = {
           'cmdname' => 'appendix',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 'A'
           }
         },
diff --git a/tp/t/results/formats_encodings/accent.pl 
b/tp/t/results/formats_encodings/accent.pl
index c84812f31b..bd7fa01fcf 100644
--- a/tp/t/results/formats_encodings/accent.pl
+++ b/tp/t/results/formats_encodings/accent.pl
@@ -3148,9 +3148,7 @@ $result_nodes{'accent'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top-node'
   }
diff --git a/tp/t/results/formats_encodings/accent_enable_encoding.pl 
b/tp/t/results/formats_encodings/accent_enable_encoding.pl
index da055b56e1..31b8bbac1b 100644
--- a/tp/t/results/formats_encodings/accent_enable_encoding.pl
+++ b/tp/t/results/formats_encodings/accent_enable_encoding.pl
@@ -3148,9 +3148,7 @@ $result_nodes{'accent_enable_encoding'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top-node'
   }
diff --git a/tp/t/results/formats_encodings/accentenc.pl 
b/tp/t/results/formats_encodings/accentenc.pl
index 7ff2ee1b7c..233a18cdcb 100644
--- a/tp/t/results/formats_encodings/accentenc.pl
+++ b/tp/t/results/formats_encodings/accentenc.pl
@@ -3193,9 +3193,7 @@ $result_nodes{'accentenc'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top-node'
   }
diff --git a/tp/t/results/formats_encodings/accentenc_enable_encoding.pl 
b/tp/t/results/formats_encodings/accentenc_enable_encoding.pl
index 649f880a06..02a2841b1f 100644
--- a/tp/t/results/formats_encodings/accentenc_enable_encoding.pl
+++ b/tp/t/results/formats_encodings/accentenc_enable_encoding.pl
@@ -3193,9 +3193,7 @@ $result_nodes{'accentenc_enable_encoding'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top-node'
   }
diff --git a/tp/t/results/formats_encodings/at_commands_in_refs.pl 
b/tp/t/results/formats_encodings/at_commands_in_refs.pl
index 228d5d0b27..2272e54491 100644
--- a/tp/t/results/formats_encodings/at_commands_in_refs.pl
+++ b/tp/t/results/formats_encodings/at_commands_in_refs.pl
@@ -21699,9 +21699,7 @@ $result_nodes{'at_commands_in_refs'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -21719,7 +21717,6 @@ $result_nodes{'at_commands_in_refs'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -21733,7 +21730,6 @@ $result_nodes{'at_commands_in_refs'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -21747,7 +21743,6 @@ $result_nodes{'at_commands_in_refs'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
@@ -21761,7 +21756,6 @@ $result_nodes{'at_commands_in_refs'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 4
                       }
                     },
@@ -21775,7 +21769,6 @@ $result_nodes{'at_commands_in_refs'} = {
                           'cmdname' => 'chapter',
                           'extra' => {},
                           'structure' => {
-                            'section_level' => 1,
                             'section_number' => 5
                           }
                         },
@@ -21789,7 +21782,6 @@ $result_nodes{'at_commands_in_refs'} = {
                               'cmdname' => 'chapter',
                               'extra' => {},
                               'structure' => {
-                                'section_level' => 1,
                                 'section_number' => 6
                               }
                             },
@@ -21803,7 +21795,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                   'cmdname' => 'chapter',
                                   'extra' => {},
                                   'structure' => {
-                                    'section_level' => 1,
                                     'section_number' => 7
                                   }
                                 },
@@ -21817,7 +21808,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                       'cmdname' => 'chapter',
                                       'extra' => {},
                                       'structure' => {
-                                        'section_level' => 1,
                                         'section_number' => 8
                                       }
                                     },
@@ -21831,7 +21821,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                           'cmdname' => 'chapter',
                                           'extra' => {},
                                           'structure' => {
-                                            'section_level' => 1,
                                             'section_number' => 9
                                           }
                                         },
@@ -21845,7 +21834,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                               'cmdname' => 'chapter',
                                               'extra' => {},
                                               'structure' => {
-                                                'section_level' => 1,
                                                 'section_number' => 10
                                               }
                                             },
@@ -21859,7 +21847,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                   'cmdname' => 'chapter',
                                                   'extra' => {},
                                                   'structure' => {
-                                                    'section_level' => 1,
                                                     'section_number' => 11
                                                   }
                                                 },
@@ -21873,7 +21860,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                       'cmdname' => 'chapter',
                                                       'extra' => {},
                                                       'structure' => {
-                                                        'section_level' => 1,
                                                         'section_number' => 12
                                                       }
                                                     },
@@ -21887,7 +21873,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                           'cmdname' => 
'chapter',
                                                           'extra' => {},
                                                           'structure' => {
-                                                            'section_level' => 
1,
                                                             'section_number' 
=> 13
                                                           }
                                                         },
@@ -21901,7 +21886,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                               'cmdname' => 
'chapter',
                                                               'extra' => {},
                                                               'structure' => {
-                                                                
'section_level' => 1,
                                                                 
'section_number' => 14
                                                               }
                                                             },
@@ -21915,7 +21899,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                   'cmdname' => 
'chapter',
                                                                   'extra' => 
{},
                                                                   'structure' 
=> {
-                                                                    
'section_level' => 1,
                                                                     
'section_number' => 15
                                                                   }
                                                                 },
@@ -21929,7 +21912,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                       
'cmdname' => 'chapter',
                                                                       'extra' 
=> {},
                                                                       
'structure' => {
-                                                                        
'section_level' => 1,
                                                                         
'section_number' => 16
                                                                       }
                                                                     },
@@ -21943,7 +21925,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                           
'cmdname' => 'chapter',
                                                                           
'extra' => {},
                                                                           
'structure' => {
-                                                                            
'section_level' => 1,
                                                                             
'section_number' => 17
                                                                           }
                                                                         },
@@ -21957,7 +21938,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                               
'cmdname' => 'chapter',
                                                                               
'extra' => {},
                                                                               
'structure' => {
-                                                                               
 'section_level' => 1,
                                                                                
 'section_number' => 18
                                                                               }
                                                                             },
@@ -21971,7 +21951,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                                
   'cmdname' => 'chapter',
                                                                                
   'extra' => {},
                                                                                
   'structure' => {
-                                                                               
     'section_level' => 1,
                                                                                
     'section_number' => 19
                                                                                
   }
                                                                                
 },
@@ -21985,7 +21964,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                                
       'cmdname' => 'chapter',
                                                                                
       'extra' => {},
                                                                                
       'structure' => {
-                                                                               
         'section_level' => 1,
                                                                                
         'section_number' => 20
                                                                                
       }
                                                                                
     },
@@ -21999,7 +21977,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                                
           'cmdname' => 'chapter',
                                                                                
           'extra' => {},
                                                                                
           'structure' => {
-                                                                               
             'section_level' => 1,
                                                                                
             'section_number' => 21
                                                                                
           }
                                                                                
         },
@@ -22013,7 +21990,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                                
               'cmdname' => 'chapter',
                                                                                
               'extra' => {},
                                                                                
               'structure' => {
-                                                                               
                 'section_level' => 1,
                                                                                
                 'section_number' => 22
                                                                                
               }
                                                                                
             },
@@ -22027,7 +22003,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                                
                   'cmdname' => 'chapter',
                                                                                
                   'extra' => {},
                                                                                
                   'structure' => {
-                                                                               
                     'section_level' => 1,
                                                                                
                     'section_number' => 23
                                                                                
                   }
                                                                                
                 },
@@ -22041,7 +22016,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                                
                       'cmdname' => 'chapter',
                                                                                
                       'extra' => {},
                                                                                
                       'structure' => {
-                                                                               
                         'section_level' => 1,
                                                                                
                         'section_number' => 24
                                                                                
                       }
                                                                                
                     },
@@ -22055,7 +22029,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                                
                           'cmdname' => 'chapter',
                                                                                
                           'extra' => {},
                                                                                
                           'structure' => {
-                                                                               
                             'section_level' => 1,
                                                                                
                             'section_number' => 25
                                                                                
                           }
                                                                                
                         },
@@ -22069,7 +22042,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                                
                               'cmdname' => 'chapter',
                                                                                
                               'extra' => {},
                                                                                
                               'structure' => {
-                                                                               
                                 'section_level' => 1,
                                                                                
                                 'section_number' => 26
                                                                                
                               }
                                                                                
                             },
@@ -22083,7 +22055,6 @@ $result_nodes{'at_commands_in_refs'} = {
                                                                                
                                   'cmdname' => 'chapter',
                                                                                
                                   'extra' => {},
                                                                                
                                   'structure' => {
-                                                                               
                                     'section_level' => 1,
                                                                                
                                     'section_number' => 27
                                                                                
                                   }
                                                                                
                                 },
diff --git a/tp/t/results/formats_encodings/at_commands_in_refs_latin1.pl 
b/tp/t/results/formats_encodings/at_commands_in_refs_latin1.pl
index 48e12a0bc3..cae51f3562 100644
--- a/tp/t/results/formats_encodings/at_commands_in_refs_latin1.pl
+++ b/tp/t/results/formats_encodings/at_commands_in_refs_latin1.pl
@@ -21777,9 +21777,7 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -21797,7 +21795,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -21811,7 +21808,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -21825,7 +21821,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
@@ -21839,7 +21834,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 4
                       }
                     },
@@ -21853,7 +21847,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                           'cmdname' => 'chapter',
                           'extra' => {},
                           'structure' => {
-                            'section_level' => 1,
                             'section_number' => 5
                           }
                         },
@@ -21867,7 +21860,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                               'cmdname' => 'chapter',
                               'extra' => {},
                               'structure' => {
-                                'section_level' => 1,
                                 'section_number' => 6
                               }
                             },
@@ -21881,7 +21873,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                   'cmdname' => 'chapter',
                                   'extra' => {},
                                   'structure' => {
-                                    'section_level' => 1,
                                     'section_number' => 7
                                   }
                                 },
@@ -21895,7 +21886,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                       'cmdname' => 'chapter',
                                       'extra' => {},
                                       'structure' => {
-                                        'section_level' => 1,
                                         'section_number' => 8
                                       }
                                     },
@@ -21909,7 +21899,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                           'cmdname' => 'chapter',
                                           'extra' => {},
                                           'structure' => {
-                                            'section_level' => 1,
                                             'section_number' => 9
                                           }
                                         },
@@ -21923,7 +21912,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                               'cmdname' => 'chapter',
                                               'extra' => {},
                                               'structure' => {
-                                                'section_level' => 1,
                                                 'section_number' => 10
                                               }
                                             },
@@ -21937,7 +21925,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                   'cmdname' => 'chapter',
                                                   'extra' => {},
                                                   'structure' => {
-                                                    'section_level' => 1,
                                                     'section_number' => 11
                                                   }
                                                 },
@@ -21951,7 +21938,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                       'cmdname' => 'chapter',
                                                       'extra' => {},
                                                       'structure' => {
-                                                        'section_level' => 1,
                                                         'section_number' => 12
                                                       }
                                                     },
@@ -21965,7 +21951,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                           'cmdname' => 
'chapter',
                                                           'extra' => {},
                                                           'structure' => {
-                                                            'section_level' => 
1,
                                                             'section_number' 
=> 13
                                                           }
                                                         },
@@ -21979,7 +21964,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                               'cmdname' => 
'chapter',
                                                               'extra' => {},
                                                               'structure' => {
-                                                                
'section_level' => 1,
                                                                 
'section_number' => 14
                                                               }
                                                             },
@@ -21993,7 +21977,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                   'cmdname' => 
'chapter',
                                                                   'extra' => 
{},
                                                                   'structure' 
=> {
-                                                                    
'section_level' => 1,
                                                                     
'section_number' => 15
                                                                   }
                                                                 },
@@ -22007,7 +21990,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                       
'cmdname' => 'chapter',
                                                                       'extra' 
=> {},
                                                                       
'structure' => {
-                                                                        
'section_level' => 1,
                                                                         
'section_number' => 16
                                                                       }
                                                                     },
@@ -22021,7 +22003,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                           
'cmdname' => 'chapter',
                                                                           
'extra' => {},
                                                                           
'structure' => {
-                                                                            
'section_level' => 1,
                                                                             
'section_number' => 17
                                                                           }
                                                                         },
@@ -22035,7 +22016,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                               
'cmdname' => 'chapter',
                                                                               
'extra' => {},
                                                                               
'structure' => {
-                                                                               
 'section_level' => 1,
                                                                                
 'section_number' => 18
                                                                               }
                                                                             },
@@ -22049,7 +22029,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                                
   'cmdname' => 'chapter',
                                                                                
   'extra' => {},
                                                                                
   'structure' => {
-                                                                               
     'section_level' => 1,
                                                                                
     'section_number' => 19
                                                                                
   }
                                                                                
 },
@@ -22063,7 +22042,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                                
       'cmdname' => 'chapter',
                                                                                
       'extra' => {},
                                                                                
       'structure' => {
-                                                                               
         'section_level' => 1,
                                                                                
         'section_number' => 20
                                                                                
       }
                                                                                
     },
@@ -22077,7 +22055,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                                
           'cmdname' => 'chapter',
                                                                                
           'extra' => {},
                                                                                
           'structure' => {
-                                                                               
             'section_level' => 1,
                                                                                
             'section_number' => 21
                                                                                
           }
                                                                                
         },
@@ -22091,7 +22068,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                                
               'cmdname' => 'chapter',
                                                                                
               'extra' => {},
                                                                                
               'structure' => {
-                                                                               
                 'section_level' => 1,
                                                                                
                 'section_number' => 22
                                                                                
               }
                                                                                
             },
@@ -22105,7 +22081,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                                
                   'cmdname' => 'chapter',
                                                                                
                   'extra' => {},
                                                                                
                   'structure' => {
-                                                                               
                     'section_level' => 1,
                                                                                
                     'section_number' => 23
                                                                                
                   }
                                                                                
                 },
@@ -22119,7 +22094,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                                
                       'cmdname' => 'chapter',
                                                                                
                       'extra' => {},
                                                                                
                       'structure' => {
-                                                                               
                         'section_level' => 1,
                                                                                
                         'section_number' => 24
                                                                                
                       }
                                                                                
                     },
@@ -22133,7 +22107,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                                
                           'cmdname' => 'chapter',
                                                                                
                           'extra' => {},
                                                                                
                           'structure' => {
-                                                                               
                             'section_level' => 1,
                                                                                
                             'section_number' => 25
                                                                                
                           }
                                                                                
                         },
@@ -22147,7 +22120,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                                
                               'cmdname' => 'chapter',
                                                                                
                               'extra' => {},
                                                                                
                               'structure' => {
-                                                                               
                                 'section_level' => 1,
                                                                                
                                 'section_number' => 26
                                                                                
                               }
                                                                                
                             },
@@ -22161,7 +22133,6 @@ $result_nodes{'at_commands_in_refs_latin1'} = {
                                                                                
                                   'cmdname' => 'chapter',
                                                                                
                                   'extra' => {},
                                                                                
                                   'structure' => {
-                                                                               
                                     'section_level' => 1,
                                                                                
                                     'section_number' => 27
                                                                                
                                   }
                                                                                
                                 },
diff --git a/tp/t/results/formats_encodings/at_commands_in_refs_utf8.pl 
b/tp/t/results/formats_encodings/at_commands_in_refs_utf8.pl
index 8b12b9fdae..6b7360de95 100644
--- a/tp/t/results/formats_encodings/at_commands_in_refs_utf8.pl
+++ b/tp/t/results/formats_encodings/at_commands_in_refs_utf8.pl
@@ -21777,9 +21777,7 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -21797,7 +21795,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -21811,7 +21808,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -21825,7 +21821,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
@@ -21839,7 +21834,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 4
                       }
                     },
@@ -21853,7 +21847,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                           'cmdname' => 'chapter',
                           'extra' => {},
                           'structure' => {
-                            'section_level' => 1,
                             'section_number' => 5
                           }
                         },
@@ -21867,7 +21860,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                               'cmdname' => 'chapter',
                               'extra' => {},
                               'structure' => {
-                                'section_level' => 1,
                                 'section_number' => 6
                               }
                             },
@@ -21881,7 +21873,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                   'cmdname' => 'chapter',
                                   'extra' => {},
                                   'structure' => {
-                                    'section_level' => 1,
                                     'section_number' => 7
                                   }
                                 },
@@ -21895,7 +21886,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                       'cmdname' => 'chapter',
                                       'extra' => {},
                                       'structure' => {
-                                        'section_level' => 1,
                                         'section_number' => 8
                                       }
                                     },
@@ -21909,7 +21899,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                           'cmdname' => 'chapter',
                                           'extra' => {},
                                           'structure' => {
-                                            'section_level' => 1,
                                             'section_number' => 9
                                           }
                                         },
@@ -21923,7 +21912,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                               'cmdname' => 'chapter',
                                               'extra' => {},
                                               'structure' => {
-                                                'section_level' => 1,
                                                 'section_number' => 10
                                               }
                                             },
@@ -21937,7 +21925,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                   'cmdname' => 'chapter',
                                                   'extra' => {},
                                                   'structure' => {
-                                                    'section_level' => 1,
                                                     'section_number' => 11
                                                   }
                                                 },
@@ -21951,7 +21938,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                       'cmdname' => 'chapter',
                                                       'extra' => {},
                                                       'structure' => {
-                                                        'section_level' => 1,
                                                         'section_number' => 12
                                                       }
                                                     },
@@ -21965,7 +21951,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                           'cmdname' => 
'chapter',
                                                           'extra' => {},
                                                           'structure' => {
-                                                            'section_level' => 
1,
                                                             'section_number' 
=> 13
                                                           }
                                                         },
@@ -21979,7 +21964,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                               'cmdname' => 
'chapter',
                                                               'extra' => {},
                                                               'structure' => {
-                                                                
'section_level' => 1,
                                                                 
'section_number' => 14
                                                               }
                                                             },
@@ -21993,7 +21977,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                   'cmdname' => 
'chapter',
                                                                   'extra' => 
{},
                                                                   'structure' 
=> {
-                                                                    
'section_level' => 1,
                                                                     
'section_number' => 15
                                                                   }
                                                                 },
@@ -22007,7 +21990,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                       
'cmdname' => 'chapter',
                                                                       'extra' 
=> {},
                                                                       
'structure' => {
-                                                                        
'section_level' => 1,
                                                                         
'section_number' => 16
                                                                       }
                                                                     },
@@ -22021,7 +22003,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                           
'cmdname' => 'chapter',
                                                                           
'extra' => {},
                                                                           
'structure' => {
-                                                                            
'section_level' => 1,
                                                                             
'section_number' => 17
                                                                           }
                                                                         },
@@ -22035,7 +22016,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                               
'cmdname' => 'chapter',
                                                                               
'extra' => {},
                                                                               
'structure' => {
-                                                                               
 'section_level' => 1,
                                                                                
 'section_number' => 18
                                                                               }
                                                                             },
@@ -22049,7 +22029,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                                
   'cmdname' => 'chapter',
                                                                                
   'extra' => {},
                                                                                
   'structure' => {
-                                                                               
     'section_level' => 1,
                                                                                
     'section_number' => 19
                                                                                
   }
                                                                                
 },
@@ -22063,7 +22042,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                                
       'cmdname' => 'chapter',
                                                                                
       'extra' => {},
                                                                                
       'structure' => {
-                                                                               
         'section_level' => 1,
                                                                                
         'section_number' => 20
                                                                                
       }
                                                                                
     },
@@ -22077,7 +22055,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                                
           'cmdname' => 'chapter',
                                                                                
           'extra' => {},
                                                                                
           'structure' => {
-                                                                               
             'section_level' => 1,
                                                                                
             'section_number' => 21
                                                                                
           }
                                                                                
         },
@@ -22091,7 +22068,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                                
               'cmdname' => 'chapter',
                                                                                
               'extra' => {},
                                                                                
               'structure' => {
-                                                                               
                 'section_level' => 1,
                                                                                
                 'section_number' => 22
                                                                                
               }
                                                                                
             },
@@ -22105,7 +22081,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                                
                   'cmdname' => 'chapter',
                                                                                
                   'extra' => {},
                                                                                
                   'structure' => {
-                                                                               
                     'section_level' => 1,
                                                                                
                     'section_number' => 23
                                                                                
                   }
                                                                                
                 },
@@ -22119,7 +22094,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                                
                       'cmdname' => 'chapter',
                                                                                
                       'extra' => {},
                                                                                
                       'structure' => {
-                                                                               
                         'section_level' => 1,
                                                                                
                         'section_number' => 24
                                                                                
                       }
                                                                                
                     },
@@ -22133,7 +22107,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                                
                           'cmdname' => 'chapter',
                                                                                
                           'extra' => {},
                                                                                
                           'structure' => {
-                                                                               
                             'section_level' => 1,
                                                                                
                             'section_number' => 25
                                                                                
                           }
                                                                                
                         },
@@ -22147,7 +22120,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                                
                               'cmdname' => 'chapter',
                                                                                
                               'extra' => {},
                                                                                
                               'structure' => {
-                                                                               
                                 'section_level' => 1,
                                                                                
                                 'section_number' => 26
                                                                                
                               }
                                                                                
                             },
@@ -22161,7 +22133,6 @@ $result_nodes{'at_commands_in_refs_utf8'} = {
                                                                                
                                   'cmdname' => 'chapter',
                                                                                
                                   'extra' => {},
                                                                                
                                   'structure' => {
-                                                                               
                                     'section_level' => 1,
                                                                                
                                     'section_number' => 27
                                                                                
                                   }
                                                                                
                                 },
diff --git a/tp/t/results/formats_encodings/char_latin1_latin1_in_refs.pl 
b/tp/t/results/formats_encodings/char_latin1_latin1_in_refs.pl
index 9fcf364122..3197fc2c86 100644
--- a/tp/t/results/formats_encodings/char_latin1_latin1_in_refs.pl
+++ b/tp/t/results/formats_encodings/char_latin1_latin1_in_refs.pl
@@ -1865,9 +1865,7 @@ $result_nodes{'char_latin1_latin1_in_refs'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'menus' => [
@@ -1886,7 +1884,6 @@ $result_nodes{'char_latin1_latin1_in_refs'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1900,7 +1897,6 @@ $result_nodes{'char_latin1_latin1_in_refs'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -1914,7 +1910,6 @@ $result_nodes{'char_latin1_latin1_in_refs'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
@@ -1928,7 +1923,6 @@ $result_nodes{'char_latin1_latin1_in_refs'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 4
                       }
                     },
@@ -1942,7 +1936,6 @@ $result_nodes{'char_latin1_latin1_in_refs'} = {
                           'cmdname' => 'chapter',
                           'extra' => {},
                           'structure' => {
-                            'section_level' => 1,
                             'section_number' => 5
                           }
                         },
diff --git a/tp/t/results/formats_encodings/char_latin1_utf8_in_refs.pl 
b/tp/t/results/formats_encodings/char_latin1_utf8_in_refs.pl
index 9c895a836d..197359593d 100644
--- a/tp/t/results/formats_encodings/char_latin1_utf8_in_refs.pl
+++ b/tp/t/results/formats_encodings/char_latin1_utf8_in_refs.pl
@@ -1865,9 +1865,7 @@ $result_nodes{'char_latin1_utf8_in_refs'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'menus' => [
@@ -1886,7 +1884,6 @@ $result_nodes{'char_latin1_utf8_in_refs'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1900,7 +1897,6 @@ $result_nodes{'char_latin1_utf8_in_refs'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -1914,7 +1910,6 @@ $result_nodes{'char_latin1_utf8_in_refs'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
@@ -1928,7 +1923,6 @@ $result_nodes{'char_latin1_utf8_in_refs'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 4
                       }
                     },
@@ -1942,7 +1936,6 @@ $result_nodes{'char_latin1_utf8_in_refs'} = {
                           'cmdname' => 'chapter',
                           'extra' => {},
                           'structure' => {
-                            'section_level' => 1,
                             'section_number' => 5
                           }
                         },
diff --git a/tp/t/results/formats_encodings/char_latin2_latin2_in_refs.pl 
b/tp/t/results/formats_encodings/char_latin2_latin2_in_refs.pl
index e75b9f8a38..2c682296b2 100644
--- a/tp/t/results/formats_encodings/char_latin2_latin2_in_refs.pl
+++ b/tp/t/results/formats_encodings/char_latin2_latin2_in_refs.pl
@@ -717,9 +717,7 @@ $result_nodes{'char_latin2_latin2_in_refs'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'menus' => [
@@ -738,7 +736,6 @@ $result_nodes{'char_latin2_latin2_in_refs'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/formats_encodings/japanese_shift_jis.pl 
b/tp/t/results/formats_encodings/japanese_shift_jis.pl
index 41dc13366e..fa7c68f64e 100644
--- a/tp/t/results/formats_encodings/japanese_shift_jis.pl
+++ b/tp/t/results/formats_encodings/japanese_shift_jis.pl
@@ -1096,9 +1096,7 @@ $result_nodes{'japanese_shift_jis'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1116,7 +1114,6 @@ $result_nodes{'japanese_shift_jis'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1130,7 +1127,6 @@ $result_nodes{'japanese_shift_jis'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git a/tp/t/results/formats_encodings/sample_utf8.pl 
b/tp/t/results/formats_encodings/sample_utf8.pl
index c73cb28bf7..a6ad17ec5f 100644
--- a/tp/t/results/formats_encodings/sample_utf8.pl
+++ b/tp/t/results/formats_encodings/sample_utf8.pl
@@ -1831,9 +1831,7 @@ $result_nodes{'sample_utf8'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1851,7 +1849,6 @@ $result_nodes{'sample_utf8'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1865,7 +1862,6 @@ $result_nodes{'sample_utf8'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -1878,9 +1874,7 @@ $result_nodes{'sample_utf8'} = {
                 'associated_section' => {
                   'cmdname' => 'unnumbered',
                   'extra' => {},
-                  'structure' => {
-                    'section_level' => 1
-                  }
+                  'structure' => {}
                 },
                 'isindex' => 1,
                 'normalized' => 'Index-node'
diff --git a/tp/t/results/formats_encodings/weird_accents.pl 
b/tp/t/results/formats_encodings/weird_accents.pl
index f519f818da..4d810d7f4a 100644
--- a/tp/t/results/formats_encodings/weird_accents.pl
+++ b/tp/t/results/formats_encodings/weird_accents.pl
@@ -605,9 +605,7 @@ $result_nodes{'weird_accents'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl 
b/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl
index 31747294b8..499a011fb8 100644
--- a/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl
+++ b/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl
@@ -605,9 +605,7 @@ $result_nodes{'weird_accents_disable_encoding'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/formatting/direntry_dircategory_info_split.pl 
b/tp/t/results/formatting/direntry_dircategory_info_split.pl
index 50f18020b4..19e2b5d06d 100644
--- a/tp/t/results/formatting/direntry_dircategory_info_split.pl
+++ b/tp/t/results/formatting/direntry_dircategory_info_split.pl
@@ -1225,9 +1225,7 @@ $result_nodes{'direntry_dircategory_info_split'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1245,7 +1243,6 @@ $result_nodes{'direntry_dircategory_info_split'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/formatting/documentlanguage_set_option.pl 
b/tp/t/results/formatting/documentlanguage_set_option.pl
index 236e46e11f..25a82496d0 100644
--- a/tp/t/results/formatting/documentlanguage_set_option.pl
+++ b/tp/t/results/formatting/documentlanguage_set_option.pl
@@ -356,9 +356,7 @@ $result_nodes{'documentlanguage_set_option'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/formatting/documentlanguage_set_option_info.pl 
b/tp/t/results/formatting/documentlanguage_set_option_info.pl
index 8ce60df83a..e4847e7b98 100644
--- a/tp/t/results/formatting/documentlanguage_set_option_info.pl
+++ b/tp/t/results/formatting/documentlanguage_set_option_info.pl
@@ -356,9 +356,7 @@ $result_nodes{'documentlanguage_set_option_info'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/formatting/documentlanguage_set_unknown.pl 
b/tp/t/results/formatting/documentlanguage_set_unknown.pl
index 8f000fe00e..eb3aa6c3a3 100644
--- a/tp/t/results/formatting/documentlanguage_set_unknown.pl
+++ b/tp/t/results/formatting/documentlanguage_set_unknown.pl
@@ -356,9 +356,7 @@ $result_nodes{'documentlanguage_set_unknown'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/formatting/float_copying.pl 
b/tp/t/results/formatting/float_copying.pl
index 4b15447c6c..d3e19afe7c 100644
--- a/tp/t/results/formatting/float_copying.pl
+++ b/tp/t/results/formatting/float_copying.pl
@@ -1853,9 +1853,7 @@ $result_nodes{'float_copying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1873,7 +1871,6 @@ $result_nodes{'float_copying'} = {
           'cmdname' => 'appendix',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 'A'
           }
         },
diff --git a/tp/t/results/formatting/split_nocopying.pl 
b/tp/t/results/formatting/split_nocopying.pl
index aa54138ff5..77509672b6 100644
--- a/tp/t/results/formatting/split_nocopying.pl
+++ b/tp/t/results/formatting/split_nocopying.pl
@@ -536,9 +536,7 @@ $result_nodes{'split_nocopying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -556,7 +554,6 @@ $result_nodes{'split_nocopying'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/formatting/split_nocopying_split.pl 
b/tp/t/results/formatting/split_nocopying_split.pl
index 73ecadaccd..fc1de541a9 100644
--- a/tp/t/results/formatting/split_nocopying_split.pl
+++ b/tp/t/results/formatting/split_nocopying_split.pl
@@ -536,9 +536,7 @@ $result_nodes{'split_nocopying_split'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -556,7 +554,6 @@ $result_nodes{'split_nocopying_split'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/formatting/texi_bib_example.pl 
b/tp/t/results/formatting/texi_bib_example.pl
index 9168ec63b0..53f6d918fa 100644
--- a/tp/t/results/formatting/texi_bib_example.pl
+++ b/tp/t/results/formatting/texi_bib_example.pl
@@ -5488,9 +5488,7 @@ $result_nodes{'texi_bib_example'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -5508,7 +5506,6 @@ $result_nodes{'texi_bib_example'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -5522,7 +5519,6 @@ $result_nodes{'texi_bib_example'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git a/tp/t/results/formatting/texi_glossary.pl 
b/tp/t/results/formatting/texi_glossary.pl
index 3dc1e58788..ab4e431498 100644
--- a/tp/t/results/formatting/texi_glossary.pl
+++ b/tp/t/results/formatting/texi_glossary.pl
@@ -1460,9 +1460,7 @@ $result_nodes{'texi_glossary'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1480,7 +1478,6 @@ $result_nodes{'texi_glossary'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/html_tests/check_htmlxref.pl 
b/tp/t/results/html_tests/check_htmlxref.pl
index 84b0a836eb..eabcd92fa1 100644
--- a/tp/t/results/html_tests/check_htmlxref.pl
+++ b/tp/t/results/html_tests/check_htmlxref.pl
@@ -719,9 +719,7 @@ $result_nodes{'check_htmlxref'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/html_tests/deftypefnnewline_for_copying_after.pl 
b/tp/t/results/html_tests/deftypefnnewline_for_copying_after.pl
index 71f2ff0028..f5fbbffaf3 100644
--- a/tp/t/results/html_tests/deftypefnnewline_for_copying_after.pl
+++ b/tp/t/results/html_tests/deftypefnnewline_for_copying_after.pl
@@ -729,9 +729,7 @@ $result_nodes{'deftypefnnewline_for_copying_after'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/html_tests/deftypefnnewline_for_copying_before.pl 
b/tp/t/results/html_tests/deftypefnnewline_for_copying_before.pl
index b7931c6368..32015ad4b2 100644
--- a/tp/t/results/html_tests/deftypefnnewline_for_copying_before.pl
+++ b/tp/t/results/html_tests/deftypefnnewline_for_copying_before.pl
@@ -680,9 +680,7 @@ $result_nodes{'deftypefnnewline_for_copying_before'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl 
b/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl
index e83b3a3d13..e0358473c9 100644
--- a/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl
+++ b/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl
@@ -228,9 +228,7 @@ $result_nodes{'empty_lines_at_beginning_no_setfilename'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/html_tests/footnotestyle_separate_late.pl 
b/tp/t/results/html_tests/footnotestyle_separate_late.pl
index 9af8ca8844..09f1ce1dba 100644
--- a/tp/t/results/html_tests/footnotestyle_separate_late.pl
+++ b/tp/t/results/html_tests/footnotestyle_separate_late.pl
@@ -725,7 +725,6 @@ $result_nodes{'footnotestyle_separate_late'} = {
                         'extra' => {},
                         'structure' => {
                           'associated_unit' => {},
-                          'section_level' => 1,
                           'section_number' => 1
                         }
                       },
@@ -759,7 +758,6 @@ $result_nodes{'footnotestyle_separate_late'} = {
                                 },
                                 'type' => 'unit'
                               },
-                              'section_level' => 1,
                               'section_number' => 2
                             }
                           },
@@ -804,8 +802,7 @@ $result_nodes{'footnotestyle_separate_late'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'normalized' => 'Top'
diff --git a/tp/t/results/html_tests/html_in_copying.pl 
b/tp/t/results/html_tests/html_in_copying.pl
index 8f5b36d8df..b8fc776986 100644
--- a/tp/t/results/html_tests/html_in_copying.pl
+++ b/tp/t/results/html_tests/html_in_copying.pl
@@ -323,9 +323,7 @@ $result_nodes{'html_in_copying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/html_tests/index_below.pl 
b/tp/t/results/html_tests/index_below.pl
index ab48349825..181cb87e34 100644
--- a/tp/t/results/html_tests/index_below.pl
+++ b/tp/t/results/html_tests/index_below.pl
@@ -404,8 +404,7 @@ $result_elements{'index_below'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -418,7 +417,6 @@ $result_elements{'index_below'} = [
               'extra' => {},
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -434,7 +432,6 @@ $result_elements{'index_below'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 2,
                       'section_number' => '1.1'
                     }
                   }
diff --git a/tp/t/results/html_tests/redirection_same_labels.pl 
b/tp/t/results/html_tests/redirection_same_labels.pl
index 80be986858..07a9825eaf 100644
--- a/tp/t/results/html_tests/redirection_same_labels.pl
+++ b/tp/t/results/html_tests/redirection_same_labels.pl
@@ -1539,7 +1539,6 @@ $result_nodes{'redirection_same_labels'} = {
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -1555,7 +1554,6 @@ $result_nodes{'redirection_same_labels'} = {
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 2
                           }
                         }
@@ -1599,8 +1597,7 @@ $result_nodes{'redirection_same_labels'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -1744,8 +1741,7 @@ $result_menus{'redirection_same_labels'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -1758,7 +1754,6 @@ $result_menus{'redirection_same_labels'} = {
                 'extra' => {},
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -1774,7 +1769,6 @@ $result_menus{'redirection_same_labels'} = {
                       'extra' => {},
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 2
                       }
                     }
@@ -1945,8 +1939,7 @@ $result_elements{'redirection_same_labels'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1959,7 +1952,6 @@ $result_elements{'redirection_same_labels'} = [
               'extra' => {},
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -1975,7 +1967,6 @@ $result_elements{'redirection_same_labels'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 2
                     }
                   }
diff --git a/tp/t/results/html_tests/simple_menu.pl 
b/tp/t/results/html_tests/simple_menu.pl
index 7b4b830eda..2a0e8947a7 100644
--- a/tp/t/results/html_tests/simple_menu.pl
+++ b/tp/t/results/html_tests/simple_menu.pl
@@ -2113,9 +2113,7 @@ $result_nodes{'simple_menu'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/html_tests/test_xrefautomaticsectiontitle.pl 
b/tp/t/results/html_tests/test_xrefautomaticsectiontitle.pl
index a7ad3301a4..aa21772d38 100644
--- a/tp/t/results/html_tests/test_xrefautomaticsectiontitle.pl
+++ b/tp/t/results/html_tests/test_xrefautomaticsectiontitle.pl
@@ -600,9 +600,7 @@ $result_nodes{'test_xrefautomaticsectiontitle'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -620,7 +618,6 @@ $result_nodes{'test_xrefautomaticsectiontitle'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git 
a/tp/t/results/html_tests/test_xrefautomaticsectiontitle_off_first.pl 
b/tp/t/results/html_tests/test_xrefautomaticsectiontitle_off_first.pl
index c13bca361d..d1e4748bc6 100644
--- a/tp/t/results/html_tests/test_xrefautomaticsectiontitle_off_first.pl
+++ b/tp/t/results/html_tests/test_xrefautomaticsectiontitle_off_first.pl
@@ -610,9 +610,7 @@ $result_nodes{'test_xrefautomaticsectiontitle_off_first'} = 
{
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -630,7 +628,6 @@ $result_nodes{'test_xrefautomaticsectiontitle_off_first'} = 
{
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git 
a/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl 
b/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl
index 838bcd568f..f378fc9e65 100644
--- a/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl
+++ b/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl
@@ -292,9 +292,7 @@ $result_nodes{'text_before_top_and_contents_after_title'} = 
{
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git 
a/tp/t/results/html_tests/text_before_top_and_summarycontents_after_title.pl 
b/tp/t/results/html_tests/text_before_top_and_summarycontents_after_title.pl
index ce1a3627cc..94b45ac23c 100644
--- a/tp/t/results/html_tests/text_before_top_and_summarycontents_after_title.pl
+++ b/tp/t/results/html_tests/text_before_top_and_summarycontents_after_title.pl
@@ -292,9 +292,7 @@ 
$result_nodes{'text_before_top_and_summarycontents_after_title'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/html_tests/titles.pl 
b/tp/t/results/html_tests/titles.pl
index 0183ffe0a4..426048b4ee 100644
--- a/tp/t/results/html_tests/titles.pl
+++ b/tp/t/results/html_tests/titles.pl
@@ -383,9 +383,7 @@ $result_nodes{'titles'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/htmlxref/htmlxref.pl 
b/tp/t/results/htmlxref/htmlxref.pl
index d1b85f9478..5b1f80c73b 100644
--- a/tp/t/results/htmlxref/htmlxref.pl
+++ b/tp/t/results/htmlxref/htmlxref.pl
@@ -3513,9 +3513,7 @@ $result_nodes{'htmlxref'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -3533,7 +3531,6 @@ $result_nodes{'htmlxref'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/htmlxref/htmlxref_nodes.pl 
b/tp/t/results/htmlxref/htmlxref_nodes.pl
index 62750fded7..6b1a2ab14a 100644
--- a/tp/t/results/htmlxref/htmlxref_nodes.pl
+++ b/tp/t/results/htmlxref/htmlxref_nodes.pl
@@ -3513,9 +3513,7 @@ $result_nodes{'htmlxref_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -3533,7 +3531,6 @@ $result_nodes{'htmlxref_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/htmlxref/htmlxref_only_mono.pl 
b/tp/t/results/htmlxref/htmlxref_only_mono.pl
index 847086c211..f2318a461d 100644
--- a/tp/t/results/htmlxref/htmlxref_only_mono.pl
+++ b/tp/t/results/htmlxref/htmlxref_only_mono.pl
@@ -3513,9 +3513,7 @@ $result_nodes{'htmlxref_only_mono'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -3533,7 +3531,6 @@ $result_nodes{'htmlxref_only_mono'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/htmlxref/htmlxref_only_mono_nodes.pl 
b/tp/t/results/htmlxref/htmlxref_only_mono_nodes.pl
index 5f424b6fec..a449ba0286 100644
--- a/tp/t/results/htmlxref/htmlxref_only_mono_nodes.pl
+++ b/tp/t/results/htmlxref/htmlxref_only_mono_nodes.pl
@@ -3513,9 +3513,7 @@ $result_nodes{'htmlxref_only_mono_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -3533,7 +3531,6 @@ $result_nodes{'htmlxref_only_mono_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/htmlxref/htmlxref_only_split.pl 
b/tp/t/results/htmlxref/htmlxref_only_split.pl
index d389e39dce..2225e43c17 100644
--- a/tp/t/results/htmlxref/htmlxref_only_split.pl
+++ b/tp/t/results/htmlxref/htmlxref_only_split.pl
@@ -3513,9 +3513,7 @@ $result_nodes{'htmlxref_only_split'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -3533,7 +3531,6 @@ $result_nodes{'htmlxref_only_split'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/htmlxref/htmlxref_only_split_nodes.pl 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes.pl
index f15ff438b9..5c41815ff1 100644
--- a/tp/t/results/htmlxref/htmlxref_only_split_nodes.pl
+++ b/tp/t/results/htmlxref/htmlxref_only_split_nodes.pl
@@ -3513,9 +3513,7 @@ $result_nodes{'htmlxref_only_split_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -3533,7 +3531,6 @@ $result_nodes{'htmlxref_only_split_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/include/macro_and_commands_in_early_commands.pl 
b/tp/t/results/include/macro_and_commands_in_early_commands.pl
index 91f6c3a0e4..70d651aec2 100644
--- a/tp/t/results/include/macro_and_commands_in_early_commands.pl
+++ b/tp/t/results/include/macro_and_commands_in_early_commands.pl
@@ -560,9 +560,7 @@ $result_nodes{'macro_and_commands_in_early_commands'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
diff --git a/tp/t/results/include/macro_in_early_commands.pl 
b/tp/t/results/include/macro_in_early_commands.pl
index 4fa3933e35..927f5de07d 100644
--- a/tp/t/results/include/macro_in_early_commands.pl
+++ b/tp/t/results/include/macro_in_early_commands.pl
@@ -655,9 +655,7 @@ $result_nodes{'macro_in_early_commands'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
diff --git a/tp/t/results/indices/def_syn_indices.pl 
b/tp/t/results/indices/def_syn_indices.pl
index f3e9cdfaf8..540dc1c26d 100644
--- a/tp/t/results/indices/def_syn_indices.pl
+++ b/tp/t/results/indices/def_syn_indices.pl
@@ -1736,9 +1736,7 @@ $result_nodes{'def_syn_indices'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -1750,7 +1748,6 @@ $result_nodes{'def_syn_indices'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/indices/double_seeentry_seealso.pl 
b/tp/t/results/indices/double_seeentry_seealso.pl
index 6659bf49f7..8a280c82c3 100644
--- a/tp/t/results/indices/double_seeentry_seealso.pl
+++ b/tp/t/results/indices/double_seeentry_seealso.pl
@@ -824,9 +824,7 @@ $result_nodes{'double_seeentry_seealso'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -838,7 +836,6 @@ $result_nodes{'double_seeentry_seealso'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/indices/encoding_index_ascii.pl 
b/tp/t/results/indices/encoding_index_ascii.pl
index d924a588fb..2d5fdb3ce1 100644
--- a/tp/t/results/indices/encoding_index_ascii.pl
+++ b/tp/t/results/indices/encoding_index_ascii.pl
@@ -3565,9 +3565,7 @@ $result_nodes{'encoding_index_ascii'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/indices/encoding_index_ascii_enable_encoding.pl 
b/tp/t/results/indices/encoding_index_ascii_enable_encoding.pl
index 79bc232619..b2c7a64413 100644
--- a/tp/t/results/indices/encoding_index_ascii_enable_encoding.pl
+++ b/tp/t/results/indices/encoding_index_ascii_enable_encoding.pl
@@ -3565,9 +3565,7 @@ $result_nodes{'encoding_index_ascii_enable_encoding'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/indices/encoding_index_latin1.pl 
b/tp/t/results/indices/encoding_index_latin1.pl
index c9c4e683f0..c4de8c307d 100644
--- a/tp/t/results/indices/encoding_index_latin1.pl
+++ b/tp/t/results/indices/encoding_index_latin1.pl
@@ -3550,9 +3550,7 @@ $result_nodes{'encoding_index_latin1'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/indices/encoding_index_latin1_enable_encoding.pl 
b/tp/t/results/indices/encoding_index_latin1_enable_encoding.pl
index f3bdbf98bb..180f484564 100644
--- a/tp/t/results/indices/encoding_index_latin1_enable_encoding.pl
+++ b/tp/t/results/indices/encoding_index_latin1_enable_encoding.pl
@@ -3550,9 +3550,7 @@ $result_nodes{'encoding_index_latin1_enable_encoding'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/indices/encoding_index_utf8.pl 
b/tp/t/results/indices/encoding_index_utf8.pl
index a0ffb38d6e..ff2a163b9f 100644
--- a/tp/t/results/indices/encoding_index_utf8.pl
+++ b/tp/t/results/indices/encoding_index_utf8.pl
@@ -3550,9 +3550,7 @@ $result_nodes{'encoding_index_utf8'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/indices/encoding_index_utf8_enable_encoding.pl 
b/tp/t/results/indices/encoding_index_utf8_enable_encoding.pl
index 497f150d70..6912f304b4 100644
--- a/tp/t/results/indices/encoding_index_utf8_enable_encoding.pl
+++ b/tp/t/results/indices/encoding_index_utf8_enable_encoding.pl
@@ -3550,9 +3550,7 @@ $result_nodes{'encoding_index_utf8_enable_encoding'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/indices/explicit_sort_key.pl 
b/tp/t/results/indices/explicit_sort_key.pl
index 1b897adfde..754c9b5d0e 100644
--- a/tp/t/results/indices/explicit_sort_key.pl
+++ b/tp/t/results/indices/explicit_sort_key.pl
@@ -829,9 +829,7 @@ $result_nodes{'explicit_sort_key'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/indices/printindex_index_entry_in_copying.pl 
b/tp/t/results/indices/printindex_index_entry_in_copying.pl
index 1753194432..679757f4c5 100644
--- a/tp/t/results/indices/printindex_index_entry_in_copying.pl
+++ b/tp/t/results/indices/printindex_index_entry_in_copying.pl
@@ -1197,9 +1197,7 @@ $result_nodes{'printindex_index_entry_in_copying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1217,7 +1215,6 @@ $result_nodes{'printindex_index_entry_in_copying'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git 
a/tp/t/results/indices/printindex_index_entry_in_copying_in_footnote.pl 
b/tp/t/results/indices/printindex_index_entry_in_copying_in_footnote.pl
index 9efb748470..b9ba3d2860 100644
--- a/tp/t/results/indices/printindex_index_entry_in_copying_in_footnote.pl
+++ b/tp/t/results/indices/printindex_index_entry_in_copying_in_footnote.pl
@@ -720,9 +720,7 @@ 
$result_nodes{'printindex_index_entry_in_copying_in_footnote'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -740,7 +738,6 @@ 
$result_nodes{'printindex_index_entry_in_copying_in_footnote'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git 
a/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl 
b/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl
index 56cc11ed42..8303e4138f 100644
--- a/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl
+++ b/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl
@@ -1157,9 +1157,7 @@ 
$result_nodes{'printindex_index_entry_in_copying_no_insertcopying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1177,7 +1175,6 @@ 
$result_nodes{'printindex_index_entry_in_copying_no_insertcopying'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/indices/same_index_entry_merged_indices.pl 
b/tp/t/results/indices/same_index_entry_merged_indices.pl
index ebab1900dc..bd706c962d 100644
--- a/tp/t/results/indices/same_index_entry_merged_indices.pl
+++ b/tp/t/results/indices/same_index_entry_merged_indices.pl
@@ -621,9 +621,7 @@ $result_nodes{'same_index_entry_merged_indices'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/indices/seeentry.pl b/tp/t/results/indices/seeentry.pl
index a46654c6be..2e2c08b223 100644
--- a/tp/t/results/indices/seeentry.pl
+++ b/tp/t/results/indices/seeentry.pl
@@ -708,9 +708,7 @@ $result_nodes{'seeentry'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -722,7 +720,6 @@ $result_nodes{'seeentry'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/indices/subentries.pl 
b/tp/t/results/indices/subentries.pl
index 5ebfd2baf2..3df06cdc13 100644
--- a/tp/t/results/indices/subentries.pl
+++ b/tp/t/results/indices/subentries.pl
@@ -1172,9 +1172,7 @@ $result_nodes{'subentries'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -1186,7 +1184,6 @@ $result_nodes{'subentries'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/indices/subentry_and_sortas.pl 
b/tp/t/results/indices/subentry_and_sortas.pl
index e84417b0f7..a57e43823f 100644
--- a/tp/t/results/indices/subentry_and_sortas.pl
+++ b/tp/t/results/indices/subentry_and_sortas.pl
@@ -678,9 +678,7 @@ $result_nodes{'subentry_and_sortas'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -692,7 +690,6 @@ $result_nodes{'subentry_and_sortas'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/indices/syncode_index_print_both.pl 
b/tp/t/results/indices/syncode_index_print_both.pl
index 6be29dd964..08f52b61a6 100644
--- a/tp/t/results/indices/syncode_index_print_both.pl
+++ b/tp/t/results/indices/syncode_index_print_both.pl
@@ -603,9 +603,7 @@ $result_nodes{'syncode_index_print_both'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -617,7 +615,6 @@ $result_nodes{'syncode_index_print_both'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/indices/transparent_sort_chars.pl 
b/tp/t/results/indices/transparent_sort_chars.pl
index e61a602502..39dc00e875 100644
--- a/tp/t/results/indices/transparent_sort_chars.pl
+++ b/tp/t/results/indices/transparent_sort_chars.pl
@@ -421,9 +421,7 @@ $result_nodes{'transparent_sort_chars'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/indices/w_lines_count.pl 
b/tp/t/results/indices/w_lines_count.pl
index d41303a853..58017f54af 100644
--- a/tp/t/results/indices/w_lines_count.pl
+++ b/tp/t/results/indices/w_lines_count.pl
@@ -376,9 +376,7 @@ $result_nodes{'w_lines_count'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/info_tests/anchor_and_spaces.pl 
b/tp/t/results/info_tests/anchor_and_spaces.pl
index e0d5730e95..cc01da7ee0 100644
--- a/tp/t/results/info_tests/anchor_and_spaces.pl
+++ b/tp/t/results/info_tests/anchor_and_spaces.pl
@@ -297,9 +297,7 @@ $result_nodes{'anchor_and_spaces'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/info_tests/before_node_and_section.pl 
b/tp/t/results/info_tests/before_node_and_section.pl
index a9f8c19b74..a08160447b 100644
--- a/tp/t/results/info_tests/before_node_and_section.pl
+++ b/tp/t/results/info_tests/before_node_and_section.pl
@@ -926,9 +926,7 @@ $result_nodes{'before_node_and_section'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -946,7 +944,6 @@ $result_nodes{'before_node_and_section'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/info_tests/def_in_copying.pl 
b/tp/t/results/info_tests/def_in_copying.pl
index 4b115c87aa..2d52200253 100644
--- a/tp/t/results/info_tests/def_in_copying.pl
+++ b/tp/t/results/info_tests/def_in_copying.pl
@@ -930,9 +930,7 @@ $result_nodes{'def_in_copying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
diff --git a/tp/t/results/info_tests/direntry_dircategory_and_commands.pl 
b/tp/t/results/info_tests/direntry_dircategory_and_commands.pl
index e296c78e74..b08df0f424 100644
--- a/tp/t/results/info_tests/direntry_dircategory_and_commands.pl
+++ b/tp/t/results/info_tests/direntry_dircategory_and_commands.pl
@@ -649,9 +649,7 @@ $result_nodes{'direntry_dircategory_and_commands'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/info_tests/index_entry_at_end_node.pl 
b/tp/t/results/info_tests/index_entry_at_end_node.pl
index 8499b4d2be..a46b700406 100644
--- a/tp/t/results/info_tests/index_entry_at_end_node.pl
+++ b/tp/t/results/info_tests/index_entry_at_end_node.pl
@@ -708,9 +708,7 @@ $result_nodes{'index_entry_at_end_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -728,7 +726,6 @@ $result_nodes{'index_entry_at_end_node'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -742,7 +739,6 @@ $result_nodes{'index_entry_at_end_node'} = {
               'cmdname' => 'appendix',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 'A'
               }
             },
diff --git a/tp/t/results/info_tests/paragraphindent_and_preamble.pl 
b/tp/t/results/info_tests/paragraphindent_and_preamble.pl
index 7c34e75504..fd4fba13f4 100644
--- a/tp/t/results/info_tests/paragraphindent_and_preamble.pl
+++ b/tp/t/results/info_tests/paragraphindent_and_preamble.pl
@@ -393,9 +393,7 @@ $result_nodes{'paragraphindent_and_preamble'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/info_tests/space_in_menu.pl 
b/tp/t/results/info_tests/space_in_menu.pl
index 83dcee2171..61537b83d4 100644
--- a/tp/t/results/info_tests/space_in_menu.pl
+++ b/tp/t/results/info_tests/space_in_menu.pl
@@ -440,9 +440,7 @@ $result_nodes{'space_in_menu'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -460,7 +458,6 @@ $result_nodes{'space_in_menu'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/info_tests/split_no_copying.pl 
b/tp/t/results/info_tests/split_no_copying.pl
index 06db0df641..37079e0a77 100644
--- a/tp/t/results/info_tests/split_no_copying.pl
+++ b/tp/t/results/info_tests/split_no_copying.pl
@@ -522,9 +522,7 @@ $result_nodes{'split_no_copying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -542,7 +540,6 @@ $result_nodes{'split_no_copying'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/info_tests/split_test_before_first_node.pl 
b/tp/t/results/info_tests/split_test_before_first_node.pl
index 934408955b..ba8cb24847 100644
--- a/tp/t/results/info_tests/split_test_before_first_node.pl
+++ b/tp/t/results/info_tests/split_test_before_first_node.pl
@@ -516,9 +516,7 @@ $result_nodes{'split_test_before_first_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -536,7 +534,6 @@ $result_nodes{'split_test_before_first_node'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git 
a/tp/t/results/info_tests/split_test_before_first_node_no_empty_line.pl 
b/tp/t/results/info_tests/split_test_before_first_node_no_empty_line.pl
index 12471e5c7a..8ab210824b 100644
--- a/tp/t/results/info_tests/split_test_before_first_node_no_empty_line.pl
+++ b/tp/t/results/info_tests/split_test_before_first_node_no_empty_line.pl
@@ -507,9 +507,7 @@ $result_nodes{'split_test_before_first_node_no_empty_line'} 
= {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -527,7 +525,6 @@ $result_nodes{'split_test_before_first_node_no_empty_line'} 
= {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/info_tests/test_index.pl 
b/tp/t/results/info_tests/test_index.pl
index 861c147511..d85f999c48 100644
--- a/tp/t/results/info_tests/test_index.pl
+++ b/tp/t/results/info_tests/test_index.pl
@@ -4460,9 +4460,7 @@ $result_nodes{'test_index'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -4480,7 +4478,6 @@ $result_nodes{'test_index'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -4494,7 +4491,6 @@ $result_nodes{'test_index'} = {
               'cmdname' => 'appendix',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 'A'
               }
             },
diff --git a/tp/t/results/info_tests/text_before_node.pl 
b/tp/t/results/info_tests/text_before_node.pl
index f62b3be9ed..ab7be057a5 100644
--- a/tp/t/results/info_tests/text_before_node.pl
+++ b/tp/t/results/info_tests/text_before_node.pl
@@ -401,9 +401,7 @@ $result_nodes{'text_before_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -421,7 +419,6 @@ $result_nodes{'text_before_node'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/invalid_nestings/node_in_copying_not_closed.pl 
b/tp/t/results/invalid_nestings/node_in_copying_not_closed.pl
index c8d5c0f506..db20db45ba 100644
--- a/tp/t/results/invalid_nestings/node_in_copying_not_closed.pl
+++ b/tp/t/results/invalid_nestings/node_in_copying_not_closed.pl
@@ -228,9 +228,7 @@ $result_nodes{'node_in_copying_not_closed'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
diff --git 
a/tp/t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl 
b/tp/t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl
index aec1020b6d..640d1aca26 100644
--- a/tp/t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl
+++ b/tp/t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl
@@ -486,9 +486,7 @@ $result_nodes{'style_not_closed_no_newline_root_commands'} 
= {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -506,7 +504,6 @@ $result_nodes{'style_not_closed_no_newline_root_commands'} 
= {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/invalid_nestings/style_not_closed_root_commands.pl 
b/tp/t/results/invalid_nestings/style_not_closed_root_commands.pl
index c7564c9133..a183c65044 100644
--- a/tp/t/results/invalid_nestings/style_not_closed_root_commands.pl
+++ b/tp/t/results/invalid_nestings/style_not_closed_root_commands.pl
@@ -504,9 +504,7 @@ $result_nodes{'style_not_closed_root_commands'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -524,7 +522,6 @@ $result_nodes{'style_not_closed_root_commands'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/itemize/inter_item_commands_in_enumerate.pl 
b/tp/t/results/itemize/inter_item_commands_in_enumerate.pl
index 5ebe1238e7..2576603243 100644
--- a/tp/t/results/itemize/inter_item_commands_in_enumerate.pl
+++ b/tp/t/results/itemize/inter_item_commands_in_enumerate.pl
@@ -1409,9 +1409,7 @@ $result_nodes{'inter_item_commands_in_enumerate'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -1423,7 +1421,6 @@ $result_nodes{'inter_item_commands_in_enumerate'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/itemize/inter_item_commands_in_itemize.pl 
b/tp/t/results/itemize/inter_item_commands_in_itemize.pl
index 11e6288963..9a5faa5813 100644
--- a/tp/t/results/itemize/inter_item_commands_in_itemize.pl
+++ b/tp/t/results/itemize/inter_item_commands_in_itemize.pl
@@ -961,9 +961,7 @@ $result_nodes{'inter_item_commands_in_itemize'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -975,7 +973,6 @@ $result_nodes{'inter_item_commands_in_itemize'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/languages/appendix_translated.pl 
b/tp/t/results/languages/appendix_translated.pl
index 8623a00376..0620a65f92 100644
--- a/tp/t/results/languages/appendix_translated.pl
+++ b/tp/t/results/languages/appendix_translated.pl
@@ -268,9 +268,7 @@ $result_nodes{'appendix_translated'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/languages/command_translated.pl 
b/tp/t/results/languages/command_translated.pl
index a4c599d30e..df029bc134 100644
--- a/tp/t/results/languages/command_translated.pl
+++ b/tp/t/results/languages/command_translated.pl
@@ -240,9 +240,7 @@ $result_nodes{'command_translated'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/languages/multiple_lang_chapters.pl 
b/tp/t/results/languages/multiple_lang_chapters.pl
index 9bbe265f38..a898bed6aa 100644
--- a/tp/t/results/languages/multiple_lang_chapters.pl
+++ b/tp/t/results/languages/multiple_lang_chapters.pl
@@ -2215,9 +2215,7 @@ $result_nodes{'multiple_lang_chapters'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -2235,7 +2233,6 @@ $result_nodes{'multiple_lang_chapters'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -2249,7 +2246,6 @@ $result_nodes{'multiple_lang_chapters'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -2263,7 +2259,6 @@ $result_nodes{'multiple_lang_chapters'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
@@ -2277,7 +2272,6 @@ $result_nodes{'multiple_lang_chapters'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 4
                       }
                     },
@@ -2291,7 +2285,6 @@ $result_nodes{'multiple_lang_chapters'} = {
                           'cmdname' => 'chapter',
                           'extra' => {},
                           'structure' => {
-                            'section_level' => 1,
                             'section_number' => 5
                           }
                         },
diff --git a/tp/t/results/languages/multiple_lang_chapters_latex.pl 
b/tp/t/results/languages/multiple_lang_chapters_latex.pl
index b11907e577..f1ed6eb66e 100644
--- a/tp/t/results/languages/multiple_lang_chapters_latex.pl
+++ b/tp/t/results/languages/multiple_lang_chapters_latex.pl
@@ -2215,9 +2215,7 @@ $result_nodes{'multiple_lang_chapters_latex'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -2235,7 +2233,6 @@ $result_nodes{'multiple_lang_chapters_latex'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -2249,7 +2246,6 @@ $result_nodes{'multiple_lang_chapters_latex'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -2263,7 +2259,6 @@ $result_nodes{'multiple_lang_chapters_latex'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
@@ -2277,7 +2272,6 @@ $result_nodes{'multiple_lang_chapters_latex'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 4
                       }
                     },
@@ -2291,7 +2285,6 @@ $result_nodes{'multiple_lang_chapters_latex'} = {
                           'cmdname' => 'chapter',
                           'extra' => {},
                           'structure' => {
-                            'section_level' => 1,
                             'section_number' => 5
                           }
                         },
diff --git a/tp/t/results/languages/multiple_lang_chapters_texi2html.pl 
b/tp/t/results/languages/multiple_lang_chapters_texi2html.pl
index c61c4d05cb..8e45463d7b 100644
--- a/tp/t/results/languages/multiple_lang_chapters_texi2html.pl
+++ b/tp/t/results/languages/multiple_lang_chapters_texi2html.pl
@@ -2182,9 +2182,7 @@ $result_nodes{'multiple_lang_chapters_texi2html'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -2202,7 +2200,6 @@ $result_nodes{'multiple_lang_chapters_texi2html'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -2216,7 +2213,6 @@ $result_nodes{'multiple_lang_chapters_texi2html'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -2230,7 +2226,6 @@ $result_nodes{'multiple_lang_chapters_texi2html'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
@@ -2244,7 +2239,6 @@ $result_nodes{'multiple_lang_chapters_texi2html'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 4
                       }
                     },
@@ -2258,7 +2252,6 @@ $result_nodes{'multiple_lang_chapters_texi2html'} = {
                           'cmdname' => 'chapter',
                           'extra' => {},
                           'structure' => {
-                            'section_level' => 1,
                             'section_number' => 5
                           }
                         },
diff --git a/tp/t/results/languages/unknown_language.pl 
b/tp/t/results/languages/unknown_language.pl
index a4b2cebb6f..b1e567b72c 100644
--- a/tp/t/results/languages/unknown_language.pl
+++ b/tp/t/results/languages/unknown_language.pl
@@ -350,9 +350,7 @@ $result_nodes{'unknown_language'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git 
a/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle.pl 
b/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle.pl
index 443b882cde..19527d15c6 100644
--- a/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle.pl
+++ b/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle.pl
@@ -1119,9 +1119,7 @@ 
$result_nodes{'anchor_links_xref_xrefautomaticsectiontitle'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -1133,7 +1131,6 @@ 
$result_nodes{'anchor_links_xref_xrefautomaticsectiontitle'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/custom_headings.pl 
b/tp/t/results/latex_tests/custom_headings.pl
index ac07bb4180..1e857a2243 100644
--- a/tp/t/results/latex_tests/custom_headings.pl
+++ b/tp/t/results/latex_tests/custom_headings.pl
@@ -1039,9 +1039,7 @@ $result_nodes{'custom_headings'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -1053,7 +1051,6 @@ $result_nodes{'custom_headings'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/float_and_refs.pl 
b/tp/t/results/latex_tests/float_and_refs.pl
index 8730ac1f01..0832ef068b 100644
--- a/tp/t/results/latex_tests/float_and_refs.pl
+++ b/tp/t/results/latex_tests/float_and_refs.pl
@@ -2313,9 +2313,7 @@ $result_nodes{'float_and_refs'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -2327,7 +2325,6 @@ $result_nodes{'float_and_refs'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -2369,7 +2366,6 @@ $result_floats{'float_and_refs'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/fonttextsize.pl 
b/tp/t/results/latex_tests/fonttextsize.pl
index 3da077f190..a19bcf6bf9 100644
--- a/tp/t/results/latex_tests/fonttextsize.pl
+++ b/tp/t/results/latex_tests/fonttextsize.pl
@@ -812,9 +812,7 @@ $result_nodes{'fonttextsize'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -826,7 +824,6 @@ $result_nodes{'fonttextsize'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/indices.pl 
b/tp/t/results/latex_tests/indices.pl
index 99e2f9ada6..a059885355 100644
--- a/tp/t/results/latex_tests/indices.pl
+++ b/tp/t/results/latex_tests/indices.pl
@@ -1275,9 +1275,7 @@ $result_nodes{'indices'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -1289,7 +1287,6 @@ $result_nodes{'indices'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/informative_commands_in_top_node.pl 
b/tp/t/results/latex_tests/informative_commands_in_top_node.pl
index 51c9155f3f..68cc054eaf 100644
--- a/tp/t/results/latex_tests/informative_commands_in_top_node.pl
+++ b/tp/t/results/latex_tests/informative_commands_in_top_node.pl
@@ -509,9 +509,7 @@ $result_nodes{'informative_commands_in_top_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -523,7 +521,6 @@ $result_nodes{'informative_commands_in_top_node'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/pagesizes.pl 
b/tp/t/results/latex_tests/pagesizes.pl
index c5bd63aa51..df3686d43d 100644
--- a/tp/t/results/latex_tests/pagesizes.pl
+++ b/tp/t/results/latex_tests/pagesizes.pl
@@ -520,9 +520,7 @@ $result_nodes{'pagesizes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -534,7 +532,6 @@ $result_nodes{'pagesizes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/pagetype.pl 
b/tp/t/results/latex_tests/pagetype.pl
index d535081f76..4663e9f0ce 100644
--- a/tp/t/results/latex_tests/pagetype.pl
+++ b/tp/t/results/latex_tests/pagetype.pl
@@ -559,9 +559,7 @@ $result_nodes{'pagetype'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -573,7 +571,6 @@ $result_nodes{'pagetype'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/shorttitlepage.pl 
b/tp/t/results/latex_tests/shorttitlepage.pl
index 3751244182..a291471242 100644
--- a/tp/t/results/latex_tests/shorttitlepage.pl
+++ b/tp/t/results/latex_tests/shorttitlepage.pl
@@ -370,9 +370,7 @@ $result_nodes{'shorttitlepage'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -384,7 +382,6 @@ $result_nodes{'shorttitlepage'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/titlepage_classical.pl 
b/tp/t/results/latex_tests/titlepage_classical.pl
index 519899ee67..b01a7a5af4 100644
--- a/tp/t/results/latex_tests/titlepage_classical.pl
+++ b/tp/t/results/latex_tests/titlepage_classical.pl
@@ -748,9 +748,7 @@ $result_nodes{'titlepage_classical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -762,7 +760,6 @@ $result_nodes{'titlepage_classical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/titlepage_in_top_node.pl 
b/tp/t/results/latex_tests/titlepage_in_top_node.pl
index 68f77d1dfe..27deb40521 100644
--- a/tp/t/results/latex_tests/titlepage_in_top_node.pl
+++ b/tp/t/results/latex_tests/titlepage_in_top_node.pl
@@ -446,9 +446,7 @@ $result_nodes{'titlepage_in_top_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -460,7 +458,6 @@ $result_nodes{'titlepage_in_top_node'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/titlepage_long_title.pl 
b/tp/t/results/latex_tests/titlepage_long_title.pl
index 591faa5f07..5b782f0612 100644
--- a/tp/t/results/latex_tests/titlepage_long_title.pl
+++ b/tp/t/results/latex_tests/titlepage_long_title.pl
@@ -431,9 +431,7 @@ $result_nodes{'titlepage_long_title'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -445,7 +443,6 @@ $result_nodes{'titlepage_long_title'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/titlepage_no_author.pl 
b/tp/t/results/latex_tests/titlepage_no_author.pl
index 3c435119cb..65a6103e5e 100644
--- a/tp/t/results/latex_tests/titlepage_no_author.pl
+++ b/tp/t/results/latex_tests/titlepage_no_author.pl
@@ -413,9 +413,7 @@ $result_nodes{'titlepage_no_author'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -427,7 +425,6 @@ $result_nodes{'titlepage_no_author'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/titlepage_no_title.pl 
b/tp/t/results/latex_tests/titlepage_no_title.pl
index 8edd62ed8f..f1ac156fc2 100644
--- a/tp/t/results/latex_tests/titlepage_no_title.pl
+++ b/tp/t/results/latex_tests/titlepage_no_title.pl
@@ -455,9 +455,7 @@ $result_nodes{'titlepage_no_title'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -469,7 +467,6 @@ $result_nodes{'titlepage_no_title'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/latex_tests/titlepage_with_commands_classical.pl 
b/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
index 3b1bd2c7f9..3e165d0992 100644
--- a/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
+++ b/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
@@ -961,9 +961,7 @@ $result_nodes{'titlepage_with_commands_classical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -975,7 +973,6 @@ $result_nodes{'titlepage_with_commands_classical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/layout/navigation.pl 
b/tp/t/results/layout/navigation.pl
index 5404709ab4..47aa6917a1 100644
--- a/tp/t/results/layout/navigation.pl
+++ b/tp/t/results/layout/navigation.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_chapter.pl 
b/tp/t/results/layout/navigation_chapter.pl
index 062a3f07ee..3a99115ff8 100644
--- a/tp/t/results/layout/navigation_chapter.pl
+++ b/tp/t/results/layout/navigation_chapter.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_chapter'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_chapter'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_chapter'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_chapter'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_chapter_no_header.pl 
b/tp/t/results/layout/navigation_chapter_no_header.pl
index 5c878b8de6..596571605d 100644
--- a/tp/t/results/layout/navigation_chapter_no_header.pl
+++ b/tp/t/results/layout/navigation_chapter_no_header.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_chapter_no_header'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_chapter_no_header'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_chapter_no_header'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_chapter_no_header'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_chapter_no_header_vertical.pl 
b/tp/t/results/layout/navigation_chapter_no_header_vertical.pl
index 338d97ad6a..826a916017 100644
--- a/tp/t/results/layout/navigation_chapter_no_header_vertical.pl
+++ b/tp/t/results/layout/navigation_chapter_no_header_vertical.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_chapter_no_header_vertical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_chapter_no_header_vertical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_chapter_no_header_vertical'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_chapter_no_header_vertical'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_chapter_vertical.pl 
b/tp/t/results/layout/navigation_chapter_vertical.pl
index b6d1c603b3..116f1c2f5e 100644
--- a/tp/t/results/layout/navigation_chapter_vertical.pl
+++ b/tp/t/results/layout/navigation_chapter_vertical.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_chapter_vertical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_chapter_vertical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_chapter_vertical'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_chapter_vertical'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_no_header.pl 
b/tp/t/results/layout/navigation_no_header.pl
index 98758b831f..bf02d68fce 100644
--- a/tp/t/results/layout/navigation_no_header.pl
+++ b/tp/t/results/layout/navigation_no_header.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_no_header'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_no_header'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_no_header'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_no_header'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_no_header_vertical.pl 
b/tp/t/results/layout/navigation_no_header_vertical.pl
index c1900aab99..29345115f9 100644
--- a/tp/t/results/layout/navigation_no_header_vertical.pl
+++ b/tp/t/results/layout/navigation_no_header_vertical.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_no_header_vertical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_no_header_vertical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_no_header_vertical'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_no_header_vertical'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_node.pl 
b/tp/t/results/layout/navigation_node.pl
index 4b22f226a5..243849fc5a 100644
--- a/tp/t/results/layout/navigation_node.pl
+++ b/tp/t/results/layout/navigation_node.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_node'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_node'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_node'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_node_no_header.pl 
b/tp/t/results/layout/navigation_node_no_header.pl
index 445a87f83e..3abdb450e2 100644
--- a/tp/t/results/layout/navigation_node_no_header.pl
+++ b/tp/t/results/layout/navigation_node_no_header.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_node_no_header'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_node_no_header'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_node_no_header'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_node_no_header'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_node_no_header_vertical.pl 
b/tp/t/results/layout/navigation_node_no_header_vertical.pl
index 603aa1b638..9f0d9c5c75 100644
--- a/tp/t/results/layout/navigation_node_no_header_vertical.pl
+++ b/tp/t/results/layout/navigation_node_no_header_vertical.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_node_no_header_vertical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_node_no_header_vertical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_node_no_header_vertical'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_node_no_header_vertical'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_node_vertical.pl 
b/tp/t/results/layout/navigation_node_vertical.pl
index edb5b1348f..6395250026 100644
--- a/tp/t/results/layout/navigation_node_vertical.pl
+++ b/tp/t/results/layout/navigation_node_vertical.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_node_vertical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_node_vertical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_node_vertical'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_node_vertical'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_section.pl 
b/tp/t/results/layout/navigation_section.pl
index 1618476774..5b2736b3eb 100644
--- a/tp/t/results/layout/navigation_section.pl
+++ b/tp/t/results/layout/navigation_section.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_section'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_section'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_section'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_section'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_section_no_header.pl 
b/tp/t/results/layout/navigation_section_no_header.pl
index b594e4b28d..d9b396e5ed 100644
--- a/tp/t/results/layout/navigation_section_no_header.pl
+++ b/tp/t/results/layout/navigation_section_no_header.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_section_no_header'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_section_no_header'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_section_no_header'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_section_no_header'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_section_no_header_vertical.pl 
b/tp/t/results/layout/navigation_section_no_header_vertical.pl
index 7d1cf68f10..0ecf40424a 100644
--- a/tp/t/results/layout/navigation_section_no_header_vertical.pl
+++ b/tp/t/results/layout/navigation_section_no_header_vertical.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_section_no_header_vertical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_section_no_header_vertical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_section_no_header_vertical'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_section_no_header_vertical'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_section_vertical.pl 
b/tp/t/results/layout/navigation_section_vertical.pl
index 632a6845b0..ded19be0b3 100644
--- a/tp/t/results/layout/navigation_section_vertical.pl
+++ b/tp/t/results/layout/navigation_section_vertical.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_section_vertical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_section_vertical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_section_vertical'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_section_vertical'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/navigation_vertical.pl 
b/tp/t/results/layout/navigation_vertical.pl
index f68a3eb805..3c8ce810f1 100644
--- a/tp/t/results/layout/navigation_vertical.pl
+++ b/tp/t/results/layout/navigation_vertical.pl
@@ -1349,9 +1349,7 @@ $result_nodes{'navigation_vertical'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1369,7 +1367,6 @@ $result_nodes{'navigation_vertical'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1389,7 +1386,6 @@ $result_nodes{'navigation_vertical'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1409,7 +1405,6 @@ $result_nodes{'navigation_vertical'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/layout/no_monolithic.pl 
b/tp/t/results/layout/no_monolithic.pl
index 4b3bf45171..2c1421f5a2 100644
--- a/tp/t/results/layout/no_monolithic.pl
+++ b/tp/t/results/layout/no_monolithic.pl
@@ -725,9 +725,7 @@ $result_nodes{'no_monolithic'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -745,7 +743,6 @@ $result_nodes{'no_monolithic'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/macro/macro_in_misc_commands.pl 
b/tp/t/results/macro/macro_in_misc_commands.pl
index bd0b99fb19..3f0ce8732b 100644
--- a/tp/t/results/macro/macro_in_misc_commands.pl
+++ b/tp/t/results/macro/macro_in_misc_commands.pl
@@ -4328,9 +4328,7 @@ $result_nodes{'macro_in_misc_commands'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -4348,7 +4346,6 @@ $result_nodes{'macro_in_misc_commands'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/menu/block_commands_in_menu_description.pl 
b/tp/t/results/menu/block_commands_in_menu_description.pl
index 55fed00b93..84542d415c 100644
--- a/tp/t/results/menu/block_commands_in_menu_description.pl
+++ b/tp/t/results/menu/block_commands_in_menu_description.pl
@@ -751,9 +751,7 @@ $result_nodes{'block_commands_in_menu_description'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/menu/comment_on_menu_line.pl 
b/tp/t/results/menu/comment_on_menu_line.pl
index 47b6008201..53075443cb 100644
--- a/tp/t/results/menu/comment_on_menu_line.pl
+++ b/tp/t/results/menu/comment_on_menu_line.pl
@@ -354,7 +354,6 @@ $result_nodes{'comment_on_menu_line'} = {
       'cmdname' => 'chapter',
       'extra' => {},
       'structure' => {
-        'section_level' => 1,
         'section_number' => 1
       }
     },
diff --git a/tp/t/results/menu/detailmenu_on_subnodes.pl 
b/tp/t/results/menu/detailmenu_on_subnodes.pl
index 0404f56b14..2a2652d4f1 100644
--- a/tp/t/results/menu/detailmenu_on_subnodes.pl
+++ b/tp/t/results/menu/detailmenu_on_subnodes.pl
@@ -1668,9 +1668,7 @@ $result_nodes{'detailmenu_on_subnodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1688,7 +1686,6 @@ $result_nodes{'detailmenu_on_subnodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1708,7 +1705,6 @@ $result_nodes{'detailmenu_on_subnodes'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1725,7 +1721,6 @@ $result_nodes{'detailmenu_on_subnodes'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -1745,7 +1740,6 @@ $result_nodes{'detailmenu_on_subnodes'} = {
                   'cmdname' => 'section',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 2,
                     'section_number' => '2.1'
                   }
                 },
@@ -1758,9 +1752,7 @@ $result_nodes{'detailmenu_on_subnodes'} = {
                     'associated_section' => {
                       'cmdname' => 'unnumberedsec',
                       'extra' => {},
-                      'structure' => {
-                        'section_level' => 2
-                      }
+                      'structure' => {}
                     },
                     'normalized' => 'unnumberedsec'
                   },
diff --git a/tp/t/results/menu/direntry_dircategory_after_first_node.pl 
b/tp/t/results/menu/direntry_dircategory_after_first_node.pl
index c4d53dd5ae..d8939f4a55 100644
--- a/tp/t/results/menu/direntry_dircategory_after_first_node.pl
+++ b/tp/t/results/menu/direntry_dircategory_after_first_node.pl
@@ -337,9 +337,7 @@ $result_nodes{'direntry_dircategory_after_first_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
diff --git a/tp/t/results/menu/example_in_menu_description.pl 
b/tp/t/results/menu/example_in_menu_description.pl
index e1629c5ac1..9fb792d26d 100644
--- a/tp/t/results/menu/example_in_menu_description.pl
+++ b/tp/t/results/menu/example_in_menu_description.pl
@@ -402,9 +402,7 @@ $result_nodes{'example_in_menu_description'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/menu/inlineraw_in_menu_description.pl 
b/tp/t/results/menu/inlineraw_in_menu_description.pl
index 4c4ff2a659..ece93a7bd6 100644
--- a/tp/t/results/menu/inlineraw_in_menu_description.pl
+++ b/tp/t/results/menu/inlineraw_in_menu_description.pl
@@ -375,9 +375,7 @@ $result_nodes{'inlineraw_in_menu_description'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/menu/menu_pointing_to_anchor.pl 
b/tp/t/results/menu/menu_pointing_to_anchor.pl
index c94faa49da..bd6b3c4963 100644
--- a/tp/t/results/menu/menu_pointing_to_anchor.pl
+++ b/tp/t/results/menu/menu_pointing_to_anchor.pl
@@ -349,9 +349,7 @@ $result_nodes{'menu_pointing_to_anchor'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/menu/verb_in_menu_description.pl 
b/tp/t/results/menu/verb_in_menu_description.pl
index 44f552c3a9..f59fa7eda6 100644
--- a/tp/t/results/menu/verb_in_menu_description.pl
+++ b/tp/t/results/menu/verb_in_menu_description.pl
@@ -357,9 +357,7 @@ $result_nodes{'verb_in_menu_description'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git 
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl 
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index 1a26d21069..54984ae340 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -5139,9 +5139,7 @@ $result_nodes{'codequoteundirected_codequotebacktick'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/misc_commands/comment_space_command_on_line.pl 
b/tp/t/results/misc_commands/comment_space_command_on_line.pl
index 5dafbccb10..6df6e3b4f7 100644
--- a/tp/t/results/misc_commands/comment_space_command_on_line.pl
+++ b/tp/t/results/misc_commands/comment_space_command_on_line.pl
@@ -758,9 +758,7 @@ $result_nodes{'comment_space_command_on_line'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'normalized' => 'Top'
@@ -786,9 +784,7 @@ $result_floats{'comment_space_command_on_line'} = {
         'float_section' => {
           'cmdname' => 'top',
           'extra' => {},
-          'structure' => {
-            'section_level' => 0
-          }
+          'structure' => {}
         },
         'normalized' => 'label',
         'type' => {
diff --git a/tp/t/results/misc_commands/text_before_line_command.pl 
b/tp/t/results/misc_commands/text_before_line_command.pl
index 290890a312..214ff10a5e 100644
--- a/tp/t/results/misc_commands/text_before_line_command.pl
+++ b/tp/t/results/misc_commands/text_before_line_command.pl
@@ -389,7 +389,6 @@ $result_nodes{'text_before_line_command'} = {
       'cmdname' => 'chapter',
       'extra' => {},
       'structure' => {
-        'section_level' => 1,
         'section_number' => 1
       }
     },
diff --git a/tp/t/results/morecoverage/formatting_fr.pl 
b/tp/t/results/morecoverage/formatting_fr.pl
index 89126ddb90..76901302ca 100644
--- a/tp/t/results/morecoverage/formatting_fr.pl
+++ b/tp/t/results/morecoverage/formatting_fr.pl
@@ -4446,9 +4446,7 @@ $result_nodes{'formatting_fr'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'menus' => [
@@ -4467,7 +4465,6 @@ $result_nodes{'formatting_fr'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -4480,9 +4477,7 @@ $result_nodes{'formatting_fr'} = {
             'associated_section' => {
               'cmdname' => 'centerchap',
               'extra' => {},
-              'structure' => {
-                'section_level' => 1
-              }
+              'structure' => {}
             },
             'isindex' => 1,
             'normalized' => 'chapter2'
diff --git a/tp/t/results/morecoverage/texi_formatting.pl 
b/tp/t/results/morecoverage/texi_formatting.pl
index 28a26ad803..92332ebce3 100644
--- a/tp/t/results/morecoverage/texi_formatting.pl
+++ b/tp/t/results/morecoverage/texi_formatting.pl
@@ -4446,9 +4446,7 @@ $result_nodes{'texi_formatting'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'menus' => [
@@ -4467,7 +4465,6 @@ $result_nodes{'texi_formatting'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -4480,9 +4477,7 @@ $result_nodes{'texi_formatting'} = {
             'associated_section' => {
               'cmdname' => 'centerchap',
               'extra' => {},
-              'structure' => {
-                'section_level' => 1
-              }
+              'structure' => {}
             },
             'isindex' => 1,
             'normalized' => 'chapter2'
diff --git a/tp/t/results/moreindices/index_split.pl 
b/tp/t/results/moreindices/index_split.pl
index 4384968dbb..905bef114b 100644
--- a/tp/t/results/moreindices/index_split.pl
+++ b/tp/t/results/moreindices/index_split.pl
@@ -3966,9 +3966,7 @@ $result_nodes{'index_split'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'menus' => [
@@ -3988,7 +3986,6 @@ $result_nodes{'index_split'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -4009,7 +4006,6 @@ $result_nodes{'index_split'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -4030,7 +4026,6 @@ $result_nodes{'index_split'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
@@ -4044,7 +4039,6 @@ $result_nodes{'index_split'} = {
                       'cmdname' => 'subsection',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 3,
                         'section_number' => '1.1.2'
                       }
                     },
@@ -4066,7 +4060,6 @@ $result_nodes{'index_split'} = {
                   'cmdname' => 'section',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 2,
                     'section_number' => '1.2'
                   }
                 },
@@ -4080,7 +4073,6 @@ $result_nodes{'index_split'} = {
                       'cmdname' => 'section',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 2,
                         'section_number' => '1.3'
                       }
                     },
@@ -4116,7 +4108,6 @@ $result_nodes{'index_split'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git a/tp/t/results/moreindices/index_split_nodes.pl 
b/tp/t/results/moreindices/index_split_nodes.pl
index 1d2f700664..8c167cf882 100644
--- a/tp/t/results/moreindices/index_split_nodes.pl
+++ b/tp/t/results/moreindices/index_split_nodes.pl
@@ -3966,9 +3966,7 @@ $result_nodes{'index_split_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'menus' => [
@@ -3988,7 +3986,6 @@ $result_nodes{'index_split_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -4009,7 +4006,6 @@ $result_nodes{'index_split_nodes'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -4030,7 +4026,6 @@ $result_nodes{'index_split_nodes'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
@@ -4044,7 +4039,6 @@ $result_nodes{'index_split_nodes'} = {
                       'cmdname' => 'subsection',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 3,
                         'section_number' => '1.1.2'
                       }
                     },
@@ -4066,7 +4060,6 @@ $result_nodes{'index_split_nodes'} = {
                   'cmdname' => 'section',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 2,
                     'section_number' => '1.2'
                   }
                 },
@@ -4080,7 +4073,6 @@ $result_nodes{'index_split_nodes'} = {
                       'cmdname' => 'section',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 2,
                         'section_number' => '1.3'
                       }
                     },
@@ -4116,7 +4108,6 @@ $result_nodes{'index_split_nodes'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git 
a/tp/t/results/moreindices/nodes_before_top_and_sections_monolithic.pl 
b/tp/t/results/moreindices/nodes_before_top_and_sections_monolithic.pl
index 2f40d553b0..37f64d4f9b 100644
--- a/tp/t/results/moreindices/nodes_before_top_and_sections_monolithic.pl
+++ b/tp/t/results/moreindices/nodes_before_top_and_sections_monolithic.pl
@@ -3328,9 +3328,7 @@ $result_nodes{'nodes_before_top_and_sections_monolithic'} 
= {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'isindex' => 1,
     'menus' => [
diff --git a/tp/t/results/moreindices/split_chapter_index.pl 
b/tp/t/results/moreindices/split_chapter_index.pl
index ce799bd731..3628d75373 100644
--- a/tp/t/results/moreindices/split_chapter_index.pl
+++ b/tp/t/results/moreindices/split_chapter_index.pl
@@ -1760,9 +1760,7 @@ $result_nodes{'split_chapter_index'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1780,7 +1778,6 @@ $result_nodes{'split_chapter_index'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1801,7 +1798,6 @@ $result_nodes{'split_chapter_index'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1821,7 +1817,6 @@ $result_nodes{'split_chapter_index'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/moresectioning/more_sections_than_nodes.pl 
b/tp/t/results/moresectioning/more_sections_than_nodes.pl
index d435fd231b..b35a83a7e9 100644
--- a/tp/t/results/moresectioning/more_sections_than_nodes.pl
+++ b/tp/t/results/moresectioning/more_sections_than_nodes.pl
@@ -1691,9 +1691,7 @@ $result_nodes{'more_sections_than_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1711,7 +1709,6 @@ $result_nodes{'more_sections_than_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 2
           }
         },
@@ -1725,7 +1722,6 @@ $result_nodes{'more_sections_than_nodes'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 3
               }
             },
@@ -1745,7 +1741,6 @@ $result_nodes{'more_sections_than_nodes'} = {
                   'cmdname' => 'section',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 2,
                     'section_number' => '3.2'
                   }
                 },
@@ -1762,7 +1757,6 @@ $result_nodes{'more_sections_than_nodes'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '4.1.2'
                   }
                 },
diff --git a/tp/t/results/moresectioning/node_footnote_end.pl 
b/tp/t/results/moresectioning/node_footnote_end.pl
index a9f40f5eef..e1aa81f217 100644
--- a/tp/t/results/moresectioning/node_footnote_end.pl
+++ b/tp/t/results/moresectioning/node_footnote_end.pl
@@ -1493,7 +1493,6 @@ $result_nodes{'node_footnote_end'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 1
                   }
                 },
diff --git a/tp/t/results/moresectioning/node_footnote_separated.pl 
b/tp/t/results/moresectioning/node_footnote_separated.pl
index a87d97c2e0..ca734ee9e3 100644
--- a/tp/t/results/moresectioning/node_footnote_separated.pl
+++ b/tp/t/results/moresectioning/node_footnote_separated.pl
@@ -1493,7 +1493,6 @@ $result_nodes{'node_footnote_separated'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 1
                   }
                 },
diff --git a/tp/t/results/moresectioning/node_footnote_use_node.pl 
b/tp/t/results/moresectioning/node_footnote_use_node.pl
index 5b9eaa9462..a82b93bd25 100644
--- a/tp/t/results/moresectioning/node_footnote_use_node.pl
+++ b/tp/t/results/moresectioning/node_footnote_use_node.pl
@@ -1493,7 +1493,6 @@ $result_nodes{'node_footnote_use_node'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 1
                   }
                 },
diff --git a/tp/t/results/moresectioning/nodes_after_top_before_chapter.pl 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter.pl
index 4b02d67eaa..7010e8cf90 100644
--- a/tp/t/results/moresectioning/nodes_after_top_before_chapter.pl
+++ b/tp/t/results/moresectioning/nodes_after_top_before_chapter.pl
@@ -736,7 +736,6 @@ $result_nodes{'nodes_after_top_before_chapter'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 1
               }
             },
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter.pl
 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter.pl
index a8e20322e7..3c84b16389 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter.pl
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter.pl
@@ -736,7 +736,6 @@ 
$result_nodes{'nodes_after_top_before_chapter_use_nodes_chapter'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 1
               }
             },
diff --git a/tp/t/results/moresectioning/nodes_after_top_before_section.pl 
b/tp/t/results/moresectioning/nodes_after_top_before_section.pl
index 9ee2bbb9d4..918881855f 100644
--- a/tp/t/results/moresectioning/nodes_after_top_before_section.pl
+++ b/tp/t/results/moresectioning/nodes_after_top_before_section.pl
@@ -736,7 +736,6 @@ $result_nodes{'nodes_after_top_before_section'} = {
               'cmdname' => 'subsection',
               'extra' => {},
               'structure' => {
-                'section_level' => 3,
                 'section_number' => 1
               }
             },
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes.pl 
b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes.pl
index d08bbc5126..960356929d 100644
--- a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes.pl
+++ b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes.pl
@@ -736,7 +736,6 @@ $result_nodes{'nodes_after_top_before_section_use_nodes'} = 
{
               'cmdname' => 'subsection',
               'extra' => {},
               'structure' => {
-                'section_level' => 3,
                 'section_number' => 1
               }
             },
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter.pl
 
b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter.pl
index 5d4e7b9b77..9ee535d72c 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter.pl
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter.pl
@@ -736,7 +736,6 @@ 
$result_nodes{'nodes_after_top_before_section_use_nodes_chapter'} = {
               'cmdname' => 'subsection',
               'extra' => {},
               'structure' => {
-                'section_level' => 3,
                 'section_number' => 1
               }
             },
diff --git a/tp/t/results/moresectioning/sectioning_frames.pl 
b/tp/t/results/moresectioning/sectioning_frames.pl
index e4d0172998..1417e48293 100644
--- a/tp/t/results/moresectioning/sectioning_frames.pl
+++ b/tp/t/results/moresectioning/sectioning_frames.pl
@@ -3369,9 +3369,7 @@ $result_nodes{'sectioning_frames'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -3389,7 +3387,6 @@ $result_nodes{'sectioning_frames'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -3408,9 +3405,7 @@ $result_nodes{'sectioning_frames'} = {
             'associated_section' => {
               'cmdname' => 'unnumberedsec',
               'extra' => {},
-              'structure' => {
-                'section_level' => 2
-              }
+              'structure' => {}
             },
             'menus' => [
               {
@@ -3427,9 +3422,7 @@ $result_nodes{'sectioning_frames'} = {
                 'associated_section' => {
                   'cmdname' => 'unnumberedsubsec',
                   'extra' => {},
-                  'structure' => {
-                    'section_level' => 3
-                  }
+                  'structure' => {}
                 },
                 'normalized' => 'unnumbered-sub'
               },
@@ -3440,9 +3433,7 @@ $result_nodes{'sectioning_frames'} = {
                     'associated_section' => {
                       'cmdname' => 'subsection',
                       'extra' => {},
-                      'structure' => {
-                        'section_level' => 3
-                      }
+                      'structure' => {}
                     },
                     'normalized' => 'numbered-sub'
                   },
@@ -3453,9 +3444,7 @@ $result_nodes{'sectioning_frames'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumberedsubsec',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 3
-                          }
+                          'structure' => {}
                         },
                         'normalized' => 'unnumbered-sub2'
                       },
@@ -3466,9 +3455,7 @@ $result_nodes{'sectioning_frames'} = {
                             'associated_section' => {
                               'cmdname' => 'subsection',
                               'extra' => {},
-                              'structure' => {
-                                'section_level' => 3
-                              }
+                              'structure' => {}
                             },
                             'normalized' => 'numbered-sub2'
                           },
@@ -3494,9 +3481,7 @@ $result_nodes{'sectioning_frames'} = {
                 'associated_section' => {
                   'cmdname' => 'unnumberedsec',
                   'extra' => {},
-                  'structure' => {
-                    'section_level' => 2
-                  }
+                  'structure' => {}
                 },
                 'menus' => [
                   {
@@ -3513,9 +3498,7 @@ $result_nodes{'sectioning_frames'} = {
                     'associated_section' => {
                       'cmdname' => 'subsection',
                       'extra' => {},
-                      'structure' => {
-                        'section_level' => 3
-                      }
+                      'structure' => {}
                     },
                     'normalized' => 'numbered-sub3'
                   },
@@ -3530,7 +3513,6 @@ $result_nodes{'sectioning_frames'} = {
                       'cmdname' => 'section',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 2,
                         'section_number' => '1.1'
                       }
                     },
diff --git a/tp/t/results/moresectioning/top_node_up_explicit.pl 
b/tp/t/results/moresectioning/top_node_up_explicit.pl
index 9c23e109f6..6e1be35969 100644
--- a/tp/t/results/moresectioning/top_node_up_explicit.pl
+++ b/tp/t/results/moresectioning/top_node_up_explicit.pl
@@ -678,9 +678,7 @@ $result_nodes{'top_node_up_explicit'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -698,7 +696,6 @@ $result_nodes{'top_node_up_explicit'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/moresectioning/top_node_up_implicit.pl 
b/tp/t/results/moresectioning/top_node_up_implicit.pl
index 6338a68483..cc2346bbae 100644
--- a/tp/t/results/moresectioning/top_node_up_implicit.pl
+++ b/tp/t/results/moresectioning/top_node_up_implicit.pl
@@ -566,9 +566,7 @@ $result_nodes{'top_node_up_implicit'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -586,7 +584,6 @@ $result_nodes{'top_node_up_implicit'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/moresectioning/two_footnotes_in_nodes.pl 
b/tp/t/results/moresectioning/two_footnotes_in_nodes.pl
index 76ae438d8f..6050dd0e1a 100644
--- a/tp/t/results/moresectioning/two_footnotes_in_nodes.pl
+++ b/tp/t/results/moresectioning/two_footnotes_in_nodes.pl
@@ -828,9 +828,7 @@ $result_nodes{'two_footnotes_in_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -848,7 +846,6 @@ $result_nodes{'two_footnotes_in_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/moresectioning/two_footnotes_in_nodes_separated.pl 
b/tp/t/results/moresectioning/two_footnotes_in_nodes_separated.pl
index 293809d1eb..15c162562b 100644
--- a/tp/t/results/moresectioning/two_footnotes_in_nodes_separated.pl
+++ b/tp/t/results/moresectioning/two_footnotes_in_nodes_separated.pl
@@ -828,9 +828,7 @@ $result_nodes{'two_footnotes_in_nodes_separated'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -848,7 +846,6 @@ $result_nodes{'two_footnotes_in_nodes_separated'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/plaintext_tests/japanese_utf8.pl 
b/tp/t/results/plaintext_tests/japanese_utf8.pl
index 6f223a3aec..fb3f618e35 100644
--- a/tp/t/results/plaintext_tests/japanese_utf8.pl
+++ b/tp/t/results/plaintext_tests/japanese_utf8.pl
@@ -1096,9 +1096,7 @@ $result_nodes{'japanese_utf8'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1116,7 +1114,6 @@ $result_nodes{'japanese_utf8'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1130,7 +1127,6 @@ $result_nodes{'japanese_utf8'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git a/tp/t/results/plaintext_tests/quote_node_names.pl 
b/tp/t/results/plaintext_tests/quote_node_names.pl
index 07377c0433..32451f46f7 100644
--- a/tp/t/results/plaintext_tests/quote_node_names.pl
+++ b/tp/t/results/plaintext_tests/quote_node_names.pl
@@ -1877,9 +1877,7 @@ $result_nodes{'quote_node_names'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1897,7 +1895,6 @@ $result_nodes{'quote_node_names'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1911,7 +1908,6 @@ $result_nodes{'quote_node_names'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -1925,7 +1921,6 @@ $result_nodes{'quote_node_names'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
@@ -1939,7 +1934,6 @@ $result_nodes{'quote_node_names'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 4
                       }
                     },
diff --git a/tp/t/results/regions/ref_in_copying.pl 
b/tp/t/results/regions/ref_in_copying.pl
index 10416f9d51..7cddcd54c0 100644
--- a/tp/t/results/regions/ref_in_copying.pl
+++ b/tp/t/results/regions/ref_in_copying.pl
@@ -552,9 +552,7 @@ $result_nodes{'ref_in_copying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -572,7 +570,6 @@ $result_nodes{'ref_in_copying'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/regions/today_in_copying.pl 
b/tp/t/results/regions/today_in_copying.pl
index bf8567be57..e6656bfc50 100644
--- a/tp/t/results/regions/today_in_copying.pl
+++ b/tp/t/results/regions/today_in_copying.pl
@@ -269,9 +269,7 @@ $result_nodes{'today_in_copying'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/sectioning/anchor_in_footnote.pl 
b/tp/t/results/sectioning/anchor_in_footnote.pl
index 38c5f3480b..fda9cb5f92 100644
--- a/tp/t/results/sectioning/anchor_in_footnote.pl
+++ b/tp/t/results/sectioning/anchor_in_footnote.pl
@@ -554,9 +554,7 @@ $result_nodes{'anchor_in_footnote'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -574,7 +572,6 @@ $result_nodes{'anchor_in_footnote'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/sectioning/anchor_in_footnote_separate.pl 
b/tp/t/results/sectioning/anchor_in_footnote_separate.pl
index b607af0e60..8a17623c49 100644
--- a/tp/t/results/sectioning/anchor_in_footnote_separate.pl
+++ b/tp/t/results/sectioning/anchor_in_footnote_separate.pl
@@ -590,9 +590,7 @@ $result_nodes{'anchor_in_footnote_separate'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -610,7 +608,6 @@ $result_nodes{'anchor_in_footnote_separate'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/sectioning/chapter_before_and_after_part.pl 
b/tp/t/results/sectioning/chapter_before_and_after_part.pl
index 7b6d5a1b87..0db5176aa1 100644
--- a/tp/t/results/sectioning/chapter_before_and_after_part.pl
+++ b/tp/t/results/sectioning/chapter_before_and_after_part.pl
@@ -306,7 +306,6 @@ $result_elements{'chapter_before_and_after_part'} = [
         'extra' => {},
         'structure' => {
           'associated_unit' => {},
-          'section_level' => 1,
           'section_number' => 1
         }
       }
@@ -322,14 +321,12 @@ $result_elements{'chapter_before_and_after_part'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 2
               }
             }
diff --git a/tp/t/results/sectioning/chapter_before_part.pl 
b/tp/t/results/sectioning/chapter_before_part.pl
index aa0606e6e7..3b3b806f9c 100644
--- a/tp/t/results/sectioning/chapter_before_part.pl
+++ b/tp/t/results/sectioning/chapter_before_part.pl
@@ -211,7 +211,6 @@ $result_elements{'chapter_before_part'} = [
         'extra' => {},
         'structure' => {
           'associated_unit' => {},
-          'section_level' => 1,
           'section_number' => 1
         }
       }
@@ -224,8 +223,7 @@ $result_elements{'chapter_before_part'} = [
               'cmdname' => 'part',
               'extra' => {},
               'structure' => {
-                'associated_unit' => {},
-                'section_level' => 0
+                'associated_unit' => {}
               }
             }
           },
diff --git a/tp/t/results/sectioning/chapter_between_nodes.pl 
b/tp/t/results/sectioning/chapter_between_nodes.pl
index 645ba79465..7cd1f60e0f 100644
--- a/tp/t/results/sectioning/chapter_between_nodes.pl
+++ b/tp/t/results/sectioning/chapter_between_nodes.pl
@@ -617,9 +617,7 @@ $result_nodes{'chapter_between_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -637,7 +635,6 @@ $result_nodes{'chapter_between_nodes'} = {
           'cmdname' => 'section',
           'extra' => {},
           'structure' => {
-            'section_level' => 2,
             'section_number' => '1.1'
           }
         },
diff --git a/tp/t/results/sectioning/chapter_node_before_and_after_part.pl 
b/tp/t/results/sectioning/chapter_node_before_and_after_part.pl
index b7000e2e49..13a5c7f4be 100644
--- a/tp/t/results/sectioning/chapter_node_before_and_after_part.pl
+++ b/tp/t/results/sectioning/chapter_node_before_and_after_part.pl
@@ -492,7 +492,6 @@ $result_nodes{'chapter_node_before_and_after_part'} = {
       'cmdname' => 'chapter',
       'extra' => {},
       'structure' => {
-        'section_level' => 1,
         'section_number' => 1
       }
     },
@@ -514,13 +513,10 @@ $result_nodes{'chapter_node_before_and_after_part'} = {
             'associated_part' => {
               'cmdname' => 'part',
               'extra' => {},
-              'structure' => {
-                'section_level' => 0
-              }
+              'structure' => {}
             }
           },
           'structure' => {
-            'section_level' => 1,
             'section_number' => 2
           }
         },
diff --git a/tp/t/results/sectioning/chapter_sections.pl 
b/tp/t/results/sectioning/chapter_sections.pl
index fb48ec6185..b70d7a8e29 100644
--- a/tp/t/results/sectioning/chapter_sections.pl
+++ b/tp/t/results/sectioning/chapter_sections.pl
@@ -794,8 +794,7 @@ $result_elements{'chapter_sections'} = [
         'cmdname' => 'unnumbered',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 1
+          'associated_unit' => {}
         }
       }
     },
@@ -808,7 +807,6 @@ $result_elements{'chapter_sections'} = [
               'extra' => {},
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -824,7 +822,6 @@ $result_elements{'chapter_sections'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 2
                     }
                   }
@@ -838,7 +835,6 @@ $result_elements{'chapter_sections'} = [
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 2,
                             'section_number' => '1.1'
                           }
                         }
@@ -863,7 +859,6 @@ $result_elements{'chapter_sections'} = [
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 3
                           }
                         }
@@ -877,7 +872,6 @@ $result_elements{'chapter_sections'} = [
                                 'extra' => {},
                                 'structure' => {
                                   'associated_unit' => {},
-                                  'section_level' => 3,
                                   'section_number' => '2.1.2'
                                 }
                               }
@@ -891,7 +885,6 @@ $result_elements{'chapter_sections'} = [
                                       'extra' => {},
                                       'structure' => {
                                         'associated_unit' => {},
-                                        'section_level' => 3,
                                         'section_number' => '2.1.1'
                                       }
                                     }
@@ -905,7 +898,6 @@ $result_elements{'chapter_sections'} = [
                                             'extra' => {},
                                             'structure' => {
                                               'associated_unit' => {},
-                                              'section_level' => 2,
                                               'section_number' => '2.1'
                                             }
                                           }
diff --git a/tp/t/results/sectioning/character_and_spaces_in_refs.pl 
b/tp/t/results/sectioning/character_and_spaces_in_refs.pl
index b2253ef704..6a1019fadc 100644
--- a/tp/t/results/sectioning/character_and_spaces_in_refs.pl
+++ b/tp/t/results/sectioning/character_and_spaces_in_refs.pl
@@ -1733,9 +1733,7 @@ $result_nodes{'character_and_spaces_in_refs'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1753,7 +1751,6 @@ $result_nodes{'character_and_spaces_in_refs'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/sectioning/character_and_spaces_in_refs_out.pl 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out.pl
index 73b4663b36..8516c29d6d 100644
--- a/tp/t/results/sectioning/character_and_spaces_in_refs_out.pl
+++ b/tp/t/results/sectioning/character_and_spaces_in_refs_out.pl
@@ -1988,7 +1988,6 @@ $result_nodes{'character_and_spaces_in_refs_out'} = {
                         'extra' => {},
                         'structure' => {
                           'associated_unit' => {},
-                          'section_level' => 1,
                           'section_number' => 1
                         }
                       },
@@ -2124,8 +2123,7 @@ $result_nodes{'character_and_spaces_in_refs_out'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
diff --git a/tp/t/results/sectioning/complex.pl 
b/tp/t/results/sectioning/complex.pl
index 6670b8f9b7..98ad2bb2b3 100644
--- a/tp/t/results/sectioning/complex.pl
+++ b/tp/t/results/sectioning/complex.pl
@@ -4047,7 +4047,6 @@ $result_nodes{'complex'} = {
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -4063,7 +4062,6 @@ $result_nodes{'complex'} = {
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 2
                           }
                         }
@@ -4077,7 +4075,6 @@ $result_nodes{'complex'} = {
                                 'extra' => {},
                                 'structure' => {
                                   'associated_unit' => {},
-                                  'section_level' => 2,
                                   'section_number' => '1.1'
                                 }
                               }
@@ -4090,8 +4087,7 @@ $result_nodes{'complex'} = {
                                       'cmdname' => 'subsection',
                                       'extra' => {},
                                       'structure' => {
-                                        'associated_unit' => {},
-                                        'section_level' => 3
+                                        'associated_unit' => {}
                                       }
                                     }
                                   },
@@ -4103,8 +4099,7 @@ $result_nodes{'complex'} = {
                                             'cmdname' => 'unnumberedsec',
                                             'extra' => {},
                                             'structure' => {
-                                              'associated_unit' => {},
-                                              'section_level' => 2
+                                              'associated_unit' => {}
                                             }
                                           }
                                         },
@@ -4116,8 +4111,7 @@ $result_nodes{'complex'} = {
                                                   'cmdname' => 'subsection',
                                                   'extra' => {},
                                                   'structure' => {
-                                                    'associated_unit' => {},
-                                                    'section_level' => 3
+                                                    'associated_unit' => {}
                                                   }
                                                 }
                                               },
@@ -4129,8 +4123,7 @@ $result_nodes{'complex'} = {
                                                         'cmdname' => 
'unnumberedsubsec',
                                                         'extra' => {},
                                                         'structure' => {
-                                                          'associated_unit' => 
{},
-                                                          'section_level' => 3
+                                                          'associated_unit' => 
{}
                                                         }
                                                       }
                                                     },
@@ -4142,8 +4135,7 @@ $result_nodes{'complex'} = {
                                                               'cmdname' => 
'subsection',
                                                               'extra' => {},
                                                               'structure' => {
-                                                                
'associated_unit' => {},
-                                                                
'section_level' => 3
+                                                                
'associated_unit' => {}
                                                               }
                                                             }
                                                           },
@@ -4155,8 +4147,7 @@ $result_nodes{'complex'} = {
                                                                     'cmdname' 
=> 'unnumberedsubsec',
                                                                     'extra' => 
{},
                                                                     
'structure' => {
-                                                                      
'associated_unit' => {},
-                                                                      
'section_level' => 3
+                                                                      
'associated_unit' => {}
                                                                     }
                                                                   }
                                                                 },
@@ -4168,8 +4159,7 @@ $result_nodes{'complex'} = {
                                                                           
'cmdname' => 'unnumberedsec',
                                                                           
'extra' => {},
                                                                           
'structure' => {
-                                                                            
'associated_unit' => {},
-                                                                            
'section_level' => 2
+                                                                            
'associated_unit' => {}
                                                                           }
                                                                         }
                                                                       },
@@ -4314,8 +4304,7 @@ $result_nodes{'complex'} = {
                                 'cmdname' => 'unnumbered',
                                 'extra' => {},
                                 'structure' => {
-                                  'associated_unit' => {},
-                                  'section_level' => 1
+                                  'associated_unit' => {}
                                 }
                               }
                             },
@@ -4329,8 +4318,7 @@ $result_nodes{'complex'} = {
                                       'cmdname' => 'unnumbered',
                                       'extra' => {},
                                       'structure' => {
-                                        'associated_unit' => {},
-                                        'section_level' => 1
+                                        'associated_unit' => {}
                                       }
                                     }
                                   },
@@ -4413,8 +4401,7 @@ $result_nodes{'complex'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -4773,8 +4760,7 @@ $result_menus{'complex'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -4787,7 +4773,6 @@ $result_menus{'complex'} = {
                 'extra' => {},
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -4803,7 +4788,6 @@ $result_menus{'complex'} = {
                       'extra' => {},
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 2
                       }
                     }
@@ -4817,7 +4801,6 @@ $result_menus{'complex'} = {
                             'extra' => {},
                             'structure' => {
                               'associated_unit' => {},
-                              'section_level' => 2,
                               'section_number' => '1.1'
                             }
                           }
@@ -4830,8 +4813,7 @@ $result_menus{'complex'} = {
                                   'cmdname' => 'subsection',
                                   'extra' => {},
                                   'structure' => {
-                                    'associated_unit' => {},
-                                    'section_level' => 3
+                                    'associated_unit' => {}
                                   }
                                 }
                               },
@@ -4843,8 +4825,7 @@ $result_menus{'complex'} = {
                                         'cmdname' => 'unnumberedsec',
                                         'extra' => {},
                                         'structure' => {
-                                          'associated_unit' => {},
-                                          'section_level' => 2
+                                          'associated_unit' => {}
                                         }
                                       }
                                     },
@@ -4856,8 +4837,7 @@ $result_menus{'complex'} = {
                                               'cmdname' => 'subsection',
                                               'extra' => {},
                                               'structure' => {
-                                                'associated_unit' => {},
-                                                'section_level' => 3
+                                                'associated_unit' => {}
                                               }
                                             }
                                           },
@@ -4869,8 +4849,7 @@ $result_menus{'complex'} = {
                                                     'cmdname' => 
'unnumberedsubsec',
                                                     'extra' => {},
                                                     'structure' => {
-                                                      'associated_unit' => {},
-                                                      'section_level' => 3
+                                                      'associated_unit' => {}
                                                     }
                                                   }
                                                 },
@@ -4882,8 +4861,7 @@ $result_menus{'complex'} = {
                                                           'cmdname' => 
'subsection',
                                                           'extra' => {},
                                                           'structure' => {
-                                                            'associated_unit' 
=> {},
-                                                            'section_level' => 
3
+                                                            'associated_unit' 
=> {}
                                                           }
                                                         }
                                                       },
@@ -4895,8 +4873,7 @@ $result_menus{'complex'} = {
                                                                 'cmdname' => 
'unnumberedsubsec',
                                                                 'extra' => {},
                                                                 'structure' => 
{
-                                                                  
'associated_unit' => {},
-                                                                  
'section_level' => 3
+                                                                  
'associated_unit' => {}
                                                                 }
                                                               }
                                                             },
@@ -4908,8 +4885,7 @@ $result_menus{'complex'} = {
                                                                       
'cmdname' => 'unnumberedsec',
                                                                       'extra' 
=> {},
                                                                       
'structure' => {
-                                                                        
'associated_unit' => {},
-                                                                        
'section_level' => 2
+                                                                        
'associated_unit' => {}
                                                                       }
                                                                     }
                                                                   },
@@ -5054,8 +5030,7 @@ $result_menus{'complex'} = {
                             'cmdname' => 'unnumbered',
                             'extra' => {},
                             'structure' => {
-                              'associated_unit' => {},
-                              'section_level' => 1
+                              'associated_unit' => {}
                             }
                           }
                         },
@@ -5069,8 +5044,7 @@ $result_menus{'complex'} = {
                                   'cmdname' => 'unnumbered',
                                   'extra' => {},
                                   'structure' => {
-                                    'associated_unit' => {},
-                                    'section_level' => 1
+                                    'associated_unit' => {}
                                   }
                                 }
                               },
@@ -5566,8 +5540,7 @@ $result_elements{'complex'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -5580,7 +5553,6 @@ $result_elements{'complex'} = [
               'extra' => {},
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -5596,7 +5568,6 @@ $result_elements{'complex'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 2
                     }
                   }
@@ -5610,7 +5581,6 @@ $result_elements{'complex'} = [
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 2,
                             'section_number' => '1.1'
                           }
                         }
@@ -5623,8 +5593,7 @@ $result_elements{'complex'} = [
                                 'cmdname' => 'subsection',
                                 'extra' => {},
                                 'structure' => {
-                                  'associated_unit' => {},
-                                  'section_level' => 3
+                                  'associated_unit' => {}
                                 }
                               }
                             },
@@ -5636,8 +5605,7 @@ $result_elements{'complex'} = [
                                       'cmdname' => 'unnumberedsec',
                                       'extra' => {},
                                       'structure' => {
-                                        'associated_unit' => {},
-                                        'section_level' => 2
+                                        'associated_unit' => {}
                                       }
                                     }
                                   },
@@ -5649,8 +5617,7 @@ $result_elements{'complex'} = [
                                             'cmdname' => 'subsection',
                                             'extra' => {},
                                             'structure' => {
-                                              'associated_unit' => {},
-                                              'section_level' => 3
+                                              'associated_unit' => {}
                                             }
                                           }
                                         },
@@ -5662,8 +5629,7 @@ $result_elements{'complex'} = [
                                                   'cmdname' => 
'unnumberedsubsec',
                                                   'extra' => {},
                                                   'structure' => {
-                                                    'associated_unit' => {},
-                                                    'section_level' => 3
+                                                    'associated_unit' => {}
                                                   }
                                                 }
                                               },
@@ -5675,8 +5641,7 @@ $result_elements{'complex'} = [
                                                         'cmdname' => 
'subsection',
                                                         'extra' => {},
                                                         'structure' => {
-                                                          'associated_unit' => 
{},
-                                                          'section_level' => 3
+                                                          'associated_unit' => 
{}
                                                         }
                                                       }
                                                     },
@@ -5688,8 +5653,7 @@ $result_elements{'complex'} = [
                                                               'cmdname' => 
'unnumberedsubsec',
                                                               'extra' => {},
                                                               'structure' => {
-                                                                
'associated_unit' => {},
-                                                                
'section_level' => 3
+                                                                
'associated_unit' => {}
                                                               }
                                                             }
                                                           },
@@ -5701,8 +5665,7 @@ $result_elements{'complex'} = [
                                                                     'cmdname' 
=> 'unnumberedsec',
                                                                     'extra' => 
{},
                                                                     
'structure' => {
-                                                                      
'associated_unit' => {},
-                                                                      
'section_level' => 2
+                                                                      
'associated_unit' => {}
                                                                     }
                                                                   }
                                                                 },
@@ -5831,8 +5794,7 @@ $result_elements{'complex'} = [
                           'cmdname' => 'unnumbered',
                           'extra' => {},
                           'structure' => {
-                            'associated_unit' => {},
-                            'section_level' => 1
+                            'associated_unit' => {}
                           }
                         }
                       },
@@ -5846,8 +5808,7 @@ $result_elements{'complex'} = [
                                 'cmdname' => 'unnumbered',
                                 'extra' => {},
                                 'structure' => {
-                                  'associated_unit' => {},
-                                  'section_level' => 1
+                                  'associated_unit' => {}
                                 }
                               }
                             },
diff --git a/tp/t/results/sectioning/complex_split_at_node.pl 
b/tp/t/results/sectioning/complex_split_at_node.pl
index 06a6f31cff..8e5070720c 100644
--- a/tp/t/results/sectioning/complex_split_at_node.pl
+++ b/tp/t/results/sectioning/complex_split_at_node.pl
@@ -4132,7 +4132,6 @@ $result_nodes{'complex_split_at_node'} = {
                         'extra' => {},
                         'structure' => {
                           'associated_unit' => {},
-                          'section_level' => 1,
                           'section_number' => 1
                         }
                       },
@@ -4171,7 +4170,6 @@ $result_nodes{'complex_split_at_node'} = {
                                               'extra' => {},
                                               'structure' => {
                                                 'associated_unit' => {},
-                                                'section_level' => 1,
                                                 'section_number' => 2
                                               }
                                             },
@@ -4203,8 +4201,7 @@ $result_nodes{'complex_split_at_node'} = {
                                                                     'cmdname' 
=> 'unnumbered',
                                                                     'extra' => 
{},
                                                                     
'structure' => {
-                                                                      
'associated_unit' => {},
-                                                                      
'section_level' => 1
+                                                                      
'associated_unit' => {}
                                                                     }
                                                                   },
                                                                   'normalized' 
=> 'continuity'
@@ -4276,8 +4273,7 @@ $result_nodes{'complex_split_at_node'} = {
                                                         'unit_prev' => {}
                                                       },
                                                       'type' => 'unit'
-                                                    },
-                                                    'section_level' => 1
+                                                    }
                                                   }
                                                 },
                                                 'normalized' => 
'Third-node-unnumbered'
@@ -4320,7 +4316,6 @@ $result_nodes{'complex_split_at_node'} = {
                                                           'extra' => {},
                                                           'structure' => {
                                                             'associated_unit' 
=> {},
-                                                            'section_level' => 
2,
                                                             'section_number' 
=> '1.1'
                                                           }
                                                         },
@@ -4350,8 +4345,7 @@ $result_nodes{'complex_split_at_node'} = {
                                                                                
 'cmdname' => 'subsection',
                                                                                
 'extra' => {},
                                                                                
 'structure' => {
-                                                                               
   'associated_unit' => {},
-                                                                               
   'section_level' => 3
+                                                                               
   'associated_unit' => {}
                                                                                
 }
                                                                               
},
                                                                               
'normalized' => 'numbered-sub2'
@@ -4380,8 +4374,7 @@ $result_nodes{'complex_split_at_node'} = {
                                                                                
                       'cmdname' => 'subsection',
                                                                                
                       'extra' => {},
                                                                                
                       'structure' => {
-                                                                               
                         'associated_unit' => {},
-                                                                               
                         'section_level' => 3
+                                                                               
                         'associated_unit' => {}
                                                                                
                       }
                                                                                
                     },
                                                                                
                     'normalized' => 'numbered-sub'
@@ -4418,8 +4411,7 @@ $result_nodes{'complex_split_at_node'} = {
                                                                                
                                 'unit_prev' => {}
                                                                                
                               },
                                                                                
                               'type' => 'unit'
-                                                                               
                             },
-                                                                               
                             'section_level' => 3
+                                                                               
                             }
                                                                                
                           }
                                                                                
                         },
                                                                                
                         'normalized' => 'unnumbered-sub'
@@ -4472,8 +4464,7 @@ $result_nodes{'complex_split_at_node'} = {
                                                                                
           'unit_prev' => {}
                                                                                
         },
                                                                                
         'type' => 'unit'
-                                                                               
       },
-                                                                               
       'section_level' => 3
+                                                                               
       }
                                                                                
     }
                                                                                
   },
                                                                                
   'normalized' => 'unnumbered-sub2'
@@ -4519,8 +4510,7 @@ $result_nodes{'complex_split_at_node'} = {
                                                                                
 'cmdname' => 'subsection',
                                                                                
 'extra' => {},
                                                                                
 'structure' => {
-                                                                               
   'associated_unit' => {},
-                                                                               
   'section_level' => 3
+                                                                               
   'associated_unit' => {}
                                                                                
 }
                                                                               
},
                                                                               
'normalized' => 'numbered-sub3'
@@ -4562,8 +4552,7 @@ $result_nodes{'complex_split_at_node'} = {
                                                                     
'unit_prev' => {}
                                                                   },
                                                                   'type' => 
'unit'
-                                                                },
-                                                                
'section_level' => 2
+                                                                }
                                                               }
                                                             },
                                                             'menus' => [
@@ -4643,8 +4632,7 @@ $result_nodes{'complex_split_at_node'} = {
                                   'unit_prev' => {}
                                 },
                                 'type' => 'unit'
-                              },
-                              'section_level' => 2
+                              }
                             }
                           },
                           'menus' => [
@@ -4704,8 +4692,7 @@ $result_nodes{'complex_split_at_node'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
diff --git a/tp/t/results/sectioning/contents_at_document_begin.pl 
b/tp/t/results/sectioning/contents_at_document_begin.pl
index bf69b7bf0a..e95cc3cd94 100644
--- a/tp/t/results/sectioning/contents_at_document_begin.pl
+++ b/tp/t/results/sectioning/contents_at_document_begin.pl
@@ -330,9 +330,7 @@ $result_nodes{'contents_at_document_begin'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
diff --git a/tp/t/results/sectioning/contents_at_end_document.pl 
b/tp/t/results/sectioning/contents_at_end_document.pl
index 36b4b41670..3a29ac461f 100644
--- a/tp/t/results/sectioning/contents_at_end_document.pl
+++ b/tp/t/results/sectioning/contents_at_end_document.pl
@@ -330,9 +330,7 @@ $result_nodes{'contents_at_end_document'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
diff --git a/tp/t/results/sectioning/contents_at_end_document_after_node.pl 
b/tp/t/results/sectioning/contents_at_end_document_after_node.pl
index 21003e65a0..4f9de5a2ca 100644
--- a/tp/t/results/sectioning/contents_at_end_document_after_node.pl
+++ b/tp/t/results/sectioning/contents_at_end_document_after_node.pl
@@ -560,9 +560,7 @@ $result_nodes{'contents_at_end_document_after_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/sectioning/contents_in_document.pl 
b/tp/t/results/sectioning/contents_in_document.pl
index c6b0b57207..c4a4c58b42 100644
--- a/tp/t/results/sectioning/contents_in_document.pl
+++ b/tp/t/results/sectioning/contents_in_document.pl
@@ -330,9 +330,7 @@ $result_nodes{'contents_in_document'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
diff --git a/tp/t/results/sectioning/double_part.pl 
b/tp/t/results/sectioning/double_part.pl
index f367e86dab..1c8ecd6376 100644
--- a/tp/t/results/sectioning/double_part.pl
+++ b/tp/t/results/sectioning/double_part.pl
@@ -706,14 +706,12 @@ $result_nodes{'double_part'} = {
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -727,8 +725,7 @@ $result_nodes{'double_part'} = {
                           'cmdname' => 'part',
                           'extra' => {},
                           'structure' => {
-                            'associated_unit' => {},
-                            'section_level' => 0
+                            'associated_unit' => {}
                           }
                         }
                       },
@@ -765,8 +762,7 @@ $result_nodes{'double_part'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -841,8 +837,7 @@ $result_menus{'double_part'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -858,14 +853,12 @@ $result_menus{'double_part'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -879,8 +872,7 @@ $result_menus{'double_part'} = {
                       'cmdname' => 'part',
                       'extra' => {},
                       'structure' => {
-                        'associated_unit' => {},
-                        'section_level' => 0
+                        'associated_unit' => {}
                       }
                     }
                   },
@@ -1005,8 +997,7 @@ $result_elements{'double_part'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1022,14 +1013,12 @@ $result_elements{'double_part'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -1043,8 +1032,7 @@ $result_elements{'double_part'} = [
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
diff --git a/tp/t/results/sectioning/empty_top_node_up.pl 
b/tp/t/results/sectioning/empty_top_node_up.pl
index 3e3d0233ff..08d5f0017d 100644
--- a/tp/t/results/sectioning/empty_top_node_up.pl
+++ b/tp/t/results/sectioning/empty_top_node_up.pl
@@ -332,9 +332,7 @@ $result_nodes{'empty_top_node_up'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/sectioning/external_node_in_menu.pl 
b/tp/t/results/sectioning/external_node_in_menu.pl
index 6cb4c985cd..95819b812d 100644
--- a/tp/t/results/sectioning/external_node_in_menu.pl
+++ b/tp/t/results/sectioning/external_node_in_menu.pl
@@ -664,9 +664,7 @@ $result_nodes{'external_node_in_menu'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -684,7 +682,6 @@ $result_nodes{'external_node_in_menu'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -698,7 +695,6 @@ $result_nodes{'external_node_in_menu'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git a/tp/t/results/sectioning/internal_top_node_up.pl 
b/tp/t/results/sectioning/internal_top_node_up.pl
index 2651af8dbd..b69842f626 100644
--- a/tp/t/results/sectioning/internal_top_node_up.pl
+++ b/tp/t/results/sectioning/internal_top_node_up.pl
@@ -454,8 +454,7 @@ $result_nodes{'internal_top_node_up'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
diff --git a/tp/t/results/sectioning/lone_Top_node.pl 
b/tp/t/results/sectioning/lone_Top_node.pl
index 8967b53444..65c119085a 100644
--- a/tp/t/results/sectioning/lone_Top_node.pl
+++ b/tp/t/results/sectioning/lone_Top_node.pl
@@ -426,7 +426,6 @@ $result_nodes{'lone_Top_node'} = {
           'extra' => {},
           'structure' => {
             'associated_unit' => {},
-            'section_level' => 1,
             'section_number' => 1
           }
         }
@@ -478,7 +477,6 @@ $result_menus{'lone_Top_node'} = {
           'extra' => {},
           'structure' => {
             'associated_unit' => {},
-            'section_level' => 1,
             'section_number' => 1
           }
         }
@@ -538,7 +536,6 @@ $result_elements{'lone_Top_node'} = [
         'extra' => {},
         'structure' => {
           'associated_unit' => {},
-          'section_level' => 1,
           'section_number' => 1
         }
       }
diff --git a/tp/t/results/sectioning/loop_nodes.pl 
b/tp/t/results/sectioning/loop_nodes.pl
index a3c943fd09..b87352ff16 100644
--- a/tp/t/results/sectioning/loop_nodes.pl
+++ b/tp/t/results/sectioning/loop_nodes.pl
@@ -835,9 +835,7 @@ $result_nodes{'loop_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/sectioning/lowered_subsubsection.pl 
b/tp/t/results/sectioning/lowered_subsubsection.pl
index 884eb65112..1e2516ed42 100644
--- a/tp/t/results/sectioning/lowered_subsubsection.pl
+++ b/tp/t/results/sectioning/lowered_subsubsection.pl
@@ -1649,9 +1649,7 @@ $result_nodes{'lowered_subsubsection'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1669,7 +1667,6 @@ $result_nodes{'lowered_subsubsection'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1689,7 +1686,6 @@ $result_nodes{'lowered_subsubsection'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1709,7 +1705,6 @@ $result_nodes{'lowered_subsubsection'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
@@ -1729,7 +1724,6 @@ $result_nodes{'lowered_subsubsection'} = {
                       'cmdname' => 'subsubsection',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 4,
                         'section_number' => '1.1.1.1'
                       }
                     },
@@ -1745,7 +1739,6 @@ $result_nodes{'lowered_subsubsection'} = {
                             'sections_level' => -1
                           },
                           'structure' => {
-                            'section_level' => 4,
                             'section_number' => '1.1.1.2'
                           }
                         },
@@ -1767,7 +1760,6 @@ $result_nodes{'lowered_subsubsection'} = {
                                 'sections_level' => -1
                               },
                               'structure' => {
-                                'section_level' => 4,
                                 'section_number' => '1.1.1.3'
                               }
                             },
diff --git a/tp/t/results/sectioning/menutextorder.pl 
b/tp/t/results/sectioning/menutextorder.pl
index 11159f6225..73c7208c87 100644
--- a/tp/t/results/sectioning/menutextorder.pl
+++ b/tp/t/results/sectioning/menutextorder.pl
@@ -1448,7 +1448,6 @@ $result_nodes{'menutextorder'} = {
       'cmdname' => 'chapter',
       'extra' => {},
       'structure' => {
-        'section_level' => 1,
         'section_number' => 1
       }
     },
@@ -1468,7 +1467,6 @@ $result_nodes{'menutextorder'} = {
           'cmdname' => 'section',
           'extra' => {},
           'structure' => {
-            'section_level' => 2,
             'section_number' => '1.2'
           }
         },
@@ -1482,7 +1480,6 @@ $result_nodes{'menutextorder'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1503,7 +1500,6 @@ $result_nodes{'menutextorder'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 2
           }
         },
@@ -1523,7 +1519,6 @@ $result_nodes{'menutextorder'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '2.1'
               }
             },
@@ -1537,7 +1532,6 @@ $result_nodes{'menutextorder'} = {
                   'cmdname' => 'section',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 2,
                     'section_number' => '2.2'
                   }
                 },
@@ -1551,7 +1545,6 @@ $result_nodes{'menutextorder'} = {
                       'cmdname' => 'section',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 2,
                         'section_number' => '2.3'
                       }
                     },
diff --git a/tp/t/results/sectioning/more_sections_than_nodes.pl 
b/tp/t/results/sectioning/more_sections_than_nodes.pl
index b58b2d3525..8ff3101d55 100644
--- a/tp/t/results/sectioning/more_sections_than_nodes.pl
+++ b/tp/t/results/sectioning/more_sections_than_nodes.pl
@@ -1586,9 +1586,7 @@ $result_nodes{'more_sections_than_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1606,7 +1604,6 @@ $result_nodes{'more_sections_than_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 2
           }
         },
@@ -1620,7 +1617,6 @@ $result_nodes{'more_sections_than_nodes'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 3
               }
             },
@@ -1640,7 +1636,6 @@ $result_nodes{'more_sections_than_nodes'} = {
                   'cmdname' => 'section',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 2,
                     'section_number' => '3.2'
                   }
                 },
@@ -1657,7 +1652,6 @@ $result_nodes{'more_sections_than_nodes'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '4.1.2'
                   }
                 },
diff --git a/tp/t/results/sectioning/next_in_menu_is_below.pl 
b/tp/t/results/sectioning/next_in_menu_is_below.pl
index 63a4302335..81051703c6 100644
--- a/tp/t/results/sectioning/next_in_menu_is_below.pl
+++ b/tp/t/results/sectioning/next_in_menu_is_below.pl
@@ -964,9 +964,7 @@ $result_nodes{'next_in_menu_is_below'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -984,7 +982,6 @@ $result_nodes{'next_in_menu_is_below'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1004,7 +1001,6 @@ $result_nodes{'next_in_menu_is_below'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1024,7 +1020,6 @@ $result_nodes{'next_in_menu_is_below'} = {
                   'cmdname' => 'subsection',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
diff --git a/tp/t/results/sectioning/no_menu.pl 
b/tp/t/results/sectioning/no_menu.pl
index f61de157e3..bbfeb4f6af 100644
--- a/tp/t/results/sectioning/no_menu.pl
+++ b/tp/t/results/sectioning/no_menu.pl
@@ -473,9 +473,7 @@ $result_nodes{'no_menu'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -487,7 +485,6 @@ $result_nodes{'no_menu'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -501,7 +498,6 @@ $result_nodes{'no_menu'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -515,7 +511,6 @@ $result_nodes{'no_menu'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
diff --git a/tp/t/results/sectioning/node_part_chapter_after_chapter.pl 
b/tp/t/results/sectioning/node_part_chapter_after_chapter.pl
index f211751ceb..a392285cf6 100644
--- a/tp/t/results/sectioning/node_part_chapter_after_chapter.pl
+++ b/tp/t/results/sectioning/node_part_chapter_after_chapter.pl
@@ -834,7 +834,6 @@ $result_nodes{'node_part_chapter_after_chapter'} = {
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -852,14 +851,12 @@ $result_nodes{'node_part_chapter_after_chapter'} = {
                               'cmdname' => 'part',
                               'extra' => {},
                               'structure' => {
-                                'associated_unit' => {},
-                                'section_level' => 0
+                                'associated_unit' => {}
                               }
                             }
                           },
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 2
                           }
                         }
@@ -900,8 +897,7 @@ $result_nodes{'node_part_chapter_after_chapter'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -993,8 +989,7 @@ $result_menus{'node_part_chapter_after_chapter'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -1007,7 +1002,6 @@ $result_menus{'node_part_chapter_after_chapter'} = {
                 'extra' => {},
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -1025,14 +1019,12 @@ $result_menus{'node_part_chapter_after_chapter'} = {
                           'cmdname' => 'part',
                           'extra' => {},
                           'structure' => {
-                            'associated_unit' => {},
-                            'section_level' => 0
+                            'associated_unit' => {}
                           }
                         }
                       },
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 2
                       }
                     }
@@ -1161,8 +1153,7 @@ $result_elements{'node_part_chapter_after_chapter'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1175,7 +1166,6 @@ $result_elements{'node_part_chapter_after_chapter'} = [
               'extra' => {},
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -1193,14 +1183,12 @@ $result_elements{'node_part_chapter_after_chapter'} = [
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 2
                     }
                   }
diff --git a/tp/t/results/sectioning/node_part_chapter_after_top.pl 
b/tp/t/results/sectioning/node_part_chapter_after_top.pl
index a0211fef1d..29475f23fc 100644
--- a/tp/t/results/sectioning/node_part_chapter_after_top.pl
+++ b/tp/t/results/sectioning/node_part_chapter_after_top.pl
@@ -558,14 +558,12 @@ $result_nodes{'node_part_chapter_after_top'} = {
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -592,8 +590,7 @@ $result_nodes{'node_part_chapter_after_top'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -656,8 +653,7 @@ $result_menus{'node_part_chapter_after_top'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -672,14 +668,12 @@ $result_menus{'node_part_chapter_after_top'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -764,8 +758,7 @@ $result_elements{'node_part_chapter_after_top'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -780,14 +773,12 @@ $result_elements{'node_part_chapter_after_top'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
diff --git a/tp/t/results/sectioning/node_sectop_before_chapter_no_node.pl 
b/tp/t/results/sectioning/node_sectop_before_chapter_no_node.pl
index 1b66820d2f..9b425160c9 100644
--- a/tp/t/results/sectioning/node_sectop_before_chapter_no_node.pl
+++ b/tp/t/results/sectioning/node_sectop_before_chapter_no_node.pl
@@ -238,9 +238,7 @@ $result_nodes{'node_sectop_before_chapter_no_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/sectioning/node_sectop_before_lone_node_Top.pl 
b/tp/t/results/sectioning/node_sectop_before_lone_node_Top.pl
index 21eb365873..69226eee0f 100644
--- a/tp/t/results/sectioning/node_sectop_before_lone_node_Top.pl
+++ b/tp/t/results/sectioning/node_sectop_before_lone_node_Top.pl
@@ -430,9 +430,7 @@ $result_nodes{'node_sectop_before_lone_node_Top'} = {
         'associated_section' => {
           'cmdname' => 'top',
           'extra' => {},
-          'structure' => {
-            'section_level' => 0
-          }
+          'structure' => {}
         },
         'normalized' => 'node-before'
       },
@@ -444,7 +442,6 @@ $result_nodes{'node_sectop_before_lone_node_Top'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 1
               }
             },
diff --git a/tp/t/results/sectioning/nodename_parentheses.pl 
b/tp/t/results/sectioning/nodename_parentheses.pl
index d5736148a9..bbb74972ec 100644
--- a/tp/t/results/sectioning/nodename_parentheses.pl
+++ b/tp/t/results/sectioning/nodename_parentheses.pl
@@ -1074,9 +1074,7 @@ $result_nodes{'nodename_parentheses'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1094,7 +1092,6 @@ $result_nodes{'nodename_parentheses'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1108,7 +1105,6 @@ $result_nodes{'nodename_parentheses'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
@@ -1122,7 +1118,6 @@ $result_nodes{'nodename_parentheses'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 3
                   }
                 },
diff --git a/tp/t/results/sectioning/nodes_after_top_before_chapter_nodes.pl 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_nodes.pl
index 0c47c64611..6d6fe55c5b 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_chapter_nodes.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_chapter_nodes.pl
@@ -765,7 +765,6 @@ $result_nodes{'nodes_after_top_before_chapter_nodes'} = {
                             },
                             'type' => 'unit'
                           },
-                          'section_level' => 1,
                           'section_number' => 1
                         }
                       },
diff --git 
a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split.pl 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split.pl
index 69342c4197..57f36597c6 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split.pl
@@ -613,7 +613,6 @@ $result_nodes{'nodes_after_top_before_chapter_not_split'} = 
{
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 1
               }
             },
diff --git 
a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
index b92cdd14bb..7461196a03 100644
--- 
a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
+++ 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
@@ -613,7 +613,6 @@ 
$result_nodes{'nodes_after_top_before_chapter_not_split_no_use_node_directions'}
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 1
               }
             },
diff --git a/tp/t/results/sectioning/nodes_after_top_before_chapter_sections.pl 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_sections.pl
index 32dd037eaf..b831d0b8d1 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_chapter_sections.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_chapter_sections.pl
@@ -646,7 +646,6 @@ $result_nodes{'nodes_after_top_before_chapter_sections'} = {
           'extra' => {},
           'structure' => {
             'associated_unit' => {},
-            'section_level' => 1,
             'section_number' => 1
           }
         }
@@ -712,7 +711,6 @@ $result_menus{'nodes_after_top_before_chapter_sections'} = {
           'extra' => {},
           'structure' => {
             'associated_unit' => {},
-            'section_level' => 1,
             'section_number' => 1
           }
         }
@@ -779,7 +777,6 @@ $result_elements{'nodes_after_top_before_chapter_sections'} 
= [
         'extra' => {},
         'structure' => {
           'associated_unit' => {},
-          'section_level' => 1,
           'section_number' => 1
         }
       }
diff --git a/tp/t/results/sectioning/nodes_after_top_before_section_nodes.pl 
b/tp/t/results/sectioning/nodes_after_top_before_section_nodes.pl
index 4361c47c62..71e888cb3c 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_section_nodes.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_section_nodes.pl
@@ -767,7 +767,6 @@ $result_nodes{'nodes_after_top_before_section_nodes'} = {
                             },
                             'type' => 'unit'
                           },
-                          'section_level' => 3,
                           'section_number' => 1
                         }
                       },
diff --git a/tp/t/results/sectioning/nodes_after_top_before_section_sections.pl 
b/tp/t/results/sectioning/nodes_after_top_before_section_sections.pl
index 2f617c740a..1501d45a1f 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_section_sections.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_section_sections.pl
@@ -647,7 +647,6 @@ $result_nodes{'nodes_after_top_before_section_sections'} = {
           'extra' => {},
           'structure' => {
             'associated_unit' => {},
-            'section_level' => 3,
             'section_number' => 1
           }
         }
@@ -714,7 +713,6 @@ $result_menus{'nodes_after_top_before_section_sections'} = {
           'extra' => {},
           'structure' => {
             'associated_unit' => {},
-            'section_level' => 3,
             'section_number' => 1
           }
         }
@@ -782,7 +780,6 @@ $result_elements{'nodes_after_top_before_section_sections'} 
= [
         'extra' => {},
         'structure' => {
           'associated_unit' => {},
-          'section_level' => 3,
           'section_number' => 1
         }
       }
diff --git a/tp/t/results/sectioning/nodes_before_after_top.pl 
b/tp/t/results/sectioning/nodes_before_after_top.pl
index 3994647786..2afd434cd7 100644
--- a/tp/t/results/sectioning/nodes_before_after_top.pl
+++ b/tp/t/results/sectioning/nodes_before_after_top.pl
@@ -505,9 +505,7 @@ $result_nodes{'nodes_before_after_top'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -519,7 +517,6 @@ $result_nodes{'nodes_before_after_top'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/sectioning/nodes_before_after_top_xref.pl 
b/tp/t/results/sectioning/nodes_before_after_top_xref.pl
index 570745379e..0053bf6b94 100644
--- a/tp/t/results/sectioning/nodes_before_after_top_xref.pl
+++ b/tp/t/results/sectioning/nodes_before_after_top_xref.pl
@@ -792,9 +792,7 @@ $result_nodes{'nodes_before_after_top_xref'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -806,7 +804,6 @@ $result_nodes{'nodes_before_after_top_xref'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/sectioning/nodes_before_top.pl 
b/tp/t/results/sectioning/nodes_before_top.pl
index f77e2646a1..af99966ba3 100644
--- a/tp/t/results/sectioning/nodes_before_top.pl
+++ b/tp/t/results/sectioning/nodes_before_top.pl
@@ -807,9 +807,7 @@ $result_nodes{'nodes_before_top'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -827,7 +825,6 @@ $result_nodes{'nodes_before_top'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/sectioning/non_automatic_internal_top_node_up.pl 
b/tp/t/results/sectioning/non_automatic_internal_top_node_up.pl
index 9dc1349ded..b0936f1b73 100644
--- a/tp/t/results/sectioning/non_automatic_internal_top_node_up.pl
+++ b/tp/t/results/sectioning/non_automatic_internal_top_node_up.pl
@@ -778,8 +778,7 @@ $result_nodes{'non_automatic_internal_top_node_up'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
diff --git a/tp/t/results/sectioning/non_automatic_top_node_up_and_url.pl 
b/tp/t/results/sectioning/non_automatic_top_node_up_and_url.pl
index 5324d414f6..54a4b27f00 100644
--- a/tp/t/results/sectioning/non_automatic_top_node_up_and_url.pl
+++ b/tp/t/results/sectioning/non_automatic_top_node_up_and_url.pl
@@ -778,8 +778,7 @@ $result_nodes{'non_automatic_top_node_up_and_url'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
diff --git a/tp/t/results/sectioning/non_automatic_top_node_up_url.pl 
b/tp/t/results/sectioning/non_automatic_top_node_up_url.pl
index f5d15cd2d2..e7251a17ae 100644
--- a/tp/t/results/sectioning/non_automatic_top_node_up_url.pl
+++ b/tp/t/results/sectioning/non_automatic_top_node_up_url.pl
@@ -641,8 +641,7 @@ $result_nodes{'non_automatic_top_node_up_url'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
diff --git a/tp/t/results/sectioning/one_subsection_and_node.pl 
b/tp/t/results/sectioning/one_subsection_and_node.pl
index 55acd4a5b2..754b0e2ca3 100644
--- a/tp/t/results/sectioning/one_subsection_and_node.pl
+++ b/tp/t/results/sectioning/one_subsection_and_node.pl
@@ -136,7 +136,6 @@ $result_nodes{'one_subsection_and_node'} = {
       'cmdname' => 'subsection',
       'extra' => {},
       'structure' => {
-        'section_level' => 3,
         'section_number' => 1
       }
     },
diff --git a/tp/t/results/sectioning/part_before_chapter.pl 
b/tp/t/results/sectioning/part_before_chapter.pl
index 7b2956f512..aa96df2f4b 100644
--- a/tp/t/results/sectioning/part_before_chapter.pl
+++ b/tp/t/results/sectioning/part_before_chapter.pl
@@ -185,14 +185,12 @@ $result_elements{'part_before_chapter'} = [
             'cmdname' => 'part',
             'extra' => {},
             'structure' => {
-              'associated_unit' => {},
-              'section_level' => 0
+              'associated_unit' => {}
             }
           }
         },
         'structure' => {
           'associated_unit' => {},
-          'section_level' => 1,
           'section_number' => 1
         }
       }
diff --git a/tp/t/results/sectioning/part_before_section.pl 
b/tp/t/results/sectioning/part_before_section.pl
index 99507cd7d1..4b97ebb1c9 100644
--- a/tp/t/results/sectioning/part_before_section.pl
+++ b/tp/t/results/sectioning/part_before_section.pl
@@ -195,14 +195,12 @@ $result_elements{'part_before_section'} = [
             'cmdname' => 'part',
             'extra' => {},
             'structure' => {
-              'associated_unit' => {},
-              'section_level' => 0
+              'associated_unit' => {}
             }
           }
         },
         'structure' => {
           'associated_unit' => {},
-          'section_level' => 1,
           'section_number' => 1
         }
       }
diff --git a/tp/t/results/sectioning/part_before_top.pl 
b/tp/t/results/sectioning/part_before_top.pl
index 120a2cba84..0db9ef4e07 100644
--- a/tp/t/results/sectioning/part_before_top.pl
+++ b/tp/t/results/sectioning/part_before_top.pl
@@ -194,14 +194,12 @@ $result_elements{'part_before_top'} = [
             'cmdname' => 'part',
             'extra' => {},
             'structure' => {
-              'associated_unit' => {},
-              'section_level' => 0
+              'associated_unit' => {}
             }
           }
         },
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
diff --git a/tp/t/results/sectioning/part_chapter_after_top.pl 
b/tp/t/results/sectioning/part_chapter_after_top.pl
index 58d7c526e6..ae181a9fbb 100644
--- a/tp/t/results/sectioning/part_chapter_after_top.pl
+++ b/tp/t/results/sectioning/part_chapter_after_top.pl
@@ -558,14 +558,12 @@ $result_nodes{'part_chapter_after_top'} = {
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -592,8 +590,7 @@ $result_nodes{'part_chapter_after_top'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -656,8 +653,7 @@ $result_menus{'part_chapter_after_top'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -672,14 +668,12 @@ $result_menus{'part_chapter_after_top'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -754,8 +748,7 @@ $result_elements{'part_chapter_after_top'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -770,14 +763,12 @@ $result_elements{'part_chapter_after_top'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
diff --git a/tp/t/results/sectioning/part_node_after_top.pl 
b/tp/t/results/sectioning/part_node_after_top.pl
index 3b0b952bbd..76bd0bbe6f 100644
--- a/tp/t/results/sectioning/part_node_after_top.pl
+++ b/tp/t/results/sectioning/part_node_after_top.pl
@@ -470,8 +470,7 @@ $result_nodes{'part_node_after_top'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
@@ -496,8 +495,7 @@ $result_nodes{'part_node_after_top'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -556,8 +554,7 @@ $result_menus{'part_node_after_top'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -569,8 +566,7 @@ $result_menus{'part_node_after_top'} = {
                 'cmdname' => 'part',
                 'extra' => {},
                 'structure' => {
-                  'associated_unit' => {},
-                  'section_level' => 0
+                  'associated_unit' => {}
                 }
               }
             },
@@ -660,8 +656,7 @@ $result_elements{'part_node_after_top'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -673,8 +668,7 @@ $result_elements{'part_node_after_top'} = [
               'cmdname' => 'part',
               'extra' => {},
               'structure' => {
-                'associated_unit' => {},
-                'section_level' => 0
+                'associated_unit' => {}
               }
             }
           },
diff --git a/tp/t/results/sectioning/part_node_before_top.pl 
b/tp/t/results/sectioning/part_node_before_top.pl
index 44d4d01a20..9c8ddde54d 100644
--- a/tp/t/results/sectioning/part_node_before_top.pl
+++ b/tp/t/results/sectioning/part_node_before_top.pl
@@ -494,14 +494,12 @@ $result_nodes{'part_node_before_top'} = {
                 }
               },
               'type' => 'unit'
-            },
-            'section_level' => 0
+            }
           }
         }
       },
       'structure' => {
-        'associated_unit' => {},
-        'section_level' => 0
+        'associated_unit' => {}
       }
     },
     'menus' => [
@@ -557,14 +555,12 @@ $result_menus{'part_node_before_top'} = {
               'cmdname' => 'part',
               'extra' => {},
               'structure' => {
-                'associated_unit' => {},
-                'section_level' => 0
+                'associated_unit' => {}
               }
             }
           },
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -637,14 +633,12 @@ $result_elements{'part_node_before_top'} = [
             'cmdname' => 'part',
             'extra' => {},
             'structure' => {
-              'associated_unit' => {},
-              'section_level' => 0
+              'associated_unit' => {}
             }
           }
         },
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
diff --git a/tp/t/results/sectioning/part_node_chapter_after_top.pl 
b/tp/t/results/sectioning/part_node_chapter_after_top.pl
index 558f591a48..f14e7e65b8 100644
--- a/tp/t/results/sectioning/part_node_chapter_after_top.pl
+++ b/tp/t/results/sectioning/part_node_chapter_after_top.pl
@@ -816,14 +816,12 @@ $result_nodes{'part_node_chapter_after_top'} = {
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -851,8 +849,7 @@ $result_nodes{'part_node_chapter_after_top'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -930,8 +927,7 @@ $result_menus{'part_node_chapter_after_top'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -946,14 +942,12 @@ $result_menus{'part_node_chapter_after_top'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -1047,8 +1041,7 @@ $result_elements{'part_node_chapter_after_top'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1063,14 +1056,12 @@ $result_elements{'part_node_chapter_after_top'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
diff --git a/tp/t/results/sectioning/part_node_chapter_appendix.pl 
b/tp/t/results/sectioning/part_node_chapter_appendix.pl
index da14d92d71..9529c1553c 100644
--- a/tp/t/results/sectioning/part_node_chapter_appendix.pl
+++ b/tp/t/results/sectioning/part_node_chapter_appendix.pl
@@ -657,14 +657,12 @@ $result_nodes{'part_node_chapter_appendix'} = {
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -680,7 +678,6 @@ $result_nodes{'part_node_chapter_appendix'} = {
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 'A'
                           }
                         }
@@ -716,8 +713,7 @@ $result_nodes{'part_node_chapter_appendix'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -788,8 +784,7 @@ $result_menus{'part_node_chapter_appendix'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -804,14 +799,12 @@ $result_menus{'part_node_chapter_appendix'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -827,7 +820,6 @@ $result_menus{'part_node_chapter_appendix'} = {
                       'extra' => {},
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 'A'
                       }
                     }
@@ -919,8 +911,7 @@ $result_elements{'part_node_chapter_appendix'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -935,14 +926,12 @@ $result_elements{'part_node_chapter_appendix'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -958,7 +947,6 @@ $result_elements{'part_node_chapter_appendix'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 'A'
                     }
                   }
diff --git a/tp/t/results/sectioning/part_node_chapter_node_appendix.pl 
b/tp/t/results/sectioning/part_node_chapter_node_appendix.pl
index 61f036407b..f12f7008cd 100644
--- a/tp/t/results/sectioning/part_node_chapter_node_appendix.pl
+++ b/tp/t/results/sectioning/part_node_chapter_node_appendix.pl
@@ -796,14 +796,12 @@ $result_nodes{'part_node_chapter_node_appendix'} = {
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -819,7 +817,6 @@ $result_nodes{'part_node_chapter_node_appendix'} = {
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 'A'
                           }
                         }
@@ -860,8 +857,7 @@ $result_nodes{'part_node_chapter_node_appendix'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -953,8 +949,7 @@ $result_menus{'part_node_chapter_node_appendix'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -969,14 +964,12 @@ $result_menus{'part_node_chapter_node_appendix'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -992,7 +985,6 @@ $result_menus{'part_node_chapter_node_appendix'} = {
                       'extra' => {},
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 'A'
                       }
                     }
@@ -1111,8 +1103,7 @@ $result_elements{'part_node_chapter_node_appendix'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1127,14 +1118,12 @@ $result_elements{'part_node_chapter_node_appendix'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -1150,7 +1139,6 @@ $result_elements{'part_node_chapter_node_appendix'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 'A'
                     }
                   }
diff --git a/tp/t/results/sectioning/part_node_node_part_appendix.pl 
b/tp/t/results/sectioning/part_node_node_part_appendix.pl
index c295b7ddea..f1ee13ee1f 100644
--- a/tp/t/results/sectioning/part_node_node_part_appendix.pl
+++ b/tp/t/results/sectioning/part_node_node_part_appendix.pl
@@ -861,14 +861,12 @@ $result_nodes{'part_node_node_part_appendix'} = {
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -886,14 +884,12 @@ $result_nodes{'part_node_node_part_appendix'} = {
                               'cmdname' => 'part',
                               'extra' => {},
                               'structure' => {
-                                'associated_unit' => {},
-                                'section_level' => 0
+                                'associated_unit' => {}
                               }
                             }
                           },
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 'A'
                           }
                         }
@@ -933,8 +929,7 @@ $result_nodes{'part_node_node_part_appendix'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -1026,8 +1021,7 @@ $result_menus{'part_node_node_part_appendix'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -1042,14 +1036,12 @@ $result_menus{'part_node_node_part_appendix'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -1067,14 +1059,12 @@ $result_menus{'part_node_node_part_appendix'} = {
                           'cmdname' => 'part',
                           'extra' => {},
                           'structure' => {
-                            'associated_unit' => {},
-                            'section_level' => 0
+                            'associated_unit' => {}
                           }
                         }
                       },
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 'A'
                       }
                     }
@@ -1202,8 +1192,7 @@ $result_elements{'part_node_node_part_appendix'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1218,14 +1207,12 @@ $result_elements{'part_node_node_part_appendix'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -1243,14 +1230,12 @@ $result_elements{'part_node_node_part_appendix'} = [
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 'A'
                     }
                   }
diff --git a/tp/t/results/sectioning/part_node_part_appendix.pl 
b/tp/t/results/sectioning/part_node_part_appendix.pl
index b42c3f882b..5d7a5b4039 100644
--- a/tp/t/results/sectioning/part_node_part_appendix.pl
+++ b/tp/t/results/sectioning/part_node_part_appendix.pl
@@ -723,14 +723,12 @@ $result_nodes{'part_node_part_appendix'} = {
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -748,14 +746,12 @@ $result_nodes{'part_node_part_appendix'} = {
                               'cmdname' => 'part',
                               'extra' => {},
                               'structure' => {
-                                'associated_unit' => {},
-                                'section_level' => 0
+                                'associated_unit' => {}
                               }
                             }
                           },
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 'A'
                           }
                         }
@@ -790,8 +786,7 @@ $result_nodes{'part_node_part_appendix'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -862,8 +857,7 @@ $result_menus{'part_node_part_appendix'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -878,14 +872,12 @@ $result_menus{'part_node_part_appendix'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -903,14 +895,12 @@ $result_menus{'part_node_part_appendix'} = {
                           'cmdname' => 'part',
                           'extra' => {},
                           'structure' => {
-                            'associated_unit' => {},
-                            'section_level' => 0
+                            'associated_unit' => {}
                           }
                         }
                       },
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 'A'
                       }
                     }
@@ -1001,8 +991,7 @@ $result_elements{'part_node_part_appendix'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1017,14 +1006,12 @@ $result_elements{'part_node_part_appendix'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -1042,14 +1029,12 @@ $result_elements{'part_node_part_appendix'} = [
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 'A'
                     }
                   }
diff --git a/tp/t/results/sectioning/part_node_part_node_appendix.pl 
b/tp/t/results/sectioning/part_node_part_node_appendix.pl
index 01c75a1ed9..e77f695243 100644
--- a/tp/t/results/sectioning/part_node_part_node_appendix.pl
+++ b/tp/t/results/sectioning/part_node_part_node_appendix.pl
@@ -861,14 +861,12 @@ $result_nodes{'part_node_part_node_appendix'} = {
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -886,14 +884,12 @@ $result_nodes{'part_node_part_node_appendix'} = {
                               'cmdname' => 'part',
                               'extra' => {},
                               'structure' => {
-                                'associated_unit' => {},
-                                'section_level' => 0
+                                'associated_unit' => {}
                               }
                             }
                           },
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 'A'
                           }
                         }
@@ -933,8 +929,7 @@ $result_nodes{'part_node_part_node_appendix'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -1026,8 +1021,7 @@ $result_menus{'part_node_part_node_appendix'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -1042,14 +1036,12 @@ $result_menus{'part_node_part_node_appendix'} = {
                     'cmdname' => 'part',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -1067,14 +1059,12 @@ $result_menus{'part_node_part_node_appendix'} = {
                           'cmdname' => 'part',
                           'extra' => {},
                           'structure' => {
-                            'associated_unit' => {},
-                            'section_level' => 0
+                            'associated_unit' => {}
                           }
                         }
                       },
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 'A'
                       }
                     }
@@ -1192,8 +1182,7 @@ $result_elements{'part_node_part_node_appendix'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1208,14 +1197,12 @@ $result_elements{'part_node_part_node_appendix'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -1233,14 +1220,12 @@ $result_elements{'part_node_part_node_appendix'} = [
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 'A'
                     }
                   }
diff --git a/tp/t/results/sectioning/placed_things_before_node.pl 
b/tp/t/results/sectioning/placed_things_before_node.pl
index b3b9aa05c1..8b6463ba6d 100644
--- a/tp/t/results/sectioning/placed_things_before_node.pl
+++ b/tp/t/results/sectioning/placed_things_before_node.pl
@@ -1002,9 +1002,7 @@ $result_nodes{'placed_things_before_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/sectioning/protected_node_parentheses.pl 
b/tp/t/results/sectioning/protected_node_parentheses.pl
index 61163faa38..8879a5cc56 100644
--- a/tp/t/results/sectioning/protected_node_parentheses.pl
+++ b/tp/t/results/sectioning/protected_node_parentheses.pl
@@ -562,9 +562,7 @@ $result_nodes{'protected_node_parentheses'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
diff --git a/tp/t/results/sectioning/raiselowersections.pl 
b/tp/t/results/sectioning/raiselowersections.pl
index 96bac85ea6..7722785f77 100644
--- a/tp/t/results/sectioning/raiselowersections.pl
+++ b/tp/t/results/sectioning/raiselowersections.pl
@@ -1606,9 +1606,7 @@ $result_nodes{'raiselowersections'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -1626,7 +1624,6 @@ $result_nodes{'raiselowersections'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -1648,7 +1645,6 @@ $result_nodes{'raiselowersections'} = {
                 'sections_level' => -1
               },
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -1670,7 +1666,6 @@ $result_nodes{'raiselowersections'} = {
                     'sections_level' => -1
                   },
                   'structure' => {
-                    'section_level' => 3,
                     'section_number' => '1.1.1'
                   }
                 },
@@ -1692,7 +1687,6 @@ $result_nodes{'raiselowersections'} = {
                         'sections_level' => -1
                       },
                       'structure' => {
-                        'section_level' => 4,
                         'section_number' => '1.1.1.1'
                       }
                     },
@@ -1715,7 +1709,6 @@ $result_nodes{'raiselowersections'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git a/tp/t/results/sectioning/ref_to_top.pl 
b/tp/t/results/sectioning/ref_to_top.pl
index d8c9fc1f28..890a69d886 100644
--- a/tp/t/results/sectioning/ref_to_top.pl
+++ b/tp/t/results/sectioning/ref_to_top.pl
@@ -205,9 +205,7 @@ $result_nodes{'ref_to_top'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/sectioning/section_before_after_top_node.pl 
b/tp/t/results/sectioning/section_before_after_top_node.pl
index 0ce682827b..ee44d53483 100644
--- a/tp/t/results/sectioning/section_before_after_top_node.pl
+++ b/tp/t/results/sectioning/section_before_after_top_node.pl
@@ -321,9 +321,7 @@ $result_nodes{'section_before_after_top_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 1
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/sectioning/section_before_after_top_node_last_node.pl 
b/tp/t/results/sectioning/section_before_after_top_node_last_node.pl
index f009016d8a..686c1a3129 100644
--- a/tp/t/results/sectioning/section_before_after_top_node_last_node.pl
+++ b/tp/t/results/sectioning/section_before_after_top_node_last_node.pl
@@ -378,9 +378,7 @@ $result_nodes{'section_before_after_top_node_last_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 1
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
diff --git a/tp/t/results/sectioning/section_before_top.pl 
b/tp/t/results/sectioning/section_before_top.pl
index 1567231b32..2383947805 100644
--- a/tp/t/results/sectioning/section_before_top.pl
+++ b/tp/t/results/sectioning/section_before_top.pl
@@ -423,9 +423,7 @@ $result_nodes{'section_before_top'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 2
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -443,7 +441,6 @@ $result_nodes{'section_before_top'} = {
           'cmdname' => 'section',
           'extra' => {},
           'structure' => {
-            'section_level' => 2,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/sectioning/section_below_unnumbered.pl 
b/tp/t/results/sectioning/section_below_unnumbered.pl
index 050bafeddd..af029df094 100644
--- a/tp/t/results/sectioning/section_below_unnumbered.pl
+++ b/tp/t/results/sectioning/section_below_unnumbered.pl
@@ -762,9 +762,7 @@ $result_nodes{'section_below_unnumbered'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -781,9 +779,7 @@ $result_nodes{'section_below_unnumbered'} = {
         'associated_section' => {
           'cmdname' => 'unnumbered',
           'extra' => {},
-          'structure' => {
-            'section_level' => 1
-          }
+          'structure' => {}
         },
         'menus' => [
           {
@@ -800,9 +796,7 @@ $result_nodes{'section_below_unnumbered'} = {
             'associated_section' => {
               'cmdname' => 'section',
               'extra' => {},
-              'structure' => {
-                'section_level' => 2
-              }
+              'structure' => {}
             },
             'normalized' => 'Sec'
           },
diff --git a/tp/t/results/sectioning/section_chapter_before_top_nodes.pl 
b/tp/t/results/sectioning/section_chapter_before_top_nodes.pl
index ad8473f0f4..e48f4b0b47 100644
--- a/tp/t/results/sectioning/section_chapter_before_top_nodes.pl
+++ b/tp/t/results/sectioning/section_chapter_before_top_nodes.pl
@@ -696,9 +696,7 @@ $result_nodes{'section_chapter_before_top_nodes'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 2
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -716,7 +714,6 @@ $result_nodes{'section_chapter_before_top_nodes'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 2,
             'section_number' => 2
           }
         },
@@ -736,7 +733,6 @@ $result_nodes{'section_chapter_before_top_nodes'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => 1
               }
             },
diff --git a/tp/t/results/sectioning/section_in_unnumbered_info.pl 
b/tp/t/results/sectioning/section_in_unnumbered_info.pl
index 54a9548a24..bc856243b4 100644
--- a/tp/t/results/sectioning/section_in_unnumbered_info.pl
+++ b/tp/t/results/sectioning/section_in_unnumbered_info.pl
@@ -6737,9 +6737,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -6757,7 +6755,6 @@ $result_nodes{'section_in_unnumbered_info'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -6777,7 +6774,6 @@ $result_nodes{'section_in_unnumbered_info'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -6793,9 +6789,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
             'associated_section' => {
               'cmdname' => 'unnumbered',
               'extra' => {},
-              'structure' => {
-                'section_level' => 1
-              }
+              'structure' => {}
             },
             'menus' => [
               {
@@ -6812,9 +6806,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                 'associated_section' => {
                   'cmdname' => 'section',
                   'extra' => {},
-                  'structure' => {
-                    'section_level' => 2
-                  }
+                  'structure' => {}
                 },
                 'normalized' => 'section-in-unnumbered'
               },
@@ -6829,7 +6821,6 @@ $result_nodes{'section_in_unnumbered_info'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 2
                   }
                 },
@@ -6848,9 +6839,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                     'associated_section' => {
                       'cmdname' => 'unnumberedsec',
                       'extra' => {},
-                      'structure' => {
-                        'section_level' => 2
-                      }
+                      'structure' => {}
                     },
                     'menus' => [
                       {
@@ -6867,9 +6856,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumberedsubsec',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 3
-                          }
+                          'structure' => {}
                         },
                         'normalized' => 'unnumbered-sub-2'
                       },
@@ -6880,9 +6867,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                             'associated_section' => {
                               'cmdname' => 'subsection',
                               'extra' => {},
-                              'structure' => {
-                                'section_level' => 3
-                              }
+                              'structure' => {}
                             },
                             'normalized' => 'numbered-sub-2'
                           },
@@ -6893,9 +6878,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                 'associated_section' => {
                                   'cmdname' => 'unnumberedsubsec',
                                   'extra' => {},
-                                  'structure' => {
-                                    'section_level' => 3
-                                  }
+                                  'structure' => {}
                                 },
                                 'normalized' => 'unnumbered-sub2-2'
                               },
@@ -6906,9 +6889,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                     'associated_section' => {
                                       'cmdname' => 'subsection',
                                       'extra' => {},
-                                      'structure' => {
-                                        'section_level' => 3
-                                      }
+                                      'structure' => {}
                                     },
                                     'normalized' => 'numbered-sub2-2'
                                   },
@@ -6934,9 +6915,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumberedsec',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 2
-                          }
+                          'structure' => {}
                         },
                         'menus' => [
                           {
@@ -6953,9 +6932,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                             'associated_section' => {
                               'cmdname' => 'subsection',
                               'extra' => {},
-                              'structure' => {
-                                'section_level' => 3
-                              }
+                              'structure' => {}
                             },
                             'normalized' => 'numbered-sub-2_002d1'
                           },
@@ -6977,7 +6954,6 @@ $result_nodes{'section_in_unnumbered_info'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 3
                       }
                     },
@@ -6996,9 +6972,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumberedsec',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 2
-                          }
+                          'structure' => {}
                         },
                         'menus' => [
                           {
@@ -7015,9 +6989,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                             'associated_section' => {
                               'cmdname' => 'unnumberedsubsec',
                               'extra' => {},
-                              'structure' => {
-                                'section_level' => 3
-                              }
+                              'structure' => {}
                             },
                             'normalized' => 'unnumbered-sub-3'
                           },
@@ -7028,9 +7000,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                 'associated_section' => {
                                   'cmdname' => 'subsection',
                                   'extra' => {},
-                                  'structure' => {
-                                    'section_level' => 3
-                                  }
+                                  'structure' => {}
                                 },
                                 'normalized' => 'numbered-sub-3'
                               },
@@ -7041,9 +7011,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                     'associated_section' => {
                                       'cmdname' => 'unnumberedsubsec',
                                       'extra' => {},
-                                      'structure' => {
-                                        'section_level' => 3
-                                      }
+                                      'structure' => {}
                                     },
                                     'normalized' => 'unnumbered-sub2-3'
                                   },
@@ -7054,9 +7022,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                         'associated_section' => {
                                           'cmdname' => 'subsection',
                                           'extra' => {},
-                                          'structure' => {
-                                            'section_level' => 3
-                                          }
+                                          'structure' => {}
                                         },
                                         'normalized' => 'numbered-sub2-3'
                                       },
@@ -7083,7 +7049,6 @@ $result_nodes{'section_in_unnumbered_info'} = {
                               'cmdname' => 'section',
                               'extra' => {},
                               'structure' => {
-                                'section_level' => 2,
                                 'section_number' => '3.1'
                               }
                             },
@@ -7096,9 +7061,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                 'associated_section' => {
                                   'cmdname' => 'unnumberedsec',
                                   'extra' => {},
-                                  'structure' => {
-                                    'section_level' => 2
-                                  }
+                                  'structure' => {}
                                 },
                                 'menus' => [
                                   {
@@ -7115,9 +7078,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                     'associated_section' => {
                                       'cmdname' => 'subsection',
                                       'extra' => {},
-                                      'structure' => {
-                                        'section_level' => 3
-                                      }
+                                      'structure' => {}
                                     },
                                     'normalized' => 'numbered-sub-3_002d2'
                                   },
@@ -7132,7 +7093,6 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                       'cmdname' => 'section',
                                       'extra' => {},
                                       'structure' => {
-                                        'section_level' => 2,
                                         'section_number' => '3.2'
                                       }
                                     },
@@ -7152,7 +7112,6 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                           'cmdname' => 'subsection',
                                           'extra' => {},
                                           'structure' => {
-                                            'section_level' => 3,
                                             'section_number' => '3.2.1'
                                           }
                                         },
@@ -7168,9 +7127,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                         'associated_section' => {
                                           'cmdname' => 'unnumberedsec',
                                           'extra' => {},
-                                          'structure' => {
-                                            'section_level' => 2
-                                          }
+                                          'structure' => {}
                                         },
                                         'menus' => [
                                           {
@@ -7187,9 +7144,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                             'associated_section' => {
                                               'cmdname' => 'subsection',
                                               'extra' => {},
-                                              'structure' => {
-                                                'section_level' => 3
-                                              }
+                                              'structure' => {}
                                             },
                                             'normalized' => 
'numbered-sub-3_002d4'
                                           },
@@ -7222,9 +7177,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumbered',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 1
-                          }
+                          'structure' => {}
                         },
                         'menus' => [
                           {
@@ -7241,9 +7194,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                             'associated_section' => {
                               'cmdname' => 'unnumberedsec',
                               'extra' => {},
-                              'structure' => {
-                                'section_level' => 2
-                              }
+                              'structure' => {}
                             },
                             'menus' => [
                               {
@@ -7260,9 +7211,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                 'associated_section' => {
                                   'cmdname' => 'unnumberedsubsec',
                                   'extra' => {},
-                                  'structure' => {
-                                    'section_level' => 3
-                                  }
+                                  'structure' => {}
                                 },
                                 'normalized' => 'unnumbered-sub-4'
                               },
@@ -7273,9 +7222,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                     'associated_section' => {
                                       'cmdname' => 'subsection',
                                       'extra' => {},
-                                      'structure' => {
-                                        'section_level' => 3
-                                      }
+                                      'structure' => {}
                                     },
                                     'normalized' => 'numbered-sub-4'
                                   },
@@ -7286,9 +7233,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                         'associated_section' => {
                                           'cmdname' => 'unnumberedsubsec',
                                           'extra' => {},
-                                          'structure' => {
-                                            'section_level' => 3
-                                          }
+                                          'structure' => {}
                                         },
                                         'normalized' => 'unnumbered-sub2-4'
                                       },
@@ -7299,9 +7244,7 @@ $result_nodes{'section_in_unnumbered_info'} = {
                                             'associated_section' => {
                                               'cmdname' => 'subsection',
                                               'extra' => {},
-                                              'structure' => {
-                                                'section_level' => 3
-                                              }
+                                              'structure' => {}
                                             },
                                             'normalized' => 'numbered-sub2-4'
                                           },
diff --git a/tp/t/results/sectioning/section_in_unnumbered_plaintext.pl 
b/tp/t/results/sectioning/section_in_unnumbered_plaintext.pl
index 916f268042..366e2f5f16 100644
--- a/tp/t/results/sectioning/section_in_unnumbered_plaintext.pl
+++ b/tp/t/results/sectioning/section_in_unnumbered_plaintext.pl
@@ -6737,9 +6737,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -6757,7 +6755,6 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -6777,7 +6774,6 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -6793,9 +6789,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
             'associated_section' => {
               'cmdname' => 'unnumbered',
               'extra' => {},
-              'structure' => {
-                'section_level' => 1
-              }
+              'structure' => {}
             },
             'menus' => [
               {
@@ -6812,9 +6806,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                 'associated_section' => {
                   'cmdname' => 'section',
                   'extra' => {},
-                  'structure' => {
-                    'section_level' => 2
-                  }
+                  'structure' => {}
                 },
                 'normalized' => 'section-in-unnumbered'
               },
@@ -6829,7 +6821,6 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                   'cmdname' => 'chapter',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 1,
                     'section_number' => 2
                   }
                 },
@@ -6848,9 +6839,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                     'associated_section' => {
                       'cmdname' => 'unnumberedsec',
                       'extra' => {},
-                      'structure' => {
-                        'section_level' => 2
-                      }
+                      'structure' => {}
                     },
                     'menus' => [
                       {
@@ -6867,9 +6856,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumberedsubsec',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 3
-                          }
+                          'structure' => {}
                         },
                         'normalized' => 'unnumbered-sub-2'
                       },
@@ -6880,9 +6867,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                             'associated_section' => {
                               'cmdname' => 'subsection',
                               'extra' => {},
-                              'structure' => {
-                                'section_level' => 3
-                              }
+                              'structure' => {}
                             },
                             'normalized' => 'numbered-sub-2'
                           },
@@ -6893,9 +6878,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                 'associated_section' => {
                                   'cmdname' => 'unnumberedsubsec',
                                   'extra' => {},
-                                  'structure' => {
-                                    'section_level' => 3
-                                  }
+                                  'structure' => {}
                                 },
                                 'normalized' => 'unnumbered-sub2-2'
                               },
@@ -6906,9 +6889,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                     'associated_section' => {
                                       'cmdname' => 'subsection',
                                       'extra' => {},
-                                      'structure' => {
-                                        'section_level' => 3
-                                      }
+                                      'structure' => {}
                                     },
                                     'normalized' => 'numbered-sub2-2'
                                   },
@@ -6934,9 +6915,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumberedsec',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 2
-                          }
+                          'structure' => {}
                         },
                         'menus' => [
                           {
@@ -6953,9 +6932,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                             'associated_section' => {
                               'cmdname' => 'subsection',
                               'extra' => {},
-                              'structure' => {
-                                'section_level' => 3
-                              }
+                              'structure' => {}
                             },
                             'normalized' => 'numbered-sub-2_002d1'
                           },
@@ -6977,7 +6954,6 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                       'cmdname' => 'chapter',
                       'extra' => {},
                       'structure' => {
-                        'section_level' => 1,
                         'section_number' => 3
                       }
                     },
@@ -6996,9 +6972,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumberedsec',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 2
-                          }
+                          'structure' => {}
                         },
                         'menus' => [
                           {
@@ -7015,9 +6989,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                             'associated_section' => {
                               'cmdname' => 'unnumberedsubsec',
                               'extra' => {},
-                              'structure' => {
-                                'section_level' => 3
-                              }
+                              'structure' => {}
                             },
                             'normalized' => 'unnumbered-sub-3'
                           },
@@ -7028,9 +7000,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                 'associated_section' => {
                                   'cmdname' => 'subsection',
                                   'extra' => {},
-                                  'structure' => {
-                                    'section_level' => 3
-                                  }
+                                  'structure' => {}
                                 },
                                 'normalized' => 'numbered-sub-3'
                               },
@@ -7041,9 +7011,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                     'associated_section' => {
                                       'cmdname' => 'unnumberedsubsec',
                                       'extra' => {},
-                                      'structure' => {
-                                        'section_level' => 3
-                                      }
+                                      'structure' => {}
                                     },
                                     'normalized' => 'unnumbered-sub2-3'
                                   },
@@ -7054,9 +7022,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                         'associated_section' => {
                                           'cmdname' => 'subsection',
                                           'extra' => {},
-                                          'structure' => {
-                                            'section_level' => 3
-                                          }
+                                          'structure' => {}
                                         },
                                         'normalized' => 'numbered-sub2-3'
                                       },
@@ -7083,7 +7049,6 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                               'cmdname' => 'section',
                               'extra' => {},
                               'structure' => {
-                                'section_level' => 2,
                                 'section_number' => '3.1'
                               }
                             },
@@ -7096,9 +7061,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                 'associated_section' => {
                                   'cmdname' => 'unnumberedsec',
                                   'extra' => {},
-                                  'structure' => {
-                                    'section_level' => 2
-                                  }
+                                  'structure' => {}
                                 },
                                 'menus' => [
                                   {
@@ -7115,9 +7078,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                     'associated_section' => {
                                       'cmdname' => 'subsection',
                                       'extra' => {},
-                                      'structure' => {
-                                        'section_level' => 3
-                                      }
+                                      'structure' => {}
                                     },
                                     'normalized' => 'numbered-sub-3_002d2'
                                   },
@@ -7132,7 +7093,6 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                       'cmdname' => 'section',
                                       'extra' => {},
                                       'structure' => {
-                                        'section_level' => 2,
                                         'section_number' => '3.2'
                                       }
                                     },
@@ -7152,7 +7112,6 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                           'cmdname' => 'subsection',
                                           'extra' => {},
                                           'structure' => {
-                                            'section_level' => 3,
                                             'section_number' => '3.2.1'
                                           }
                                         },
@@ -7168,9 +7127,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                         'associated_section' => {
                                           'cmdname' => 'unnumberedsec',
                                           'extra' => {},
-                                          'structure' => {
-                                            'section_level' => 2
-                                          }
+                                          'structure' => {}
                                         },
                                         'menus' => [
                                           {
@@ -7187,9 +7144,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                             'associated_section' => {
                                               'cmdname' => 'subsection',
                                               'extra' => {},
-                                              'structure' => {
-                                                'section_level' => 3
-                                              }
+                                              'structure' => {}
                                             },
                                             'normalized' => 
'numbered-sub-3_002d4'
                                           },
@@ -7222,9 +7177,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                         'associated_section' => {
                           'cmdname' => 'unnumbered',
                           'extra' => {},
-                          'structure' => {
-                            'section_level' => 1
-                          }
+                          'structure' => {}
                         },
                         'menus' => [
                           {
@@ -7241,9 +7194,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                             'associated_section' => {
                               'cmdname' => 'unnumberedsec',
                               'extra' => {},
-                              'structure' => {
-                                'section_level' => 2
-                              }
+                              'structure' => {}
                             },
                             'menus' => [
                               {
@@ -7260,9 +7211,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                 'associated_section' => {
                                   'cmdname' => 'unnumberedsubsec',
                                   'extra' => {},
-                                  'structure' => {
-                                    'section_level' => 3
-                                  }
+                                  'structure' => {}
                                 },
                                 'normalized' => 'unnumbered-sub-4'
                               },
@@ -7273,9 +7222,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                     'associated_section' => {
                                       'cmdname' => 'subsection',
                                       'extra' => {},
-                                      'structure' => {
-                                        'section_level' => 3
-                                      }
+                                      'structure' => {}
                                     },
                                     'normalized' => 'numbered-sub-4'
                                   },
@@ -7286,9 +7233,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                         'associated_section' => {
                                           'cmdname' => 'unnumberedsubsec',
                                           'extra' => {},
-                                          'structure' => {
-                                            'section_level' => 3
-                                          }
+                                          'structure' => {}
                                         },
                                         'normalized' => 'unnumbered-sub2-4'
                                       },
@@ -7299,9 +7244,7 @@ $result_nodes{'section_in_unnumbered_plaintext'} = {
                                             'associated_section' => {
                                               'cmdname' => 'subsection',
                                               'extra' => {},
-                                              'structure' => {
-                                                'section_level' => 3
-                                              }
+                                              'structure' => {}
                                             },
                                             'normalized' => 'numbered-sub2-4'
                                           },
diff --git a/tp/t/results/sectioning/section_node_before_part.pl 
b/tp/t/results/sectioning/section_node_before_part.pl
index fe9ba944ef..d5622bf3e5 100644
--- a/tp/t/results/sectioning/section_node_before_part.pl
+++ b/tp/t/results/sectioning/section_node_before_part.pl
@@ -200,7 +200,6 @@ $result_nodes{'section_node_before_part'} = {
       'cmdname' => 'section',
       'extra' => {},
       'structure' => {
-        'section_level' => 2,
         'section_number' => 1
       }
     },
diff --git a/tp/t/results/sectioning/sectioning_part_appendix.pl 
b/tp/t/results/sectioning/sectioning_part_appendix.pl
index 81532959d5..f9a9345824 100644
--- a/tp/t/results/sectioning/sectioning_part_appendix.pl
+++ b/tp/t/results/sectioning/sectioning_part_appendix.pl
@@ -1061,8 +1061,7 @@ $result_elements{'sectioning_part_appendix'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1075,7 +1074,6 @@ $result_elements{'sectioning_part_appendix'} = [
               'extra' => {},
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -1093,14 +1091,12 @@ $result_elements{'sectioning_part_appendix'} = [
                         'cmdname' => 'part',
                         'extra' => {},
                         'structure' => {
-                          'associated_unit' => {},
-                          'section_level' => 0
+                          'associated_unit' => {}
                         }
                       }
                     },
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 2
                     }
                   }
@@ -1114,7 +1110,6 @@ $result_elements{'sectioning_part_appendix'} = [
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 4,
                             'section_number' => '1.1.1.1'
                           }
                         }
@@ -1128,7 +1123,6 @@ $result_elements{'sectioning_part_appendix'} = [
                                 'extra' => {},
                                 'structure' => {
                                   'associated_unit' => {},
-                                  'section_level' => 3,
                                   'section_number' => '1.1.1'
                                 }
                               }
@@ -1142,7 +1136,6 @@ $result_elements{'sectioning_part_appendix'} = [
                                       'extra' => {},
                                       'structure' => {
                                         'associated_unit' => {},
-                                        'section_level' => 2,
                                         'section_number' => '1.1'
                                       }
                                     }
@@ -1185,7 +1178,6 @@ $result_elements{'sectioning_part_appendix'} = [
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 3
                           }
                         }
@@ -1200,8 +1192,7 @@ $result_elements{'sectioning_part_appendix'} = [
                                 'cmdname' => 'unnumbered',
                                 'extra' => {},
                                 'structure' => {
-                                  'associated_unit' => {},
-                                  'section_level' => 1
+                                  'associated_unit' => {}
                                 }
                               }
                             },
@@ -1216,7 +1207,6 @@ $result_elements{'sectioning_part_appendix'} = [
                                       'extra' => {},
                                       'structure' => {
                                         'associated_unit' => {},
-                                        'section_level' => 1,
                                         'section_number' => 'A'
                                       }
                                     }
@@ -1232,7 +1222,6 @@ $result_elements{'sectioning_part_appendix'} = [
                                             'extra' => {},
                                             'structure' => {
                                               'associated_unit' => {},
-                                              'section_level' => 2,
                                               'section_number' => 'A.1'
                                             }
                                           }
diff --git a/tp/t/results/sectioning/sectioning_part_appendix_no_top.pl 
b/tp/t/results/sectioning/sectioning_part_appendix_no_top.pl
index de37c9f52d..8f0b7d7ced 100644
--- a/tp/t/results/sectioning/sectioning_part_appendix_no_top.pl
+++ b/tp/t/results/sectioning/sectioning_part_appendix_no_top.pl
@@ -952,7 +952,6 @@ $result_elements{'sectioning_part_appendix_no_top'} = [
         'extra' => {},
         'structure' => {
           'associated_unit' => {},
-          'section_level' => 1,
           'section_number' => 1
         }
       }
@@ -968,14 +967,12 @@ $result_elements{'sectioning_part_appendix_no_top'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 2
               }
             }
@@ -989,7 +986,6 @@ $result_elements{'sectioning_part_appendix_no_top'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 4,
                       'section_number' => '1.1.1.1'
                     }
                   }
@@ -1003,7 +999,6 @@ $result_elements{'sectioning_part_appendix_no_top'} = [
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 3,
                             'section_number' => '1.1.1'
                           }
                         }
@@ -1017,7 +1012,6 @@ $result_elements{'sectioning_part_appendix_no_top'} = [
                                 'extra' => {},
                                 'structure' => {
                                   'associated_unit' => {},
-                                  'section_level' => 2,
                                   'section_number' => '1.1'
                                 }
                               }
@@ -1060,7 +1054,6 @@ $result_elements{'sectioning_part_appendix_no_top'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 3
                     }
                   }
@@ -1075,8 +1068,7 @@ $result_elements{'sectioning_part_appendix_no_top'} = [
                           'cmdname' => 'unnumbered',
                           'extra' => {},
                           'structure' => {
-                            'associated_unit' => {},
-                            'section_level' => 1
+                            'associated_unit' => {}
                           }
                         }
                       },
@@ -1091,7 +1083,6 @@ $result_elements{'sectioning_part_appendix_no_top'} = [
                                 'extra' => {},
                                 'structure' => {
                                   'associated_unit' => {},
-                                  'section_level' => 1,
                                   'section_number' => 'A'
                                 }
                               }
@@ -1107,7 +1098,6 @@ $result_elements{'sectioning_part_appendix_no_top'} = [
                                       'extra' => {},
                                       'structure' => {
                                         'associated_unit' => {},
-                                        'section_level' => 2,
                                         'section_number' => 'A.1'
                                       }
                                     }
diff --git a/tp/t/results/sectioning/semi_auto.pl 
b/tp/t/results/sectioning/semi_auto.pl
index f2f9332c2d..a6ff1d16bd 100644
--- a/tp/t/results/sectioning/semi_auto.pl
+++ b/tp/t/results/sectioning/semi_auto.pl
@@ -873,9 +873,7 @@ $result_nodes{'semi_auto'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -893,7 +891,6 @@ $result_nodes{'semi_auto'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -913,7 +910,6 @@ $result_nodes{'semi_auto'} = {
               'cmdname' => 'section',
               'extra' => {},
               'structure' => {
-                'section_level' => 2,
                 'section_number' => '1.1'
               }
             },
@@ -927,7 +923,6 @@ $result_nodes{'semi_auto'} = {
                   'cmdname' => 'section',
                   'extra' => {},
                   'structure' => {
-                    'section_level' => 2,
                     'section_number' => '1.2'
                   }
                 },
diff --git a/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl 
b/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl
index bc468f0b65..e6f5e5a94d 100644
--- a/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl
+++ b/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl
@@ -205,9 +205,7 @@ $result_nodes{'setfilename_on_top_and_after_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/sectioning/top_chapter_sections.pl 
b/tp/t/results/sectioning/top_chapter_sections.pl
index 334088a7b3..92418a668f 100644
--- a/tp/t/results/sectioning/top_chapter_sections.pl
+++ b/tp/t/results/sectioning/top_chapter_sections.pl
@@ -904,8 +904,7 @@ $result_elements{'top_chapter_sections'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -917,8 +916,7 @@ $result_elements{'top_chapter_sections'} = [
               'cmdname' => 'unnumbered',
               'extra' => {},
               'structure' => {
-                'associated_unit' => {},
-                'section_level' => 1
+                'associated_unit' => {}
               }
             }
           },
@@ -933,7 +931,6 @@ $result_elements{'top_chapter_sections'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -949,7 +946,6 @@ $result_elements{'top_chapter_sections'} = [
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 2
                           }
                         }
@@ -963,7 +959,6 @@ $result_elements{'top_chapter_sections'} = [
                                 'extra' => {},
                                 'structure' => {
                                   'associated_unit' => {},
-                                  'section_level' => 2,
                                   'section_number' => '1.1'
                                 }
                               }
@@ -988,7 +983,6 @@ $result_elements{'top_chapter_sections'} = [
                                 'extra' => {},
                                 'structure' => {
                                   'associated_unit' => {},
-                                  'section_level' => 1,
                                   'section_number' => 3
                                 }
                               }
@@ -1002,7 +996,6 @@ $result_elements{'top_chapter_sections'} = [
                                       'extra' => {},
                                       'structure' => {
                                         'associated_unit' => {},
-                                        'section_level' => 3,
                                         'section_number' => '2.1.2'
                                       }
                                     }
@@ -1016,7 +1009,6 @@ $result_elements{'top_chapter_sections'} = [
                                             'extra' => {},
                                             'structure' => {
                                               'associated_unit' => {},
-                                              'section_level' => 3,
                                               'section_number' => '2.1.1'
                                             }
                                           }
@@ -1030,7 +1022,6 @@ $result_elements{'top_chapter_sections'} = [
                                                   'extra' => {},
                                                   'structure' => {
                                                     'associated_unit' => {},
-                                                    'section_level' => 2,
                                                     'section_number' => '2.1'
                                                   }
                                                 }
diff --git a/tp/t/results/sectioning/top_no_argument_and_node.pl 
b/tp/t/results/sectioning/top_no_argument_and_node.pl
index d4e1ac3ae1..432b1cf14c 100644
--- a/tp/t/results/sectioning/top_no_argument_and_node.pl
+++ b/tp/t/results/sectioning/top_no_argument_and_node.pl
@@ -124,9 +124,7 @@ $result_nodes{'top_no_argument_and_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'start'
   }
diff --git a/tp/t/results/sectioning/top_no_argument_and_top_node.pl 
b/tp/t/results/sectioning/top_no_argument_and_top_node.pl
index b64a3c27d5..a52ac388a1 100644
--- a/tp/t/results/sectioning/top_no_argument_and_top_node.pl
+++ b/tp/t/results/sectioning/top_no_argument_and_top_node.pl
@@ -124,9 +124,7 @@ $result_nodes{'top_no_argument_and_top_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/sectioning/top_node_part_top.pl 
b/tp/t/results/sectioning/top_node_part_top.pl
index 6c8747f15b..f2582d80a8 100644
--- a/tp/t/results/sectioning/top_node_part_top.pl
+++ b/tp/t/results/sectioning/top_node_part_top.pl
@@ -257,14 +257,12 @@ $result_nodes{'top_node_part_top'} = {
                 }
               },
               'type' => 'unit'
-            },
-            'section_level' => 0
+            }
           }
         }
       },
       'structure' => {
-        'associated_unit' => {},
-        'section_level' => 0
+        'associated_unit' => {}
       }
     },
     'normalized' => 'Top'
@@ -293,14 +291,12 @@ $result_menus{'top_node_part_top'} = {
               'cmdname' => 'part',
               'extra' => {},
               'structure' => {
-                'associated_unit' => {},
-                'section_level' => 0
+                'associated_unit' => {}
               }
             }
           },
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -352,14 +348,12 @@ $result_elements{'top_node_part_top'} = [
             'cmdname' => 'part',
             'extra' => {},
             'structure' => {
-              'associated_unit' => {},
-              'section_level' => 0
+              'associated_unit' => {}
             }
           }
         },
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
diff --git a/tp/t/results/sectioning/top_node_up_url.pl 
b/tp/t/results/sectioning/top_node_up_url.pl
index b35daa93e9..8c07e16226 100644
--- a/tp/t/results/sectioning/top_node_up_url.pl
+++ b/tp/t/results/sectioning/top_node_up_url.pl
@@ -454,8 +454,7 @@ $result_nodes{'top_node_up_url'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
diff --git a/tp/t/results/sectioning/top_part_chapter.pl 
b/tp/t/results/sectioning/top_part_chapter.pl
index a7492cf184..a099d6cbf5 100644
--- a/tp/t/results/sectioning/top_part_chapter.pl
+++ b/tp/t/results/sectioning/top_part_chapter.pl
@@ -280,8 +280,7 @@ $result_elements{'top_part_chapter'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -296,14 +295,12 @@ $result_elements{'top_part_chapter'} = [
                   'cmdname' => 'part',
                   'extra' => {},
                   'structure' => {
-                    'associated_unit' => {},
-                    'section_level' => 0
+                    'associated_unit' => {}
                   }
                 }
               },
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
diff --git a/tp/t/results/sectioning/top_without_node_nodes.pl 
b/tp/t/results/sectioning/top_without_node_nodes.pl
index e129e840ba..8cb578f8b7 100644
--- a/tp/t/results/sectioning/top_without_node_nodes.pl
+++ b/tp/t/results/sectioning/top_without_node_nodes.pl
@@ -339,7 +339,6 @@ $result_nodes{'top_without_node_nodes'} = {
           },
           'type' => 'unit'
         },
-        'section_level' => 1,
         'section_number' => 1
       }
     },
diff --git a/tp/t/results/sectioning/top_without_node_sections.pl 
b/tp/t/results/sectioning/top_without_node_sections.pl
index 771a6c8119..1893b73f60 100644
--- a/tp/t/results/sectioning/top_without_node_sections.pl
+++ b/tp/t/results/sectioning/top_without_node_sections.pl
@@ -364,8 +364,7 @@ $result_nodes{'top_without_node_sections'} = {
                     'cmdname' => 'top',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 0
+                      'associated_unit' => {}
                     }
                   }
                 },
@@ -397,7 +396,6 @@ $result_nodes{'top_without_node_sections'} = {
           },
           'type' => 'unit'
         },
-        'section_level' => 1,
         'section_number' => 1
       }
     },
@@ -439,7 +437,6 @@ $result_menus{'top_without_node_sections'} = {
           'extra' => {},
           'structure' => {
             'associated_unit' => {},
-            'section_level' => 1,
             'section_number' => 1
           }
         }
@@ -452,8 +449,7 @@ $result_menus{'top_without_node_sections'} = {
                 'cmdname' => 'top',
                 'extra' => {},
                 'structure' => {
-                  'associated_unit' => {},
-                  'section_level' => 0
+                  'associated_unit' => {}
                 }
               }
             },
@@ -511,8 +507,7 @@ $result_elements{'top_without_node_sections'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -525,7 +520,6 @@ $result_elements{'top_without_node_sections'} = [
               'extra' => {},
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
diff --git a/tp/t/results/sectioning/two_nodes_at_the_end.pl 
b/tp/t/results/sectioning/two_nodes_at_the_end.pl
index 1f17b34838..e645590339 100644
--- a/tp/t/results/sectioning/two_nodes_at_the_end.pl
+++ b/tp/t/results/sectioning/two_nodes_at_the_end.pl
@@ -837,7 +837,6 @@ $result_nodes{'two_nodes_at_the_end'} = {
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -866,8 +865,7 @@ $result_nodes{'two_nodes_at_the_end'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -959,8 +957,7 @@ $result_menus{'two_nodes_at_the_end'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -973,7 +970,6 @@ $result_menus{'two_nodes_at_the_end'} = {
                 'extra' => {},
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -1085,8 +1081,7 @@ $result_elements{'two_nodes_at_the_end'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1099,7 +1094,6 @@ $result_elements{'two_nodes_at_the_end'} = [
               'extra' => {},
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
diff --git a/tp/t/results/sectioning/two_nodes_between_chapters.pl 
b/tp/t/results/sectioning/two_nodes_between_chapters.pl
index 58fe511b5a..b16da463e3 100644
--- a/tp/t/results/sectioning/two_nodes_between_chapters.pl
+++ b/tp/t/results/sectioning/two_nodes_between_chapters.pl
@@ -923,7 +923,6 @@ $result_nodes{'two_nodes_between_chapters'} = {
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
@@ -939,7 +938,6 @@ $result_nodes{'two_nodes_between_chapters'} = {
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 2
                           }
                         }
@@ -982,8 +980,7 @@ $result_nodes{'two_nodes_between_chapters'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 0
+        }
       }
     },
     'menus' => [
@@ -1090,8 +1087,7 @@ $result_menus{'two_nodes_between_chapters'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 0
+            'associated_unit' => {}
           }
         }
       },
@@ -1104,7 +1100,6 @@ $result_menus{'two_nodes_between_chapters'} = {
                 'extra' => {},
                 'structure' => {
                   'associated_unit' => {},
-                  'section_level' => 1,
                   'section_number' => 1
                 }
               }
@@ -1120,7 +1115,6 @@ $result_menus{'two_nodes_between_chapters'} = {
                       'extra' => {},
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 2
                       }
                     }
@@ -1278,8 +1272,7 @@ $result_elements{'two_nodes_between_chapters'} = [
         'cmdname' => 'top',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 0
+          'associated_unit' => {}
         }
       }
     },
@@ -1292,7 +1285,6 @@ $result_elements{'two_nodes_between_chapters'} = [
               'extra' => {},
               'structure' => {
                 'associated_unit' => {},
-                'section_level' => 1,
                 'section_number' => 1
               }
             }
@@ -1308,7 +1300,6 @@ $result_elements{'two_nodes_between_chapters'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 2
                     }
                   }
diff --git a/tp/t/results/sectioning/unnumbered_before_node_top_top.pl 
b/tp/t/results/sectioning/unnumbered_before_node_top_top.pl
index bb02d0f7e7..1a388f0106 100644
--- a/tp/t/results/sectioning/unnumbered_before_node_top_top.pl
+++ b/tp/t/results/sectioning/unnumbered_before_node_top_top.pl
@@ -317,8 +317,7 @@ $result_nodes{'unnumbered_before_node_top_top'} = {
                     'cmdname' => 'unnumbered',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 1
+                      'associated_unit' => {}
                     }
                   }
                 },
@@ -340,8 +339,7 @@ $result_nodes{'unnumbered_before_node_top_top'} = {
             'unit_prev' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 1
+        }
       }
     },
     'normalized' => 'Top'
@@ -375,8 +373,7 @@ $result_menus{'unnumbered_before_node_top_top'} = {
           'cmdname' => 'top',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 1
+            'associated_unit' => {}
           }
         }
       },
@@ -388,8 +385,7 @@ $result_menus{'unnumbered_before_node_top_top'} = {
                 'cmdname' => 'unnumbered',
                 'extra' => {},
                 'structure' => {
-                  'associated_unit' => {},
-                  'section_level' => 1
+                  'associated_unit' => {}
                 }
               }
             },
@@ -449,8 +445,7 @@ $result_elements{'unnumbered_before_node_top_top'} = [
         'cmdname' => 'unnumbered',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 1
+          'associated_unit' => {}
         }
       }
     },
@@ -462,8 +457,7 @@ $result_elements{'unnumbered_before_node_top_top'} = [
               'cmdname' => 'top',
               'extra' => {},
               'structure' => {
-                'associated_unit' => {},
-                'section_level' => 1
+                'associated_unit' => {}
               }
             }
           },
diff --git a/tp/t/results/sectioning/unnumbered_before_top_node.pl 
b/tp/t/results/sectioning/unnumbered_before_top_node.pl
index b582b3921f..b9eea400d6 100644
--- a/tp/t/results/sectioning/unnumbered_before_top_node.pl
+++ b/tp/t/results/sectioning/unnumbered_before_top_node.pl
@@ -229,8 +229,7 @@ $result_nodes{'unnumbered_before_top_node'} = {
           'cmdname' => 'unnumbered',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 1
+            'associated_unit' => {}
           }
         }
       },
@@ -258,8 +257,7 @@ $result_menus{'unnumbered_before_top_node'} = {
           'cmdname' => 'unnumbered',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 1
+            'associated_unit' => {}
           }
         }
       },
@@ -288,8 +286,7 @@ $result_elements{'unnumbered_before_top_node'} = [
         'cmdname' => 'unnumbered',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 1
+          'associated_unit' => {}
         }
       }
     },
diff --git a/tp/t/results/sectioning/unnumbered_top_without_node_nodes.pl 
b/tp/t/results/sectioning/unnumbered_top_without_node_nodes.pl
index 27379d272c..b627323552 100644
--- a/tp/t/results/sectioning/unnumbered_top_without_node_nodes.pl
+++ b/tp/t/results/sectioning/unnumbered_top_without_node_nodes.pl
@@ -562,7 +562,6 @@ $result_nodes{'unnumbered_top_without_node_nodes'} = {
                         'extra' => {},
                         'structure' => {
                           'associated_unit' => {},
-                          'section_level' => 1,
                           'section_number' => 1
                         }
                       },
@@ -614,8 +613,7 @@ $result_nodes{'unnumbered_top_without_node_nodes'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 1
+        }
       }
     },
     'normalized' => 'a-node'
diff --git a/tp/t/results/sectioning/unnumbered_top_without_node_sections.pl 
b/tp/t/results/sectioning/unnumbered_top_without_node_sections.pl
index 1d1f4ce187..8486a8c19c 100644
--- a/tp/t/results/sectioning/unnumbered_top_without_node_sections.pl
+++ b/tp/t/results/sectioning/unnumbered_top_without_node_sections.pl
@@ -594,8 +594,7 @@ $result_nodes{'unnumbered_top_without_node_sections'} = {
                     'cmdname' => 'top',
                     'extra' => {},
                     'structure' => {
-                      'associated_unit' => {},
-                      'section_level' => 1
+                      'associated_unit' => {}
                     }
                   }
                 },
@@ -610,7 +609,6 @@ $result_nodes{'unnumbered_top_without_node_sections'} = {
                           'extra' => {},
                           'structure' => {
                             'associated_unit' => {},
-                            'section_level' => 1,
                             'section_number' => 1
                           }
                         }
@@ -663,8 +661,7 @@ $result_nodes{'unnumbered_top_without_node_sections'} = {
             'unit_next' => {}
           },
           'type' => 'unit'
-        },
-        'section_level' => 1
+        }
       }
     },
     'normalized' => 'a-node'
@@ -714,8 +711,7 @@ $result_menus{'unnumbered_top_without_node_sections'} = {
           'cmdname' => 'unnumbered',
           'extra' => {},
           'structure' => {
-            'associated_unit' => {},
-            'section_level' => 1
+            'associated_unit' => {}
           }
         }
       },
@@ -727,8 +723,7 @@ $result_menus{'unnumbered_top_without_node_sections'} = {
                 'cmdname' => 'top',
                 'extra' => {},
                 'structure' => {
-                  'associated_unit' => {},
-                  'section_level' => 1
+                  'associated_unit' => {}
                 }
               }
             },
@@ -743,7 +738,6 @@ $result_menus{'unnumbered_top_without_node_sections'} = {
                       'extra' => {},
                       'structure' => {
                         'associated_unit' => {},
-                        'section_level' => 1,
                         'section_number' => 1
                       }
                     }
@@ -852,8 +846,7 @@ $result_elements{'unnumbered_top_without_node_sections'} = [
         'cmdname' => 'unnumbered',
         'extra' => {},
         'structure' => {
-          'associated_unit' => {},
-          'section_level' => 1
+          'associated_unit' => {}
         }
       }
     },
@@ -865,8 +858,7 @@ $result_elements{'unnumbered_top_without_node_sections'} = [
               'cmdname' => 'top',
               'extra' => {},
               'structure' => {
-                'associated_unit' => {},
-                'section_level' => 1
+                'associated_unit' => {}
               }
             }
           },
@@ -881,7 +873,6 @@ $result_elements{'unnumbered_top_without_node_sections'} = [
                     'extra' => {},
                     'structure' => {
                       'associated_unit' => {},
-                      'section_level' => 1,
                       'section_number' => 1
                     }
                   }
diff --git a/tp/t/results/value/value_in_misc_commands.pl 
b/tp/t/results/value/value_in_misc_commands.pl
index eccf1797d6..7c0ca46ce8 100644
--- a/tp/t/results/value/value_in_misc_commands.pl
+++ b/tp/t/results/value/value_in_misc_commands.pl
@@ -3376,9 +3376,7 @@ $result_nodes{'value_in_misc_commands'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
diff --git a/tp/t/results/value/value_in_node.pl 
b/tp/t/results/value/value_in_node.pl
index 384dc5d21d..635c35fea2 100644
--- a/tp/t/results/value/value_in_node.pl
+++ b/tp/t/results/value/value_in_node.pl
@@ -924,9 +924,7 @@ $result_nodes{'value_in_node'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -944,7 +942,6 @@ $result_nodes{'value_in_node'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/value/value_node_directions.pl 
b/tp/t/results/value/value_node_directions.pl
index 769de3085f..09d92f52eb 100644
--- a/tp/t/results/value/value_node_directions.pl
+++ b/tp/t/results/value/value_node_directions.pl
@@ -636,9 +636,7 @@ $result_nodes{'value_node_directions'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -650,7 +648,6 @@ $result_nodes{'value_node_directions'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -664,7 +661,6 @@ $result_nodes{'value_node_directions'} = {
               'cmdname' => 'chapter',
               'extra' => {},
               'structure' => {
-                'section_level' => 1,
                 'section_number' => 2
               }
             },
diff --git a/tp/t/results/xml_tests/image_inline_or_not.pl 
b/tp/t/results/xml_tests/image_inline_or_not.pl
index 3261b30185..5e9e0045c6 100644
--- a/tp/t/results/xml_tests/image_inline_or_not.pl
+++ b/tp/t/results/xml_tests/image_inline_or_not.pl
@@ -2005,9 +2005,7 @@ $result_nodes{'image_inline_or_not'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'menus' => [
       {
@@ -2025,7 +2023,6 @@ $result_nodes{'image_inline_or_not'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
@@ -2093,7 +2090,6 @@ $result_floats{'image_inline_or_not'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/results/xtable/block_commands_in_table.pl 
b/tp/t/results/xtable/block_commands_in_table.pl
index c8530ac040..68e9aa04a1 100644
--- a/tp/t/results/xtable/block_commands_in_table.pl
+++ b/tp/t/results/xtable/block_commands_in_table.pl
@@ -1660,9 +1660,7 @@ $result_nodes{'block_commands_in_table'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   }
diff --git a/tp/t/results/xtable/inter_item_commands_in_table.pl 
b/tp/t/results/xtable/inter_item_commands_in_table.pl
index b25441997d..9b229cc511 100644
--- a/tp/t/results/xtable/inter_item_commands_in_table.pl
+++ b/tp/t/results/xtable/inter_item_commands_in_table.pl
@@ -3078,9 +3078,7 @@ $result_nodes{'inter_item_commands_in_table'} = {
     'associated_section' => {
       'cmdname' => 'top',
       'extra' => {},
-      'structure' => {
-        'section_level' => 0
-      }
+      'structure' => {}
     },
     'normalized' => 'Top'
   },
@@ -3092,7 +3090,6 @@ $result_nodes{'inter_item_commands_in_table'} = {
           'cmdname' => 'chapter',
           'extra' => {},
           'structure' => {
-            'section_level' => 1,
             'section_number' => 1
           }
         },
diff --git a/tp/t/test_utils.pl b/tp/t/test_utils.pl
index 498642e9c5..f907c44d2e 100644
--- a/tp/t/test_utils.pl
+++ b/tp/t/test_utils.pl
@@ -474,10 +474,11 @@ my @contents_keys = ('contents', 'args', 'parent',
   'block_command_line_contents', 'spaces_after_command', 
'spaces_before_argument',
   'end_command', 'text_arg', 'command_argument');
 my @menus_keys = ('menu_next', 'menu_up', 'menu_prev', 'menu_up_hash');
-# 'section_level' 'section_number'
+# 'section_number' is kept in other results as it may be the only clue
+# to know which section element it is.
 my @sections_keys = ('section_next', 'section_prev', 'section_up', 
   'section_childs', 'associated_node', 'part_associated_section', 
-  'toplevel_prev', 'toplevel_next', 'toplevel_up');
+  'toplevel_prev', 'toplevel_next', 'toplevel_up', 'section_level');
 my @node_keys = ('node_next', 'node_prev', 'node_up', 'menus', 
   'associated_section');
 my %avoided_keys_tree;



reply via email to

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