texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Makefile.tres, tp/t/30sectioning.t: add two_


From: Patrice Dumas
Subject: branch master updated: * tp/Makefile.tres, tp/t/30sectioning.t: add two_nodes_at_the_end_nodes and two_nodes_at_the_end_texi2html.
Date: Sun, 12 Mar 2023 07:20:04 -0400

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

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new cdda77a635 * tp/Makefile.tres, tp/t/30sectioning.t: add 
two_nodes_at_the_end_nodes and two_nodes_at_the_end_texi2html.
cdda77a635 is described below

commit cdda77a635657965f6d1e8e7a45cb12a4b079e23
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Mar 12 12:19:53 2023 +0100

    * tp/Makefile.tres, tp/t/30sectioning.t: add
    two_nodes_at_the_end_nodes and two_nodes_at_the_end_texi2html.
    
    * tp/Makefile.tres, tp/t/40moresectioning.t: do not set TEXI2HTML in
    more_sections_than_nodes, but add more_sections_than_nodes_texi2html.
---
 ChangeLog                                          |   8 +
 tp/Makefile.tres                                   |   6 +
 tp/TODO                                            |  18 -
 tp/t/30sectioning.t                                |  46 +-
 tp/t/40moresectioning.t                            |  92 +--
 .../moresectioning/more_sections_than_nodes.pl     | 394 ++----------
 ...es.pl => more_sections_than_nodes_texi2html.pl} | 682 ++------------------
 .../more_sections_than_nodes_texi2html.html        | 411 ++++++++++++
 .../sectioning/two_nodes_at_the_end_nodes.pl       | 703 +++++++++++++++++++++
 .../res_html/chapter-1.html                        |  42 ++
 .../two_nodes_at_the_end_nodes/res_html/index.html |  49 ++
 .../res_html/node-after-chapter-1.html             |  42 ++
 .../res_html/node-after-chapter-2.html             |  38 ++
 .../sectioning/two_nodes_at_the_end_texi2html.pl   | 703 +++++++++++++++++++++
 .../res_html/two_nodes_at_the_end_texi2html.html   | 190 ++++++
 15 files changed, 2389 insertions(+), 1035 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 735e2e733c..2a137acc3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-03-12  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Makefile.tres, tp/t/30sectioning.t: add
+       two_nodes_at_the_end_nodes and two_nodes_at_the_end_texi2html.
+
+       * tp/Makefile.tres, tp/t/40moresectioning.t: do not set TEXI2HTML in
+       more_sections_than_nodes, but add more_sections_than_nodes_texi2html.
+
 2023-03-11  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Makefile.tres, tp/t/30sectioning.t: add
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 7ad375bf36..0eda51e071 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -1432,6 +1432,8 @@ test_files_generated_list = 
$(test_tap_files_generated_list) \
   t/results/moresectioning/lowered_subsubsection.pl \
   t/results/moresectioning/loweredheading.pl \
   t/results/moresectioning/more_sections_than_nodes.pl \
+  t/results/moresectioning/more_sections_than_nodes_texi2html.pl \
+  t/results/moresectioning/more_sections_than_nodes_texi2html/res_html \
   t/results/moresectioning/no_element.pl \
   t/results/moresectioning/nodes_before_after_top_xref.pl \
   t/results/moresectioning/nodes_before_after_top_xref/res_latex \
@@ -1821,6 +1823,10 @@ test_files_generated_list = 
$(test_tap_files_generated_list) \
   t/results/sectioning/transliterated_split_equivalent_nodes.pl \
   t/results/sectioning/transliterated_split_equivalent_nodes/res_html \
   t/results/sectioning/two_nodes_at_the_end.pl \
+  t/results/sectioning/two_nodes_at_the_end_nodes.pl \
+  t/results/sectioning/two_nodes_at_the_end_nodes/res_html \
+  t/results/sectioning/two_nodes_at_the_end_texi2html.pl \
+  t/results/sectioning/two_nodes_at_the_end_texi2html/res_html \
   t/results/sectioning/two_nodes_between_chapters.pl \
   t/results/sectioning/two_nodes_between_chapters_nodes.pl \
   t/results/sectioning/two_nodes_between_chapters_nodes/res_html \
diff --git a/tp/TODO b/tp/TODO
index 3ce99ab82a..e709263011 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -582,24 +582,6 @@ defvr (defvar, defopt), deftypevr (deftypevar)
 deftp
 
 
-
-Missing test outputs as files in t/
-===================================
-
-output files split (node or not split) could be interesting +texi2html
-style for some tests.  However, the test suite is already too long to
-run so such additions should be done with caution.
-
-t/30sectioning.t
- two_nodes_at_the_end (split at node / TEXI2HTML for USE_NODES=0 and 
directions)
-
-t/40moresectioning.t
- more_sections_than_nodes (current is with TEXI2HTML, one with default 
USE_NODES=1 could be interesting)
-
-t/info_tests.t
- space_in_setfilename
-
-
 Misc notes
 ==========
 
diff --git a/tp/t/30sectioning.t b/tp/t/30sectioning.t
index 2d42737f55..19109808fe 100644
--- a/tp/t/30sectioning.t
+++ b/tp/t/30sectioning.t
@@ -113,6 +113,25 @@ my $two_nodes_between_chapters_text = '@node Top
 @chapter chapter c2
 ';
 
+my $two_nodes_at_the_end_text = '@node Top
+@top top
+
+@menu
+* chapter 1::
+* node after chapter 1::
+* node after chapter 2::
+@end menu
+
+@node chapter 1, node after chapter 1, Top, Top
+@chapter chapter c1
+
+@node node after chapter 1
+
+in node after chapter 1
+
+@node node after chapter 2
+';
+
 my @tests_converted = (
 ['one_subsection',
 '@subsection The subsection
@@ -226,24 +245,8 @@ Text part second.
 $two_nodes_between_chapters_text,
 {'test_split' => 'section', 'CHECK_NORMAL_MENU_STRUCTURE' => 1}],
 ['two_nodes_at_the_end',
-'@node Top
-@top top
-
-@menu
-* chapter 1::
-* node after chapter 1::
-* node after chapter 2::
-@end menu
-
-@node chapter 1, node after chapter 1, Top, Top
-@chapter chapter c1
-
-@node node after chapter 1
-
-in node after chapter 1
-
-@node node after chapter 2
-', {'test_split' => 'section'}],
+$two_nodes_at_the_end_text
+, {'test_split' => 'section'}],
 ['chapter_before_and_after_part',
 '@chapter chapter
 
@@ -1379,6 +1382,13 @@ $two_nodes_between_chapters_text,
 ['two_nodes_between_chapters_texi2html',
 $two_nodes_between_chapters_text,
 {}, {'TEXI2HTML' => 1}],
+['two_nodes_at_the_end_nodes',
+$two_nodes_at_the_end_text,
+{}, {'SPLIT' => 'node'}],
+# both for USE_NODES=0 and specific directions.
+['two_nodes_at_the_end_texi2html',
+$two_nodes_at_the_end_text,
+{}, {'TEXI2HTML' => 1}],
 );
 
 foreach my $test (@test_out_files) {
diff --git a/tp/t/40moresectioning.t b/tp/t/40moresectioning.t
index f190b7bf6b..7955ad1067 100644
--- a/tp/t/40moresectioning.t
+++ b/tp/t/40moresectioning.t
@@ -121,6 +121,48 @@ Ref to footnote anchor
 @ref{Anchor in footnote}
 ';
 
+my $more_sections_than_nodes_text = '@node Top
+@top top
+
+@menu
+* n c2::
+* n c3::
+* n c3 s1 s2::
+@end menu
+
+@chapter c1
+
+@node n c2
+@chapter c2
+
+@section s1
+
+@node n c3, n c3 s1 s2, n c2, Top
+@chapter c3
+
+@menu 
+* n c3 s 2::
+@end menu
+
+@section C3 s1
+
+@node n c3 s 2
+@section c3 s2
+
+@section c3 s3
+
+@chapter c4
+
+@section c3 s1
+
+@subsection c3 s1 s1
+
+@node n c3 s1 s2,,n c3,Top
+@subsection c3 s1 s2
+
+@appendix appendix
+';
+
 my @tests_info = (
 ['character_and_spaces_in_refs',
 undef, {'test_file' => 'character_and_spaces_in_refs_text.texi'}],
@@ -161,49 +203,8 @@ $anchor_in_footnote_text
 undef, {'test_file' => 'section_in_unnumbered_text.texi'},
 ],
 ['more_sections_than_nodes',
-'@node Top
-@top top
-
-@menu
-* n c2::
-* n c3::
-* n c3 s1 s2::
-@end menu
-
-@chapter c1
-
-@node n c2
-@chapter c2
-
-@section s1
-
-@node n c3, n c3 s1 s2, n c2, Top
-@chapter c3
-
-@menu 
-* n c3 s 2::
-@end menu
-
-@section C3 s1
-
-@node n c3 s 2
-@section c3 s2
-
-@section c3 s3
-
-@chapter c4
-
-@section c3 s1
-
-@subsection c3 s1 s1
-
-@node n c3 s1 s2,,n c3,Top
-@subsection c3 s1 s2
-
-@appendix appendix
-', {},
-# to test texi2html style directions in that case
-{'TEXI2HTML' => 1}],
+$more_sections_than_nodes_text, {},
+],
 ['no_element',
 '@settitle no_element test
 @documentencoding ISO-8859-1
@@ -629,6 +630,11 @@ $anchor_in_footnote_text,
 $test_text,
 {}, {'TEXI2HTML' => 1, 'SPLIT' => 'chapter'},
 ],
+['more_sections_than_nodes_texi2html',
+$more_sections_than_nodes_text,
+# to test texi2html style directions in that case
+{}, {'TEXI2HTML' => 1},
+],
 );
 
 my %xml_tests_converted_tests = (
diff --git a/tp/t/results/moresectioning/more_sections_than_nodes.pl 
b/tp/t/results/moresectioning/more_sections_than_nodes.pl
index 87d20a2edd..6c75fd0db6 100644
--- a/tp/t/results/moresectioning/more_sections_than_nodes.pl
+++ b/tp/t/results/moresectioning/more_sections_than_nodes.pl
@@ -1606,15 +1606,11 @@ $result_converted{'html'}->{'more_sections_than_nodes'} 
= '<!DOCTYPE html>
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">
 
+<link href="#Top" rel="start" title="Top">
 <style type="text/css">
 <!--
 a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
-span.program-in-footer {font-size: smaller}
 span:hover a.copiable-link {visibility: visible}
-td.button-direction-about {text-align:center}
-td.menu-entry-description {vertical-align: top}
-td.menu-entry-destination {vertical-align: top}
-td.name-direction-about {text-align:center}
 -->
 </style>
 
@@ -1623,383 +1619,105 @@ td.name-direction-about {text-align:center}
 
 <body lang="en">
 <div class="top-level-extent" id="Top">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[ &lt; ]</td>
-<td>[<a href="#c1" title="Next section in reading order"> &gt; </a>]</td>
-<td> &nbsp; </td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
+<div class="nav-panel">
+<p>
+Next: <a href="#n-c2" accesskey="n" rel="next">c2</a> &nbsp; </p>
+</div>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="#n-c2">2 
c2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-<tr><td class="menu-entry-destination"><a href="#n-c3">3 
c3</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-<tr><td class="menu-entry-destination"><a href="#n-c3-s1-s2">4.1.2 c3 s1 
s2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
 
-<hr style="height: 6px;">
+<ul class="mini-toc">
+<li><a href="#c1" accesskey="1">c1</a></li>
+<li><a href="#n-c2" accesskey="2">c2</a></li>
+<li><a href="#n-c3" accesskey="3">c3</a></li>
+<li><a href="#c4" accesskey="4">c4</a></li>
+<li><a href="#appendix" accesskey="5">appendix</a></li>
+</ul>
 <div class="chapter-level-extent" id="c1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#Top" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#Top" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[<a href="#n-c2" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#n-c2" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="chapter"><span>1 c1<a class="copiable-link" href="#c1"> 
&para;</a></span></h1>
+<h2 class="chapter"><span>1 c1<a class="copiable-link" href="#c1"> 
&para;</a></span></h2>
 
 <hr>
 </div>
 <div class="chapter-level-extent" id="n-c2">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c1" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#c1" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[<a href="#s1" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#n-c3" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="chapter" id="c2"><span>2 c2<a class="copiable-link" href="#c2"> 
&para;</a></span></h1>
+<div class="nav-panel">
+<p>
+Next: <a href="#n-c3" accesskey="n" rel="next">c3</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">top</a> &nbsp; </p>
+</div>
+<h2 class="chapter" id="c2"><span>2 c2<a class="copiable-link" href="#c2"> 
&para;</a></span></h2>
 
-<hr>
+<ul class="mini-toc">
+<li><a href="#s1" accesskey="1">s1</a></li>
+</ul>
 <div class="section-level-extent" id="s1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c2" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#n-c2" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#n-c2" title="Up section"> Up </a>]</td>
-<td>[<a href="#n-c3" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#n-c3" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section"><span>2.1 s1<a class="copiable-link" href="#s1"> 
&para;</a></span></h2>
+<h3 class="section"><span>2.1 s1<a class="copiable-link" href="#s1"> 
&para;</a></span></h3>
 
 <hr>
 </div>
 </div>
 <div class="chapter-level-extent" id="n-c3">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c2" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#s1" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[<a href="#C3-s1" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="chapter" id="c3"><span>3 c3<a class="copiable-link" href="#c3"> 
&para;</a></span></h1>
-
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="#n-c3-s-2">3.2 c3 
s2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
+<div class="nav-panel">
+<p>
+Next: <a href="#n-c3-s1-s2" accesskey="n" rel="next">c3 s1 s2</a>, Previous: 
<a href="#n-c2" accesskey="p" rel="prev">c2</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
+</div>
+<h2 class="chapter" id="c3"><span>3 c3<a class="copiable-link" href="#c3"> 
&para;</a></span></h2>
 
-<hr>
+
+<ul class="mini-toc">
+<li><a href="#C3-s1" accesskey="1">C3 s1</a></li>
+<li><a href="#n-c3-s-2" accesskey="2">c3 s2</a></li>
+<li><a href="#c3-s3" accesskey="3">c3 s3</a></li>
+</ul>
 <div class="section-level-extent" id="C3-s1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#n-c3" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#n-c3" title="Up section"> Up </a>]</td>
-<td>[<a href="#n-c3-s-2" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section"><span>3.1 C3 s1<a class="copiable-link" href="#C3-s1"> 
&para;</a></span></h2>
+<h3 class="section"><span>3.1 C3 s1<a class="copiable-link" href="#C3-s1"> 
&para;</a></span></h3>
 
 <hr>
 </div>
 <div class="section-level-extent" id="n-c3-s-2">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#C3-s1" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#n-c3" title="Up section"> Up </a>]</td>
-<td>[<a href="#c3-s3" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section" id="c3-s2"><span>3.2 c3 s2<a class="copiable-link" 
href="#c3-s2"> &para;</a></span></h2>
+<div class="nav-panel">
+<p>
+Up: <a href="#n-c3" accesskey="u" rel="up">c3</a> &nbsp; </p>
+</div>
+<h3 class="section" id="c3-s2"><span>3.2 c3 s2<a class="copiable-link" 
href="#c3-s2"> &para;</a></span></h3>
 
-<hr>
 </div>
 <div class="section-level-extent" id="c3-s3">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#n-c3-s-2" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#n-c3" title="Up section"> Up </a>]</td>
-<td>[<a href="#c4" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section"><span>3.3 c3 s3<a class="copiable-link" href="#c3-s3"> 
&para;</a></span></h2>
+<h3 class="section"><span>3.3 c3 s3<a class="copiable-link" href="#c3-s3"> 
&para;</a></span></h3>
 
-<hr>
 </div>
 </div>
 <div class="chapter-level-extent" id="c4">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#c3-s3" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[<a href="#c3-s1" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="chapter"><span>4 c4<a class="copiable-link" href="#c4"> 
&para;</a></span></h1>
+<h2 class="chapter"><span>4 c4<a class="copiable-link" href="#c4"> 
&para;</a></span></h2>
 
-<hr>
+<ul class="mini-toc">
+<li><a href="#c3-s1" accesskey="1">c3 s1</a></li>
+</ul>
 <div class="section-level-extent" id="c3-s1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#c4" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#c4" title="Up section"> Up </a>]</td>
-<td>[<a href="#c3-s1-s1" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section"><span>4.1 c3 s1<a class="copiable-link" href="#c3-s1"> 
&para;</a></span></h2>
+<h3 class="section"><span>4.1 c3 s1<a class="copiable-link" href="#c3-s1"> 
&para;</a></span></h3>
 
-<hr>
+<ul class="mini-toc">
+<li><a href="#c3-s1-s1" accesskey="1">c3 s1 s1</a></li>
+<li><a href="#n-c3-s1-s2" accesskey="2">c3 s1 s2</a></li>
+</ul>
 <div class="subsection-level-extent" id="c3-s1-s1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#c3-s1" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#c3-s1" title="Up section"> Up </a>]</td>
-<td>[<a href="#n-c3-s1-s2" title="Next section in reading order"> &gt; 
</a>]</td>
-<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h3 class="subsection"><span>4.1.1 c3 s1 s1<a class="copiable-link" 
href="#c3-s1-s1"> &para;</a></span></h3>
+<h4 class="subsection"><span>4.1.1 c3 s1 s1<a class="copiable-link" 
href="#c3-s1-s1"> &para;</a></span></h4>
 
 <hr>
 </div>
 <div class="subsection-level-extent" id="n-c3-s1-s2">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#c3-s1-s1" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#c3-s1" title="Up section"> Up </a>]</td>
-<td>[<a href="#appendix" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h3 class="subsection" id="c3-s1-s2"><span>4.1.2 c3 s1 s2<a 
class="copiable-link" href="#c3-s1-s2"> &para;</a></span></h3>
+<div class="nav-panel">
+<p>
+Previous: <a href="#n-c3" accesskey="p" rel="prev">c3</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
+</div>
+<h4 class="subsection" id="c3-s1-s2"><span>4.1.2 c3 s1 s2<a 
class="copiable-link" href="#c3-s1-s2"> &para;</a></span></h4>
 
-<hr>
 </div>
 </div>
 </div>
 <div class="appendix-level-extent" id="appendix">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#n-c3-s1-s2" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[ &gt; ]</td>
-<td>[ &gt;&gt; ]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="appendix"><span>Appendix A appendix<a class="copiable-link" 
href="#appendix"> &para;</a></span></h1>
-<hr style="height: 6px;">
+<h2 class="appendix"><span>Appendix A appendix<a class="copiable-link" 
href="#appendix"> &para;</a></span></h2>
 </div>
 </div>
-<div class="element-about" id="SEC_About">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="about-heading">About This Document</h1>
-
-<p>
-  This document was generated on <em class="emph">a sunny day</em>.
-</p>
-<p>
-  The buttons in the navigation panels have the following meaning:
-</p>
-<table border="1">
-  <tr>
-    <th> Button </th>
-    <th> Name </th>
-    <th> Go to </th>
-    <th> From 1.2.3 go to</th>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ &lt;&lt; ] </td>
-    <td class="name-direction-about">FastBack</td>
-    <td>Beginning of this chapter or previous chapter</td>
-    <td>1</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ &lt; ] </td>
-    <td class="name-direction-about">Back</td>
-    <td>Previous section in reading order</td>
-    <td>1.2.2</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ Up ] </td>
-    <td class="name-direction-about">Up</td>
-    <td>Up section</td>
-    <td>1.2</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ &gt; ] </td>
-    <td class="name-direction-about">Forward</td>
-    <td>Next section in reading order</td>
-    <td>1.2.4</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ &gt;&gt; ] </td>
-    <td class="name-direction-about">FastForward</td>
-    <td>Next chapter</td>
-    <td>2</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [Top] </td>
-    <td class="name-direction-about">Top</td>
-    <td>Cover (top) of document</td>
-    <td> &nbsp; </td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [Contents] </td>
-    <td class="name-direction-about">Contents</td>
-    <td>Table of contents</td>
-    <td> &nbsp; </td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [Index] </td>
-    <td class="name-direction-about">Index</td>
-    <td>Index</td>
-    <td> &nbsp; </td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ ? ] </td>
-    <td class="name-direction-about">About</td>
-    <td>About (help)</td>
-    <td> &nbsp; </td>
-  </tr>
-</table>
 
-<p>
-  where the <strong class="strong"> Example </strong> assumes that the current 
position is at <strong class="strong"> Subsubsection One-Two-Three </strong> of 
a document of the following structure:
-</p>
-
-<ul>
-  <li> 1. Section One
-    <ul>
-      <li>1.1 Subsection One-One
-        <ul>
-          <li>...</li>
-        </ul>
-      </li>
-      <li>1.2 Subsection One-Two
-        <ul>
-          <li>1.2.1 Subsubsection One-Two-One</li>
-          <li>1.2.2 Subsubsection One-Two-Two</li>
-          <li>1.2.3 Subsubsection One-Two-Three &nbsp; &nbsp;
-            <strong>&lt;== Current Position </strong></li>
-          <li>1.2.4 Subsubsection One-Two-Four</li>
-        </ul>
-      </li>
-      <li>1.3 Subsection One-Three
-        <ul>
-          <li>...</li>
-        </ul>
-      </li>
-      <li>1.4 Subsection One-Four</li>
-    </ul>
-  </li>
-</ul>
-</div><hr>
-<p>
-  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em>.</span>
-</p>
 
 
 </body>
diff --git a/tp/t/results/moresectioning/more_sections_than_nodes.pl 
b/tp/t/results/moresectioning/more_sections_than_nodes_texi2html.pl
similarity index 50%
copy from tp/t/results/moresectioning/more_sections_than_nodes.pl
copy to tp/t/results/moresectioning/more_sections_than_nodes_texi2html.pl
index 87d20a2edd..d301df2f27 100644
--- a/tp/t/results/moresectioning/more_sections_than_nodes.pl
+++ b/tp/t/results/moresectioning/more_sections_than_nodes_texi2html.pl
@@ -5,7 +5,7 @@ use vars qw(%result_texis %result_texts %result_trees 
%result_errors
 
 use utf8;
 
-$result_trees{'more_sections_than_nodes'} = {
+$result_trees{'more_sections_than_nodes_texi2html'} = {
   'contents' => [
     {
       'type' => 'before_node_section'
@@ -1025,17 +1025,17 @@ $result_trees{'more_sections_than_nodes'} = {
   ],
   'type' => 'document_root'
 };
-$result_trees{'more_sections_than_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
-$result_trees{'more_sections_than_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0];
-$result_trees{'more_sections_than_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'contents'}[0];
-$result_trees{'more_sections_than_nodes'}{'contents'}[7]{'args'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes'}{'contents'}[7]{'args'}[1]{'contents'}[0];
-$result_trees{'more_sections_than_nodes'}{'contents'}[7]{'args'}[2]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes'}{'contents'}[7]{'args'}[2]{'contents'}[0];
-$result_trees{'more_sections_than_nodes'}{'contents'}[7]{'args'}[3]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes'}{'contents'}[7]{'args'}[3]{'contents'}[0];
-$result_trees{'more_sections_than_nodes'}{'contents'}[8]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes'}{'contents'}[8]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
-$result_trees{'more_sections_than_nodes'}{'contents'}[16]{'args'}[2]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes'}{'contents'}[16]{'args'}[2]{'contents'}[0];
-$result_trees{'more_sections_than_nodes'}{'contents'}[16]{'args'}[3]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes'}{'contents'}[16]{'args'}[3]{'contents'}[0];
-
-$result_texis{'more_sections_than_nodes'} = '@node Top
+$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'contents'}[0];
+$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[7]{'args'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[7]{'args'}[1]{'contents'}[0];
+$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[7]{'args'}[2]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[7]{'args'}[2]{'contents'}[0];
+$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[7]{'args'}[3]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[7]{'args'}[3]{'contents'}[0];
+$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[8]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[8]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[16]{'args'}[2]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[16]{'args'}[2]{'contents'}[0];
+$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[16]{'args'}[3]{'extra'}{'node_content'}[0]
 = 
$result_trees{'more_sections_than_nodes_texi2html'}{'contents'}[16]{'args'}[3]{'contents'}[0];
+
+$result_texis{'more_sections_than_nodes_texi2html'} = '@node Top
 @top top
 
 @menu
@@ -1078,7 +1078,7 @@ $result_texis{'more_sections_than_nodes'} = '@node Top
 ';
 
 
-$result_texts{'more_sections_than_nodes'} = 'top
+$result_texts{'more_sections_than_nodes_texi2html'} = 'top
 ***
 
 * n c2::
@@ -1124,7 +1124,7 @@ Appendix A appendix
 *******************
 ';
 
-$result_sectioning{'more_sections_than_nodes'} = {
+$result_sectioning{'more_sections_than_nodes_texi2html'} = {
   'structure' => {
     'section_childs' => [
       {
@@ -1306,38 +1306,38 @@ $result_sectioning{'more_sections_than_nodes'} = {
     'section_level' => -1
   }
 };
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[1]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[2]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[1];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[2]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[4]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[4]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[4]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[4]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0];
-$result_sectioning{'more_sections_than_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = $result_sectioning{'more_sections_than_nodes'};
-
-$result_nodes{'more_sections_than_nodes'} = {
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[1]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[2]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[1];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_childs'}[2]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[4]{'structure'}{'section_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[4]{'structure'}{'section_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[4]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[3];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[4]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'more_sections_than_nodes_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = $result_sectioning{'more_sections_than_nodes_texi2html'};
+
+$result_nodes{'more_sections_than_nodes_texi2html'} = {
   'cmdname' => 'node',
   'extra' => {
     'associated_section' => {
@@ -1428,16 +1428,16 @@ $result_nodes{'more_sections_than_nodes'} = {
     'node_next' => {}
   }
 };
-$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'menu_child'}{'structure'}{'node_up'}
 = 
$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'};
-$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
 = 
$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'};
-$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_up'}
 = $result_nodes{'more_sections_than_nodes'};
-$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
 = $result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'};
-$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_up'}
 = $result_nodes{'more_sections_than_nodes'};
-$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_prev'}
 = $result_nodes{'more_sections_than_nodes'};
-$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_up'}
 = $result_nodes{'more_sections_than_nodes'};
-$result_nodes{'more_sections_than_nodes'}{'structure'}{'node_next'} = 
$result_nodes{'more_sections_than_nodes'}{'structure'}{'menu_child'};
-
-$result_menus{'more_sections_than_nodes'} = {
+$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'menu_child'}{'structure'}{'node_up'}
 = 
$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'};
+$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
 = 
$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'};
+$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_up'}
 = $result_nodes{'more_sections_than_nodes_texi2html'};
+$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
 = 
$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'};
+$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_up'}
 = $result_nodes{'more_sections_than_nodes_texi2html'};
+$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_prev'}
 = $result_nodes{'more_sections_than_nodes_texi2html'};
+$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_up'}
 = $result_nodes{'more_sections_than_nodes_texi2html'};
+$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'node_next'} 
= 
$result_nodes{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'};
+
+$result_menus{'more_sections_than_nodes_texi2html'} = {
   'cmdname' => 'node',
   'extra' => {
     'normalized' => 'Top'
@@ -1495,571 +1495,17 @@ $result_menus{'more_sections_than_nodes'} = {
     }
   }
 };
-$result_menus{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_child'}{'structure'}{'menu_up'}
 = 
$result_menus{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'};
-$result_menus{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'}
 = 
$result_menus{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'};
-$result_menus{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_up'}
 = $result_menus{'more_sections_than_nodes'};
-$result_menus{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'}
 = $result_menus{'more_sections_than_nodes'}{'structure'}{'menu_child'};
-$result_menus{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_up'}
 = $result_menus{'more_sections_than_nodes'};
-$result_menus{'more_sections_than_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_up'}
 = $result_menus{'more_sections_than_nodes'};
-
-$result_errors{'more_sections_than_nodes'} = [];
-
-
-$result_floats{'more_sections_than_nodes'} = {};
-
-
-
-$result_converted{'info'}->{'more_sections_than_nodes'} = 'This is , produced 
from .
-
-
-File: ,  Node: Top,  Next: n c2,  Up: (dir)
-
-top
-***
-
-* Menu:
-
-* n c2::
-* n c3::
-* n c3 s1 s2::
-
-1 c1
-****
-
-
-File: ,  Node: n c2,  Next: n c3,  Prev: Top,  Up: Top
-
-2 c2
-****
-
-2.1 s1
-======
-
-
-File: ,  Node: n c3,  Next: n c3 s1 s2,  Prev: n c2,  Up: Top
-
-3 c3
-****
-
-* Menu:
-
-* n c3 s 2::
-
-3.1 C3 s1
-=========
-
-
-File: ,  Node: n c3 s 2,  Up: n c3
-
-3.2 c3 s2
-=========
-
-3.3 c3 s3
-=========
-
-4 c4
-****
-
-4.1 c3 s1
-=========
-
-4.1.1 c3 s1 s1
---------------
-
-
-File: ,  Node: n c3 s1 s2,  Prev: n c3,  Up: Top
-
-4.1.2 c3 s1 s2
---------------
-
-Appendix A appendix
-*******************
-
-
-
-Tag Table:
-Node: Top27
-Node: n c2137
-Node: n c3221
-Node: n c3 s 2341
-Node: n c3 s1 s2484
-
-End Tag Table
-
-
-Local Variables:
-coding: utf-8
-End:
-';
-
-
-$result_converted{'html'}->{'more_sections_than_nodes'} = '<!DOCTYPE html>
-<html>
-<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>top</title>
-
-<meta name="description" content="top">
-<meta name="keywords" content="top">
-<meta name="resource-type" content="document">
-<meta name="distribution" content="global">
-<meta name="viewport" content="width=device-width,initial-scale=1">
-
-<style type="text/css">
-<!--
-a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
-span.program-in-footer {font-size: smaller}
-span:hover a.copiable-link {visibility: visible}
-td.button-direction-about {text-align:center}
-td.menu-entry-description {vertical-align: top}
-td.menu-entry-destination {vertical-align: top}
-td.name-direction-about {text-align:center}
--->
-</style>
-
-
-</head>
-
-<body lang="en">
-<div class="top-level-extent" id="Top">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[ &lt; ]</td>
-<td>[<a href="#c1" title="Next section in reading order"> &gt; </a>]</td>
-<td> &nbsp; </td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
-
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="#n-c2">2 
c2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-<tr><td class="menu-entry-destination"><a href="#n-c3">3 
c3</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-<tr><td class="menu-entry-destination"><a href="#n-c3-s1-s2">4.1.2 c3 s1 
s2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
-
-<hr style="height: 6px;">
-<div class="chapter-level-extent" id="c1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#Top" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#Top" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[<a href="#n-c2" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#n-c2" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="chapter"><span>1 c1<a class="copiable-link" href="#c1"> 
&para;</a></span></h1>
-
-<hr>
-</div>
-<div class="chapter-level-extent" id="n-c2">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c1" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#c1" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[<a href="#s1" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#n-c3" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="chapter" id="c2"><span>2 c2<a class="copiable-link" href="#c2"> 
&para;</a></span></h1>
-
-<hr>
-<div class="section-level-extent" id="s1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c2" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#n-c2" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#n-c2" title="Up section"> Up </a>]</td>
-<td>[<a href="#n-c3" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#n-c3" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section"><span>2.1 s1<a class="copiable-link" href="#s1"> 
&para;</a></span></h2>
-
-<hr>
-</div>
-</div>
-<div class="chapter-level-extent" id="n-c3">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c2" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#s1" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[<a href="#C3-s1" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="chapter" id="c3"><span>3 c3<a class="copiable-link" href="#c3"> 
&para;</a></span></h1>
-
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="#n-c3-s-2">3.2 c3 
s2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
-
-<hr>
-<div class="section-level-extent" id="C3-s1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#n-c3" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#n-c3" title="Up section"> Up </a>]</td>
-<td>[<a href="#n-c3-s-2" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section"><span>3.1 C3 s1<a class="copiable-link" href="#C3-s1"> 
&para;</a></span></h2>
+$result_menus{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_child'}{'structure'}{'menu_up'}
 = 
$result_menus{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'};
+$result_menus{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'}
 = 
$result_menus{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'};
+$result_menus{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_up'}
 = $result_menus{'more_sections_than_nodes_texi2html'};
+$result_menus{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'}
 = 
$result_menus{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'};
+$result_menus{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_up'}
 = $result_menus{'more_sections_than_nodes_texi2html'};
+$result_menus{'more_sections_than_nodes_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_up'}
 = $result_menus{'more_sections_than_nodes_texi2html'};
 
-<hr>
-</div>
-<div class="section-level-extent" id="n-c3-s-2">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#C3-s1" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#n-c3" title="Up section"> Up </a>]</td>
-<td>[<a href="#c3-s3" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section" id="c3-s2"><span>3.2 c3 s2<a class="copiable-link" 
href="#c3-s2"> &para;</a></span></h2>
+$result_errors{'more_sections_than_nodes_texi2html'} = [];
 
-<hr>
-</div>
-<div class="section-level-extent" id="c3-s3">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#n-c3-s-2" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#n-c3" title="Up section"> Up </a>]</td>
-<td>[<a href="#c4" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section"><span>3.3 c3 s3<a class="copiable-link" href="#c3-s3"> 
&para;</a></span></h2>
 
-<hr>
-</div>
-</div>
-<div class="chapter-level-extent" id="c4">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#c3-s3" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[<a href="#c3-s1" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="chapter"><span>4 c4<a class="copiable-link" href="#c4"> 
&para;</a></span></h1>
+$result_floats{'more_sections_than_nodes_texi2html'} = {};
 
-<hr>
-<div class="section-level-extent" id="c3-s1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#c4" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#c4" title="Up section"> Up </a>]</td>
-<td>[<a href="#c3-s1-s1" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h2 class="section"><span>4.1 c3 s1<a class="copiable-link" href="#c3-s1"> 
&para;</a></span></h2>
-
-<hr>
-<div class="subsection-level-extent" id="c3-s1-s1">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#c3-s1" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#c3-s1" title="Up section"> Up </a>]</td>
-<td>[<a href="#n-c3-s1-s2" title="Next section in reading order"> &gt; 
</a>]</td>
-<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h3 class="subsection"><span>4.1.1 c3 s1 s1<a class="copiable-link" 
href="#c3-s1-s1"> &para;</a></span></h3>
-
-<hr>
-</div>
-<div class="subsection-level-extent" id="n-c3-s1-s2">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#c3-s1-s1" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#c3-s1" title="Up section"> Up </a>]</td>
-<td>[<a href="#appendix" title="Next section in reading order"> &gt; </a>]</td>
-<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h3 class="subsection" id="c3-s1-s2"><span>4.1.2 c3 s1 s2<a 
class="copiable-link" href="#c3-s1-s2"> &para;</a></span></h3>
-
-<hr>
-</div>
-</div>
-</div>
-<div class="appendix-level-extent" id="appendix">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#n-c3-s1-s2" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
-<td>[ &gt; ]</td>
-<td>[ &gt;&gt; ]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="appendix"><span>Appendix A appendix<a class="copiable-link" 
href="#appendix"> &para;</a></span></h1>
-<hr style="height: 6px;">
-</div>
-</div>
-<div class="element-about" id="SEC_About">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
-<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
-</tr></table>
-<h1 class="about-heading">About This Document</h1>
-
-<p>
-  This document was generated on <em class="emph">a sunny day</em>.
-</p>
-<p>
-  The buttons in the navigation panels have the following meaning:
-</p>
-<table border="1">
-  <tr>
-    <th> Button </th>
-    <th> Name </th>
-    <th> Go to </th>
-    <th> From 1.2.3 go to</th>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ &lt;&lt; ] </td>
-    <td class="name-direction-about">FastBack</td>
-    <td>Beginning of this chapter or previous chapter</td>
-    <td>1</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ &lt; ] </td>
-    <td class="name-direction-about">Back</td>
-    <td>Previous section in reading order</td>
-    <td>1.2.2</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ Up ] </td>
-    <td class="name-direction-about">Up</td>
-    <td>Up section</td>
-    <td>1.2</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ &gt; ] </td>
-    <td class="name-direction-about">Forward</td>
-    <td>Next section in reading order</td>
-    <td>1.2.4</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ &gt;&gt; ] </td>
-    <td class="name-direction-about">FastForward</td>
-    <td>Next chapter</td>
-    <td>2</td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [Top] </td>
-    <td class="name-direction-about">Top</td>
-    <td>Cover (top) of document</td>
-    <td> &nbsp; </td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [Contents] </td>
-    <td class="name-direction-about">Contents</td>
-    <td>Table of contents</td>
-    <td> &nbsp; </td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [Index] </td>
-    <td class="name-direction-about">Index</td>
-    <td>Index</td>
-    <td> &nbsp; </td>
-  </tr>
-  <tr>
-    <td class="button-direction-about"> [ ? ] </td>
-    <td class="name-direction-about">About</td>
-    <td>About (help)</td>
-    <td> &nbsp; </td>
-  </tr>
-</table>
-
-<p>
-  where the <strong class="strong"> Example </strong> assumes that the current 
position is at <strong class="strong"> Subsubsection One-Two-Three </strong> of 
a document of the following structure:
-</p>
-
-<ul>
-  <li> 1. Section One
-    <ul>
-      <li>1.1 Subsection One-One
-        <ul>
-          <li>...</li>
-        </ul>
-      </li>
-      <li>1.2 Subsection One-Two
-        <ul>
-          <li>1.2.1 Subsubsection One-Two-One</li>
-          <li>1.2.2 Subsubsection One-Two-Two</li>
-          <li>1.2.3 Subsubsection One-Two-Three &nbsp; &nbsp;
-            <strong>&lt;== Current Position </strong></li>
-          <li>1.2.4 Subsubsection One-Two-Four</li>
-        </ul>
-      </li>
-      <li>1.3 Subsection One-Three
-        <ul>
-          <li>...</li>
-        </ul>
-      </li>
-      <li>1.4 Subsection One-Four</li>
-    </ul>
-  </li>
-</ul>
-</div><hr>
-<p>
-  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em>.</span>
-</p>
-
-
-</body>
-</html>
-';
-
-
-$result_converted{'xml'}->{'more_sections_than_nodes'} = '<node name="Top" 
spaces=" "><nodename>Top</nodename><nodenext automatic="on">n 
c2</nodenext></node>
-<top spaces=" "><sectiontitle>top</sectiontitle>
-
-<menu endspaces=" ">
-<menuentry><menuleadingtext>* </menuleadingtext><menunode>n 
c2</menunode><menuseparator>::</menuseparator><menudescription><pre 
xml:space="preserve">
-</pre></menudescription></menuentry><menuentry><menuleadingtext>* 
</menuleadingtext><menunode>n 
c3</menunode><menuseparator>::</menuseparator><menudescription><pre 
xml:space="preserve">
-</pre></menudescription></menuentry><menuentry><menuleadingtext>* 
</menuleadingtext><menunode>n c3 s1 
s2</menunode><menuseparator>::</menuseparator><menudescription><pre 
xml:space="preserve">
-</pre></menudescription></menuentry></menu>
-
-</top>
-<chapter spaces=" "><sectiontitle>c1</sectiontitle>
-
-</chapter>
-<node name="n-c2" spaces=" "><nodename>n c2</nodename><nodenext 
automatic="on">n c3</nodenext><nodeprev automatic="on">Top</nodeprev><nodeup 
automatic="on">Top</nodeup></node>
-<chapter spaces=" "><sectiontitle>c2</sectiontitle>
-
-<section spaces=" "><sectiontitle>s1</sectiontitle>
-
-</section>
-</chapter>
-<node name="n-c3" spaces=" "><nodename>n c3</nodename><nodenext spaces=" ">n 
c3 s1 s2</nodenext><nodeprev spaces=" ">n c2</nodeprev><nodeup spaces=" 
">Top</nodeup></node>
-<chapter spaces=" "><sectiontitle>c3</sectiontitle>
-
-<menu endspaces=" "> 
-<menuentry><menuleadingtext>* </menuleadingtext><menunode>n c3 s 
2</menunode><menuseparator>::</menuseparator><menudescription><pre 
xml:space="preserve">
-</pre></menudescription></menuentry></menu>
-
-<section spaces=" "><sectiontitle>C3 s1</sectiontitle>
-
-</section>
-<node name="n-c3-s-2" spaces=" "><nodename>n c3 s 2</nodename><nodeup 
automatic="on">n c3</nodeup></node>
-<section spaces=" "><sectiontitle>c3 s2</sectiontitle>
-
-</section>
-<section spaces=" "><sectiontitle>c3 s3</sectiontitle>
-
-</section>
-</chapter>
-<chapter spaces=" "><sectiontitle>c4</sectiontitle>
-
-<section spaces=" "><sectiontitle>c3 s1</sectiontitle>
-
-<subsection spaces=" "><sectiontitle>c3 s1 s1</sectiontitle>
-
-</subsection>
-<node name="n-c3-s1-s2" spaces=" "><nodename>n c3 s1 
s2</nodename><nodenext></nodenext><nodeprev>n 
c3</nodeprev><nodeup>Top</nodeup></node>
-<subsection spaces=" "><sectiontitle>c3 s1 s2</sectiontitle>
-
-</subsection>
-</section>
-</chapter>
-<appendix spaces=" "><sectiontitle>appendix</sectiontitle>
-</appendix>
-';
 
 1;
diff --git 
a/tp/t/results/moresectioning/more_sections_than_nodes_texi2html/res_html/more_sections_than_nodes_texi2html.html
 
b/tp/t/results/moresectioning/more_sections_than_nodes_texi2html/res_html/more_sections_than_nodes_texi2html.html
new file mode 100644
index 0000000000..121e091640
--- /dev/null
+++ 
b/tp/t/results/moresectioning/more_sections_than_nodes_texi2html/res_html/more_sections_than_nodes_texi2html.html
@@ -0,0 +1,411 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>top</title>
+
+<meta name="description" content="top">
+<meta name="keywords" content="top">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.program-in-footer {font-size: smaller}
+span:hover a.copiable-link {visibility: visible}
+td.button-direction-about {text-align:center}
+td.menu-entry-description {vertical-align: top}
+td.menu-entry-destination {vertical-align: top}
+td.name-direction-about {text-align:center}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[ &lt; ]</td>
+<td>[<a href="#c1" title="Next section in reading order"> &gt; </a>]</td>
+<td> &nbsp; </td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td class="menu-entry-destination"><a href="#n-c2">2 
c2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+<tr><td class="menu-entry-destination"><a href="#n-c3">3 
c3</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+<tr><td class="menu-entry-destination"><a href="#n-c3-s1-s2">4.1.2 c3 s1 
s2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+</table>
+
+<hr style="height: 6px;">
+<div class="chapter-level-extent" id="c1">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
+<td>[<a href="#Top" title="Previous section in reading order"> &lt; </a>]</td>
+<td>[<a href="#Top" title="Up section"> Up </a>]</td>
+<td>[<a href="#n-c2" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#n-c2" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="chapter"><span>1 c1<a class="copiable-link" href="#c1"> 
&para;</a></span></h1>
+
+<hr>
+</div>
+<div class="chapter-level-extent" id="n-c2">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#c1" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
+<td>[<a href="#c1" title="Previous section in reading order"> &lt; </a>]</td>
+<td>[<a href="#Top" title="Up section"> Up </a>]</td>
+<td>[<a href="#s1" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#n-c3" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="chapter" id="c2"><span>2 c2<a class="copiable-link" href="#c2"> 
&para;</a></span></h1>
+
+<hr>
+<div class="section-level-extent" id="s1">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#n-c2" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#n-c2" title="Previous section in reading order"> &lt; </a>]</td>
+<td>[<a href="#n-c2" title="Up section"> Up </a>]</td>
+<td>[<a href="#n-c3" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#n-c3" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h2 class="section"><span>2.1 s1<a class="copiable-link" href="#s1"> 
&para;</a></span></h2>
+
+<hr>
+</div>
+</div>
+<div class="chapter-level-extent" id="n-c3">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#n-c2" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#s1" title="Previous section in reading order"> &lt; </a>]</td>
+<td>[<a href="#Top" title="Up section"> Up </a>]</td>
+<td>[<a href="#C3-s1" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="chapter" id="c3"><span>3 c3<a class="copiable-link" href="#c3"> 
&para;</a></span></h1>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td class="menu-entry-destination"><a href="#n-c3-s-2">3.2 c3 
s2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+</table>
+
+<hr>
+<div class="section-level-extent" id="C3-s1">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#n-c3" title="Previous section in reading order"> &lt; </a>]</td>
+<td>[<a href="#n-c3" title="Up section"> Up </a>]</td>
+<td>[<a href="#n-c3-s-2" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h2 class="section"><span>3.1 C3 s1<a class="copiable-link" href="#C3-s1"> 
&para;</a></span></h2>
+
+<hr>
+</div>
+<div class="section-level-extent" id="n-c3-s-2">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#C3-s1" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#n-c3" title="Up section"> Up </a>]</td>
+<td>[<a href="#c3-s3" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h2 class="section" id="c3-s2"><span>3.2 c3 s2<a class="copiable-link" 
href="#c3-s2"> &para;</a></span></h2>
+
+<hr>
+</div>
+<div class="section-level-extent" id="c3-s3">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#n-c3-s-2" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#n-c3" title="Up section"> Up </a>]</td>
+<td>[<a href="#c4" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#c4" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h2 class="section"><span>3.3 c3 s3<a class="copiable-link" href="#c3-s3"> 
&para;</a></span></h2>
+
+<hr>
+</div>
+</div>
+<div class="chapter-level-extent" id="c4">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#n-c3" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#c3-s3" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#Top" title="Up section"> Up </a>]</td>
+<td>[<a href="#c3-s1" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="chapter"><span>4 c4<a class="copiable-link" href="#c4"> 
&para;</a></span></h1>
+
+<hr>
+<div class="section-level-extent" id="c3-s1">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
+<td>[<a href="#c4" title="Previous section in reading order"> &lt; </a>]</td>
+<td>[<a href="#c4" title="Up section"> Up </a>]</td>
+<td>[<a href="#c3-s1-s1" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h2 class="section"><span>4.1 c3 s1<a class="copiable-link" href="#c3-s1"> 
&para;</a></span></h2>
+
+<hr>
+<div class="subsection-level-extent" id="c3-s1-s1">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
+<td>[<a href="#c3-s1" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#c3-s1" title="Up section"> Up </a>]</td>
+<td>[<a href="#n-c3-s1-s2" title="Next section in reading order"> &gt; 
</a>]</td>
+<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h3 class="subsection"><span>4.1.1 c3 s1 s1<a class="copiable-link" 
href="#c3-s1-s1"> &para;</a></span></h3>
+
+<hr>
+</div>
+<div class="subsection-level-extent" id="n-c3-s1-s2">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
+<td>[<a href="#c3-s1-s1" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#c3-s1" title="Up section"> Up </a>]</td>
+<td>[<a href="#appendix" title="Next section in reading order"> &gt; </a>]</td>
+<td>[<a href="#appendix" title="Next chapter"> &gt;&gt; </a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h3 class="subsection" id="c3-s1-s2"><span>4.1.2 c3 s1 s2<a 
class="copiable-link" href="#c3-s1-s2"> &para;</a></span></h3>
+
+<hr>
+</div>
+</div>
+</div>
+<div class="appendix-level-extent" id="appendix">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#c4" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
+<td>[<a href="#n-c3-s1-s2" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#Top" title="Up section"> Up </a>]</td>
+<td>[ &gt; ]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="appendix"><span>Appendix A appendix<a class="copiable-link" 
href="#appendix"> &para;</a></span></h1>
+<hr style="height: 6px;">
+</div>
+</div>
+<div class="element-about" id="SEC_About">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="about-heading">About This Document</h1>
+
+<p>
+  This document was generated on <em class="emph">a sunny day</em>.
+</p>
+<p>
+  The buttons in the navigation panels have the following meaning:
+</p>
+<table border="1">
+  <tr>
+    <th> Button </th>
+    <th> Name </th>
+    <th> Go to </th>
+    <th> From 1.2.3 go to</th>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt;&lt; ] </td>
+    <td class="name-direction-about">FastBack</td>
+    <td>Beginning of this chapter or previous chapter</td>
+    <td>1</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt; ] </td>
+    <td class="name-direction-about">Back</td>
+    <td>Previous section in reading order</td>
+    <td>1.2.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ Up ] </td>
+    <td class="name-direction-about">Up</td>
+    <td>Up section</td>
+    <td>1.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt; ] </td>
+    <td class="name-direction-about">Forward</td>
+    <td>Next section in reading order</td>
+    <td>1.2.4</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt;&gt; ] </td>
+    <td class="name-direction-about">FastForward</td>
+    <td>Next chapter</td>
+    <td>2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Top] </td>
+    <td class="name-direction-about">Top</td>
+    <td>Cover (top) of document</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Contents] </td>
+    <td class="name-direction-about">Contents</td>
+    <td>Table of contents</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Index] </td>
+    <td class="name-direction-about">Index</td>
+    <td>Index</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ ? ] </td>
+    <td class="name-direction-about">About</td>
+    <td>About (help)</td>
+    <td> &nbsp; </td>
+  </tr>
+</table>
+
+<p>
+  where the <strong class="strong"> Example </strong> assumes that the current 
position is at <strong class="strong"> Subsubsection One-Two-Three </strong> of 
a document of the following structure:
+</p>
+
+<ul>
+  <li> 1. Section One
+    <ul>
+      <li>1.1 Subsection One-One
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.2 Subsection One-Two
+        <ul>
+          <li>1.2.1 Subsubsection One-Two-One</li>
+          <li>1.2.2 Subsubsection One-Two-Two</li>
+          <li>1.2.3 Subsubsection One-Two-Three &nbsp; &nbsp;
+            <strong>&lt;== Current Position </strong></li>
+          <li>1.2.4 Subsubsection One-Two-Four</li>
+        </ul>
+      </li>
+      <li>1.3 Subsection One-Three
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.4 Subsection One-Four</li>
+    </ul>
+  </li>
+</ul>
+</div><hr>
+<p>
+  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em>.</span>
+</p>
+
+
+</body>
+</html>
diff --git a/tp/t/results/sectioning/two_nodes_at_the_end_nodes.pl 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes.pl
new file mode 100644
index 0000000000..6d3c936420
--- /dev/null
+++ b/tp/t/results/sectioning/two_nodes_at_the_end_nodes.pl
@@ -0,0 +1,703 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors 
+   %result_indices %result_sectioning %result_nodes %result_menus
+   %result_floats %result_converted %result_converted_errors 
+   %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'two_nodes_at_the_end_nodes'} = {
+  'contents' => [
+    {
+      'type' => 'before_node_section'
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Top'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'normalized' => 'Top'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 1,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'top'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'top',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'menu',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'chapter 1'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => [
+                      {}
+                    ],
+                    'normalized' => 'chapter-1'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 5,
+                'macro' => ''
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'node after chapter 1'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => [
+                      {}
+                    ],
+                    'normalized' => 'node-after-chapter-1'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 6,
+                'macro' => ''
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'node after chapter 2'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => [
+                      {}
+                    ],
+                    'normalized' => 'node-after-chapter-2'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 7,
+                'macro' => ''
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'menu'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'menu'
+              },
+              'info' => {
+                'spaces_before_argument' => {
+                  'text' => ' '
+                }
+              },
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 8,
+                'macro' => ''
+              }
+            }
+          ],
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 4,
+            'macro' => ''
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {},
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 2,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'chapter 1'
+            }
+          ],
+          'type' => 'line_arg'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'node after chapter 1'
+            }
+          ],
+          'extra' => {
+            'node_content' => [
+              {}
+            ],
+            'normalized' => 'node-after-chapter-1'
+          },
+          'info' => {
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'type' => 'line_arg'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'Top'
+            }
+          ],
+          'extra' => {
+            'node_content' => [
+              {}
+            ],
+            'normalized' => 'Top'
+          },
+          'info' => {
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'type' => 'line_arg'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'Top'
+            }
+          ],
+          'extra' => {
+            'node_content' => [
+              {}
+            ],
+            'normalized' => 'Top'
+          },
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            },
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'normalized' => 'chapter-1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 10,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'chapter c1'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'chapter',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {},
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 11,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'node after chapter 1'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'in node after chapter 1
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'normalized' => 'node-after-chapter-1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 13,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'node after chapter 2'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'normalized' => 'node-after-chapter-2'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 17,
+        'macro' => ''
+      }
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[3]{'args'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[3]{'args'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[3]{'args'}[2]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[3]{'args'}[2]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[3]{'args'}[3]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_nodes'}{'contents'}[3]{'args'}[3]{'contents'}[0];
+
+$result_texis{'two_nodes_at_the_end_nodes'} = '@node Top
+@top top
+
+@menu
+* chapter 1::
+* node after chapter 1::
+* node after chapter 2::
+@end menu
+
+@node chapter 1, node after chapter 1, Top, Top
+@chapter chapter c1
+
+@node node after chapter 1
+
+in node after chapter 1
+
+@node node after chapter 2
+';
+
+
+$result_texts{'two_nodes_at_the_end_nodes'} = 'top
+***
+
+* chapter 1::
+* node after chapter 1::
+* node after chapter 2::
+
+1 chapter c1
+************
+
+
+in node after chapter 1
+
+';
+
+$result_sectioning{'two_nodes_at_the_end_nodes'} = {
+  'structure' => {
+    'section_childs' => [
+      {
+        'cmdname' => 'top',
+        'extra' => {
+          'associated_node' => {
+            'cmdname' => 'node',
+            'extra' => {
+              'normalized' => 'Top'
+            },
+            'structure' => {}
+          }
+        },
+        'structure' => {
+          'section_childs' => [
+            {
+              'cmdname' => 'chapter',
+              'extra' => {
+                'associated_node' => {
+                  'cmdname' => 'node',
+                  'extra' => {
+                    'normalized' => 'chapter-1'
+                  },
+                  'structure' => {}
+                }
+              },
+              'structure' => {
+                'section_level' => 1,
+                'section_number' => 1,
+                'section_up' => {},
+                'toplevel_prev' => {},
+                'toplevel_up' => {}
+              }
+            }
+          ],
+          'section_level' => 0,
+          'section_up' => {}
+        }
+      }
+    ],
+    'section_level' => -1
+  }
+};
+$result_sectioning{'two_nodes_at_the_end_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'two_nodes_at_the_end_nodes'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_at_the_end_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'two_nodes_at_the_end_nodes'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_at_the_end_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'two_nodes_at_the_end_nodes'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_at_the_end_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = $result_sectioning{'two_nodes_at_the_end_nodes'};
+
+$result_nodes{'two_nodes_at_the_end_nodes'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'associated_section' => {
+      'cmdname' => 'top',
+      'extra' => {},
+      'structure' => {}
+    },
+    'menus' => [
+      {
+        'cmdname' => 'menu'
+      }
+    ],
+    'normalized' => 'Top'
+  },
+  'structure' => {
+    'menu_child' => {
+      'cmdname' => 'node',
+      'extra' => {
+        'associated_section' => {
+          'cmdname' => 'chapter',
+          'extra' => {},
+          'structure' => {
+            'section_number' => 1
+          }
+        },
+        'normalized' => 'chapter-1'
+      },
+      'structure' => {
+        'node_next' => {
+          'cmdname' => 'node',
+          'extra' => {
+            'normalized' => 'node-after-chapter-1'
+          },
+          'structure' => {
+            'node_next' => {
+              'cmdname' => 'node',
+              'extra' => {
+                'normalized' => 'node-after-chapter-2'
+              },
+              'structure' => {
+                'node_prev' => {},
+                'node_up' => {}
+              }
+            },
+            'node_prev' => {},
+            'node_up' => {}
+          }
+        },
+        'node_prev' => {},
+        'node_up' => {}
+      }
+    },
+    'node_next' => {}
+  }
+};
+$result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
 = 
$result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'};
+$result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_up'}
 = $result_nodes{'two_nodes_at_the_end_nodes'};
+$result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
 = $result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'};
+$result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_up'}
 = $result_nodes{'two_nodes_at_the_end_nodes'};
+$result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_prev'}
 = $result_nodes{'two_nodes_at_the_end_nodes'};
+$result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'node_up'}
 = $result_nodes{'two_nodes_at_the_end_nodes'};
+$result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'node_next'} = 
$result_nodes{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'};
+
+$result_menus{'two_nodes_at_the_end_nodes'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'Top'
+  },
+  'structure' => {
+    'menu_child' => {
+      'cmdname' => 'node',
+      'extra' => {
+        'normalized' => 'chapter-1'
+      },
+      'structure' => {
+        'menu_next' => {
+          'cmdname' => 'node',
+          'extra' => {
+            'normalized' => 'node-after-chapter-1'
+          },
+          'structure' => {
+            'menu_next' => {
+              'cmdname' => 'node',
+              'extra' => {
+                'normalized' => 'node-after-chapter-2'
+              },
+              'structure' => {
+                'menu_prev' => {},
+                'menu_up' => {},
+                'menu_up_hash' => {
+                  'Top' => 1
+                }
+              }
+            },
+            'menu_prev' => {},
+            'menu_up' => {},
+            'menu_up_hash' => {
+              'Top' => 1
+            }
+          }
+        },
+        'menu_up' => {},
+        'menu_up_hash' => {
+          'Top' => 1
+        }
+      }
+    }
+  }
+};
+$result_menus{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'}
 = 
$result_menus{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'};
+$result_menus{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_up'}
 = $result_menus{'two_nodes_at_the_end_nodes'};
+$result_menus{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'}
 = $result_menus{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'};
+$result_menus{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_up'}
 = $result_menus{'two_nodes_at_the_end_nodes'};
+$result_menus{'two_nodes_at_the_end_nodes'}{'structure'}{'menu_child'}{'structure'}{'menu_up'}
 = $result_menus{'two_nodes_at_the_end_nodes'};
+
+$result_errors{'two_nodes_at_the_end_nodes'} = [];
+
+
+$result_floats{'two_nodes_at_the_end_nodes'} = {};
+
+
+1;
diff --git 
a/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/chapter-1.html 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/chapter-1.html
new file mode 100644
index 0000000000..48d4acca5b
--- /dev/null
+++ b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/chapter-1.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>chapter 1 (top)</title>
+
+<meta name="description" content="chapter 1 (top)">
+<meta name="keywords" content="chapter 1 (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="node-after-chapter-1.html" rel="next" title="node after chapter 1">
+<link href="index.html" rel="prev" title="Top">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="chapter-1">
+<div class="nav-panel">
+<p>
+Next: <a href="node-after-chapter-1.html" accesskey="n" rel="next">node after 
chapter 1</a>, Previous: <a href="index.html" accesskey="p" rel="prev">top</a>, 
Up: <a href="index.html" accesskey="u" rel="up">top</a> &nbsp; </p>
+</div>
+<hr>
+<h2 class="chapter" id="chapter-c1"><span>1 chapter c1<a class="copiable-link" 
href="#chapter-c1"> &para;</a></span></h2>
+
+</div>
+
+
+
+</body>
+</html>
diff --git 
a/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/index.html 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/index.html
new file mode 100644
index 0000000000..170b4fcef4
--- /dev/null
+++ b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/index.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Top (top)</title>
+
+<meta name="description" content="Top (top)">
+<meta name="keywords" content="Top (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="#Top" rel="start" title="Top">
+<link href="chapter-1.html" rel="next" title="chapter 1">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+Next: <a href="chapter-1.html" accesskey="n" rel="next">chapter c1</a> &nbsp; 
</p>
+</div>
+<hr>
+<h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
+
+
+<ul class="mini-toc">
+<li><a href="chapter-1.html" accesskey="1">chapter c1</a></li>
+</ul>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Next: <a href="chapter-1.html" accesskey="n" rel="next">chapter c1</a> &nbsp; 
</p>
+</div>
+
+
+
+</body>
+</html>
diff --git 
a/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-1.html
 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-1.html
new file mode 100644
index 0000000000..368c780879
--- /dev/null
+++ 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-1.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>node after chapter 1 (top)</title>
+
+<meta name="description" content="node after chapter 1 (top)">
+<meta name="keywords" content="node after chapter 1 (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="node-after-chapter-2.html" rel="next" title="node after chapter 2">
+<link href="chapter-1.html" rel="prev" title="chapter 1">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<a class="node-id" id="node-after-chapter-1"></a><div class="nav-panel">
+<p>
+Next: <a href="node-after-chapter-2.html" accesskey="n" rel="next">node after 
chapter 2</a>, Previous: <a href="chapter-1.html" accesskey="p" 
rel="prev">chapter c1</a>, Up: <a href="index.html" accesskey="u" 
rel="up">top</a> &nbsp; </p>
+</div>
+<hr>
+<h4 class="node"><span>node after chapter 1<a class="copiable-link" 
href="#node-after-chapter-1"> &para;</a></span></h4>
+
+<p>in node after chapter 1
+</p>
+
+
+
+</body>
+</html>
diff --git 
a/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-2.html
 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-2.html
new file mode 100644
index 0000000000..0c3d1ca186
--- /dev/null
+++ 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-2.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>node after chapter 2 (top)</title>
+
+<meta name="description" content="node after chapter 2 (top)">
+<meta name="keywords" content="node after chapter 2 (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="node-after-chapter-1.html" rel="prev" title="node after chapter 1">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<a class="node-id" id="node-after-chapter-2"></a><div class="nav-panel">
+<p>
+Previous: <a href="node-after-chapter-1.html" accesskey="p" rel="prev">node 
after chapter 1</a>, Up: <a href="index.html" accesskey="u" rel="up">top</a> 
&nbsp; </p>
+</div>
+<hr>
+<h4 class="node"><span>node after chapter 2<a class="copiable-link" 
href="#node-after-chapter-2"> &para;</a></span></h4>
+
+
+
+</body>
+</html>
diff --git a/tp/t/results/sectioning/two_nodes_at_the_end_texi2html.pl 
b/tp/t/results/sectioning/two_nodes_at_the_end_texi2html.pl
new file mode 100644
index 0000000000..e621732790
--- /dev/null
+++ b/tp/t/results/sectioning/two_nodes_at_the_end_texi2html.pl
@@ -0,0 +1,703 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors 
+   %result_indices %result_sectioning %result_nodes %result_menus
+   %result_floats %result_converted %result_converted_errors 
+   %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'two_nodes_at_the_end_texi2html'} = {
+  'contents' => [
+    {
+      'type' => 'before_node_section'
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Top'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'normalized' => 'Top'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 1,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'top'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'top',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'menu',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'chapter 1'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => [
+                      {}
+                    ],
+                    'normalized' => 'chapter-1'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 5,
+                'macro' => ''
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'node after chapter 1'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => [
+                      {}
+                    ],
+                    'normalized' => 'node-after-chapter-1'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 6,
+                'macro' => ''
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'text' => 'node after chapter 2'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => [
+                      {}
+                    ],
+                    'normalized' => 'node-after-chapter-2'
+                  },
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'text' => '::',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => '
+'
+                        }
+                      ],
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 7,
+                'macro' => ''
+              },
+              'type' => 'menu_entry'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'menu'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'menu'
+              },
+              'info' => {
+                'spaces_before_argument' => {
+                  'text' => ' '
+                }
+              },
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 8,
+                'macro' => ''
+              }
+            }
+          ],
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 4,
+            'macro' => ''
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {},
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 2,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'chapter 1'
+            }
+          ],
+          'type' => 'line_arg'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'node after chapter 1'
+            }
+          ],
+          'extra' => {
+            'node_content' => [
+              {}
+            ],
+            'normalized' => 'node-after-chapter-1'
+          },
+          'info' => {
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'type' => 'line_arg'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'Top'
+            }
+          ],
+          'extra' => {
+            'node_content' => [
+              {}
+            ],
+            'normalized' => 'Top'
+          },
+          'info' => {
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'type' => 'line_arg'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'Top'
+            }
+          ],
+          'extra' => {
+            'node_content' => [
+              {}
+            ],
+            'normalized' => 'Top'
+          },
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            },
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'normalized' => 'chapter-1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 10,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'chapter c1'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'chapter',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {},
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 11,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'node after chapter 1'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'in node after chapter 1
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'normalized' => 'node-after-chapter-1'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 13,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'node after chapter 2'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'normalized' => 'node-after-chapter-2'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 17,
+        'macro' => ''
+      }
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[3]{'args'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[3]{'args'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[3]{'args'}[2]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[3]{'args'}[2]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[3]{'args'}[3]{'extra'}{'node_content'}[0]
 = 
$result_trees{'two_nodes_at_the_end_texi2html'}{'contents'}[3]{'args'}[3]{'contents'}[0];
+
+$result_texis{'two_nodes_at_the_end_texi2html'} = '@node Top
+@top top
+
+@menu
+* chapter 1::
+* node after chapter 1::
+* node after chapter 2::
+@end menu
+
+@node chapter 1, node after chapter 1, Top, Top
+@chapter chapter c1
+
+@node node after chapter 1
+
+in node after chapter 1
+
+@node node after chapter 2
+';
+
+
+$result_texts{'two_nodes_at_the_end_texi2html'} = 'top
+***
+
+* chapter 1::
+* node after chapter 1::
+* node after chapter 2::
+
+1 chapter c1
+************
+
+
+in node after chapter 1
+
+';
+
+$result_sectioning{'two_nodes_at_the_end_texi2html'} = {
+  'structure' => {
+    'section_childs' => [
+      {
+        'cmdname' => 'top',
+        'extra' => {
+          'associated_node' => {
+            'cmdname' => 'node',
+            'extra' => {
+              'normalized' => 'Top'
+            },
+            'structure' => {}
+          }
+        },
+        'structure' => {
+          'section_childs' => [
+            {
+              'cmdname' => 'chapter',
+              'extra' => {
+                'associated_node' => {
+                  'cmdname' => 'node',
+                  'extra' => {
+                    'normalized' => 'chapter-1'
+                  },
+                  'structure' => {}
+                }
+              },
+              'structure' => {
+                'section_level' => 1,
+                'section_number' => 1,
+                'section_up' => {},
+                'toplevel_prev' => {},
+                'toplevel_up' => {}
+              }
+            }
+          ],
+          'section_level' => 0,
+          'section_up' => {}
+        }
+      }
+    ],
+    'section_level' => -1
+  }
+};
+$result_sectioning{'two_nodes_at_the_end_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'two_nodes_at_the_end_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_at_the_end_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'two_nodes_at_the_end_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_at_the_end_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'two_nodes_at_the_end_texi2html'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_at_the_end_texi2html'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = $result_sectioning{'two_nodes_at_the_end_texi2html'};
+
+$result_nodes{'two_nodes_at_the_end_texi2html'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'associated_section' => {
+      'cmdname' => 'top',
+      'extra' => {},
+      'structure' => {}
+    },
+    'menus' => [
+      {
+        'cmdname' => 'menu'
+      }
+    ],
+    'normalized' => 'Top'
+  },
+  'structure' => {
+    'menu_child' => {
+      'cmdname' => 'node',
+      'extra' => {
+        'associated_section' => {
+          'cmdname' => 'chapter',
+          'extra' => {},
+          'structure' => {
+            'section_number' => 1
+          }
+        },
+        'normalized' => 'chapter-1'
+      },
+      'structure' => {
+        'node_next' => {
+          'cmdname' => 'node',
+          'extra' => {
+            'normalized' => 'node-after-chapter-1'
+          },
+          'structure' => {
+            'node_next' => {
+              'cmdname' => 'node',
+              'extra' => {
+                'normalized' => 'node-after-chapter-2'
+              },
+              'structure' => {
+                'node_prev' => {},
+                'node_up' => {}
+              }
+            },
+            'node_prev' => {},
+            'node_up' => {}
+          }
+        },
+        'node_prev' => {},
+        'node_up' => {}
+      }
+    },
+    'node_next' => {}
+  }
+};
+$result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
 = 
$result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'};
+$result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_up'}
 = $result_nodes{'two_nodes_at_the_end_texi2html'};
+$result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
 = $result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'};
+$result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_up'}
 = $result_nodes{'two_nodes_at_the_end_texi2html'};
+$result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_prev'}
 = $result_nodes{'two_nodes_at_the_end_texi2html'};
+$result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'node_up'}
 = $result_nodes{'two_nodes_at_the_end_texi2html'};
+$result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'node_next'} = 
$result_nodes{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'};
+
+$result_menus{'two_nodes_at_the_end_texi2html'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'Top'
+  },
+  'structure' => {
+    'menu_child' => {
+      'cmdname' => 'node',
+      'extra' => {
+        'normalized' => 'chapter-1'
+      },
+      'structure' => {
+        'menu_next' => {
+          'cmdname' => 'node',
+          'extra' => {
+            'normalized' => 'node-after-chapter-1'
+          },
+          'structure' => {
+            'menu_next' => {
+              'cmdname' => 'node',
+              'extra' => {
+                'normalized' => 'node-after-chapter-2'
+              },
+              'structure' => {
+                'menu_prev' => {},
+                'menu_up' => {},
+                'menu_up_hash' => {
+                  'Top' => 1
+                }
+              }
+            },
+            'menu_prev' => {},
+            'menu_up' => {},
+            'menu_up_hash' => {
+              'Top' => 1
+            }
+          }
+        },
+        'menu_up' => {},
+        'menu_up_hash' => {
+          'Top' => 1
+        }
+      }
+    }
+  }
+};
+$result_menus{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'}
 = 
$result_menus{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'};
+$result_menus{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_up'}
 = $result_menus{'two_nodes_at_the_end_texi2html'};
+$result_menus{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'}
 = $result_menus{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'};
+$result_menus{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_up'}
 = $result_menus{'two_nodes_at_the_end_texi2html'};
+$result_menus{'two_nodes_at_the_end_texi2html'}{'structure'}{'menu_child'}{'structure'}{'menu_up'}
 = $result_menus{'two_nodes_at_the_end_texi2html'};
+
+$result_errors{'two_nodes_at_the_end_texi2html'} = [];
+
+
+$result_floats{'two_nodes_at_the_end_texi2html'} = {};
+
+
+1;
diff --git 
a/tp/t/results/sectioning/two_nodes_at_the_end_texi2html/res_html/two_nodes_at_the_end_texi2html.html
 
b/tp/t/results/sectioning/two_nodes_at_the_end_texi2html/res_html/two_nodes_at_the_end_texi2html.html
new file mode 100644
index 0000000000..a533311c10
--- /dev/null
+++ 
b/tp/t/results/sectioning/two_nodes_at_the_end_texi2html/res_html/two_nodes_at_the_end_texi2html.html
@@ -0,0 +1,190 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>top</title>
+
+<meta name="description" content="top">
+<meta name="keywords" content="top">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.program-in-footer {font-size: smaller}
+span:hover a.copiable-link {visibility: visible}
+td.button-direction-about {text-align:center}
+td.menu-entry-description {vertical-align: top}
+td.menu-entry-destination {vertical-align: top}
+td.name-direction-about {text-align:center}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[ &lt; ]</td>
+<td>[<a href="#chapter-1" title="Next section in reading order"> &gt; 
</a>]</td>
+<td> &nbsp; </td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td class="menu-entry-destination"><a href="#chapter-1">1 chapter 
c1</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+<tr><td class="menu-entry-destination">&bull; <a 
href="#node-after-chapter-1">node after chapter 
1</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+<tr><td class="menu-entry-destination">&bull; <a 
href="#node-after-chapter-2">node after chapter 
2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
+</table>
+
+<hr style="height: 6px;">
+<div class="chapter-level-extent" id="chapter-1">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
+<td>[<a href="#Top" title="Previous section in reading order"> &lt; </a>]</td>
+<td>[<a href="#Top" title="Up section"> Up </a>]</td>
+<td>[ &gt; ]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="chapter" id="chapter-c1"><span>1 chapter c1<a class="copiable-link" 
href="#chapter-c1"> &para;</a></span></h1>
+
+<a class="node" id="node-after-chapter-1"></a>
+<p>in node after chapter 1
+</p>
+<a class="node" id="node-after-chapter-2"></a><hr style="height: 6px;">
+</div>
+</div>
+<div class="element-about" id="SEC_About">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="about-heading">About This Document</h1>
+
+<p>
+  This document was generated on <em class="emph">a sunny day</em>.
+</p>
+<p>
+  The buttons in the navigation panels have the following meaning:
+</p>
+<table border="1">
+  <tr>
+    <th> Button </th>
+    <th> Name </th>
+    <th> Go to </th>
+    <th> From 1.2.3 go to</th>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt;&lt; ] </td>
+    <td class="name-direction-about">FastBack</td>
+    <td>Beginning of this chapter or previous chapter</td>
+    <td>1</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt; ] </td>
+    <td class="name-direction-about">Back</td>
+    <td>Previous section in reading order</td>
+    <td>1.2.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ Up ] </td>
+    <td class="name-direction-about">Up</td>
+    <td>Up section</td>
+    <td>1.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt; ] </td>
+    <td class="name-direction-about">Forward</td>
+    <td>Next section in reading order</td>
+    <td>1.2.4</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt;&gt; ] </td>
+    <td class="name-direction-about">FastForward</td>
+    <td>Next chapter</td>
+    <td>2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Top] </td>
+    <td class="name-direction-about">Top</td>
+    <td>Cover (top) of document</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Contents] </td>
+    <td class="name-direction-about">Contents</td>
+    <td>Table of contents</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Index] </td>
+    <td class="name-direction-about">Index</td>
+    <td>Index</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ ? ] </td>
+    <td class="name-direction-about">About</td>
+    <td>About (help)</td>
+    <td> &nbsp; </td>
+  </tr>
+</table>
+
+<p>
+  where the <strong class="strong"> Example </strong> assumes that the current 
position is at <strong class="strong"> Subsubsection One-Two-Three </strong> of 
a document of the following structure:
+</p>
+
+<ul>
+  <li> 1. Section One
+    <ul>
+      <li>1.1 Subsection One-One
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.2 Subsection One-Two
+        <ul>
+          <li>1.2.1 Subsubsection One-Two-One</li>
+          <li>1.2.2 Subsubsection One-Two-Two</li>
+          <li>1.2.3 Subsubsection One-Two-Three &nbsp; &nbsp;
+            <strong>&lt;== Current Position </strong></li>
+          <li>1.2.4 Subsubsection One-Two-Four</li>
+        </ul>
+      </li>
+      <li>1.3 Subsection One-Three
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.4 Subsection One-Four</li>
+    </ul>
+  </li>
+</ul>
+</div><hr>
+<p>
+  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em>.</span>
+</p>
+
+
+</body>
+</html>



reply via email to

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