[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp texi2any.pl Texinfo/Structuring.pm T...
From: |
Patrice Dumas |
Subject: |
texinfo/tp texi2any.pl Texinfo/Structuring.pm T... |
Date: |
Tue, 30 Aug 2011 22:26:47 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/08/30 22:26:47
Modified files:
tp : texi2any.pl
tp/Texinfo : Structuring.pm
tp/Texinfo/Convert: HTML.pm XML.pm
tp/t : 30sectioning.t test_utils.pl
tp/t/results/sectioning: space_in_node.pl
Added files:
tp/t/results/sectioning: contents_in_html_text.pl
sectioning_part_appendix.pl
two_nodes_at_the_end.pl
two_nodes_between_chapters.pl
Log message:
HTML: handle @*contents when called as convert() and not output().
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/texi2any.pl?cvsroot=texinfo&r1=1.54&r2=1.55
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Structuring.pm?cvsroot=texinfo&r1=1.79&r2=1.80
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/HTML.pm?cvsroot=texinfo&r1=1.139&r2=1.140
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/XML.pm?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/30sectioning.t?cvsroot=texinfo&r1=1.51&r2=1.52
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/test_utils.pl?cvsroot=texinfo&r1=1.93&r2=1.94
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/space_in_node.pl?cvsroot=texinfo&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/contents_in_html_text.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/sectioning_part_appendix.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/two_nodes_at_the_end.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/two_nodes_between_chapters.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: texi2any.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/texi2any.pl,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- texi2any.pl 27 Aug 2011 22:57:59 -0000 1.54
+++ texi2any.pl 30 Aug 2011 22:26:45 -0000 1.55
@@ -929,6 +929,8 @@
}
Texinfo::Structuring::associate_internal_references($parser);
# every format needs the sectioning structure
+ # FIXME this adjusts the level of sectioning commands. Maybe should be
+ # done before dumping the tree?
my $structure = Texinfo::Structuring::sectioning_structure($parser, $tree);
# this can be done for every format, since information is already gathered
my $floats = $parser->floats_information();
Index: Texinfo/Structuring.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Structuring.pm,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -b -r1.79 -r1.80
--- Texinfo/Structuring.pm 21 Aug 2011 14:20:54 -0000 1.79
+++ Texinfo/Structuring.pm 30 Aug 2011 22:26:45 -0000 1.80
@@ -150,6 +150,15 @@
my $min_level = $command_structuring_level{'top'};
my $max_level = $command_structuring_level{'subsubsection'};
+# sets:
+# 'level'
+# 'number'
+# 'section_childs'
+# 'section_up'
+# 'section_prev'
+# 'section_next'
+# 'toplevel_next'
+# 'toplevel_prev'
sub sectioning_structure($$)
{
my $self = shift;
Index: Texinfo/Convert/HTML.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/HTML.pm,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -b -r1.139 -r1.140
--- Texinfo/Convert/HTML.pm 27 Aug 2011 22:57:59 -0000 1.139
+++ Texinfo/Convert/HTML.pm 30 Aug 2011 22:26:45 -0000 1.140
@@ -769,8 +769,9 @@
foreach my $hash (\%BUTTONS_TEXT, \%BUTTONS_GOTO, \%BUTTONS_NAME) {
foreach my $button (keys (%$hash)) {
if (ref($hash->{$button})) {
- # FIXME put it out of document context
+ $self->_new_document_context("button $button");
$hash->{$button} = $self->convert_tree($hash->{$button});
+ pop @{$self->{'document_context'}};
}
}
}
@@ -3102,18 +3103,23 @@
my $result = '';
my $special_element
= $self->special_element($contents_command_element_name{$cmdname});
+ my $heading;
if ($special_element) {
my $id = $self->command_id($special_element);
if ($id ne '') {
$result .= "<a name=\"$id\"></a>\n";
}
- my $heading = $self->command_text($special_element);
+ $heading = $self->command_text($special_element);
+ } else {
+ # happens when called as convert() and not output()
+ #cluck "$cmdname special element not defined";
+ my $element_name = $contents_command_element_name{$cmdname};
+ $heading
+ = $self->convert_tree
($self->get_conf('SPECIAL_ELEMENTS_NAME')->{$element_name});
+ }
$result .= &{$self->{'heading_text'}}($self, $cmdname, $heading, 0)."\n";
$result .= $content . "\n";
return $result;
- } else {
- cluck "$cmdname special element not defined";
- }
}
return '';
}
Index: Texinfo/Convert/XML.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/XML.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Texinfo/Convert/XML.pm 28 Aug 2011 21:22:54 -0000 1.3
+++ Texinfo/Convert/XML.pm 30 Aug 2011 22:26:46 -0000 1.4
@@ -100,7 +100,7 @@
'error' => '&errorglyph;',
'expansion' => '&expansion;',
'arrow' => '→',
- 'click' => '<click command="arrow">',
+ 'click' => '<click command="arrow"/>',
'minus' => '−',
'point' => '&point;',
'print' => '&printglyph;',
@@ -299,7 +299,7 @@
}
foreach my $content (@{$root->{'contents'}}) {
#print STDERR " --> $content\n";
- my $output = $self->convert($content);
+ my $output = $self->_convert($content);
if ($fh) {
print $fh $output;
} else {
@@ -315,15 +315,37 @@
return $result;
}
-my @node_directions = ('Next', 'Prev', 'Up');
+sub _level_corrected_section($)
+{
+ my $root = shift;
+ my $heading_level = $root->{'level'};
+ my $command;
+ if ($heading_level ne
$Texinfo::Common::command_structuring_level{$root->{'cmdname'}}) {
+ $command
+ =
$Texinfo::Common::level_to_structuring_command{$root->{'cmdname'}}->[$heading_level];
+ } else {
+ $command = $root->{'cmdname'};
+ }
+ return $command;
+}
-sub convert($$;$);
+my @node_directions = ('Next', 'Prev', 'Up');
sub convert($$;$)
{
my $self = shift;
my $root = shift;
+ return $self->_convert($root);
+}
+
+sub _convert($$;$);
+
+sub _convert($$;$)
+{
+ my $self = shift;
+ my $root = shift;
+
if (0) {
#if (1) {
print STDERR "root\n";
@@ -348,17 +370,16 @@
}
}
if ($root->{'cmdname'}) {
-
if (defined($xml_commands_formatting{$root->{'cmdname'}})) {
if ($root->{'cmdname'} eq 'click'
and $root->{'extra'}
and defined($root->{'extra'}->{'clickstyle'})) {
- return "<click command=\"$root->{'extra'}->{'clickstyle'}\">";
+ return "<click command=\"$root->{'extra'}->{'clickstyle'}\"/>";
}
return $xml_commands_formatting{$root->{'cmdname'}};
} elsif ($xml_accent_types{$root->{'cmdname'}}) {
$result = "<accent type=\"$xml_accent_types{$root->{'cmdname'}}\">";
- $result .= $self->convert($root->{'args'}->[0])
+ $result .= $self->_convert($root->{'args'}->[0])
if ($root->{'args'} and $root->{'args'}->[0]);
$result .= '</accent>';
return $result;
@@ -379,14 +400,14 @@
. $self->xml_protect_text($root->{'extra'}->{'text_arg'})
."\"";
}
}
- return "<$command${attribute}>".$self->convert($root->{'args'}->[0])
+ return "<$command${attribute}>".$self->_convert($root->{'args'}->[0])
."</$command>\n"
} elsif ($type eq 'line') {
if ($root->{'cmdname'} eq 'node') {
$result .= "<node>\n";
$self->{'document_context'}->[-1]->{'code'}++;
$result .= "<nodename>".
- $self->convert({'contents' => $root->{'extra'}->{'node_content'}})
+ $self->_convert({'contents' =>
$root->{'extra'}->{'node_content'}})
."</nodename>\n";
my $direction_index = 0;
foreach my $direction(@node_directions) {
@@ -399,13 +420,13 @@
$attribute = ' automatic="on"';
}
if ($node_direction->{'extra'}->{'manual_content'}) {
- $node_name .= $self->convert({
+ $node_name .= $self->_convert({
'contents' => [{'text' => '('},
@{$node_direction->{'extra'}->{'manual_content'}},
{'text' => ')'}]});
}
if ($node_direction->{'extra'}->{'node_content'}) {
- $node_name .= _normalize_top_node($self->convert({
+ $node_name .= _normalize_top_node($self->_convert({
'contents' =>
$node_direction->{'extra'}->{'node_content'}}));
}
$result .= "<$element${attribute}>$node_name</$element>\n";
@@ -415,9 +436,17 @@
$result .= "</node>\n";
$self->{'document_context'}->[-1]->{'code'}--;
} elsif ($Texinfo::Common::root_commands{$root->{'cmdname'}}) {
- # FIXME
- $result = '';
- # FIXME index entry
+ my $attribute;
+ $command = _level_corrected_section($root);
+ if ($command ne $root->{'cmdname'}) {
+ $attribute = " originalcommand=\"$root->{'cmdname'}\"";
+ } else {
+ $attribute = '';
+ }
+ $result .= "<$command${attribute}>\n";
+ $result .= "<title>".
$self->_convert($root->{'args'}->[0])."</title>\n"
+ if ($root->{'args'} and $root->{'args'}->[0]);
+ # FIXME index entry + new index entries that should appear elsewhere
#} elsif {
} else {
@@ -427,7 +456,7 @@
and defined($root->{'extra'}->{'type'}->{'normalized'})) {
$attribute = "
type=\"$root->{'extra'}->{'type'}->{'normalized'}\n";
}
- return "<$command${attribute}>".$self->convert($root->{'args'}->[0])
+ return "<$command${attribute}>".$self->_convert($root->{'args'}->[0])
."</$command>\n";
}
} elsif ($type eq 'skipline' or $type eq 'noarg') {
@@ -509,7 +538,7 @@
if (defined($commands_args_style{$root->{'cmdname'}})
and
defined($commands_args_style{$root->{'cmdname'}}->[$arg_index]));
$self->{'document_context'}->[-1]->{'code'}++ if ($in_code);
- my $arg = $self->convert($root->{'args'}->[$arg_index]);
+ my $arg = $self->_convert($root->{'args'}->[$arg_index]);
if ($arg ne '') {
$result .= "<$element>$arg</$element>";
}
@@ -580,7 +609,7 @@
cluck "contents not an array($root->{'contents'}).";
}
foreach my $content (@{$root->{'contents'}}) {
- $result .= $self->convert($content);
+ $result .= $self->_convert($content);
}
}
$result = '{'.$result.'}'
@@ -594,6 +623,19 @@
if ($context_block_commands{$root->{'cmdname'}}) {
pop @{$self->{'document_context'}};
}
+ } elsif ($Texinfo::Common::root_commands{$root->{'cmdname'}}
+ and $root->{'cmdname'} ne 'node') {
+ my $command = _level_corrected_section($root);
+ if (!($root->{'section_childs'} and scalar(@{$root->{'section_childs'}}))
+ or $command eq 'top') {
+ $result .= "</$command>\n";
+ my $current = $root;
+ while ($current->{'section_up'}
+ and _level_corrected_section($current->{'section_up'}) ne 'top') {
+ $current = $current->{'section_up'};
+ $result .= '</'._level_corrected_section($current) .">\n";
+ }
+ }
}
return $result;
}
@@ -673,22 +715,12 @@
#quotation
# return "<$command>\n" . $text . "</$command>\n";
-
+# node:
# $result .= xml_close_section();
# $result .= "<node>\n";
-# $result .= "<nodename>$element->{'text'}</nodename>\n";
-# foreach my $direction('nodenext', 'nodeprev', 'nodeup')
-# {
-# if ($element->{$direction})
-# {
-# $result .=
"<${direction}>$element->{$direction}->{'text'}</${direction}>\n";
-# }
-# }
-# $result .= "</node>\n";
#
-# xml_element_tag = $element->{'tag_level'}
+# section:
# $result .= xml_close_section();
-# $result .=
"<".xml_element_tag($element).">\n<title>$element->{'text'}</title>\n";
# $xml_current_section = $element;
#xml_close_section
Index: t/30sectioning.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/30sectioning.t,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- t/30sectioning.t 21 Aug 2011 13:43:53 -0000 1.51
+++ t/30sectioning.t 30 Aug 2011 22:26:46 -0000 1.52
@@ -316,7 +316,42 @@
@end menu
@node first, (manual1), (manual2) , (manual3)
-', {'test_split' => 'node'}]
+', {'test_split' => 'node'}],
+['two_nodes_between_chapters',
+'@node Top
address@hidden top
+
address@hidden
+* chapter 1::
+* node between chapters::
+* chapter 2::
address@hidden menu
+
address@hidden chapter 1, Top, node between chapters, Top
address@hidden chapter c1
+
address@hidden node between chapters
+
address@hidden chapter 2
address@hidden chapter c2
+', {'test_split' => 'section'}],
+['two_nodes_at_the_end',
+'@node Top
address@hidden top
+
address@hidden
+* chapter 1::
+* node after chapter 1::
+* node after chapter 2::
address@hidden menu
+
address@hidden chapter 1
address@hidden chapter c1
+
address@hidden node after chapter 1
+
address@hidden node after chapter 2
+', {'test_split' => 'section'}],
);
my @tests_info = (
@@ -531,7 +566,7 @@
@address@hidden://somewhere_aaa} @url{url, text} @uref{/man.cgi/1/ls,,ls}}
@bye
-', {}, {'TEST' => 1}],
+', {}, {'TEST' => 1}], # TEST => 1 triggers @today constant expansion for diffs
['double_node_anchor_float',
'@node node1
@@ -1364,7 +1399,7 @@
@node second node
@chapter a chapter
'],
-['part_before_section', #Â FIXME do HTML
+['part_before_section', # FIXME do HTML
'@part part
@section section
@@ -1402,15 +1437,54 @@
@top top
'],
+['sectioning_part_appendix',
+$test_text
+],
+['contents_in_html_text',
+'@top top
+
address@hidden Chap1
+
address@hidden Sec 1
+
address@hidden Chap2
+
address@hidden
address@hidden
+', {'test_formats' => ['html_text']}
+],
);
+my @xml_tests_converted_tests = ('section_before_part', 'chapter_before_part',
+ 'part_before_top', 'double_part', 'section_in_unnumbered_plaintext',
+ 'two_unnumbered_no_argument');
+
foreach my $test (@tests_converted) {
push @{$test->[2]->{'test_formats'}}, 'plaintext';
push @{$test->[2]->{'test_formats'}}, 'html';
+# push @{$test->[2]->{'test_formats'}}, 'xml'
+# if (grep {$_ eq $test->[0]} @xml_tests_converted_tests);
}
+
+my @xml_tests_info_tests = ('part_chapter_after_top',
+ 'part_node_chapter_after_top', 'node_part_chapter_after_top',
+ 'node_part_chapter_after_chapter', 'section_before_top',
+ 'section_node_before_part', 'chapter_node_before_and_after_part');
+
foreach my $test (@tests_info) {
push @{$test->[2]->{'test_formats'}}, 'info';
push @{$test->[2]->{'test_formats'}}, 'html';
+# push @{$test->[2]->{'test_formats'}}, 'xml'
+# if (grep {$_ eq $test->[0]} @xml_tests_info_tests);
+}
+
+my @xml_tests_cases_tests = ('part_before_section',
+'section_before_chapter', 'chapter_before_and_after_part',
+'top_part_chapter', 'section_before_top_no_node',
+'section_chapter_before_top', 'sectioning_part_appendix');
+foreach my $test (@test_cases) {
+# push @{$test->[2]->{'test_formats'}}, 'xml'
+# if (grep {$_ eq $test->[0]} @xml_tests_cases_tests);
}
our ($arg_test_case, $arg_generate, $arg_debug);
Index: t/test_utils.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/test_utils.pl,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -b -r1.93 -r1.94
--- t/test_utils.pl 16 Aug 2011 22:07:20 -0000 1.93
+++ t/test_utils.pl 30 Aug 2011 22:26:46 -0000 1.94
@@ -13,6 +13,7 @@
use Texinfo::Convert::Plaintext;
use Texinfo::Convert::Info;
use Texinfo::Convert::HTML;
+use Texinfo::Convert::XML;
use DebugTexinfo::DebugCount;
use File::Basename;
use Data::Dumper;
@@ -24,7 +25,7 @@
#use Struct::Compare;
use Getopt::Long qw(GetOptions);
-#Â FIXME Is it really useful?
+# FIXME Is it really useful?
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
@@ -45,6 +46,7 @@
'info' => \&convert_to_info,
'html' => \&convert_to_html,
'html_text' => \&convert_to_html,
+ 'xml' => \&convert_to_xml,
'debugcount' => \&debugcount,
);
@@ -52,6 +54,7 @@
'plaintext' => 'txt',
'debugcount' => 'txt',
'html_text' => 'html',
+ 'xml' => 'xml',
);
our $arg_generate;
@@ -297,6 +300,31 @@
return ($errors, $result);
}
+sub convert_to_xml($$$$$;$)
+{
+ my $self = shift;
+ my $format = shift;
+ my $tree = shift;
+ my $parser = shift;
+ my $parser_options = shift;
+ my $converter_options = shift;
+ if (!defined($converter_options)) {
+ $converter_options = {};
+ $converter_options->{'expanded_formats'} = ['xml']
+ if (!defined($parser_options->{'expanded_formats'}));
+ }
+ my $converter =
+ Texinfo::Convert::XML->converter ({'DEBUG' => $self->{'DEBUG'},
+ 'parser' => $parser,
+ 'OUTFILE' => '',
+ 'output_format' => 'xml',
+ %$converter_options });
+ my $result = $converter->convert($tree);
+ die if (!defined($result));
+ my ($errors, $error_nrs) = $converter->errors();
+ return ($errors, $result);
+}
+
sub debugcount($$$$$;$)
{
my $self = shift;
Index: t/results/sectioning/space_in_node.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/sectioning/space_in_node.pl,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
Index: t/results/sectioning/contents_in_html_text.pl
===================================================================
RCS file: t/results/sectioning/contents_in_html_text.pl
diff -N t/results/sectioning/contents_in_html_text.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/contents_in_html_text.pl 30 Aug 2011 22:26:46
-0000 1.1
@@ -0,0 +1,376 @@
+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);
+
+use utf8;
+
+$result_trees{'contents_in_html_text'} = {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'top'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Chap1'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Sec 1'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 2,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'number' => '1.1',
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Chap2'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'shortcontents',
+ 'parent' => {}
+ },
+ {
+ 'cmdname' => 'contents',
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'number' => 2,
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'contents_in_html_text'}{'contents'}[0]{'parent'} =
$result_trees{'contents_in_html_text'};
+$result_trees{'contents_in_html_text'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'contents_in_html_text'}{'contents'}[1];
+$result_trees{'contents_in_html_text'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[1]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[1]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[1]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'contents_in_html_text'}{'contents'}[1];
+$result_trees{'contents_in_html_text'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[1];
+$result_trees{'contents_in_html_text'}{'contents'}[1]{'extra'}{'misc_content'}[0]
=
$result_trees{'contents_in_html_text'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'contents_in_html_text'}{'contents'}[1]{'parent'} =
$result_trees{'contents_in_html_text'};
+$result_trees{'contents_in_html_text'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'contents_in_html_text'}{'contents'}[2];
+$result_trees{'contents_in_html_text'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[2]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[2]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[2]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'contents_in_html_text'}{'contents'}[2];
+$result_trees{'contents_in_html_text'}{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[2];
+$result_trees{'contents_in_html_text'}{'contents'}[2]{'extra'}{'misc_content'}[0]
=
$result_trees{'contents_in_html_text'}{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'contents_in_html_text'}{'contents'}[2]{'parent'} =
$result_trees{'contents_in_html_text'};
+$result_trees{'contents_in_html_text'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'contents_in_html_text'}{'contents'}[3];
+$result_trees{'contents_in_html_text'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[3]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[3]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[3]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[3]{'args'}[0]{'parent'} =
$result_trees{'contents_in_html_text'}{'contents'}[3];
+$result_trees{'contents_in_html_text'}{'contents'}[3]{'contents'}[0]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[3];
+$result_trees{'contents_in_html_text'}{'contents'}[3]{'extra'}{'misc_content'}[0]
=
$result_trees{'contents_in_html_text'}{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'contents_in_html_text'}{'contents'}[3]{'parent'} =
$result_trees{'contents_in_html_text'};
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'contents_in_html_text'}{'contents'}[4];
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[4]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[4]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[4]{'args'}[0];
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'contents_in_html_text'}{'contents'}[4];
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'contents'}[0]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[4];
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'contents'}[1]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[4];
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'contents'}[2]{'parent'}
= $result_trees{'contents_in_html_text'}{'contents'}[4];
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'extra'}{'misc_content'}[0]
=
$result_trees{'contents_in_html_text'}{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'contents_in_html_text'}{'contents'}[4]{'parent'} =
$result_trees{'contents_in_html_text'};
+
+$result_texis{'contents_in_html_text'} = '@top top
+
address@hidden Chap1
+
address@hidden Sec 1
+
address@hidden Chap2
+
address@hidden
address@hidden
+';
+
+
+$result_texts{'contents_in_html_text'} = 'top
+***
+
+1 Chap1
+*******
+
+1.1 Sec 1
+=========
+
+2 Chap2
+*******
+
+';
+
+$result_sectioning{'contents_in_html_text'} = {
+ 'level' => -1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'level' => 0,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'section',
+ 'extra' => {},
+ 'level' => 2,
+ 'number' => '1.1',
+ 'section_up' => {}
+ }
+ ],
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ },
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 2,
+ 'section_prev' => {},
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ }
+ ],
+ 'section_up' => {}
+ }
+ ]
+};
+$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
=
$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
= $result_sectioning{'contents_in_html_text'}{'section_childs'}[0];
+$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_childs'}[0]{'toplevel_prev'}
= $result_sectioning{'contents_in_html_text'}{'section_childs'}[0];
+$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_childs'}[1]{'section_prev'}
=
$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_childs'}[1]{'section_up'}
= $result_sectioning{'contents_in_html_text'}{'section_childs'}[0];
+$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_childs'}[1]{'toplevel_prev'}
=
$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'contents_in_html_text'}{'section_childs'}[0]{'section_up'}
= $result_sectioning{'contents_in_html_text'};
+
+$result_errors{'contents_in_html_text'} = [];
+
+
+
+$result_converted{'html_text'}->{'contents_in_html_text'} = '<a name="top"></a>
+<h1 class="top">top</h1>
+
+<a name="Chap1"></a>
+<h1 class="chapter">1 Chap1</h1>
+
+<a name="Sec-1"></a>
+<h2 class="section">1.1 Sec 1</h2>
+
+<a name="Chap2"></a>
+<h1 class="chapter">2 Chap2</h1>
+
+<h1>Short Table of Contents</h1>
+
+<div class="shortcontents">
+<ul class="no-bullet">
+<li><a name="stoc-Chap1" href="#Chap1">1 Chap1</a></li>
+<li><a name="stoc-Chap2" href="#Chap2">2 Chap2</a></li>
+</ul>
+</div>
+
+<h1>Table of Contents</h1>
+
+<div class="contents">
+
+<ul class="no-bullet">
+ <li><a name="toc-Chap1" href="#Chap1">1 Chap1</a>
+ <ul class="no-bullet">
+ <li><a name="toc-Sec-1" href="#Sec-1">1.1 Sec 1</a></li>
+ </ul></li>
+ <li><a name="toc-Chap2" href="#Chap2">2 Chap2</a></li>
+</ul>
+</div>
+
+<hr>
+';
+
+1;
Index: t/results/sectioning/sectioning_part_appendix.pl
===================================================================
RCS file: t/results/sectioning/sectioning_part_appendix.pl
diff -N t/results/sectioning/sectioning_part_appendix.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/sectioning_part_appendix.pl 30 Aug 2011 22:26:46
-0000 1.1
@@ -0,0 +1,837 @@
+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);
+
+use utf8;
+
+$result_trees{'sectioning_part_appendix'} = {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'top'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'chapter'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'section'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 2,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'number' => '1.1',
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'subsection'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'subsection',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 3,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'number' => '1.1.1',
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'subsubsection'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'subsubsection',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 4,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'number' => '1.1.1.1',
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'part'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'part',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'chapter in part'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'associated_part' => {},
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'number' => 2,
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'second chapter in part'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => ''
+ },
+ 'number' => 3,
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'unnumbered'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'unnumbered',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 17,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'appendix'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'appendix',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 19,
+ 'macro' => ''
+ },
+ 'number' => 'A',
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'appendixsec'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'appendixsec',
+ 'contents' => [],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 2,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 21,
+ 'macro' => ''
+ },
+ 'number' => 'A.1',
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'sectioning_part_appendix'}{'contents'}[0]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[1]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[1]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[1]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[1]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[1]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[2];
+$result_trees{'sectioning_part_appendix'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[2]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[2]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[2]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[2];
+$result_trees{'sectioning_part_appendix'}{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[2];
+$result_trees{'sectioning_part_appendix'}{'contents'}[2]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[2]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[3];
+$result_trees{'sectioning_part_appendix'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[3]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[3]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[3]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[3];
+$result_trees{'sectioning_part_appendix'}{'contents'}[3]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[3];
+$result_trees{'sectioning_part_appendix'}{'contents'}[3]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[3]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[4];
+$result_trees{'sectioning_part_appendix'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[4]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[4]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[4]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[4]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[4];
+$result_trees{'sectioning_part_appendix'}{'contents'}[4]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[4];
+$result_trees{'sectioning_part_appendix'}{'contents'}[4]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[4]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[5];
+$result_trees{'sectioning_part_appendix'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[5]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[5]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[5]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[5]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[5]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[5]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[5];
+$result_trees{'sectioning_part_appendix'}{'contents'}[5]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[5];
+$result_trees{'sectioning_part_appendix'}{'contents'}[5]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[5]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[5]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[6]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[6];
+$result_trees{'sectioning_part_appendix'}{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[6]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[6]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[6]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[6]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[6]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[6]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[6];
+$result_trees{'sectioning_part_appendix'}{'contents'}[6]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[6];
+$result_trees{'sectioning_part_appendix'}{'contents'}[6]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[6]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[6]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[7];
+$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[7]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[7]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[7]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[7];
+$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[7];
+$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'extra'}{'associated_part'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[6];
+$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[7]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[8]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[8];
+$result_trees{'sectioning_part_appendix'}{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[8]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[8]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[8]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[8]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[8]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[8]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[8];
+$result_trees{'sectioning_part_appendix'}{'contents'}[8]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[8];
+$result_trees{'sectioning_part_appendix'}{'contents'}[8]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[8]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[8]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[9]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[9];
+$result_trees{'sectioning_part_appendix'}{'contents'}[9]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[9]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[9]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[9]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[9]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[9]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[9]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[9];
+$result_trees{'sectioning_part_appendix'}{'contents'}[9]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[9];
+$result_trees{'sectioning_part_appendix'}{'contents'}[9]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[9]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[9]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[10]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[10];
+$result_trees{'sectioning_part_appendix'}{'contents'}[10]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[10]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[10]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[10]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[10]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[10]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[10]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[10];
+$result_trees{'sectioning_part_appendix'}{'contents'}[10]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[10];
+$result_trees{'sectioning_part_appendix'}{'contents'}[10]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[10]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[10]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+$result_trees{'sectioning_part_appendix'}{'contents'}[11]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[11];
+$result_trees{'sectioning_part_appendix'}{'contents'}[11]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[11]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[11]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[11]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[11]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[11]{'args'}[0];
+$result_trees{'sectioning_part_appendix'}{'contents'}[11]{'args'}[0]{'parent'}
= $result_trees{'sectioning_part_appendix'}{'contents'}[11];
+$result_trees{'sectioning_part_appendix'}{'contents'}[11]{'extra'}{'misc_content'}[0]
=
$result_trees{'sectioning_part_appendix'}{'contents'}[11]{'args'}[0]{'contents'}[1];
+$result_trees{'sectioning_part_appendix'}{'contents'}[11]{'parent'} =
$result_trees{'sectioning_part_appendix'};
+
+$result_texis{'sectioning_part_appendix'} = '@top top
+
address@hidden chapter
+
address@hidden section
+
address@hidden subsection
+
address@hidden subsubsection
+
address@hidden part
+
address@hidden chapter in part
+
address@hidden second chapter in part
+
address@hidden unnumbered
+
address@hidden appendix
+
address@hidden appendixsec
+';
+
+
+$result_texts{'sectioning_part_appendix'} = 'top
+***
+
+1 chapter
+*********
+
+1.1 section
+===========
+
+1.1.1 subsection
+----------------
+
+1.1.1.1 subsubsection
+.....................
+
+part
+****
+
+2 chapter in part
+*****************
+
+3 second chapter in part
+************************
+
+unnumbered
+**********
+
+Appendix A appendix
+*******************
+
+A.1 appendixsec
+===============
+';
+
+$result_sectioning{'sectioning_part_appendix'} = {
+ 'level' => -1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'level' => 0,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'section',
+ 'extra' => {},
+ 'level' => 2,
+ 'number' => '1.1',
+ 'section_childs' => [
+ {
+ 'cmdname' => 'subsection',
+ 'extra' => {},
+ 'level' => 3,
+ 'number' => '1.1.1',
+ 'section_childs' => [
+ {
+ 'cmdname' => 'subsubsection',
+ 'extra' => {},
+ 'level' => 4,
+ 'number' => '1.1.1.1',
+ 'section_up' => {}
+ }
+ ],
+ 'section_up' => {}
+ }
+ ],
+ 'section_up' => {}
+ }
+ ],
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ }
+ ],
+ 'section_up' => {}
+ },
+ {
+ 'cmdname' => 'part',
+ 'extra' => {
+ 'part_associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_part' => {}
+ },
+ 'level' => 1,
+ 'number' => 2,
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ }
+ },
+ 'level' => 0,
+ 'section_childs' => [
+ {},
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 3,
+ 'section_prev' => {},
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ },
+ {
+ 'cmdname' => 'unnumbered',
+ 'extra' => {},
+ 'level' => 1,
+ 'section_prev' => {},
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ },
+ {
+ 'cmdname' => 'appendix',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 'A',
+ 'section_childs' => [
+ {
+ 'cmdname' => 'appendixsec',
+ 'extra' => {},
+ 'level' => 2,
+ 'number' => 'A.1',
+ 'section_up' => {}
+ }
+ ],
+ 'section_prev' => {},
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ }
+ ],
+ 'section_prev' => {},
+ 'section_up' => {}
+ }
+ ]
+};
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
= $result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_childs'}[0]{'toplevel_prev'}
= $result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_up'}
= $result_sectioning{'sectioning_part_appendix'};
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'extra'}{'part_associated_section'}{'extra'}{'associated_part'}
= $result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'extra'}{'part_associated_section'}{'section_up'}
= $result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'extra'}{'part_associated_section'}{'toplevel_prev'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[0]
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'extra'}{'part_associated_section'};
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[1]{'section_prev'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'extra'}{'part_associated_section'};
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[1]{'section_up'}
= $result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[1]{'toplevel_prev'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'extra'}{'part_associated_section'};
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[2]{'section_prev'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[1];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[2]{'section_up'}
= $result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[2]{'toplevel_prev'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[1];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[3]{'section_childs'}[0]{'section_up'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[3];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[3]{'section_prev'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[2];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[3]{'section_up'}
= $result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[3]{'toplevel_prev'}
=
$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_childs'}[2];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_prev'}
= $result_sectioning{'sectioning_part_appendix'}{'section_childs'}[0];
+$result_sectioning{'sectioning_part_appendix'}{'section_childs'}[1]{'section_up'}
= $result_sectioning{'sectioning_part_appendix'};
+
+$result_errors{'sectioning_part_appendix'} = [];
+
+
+1;
Index: t/results/sectioning/two_nodes_at_the_end.pl
===================================================================
RCS file: t/results/sectioning/two_nodes_at_the_end.pl
diff -N t/results/sectioning/two_nodes_at_the_end.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/two_nodes_at_the_end.pl 30 Aug 2011 22:26:47
-0000 1.1
@@ -0,0 +1,1117 @@
+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);
+
+use utf8;
+
+$result_trees{'two_nodes_at_the_end'} = [
+ {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'top'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'chapter 1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_description' => {},
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'chapter-1'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'node after chapter 1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_description' => {},
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'node-after-chapter-1'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'node after chapter 2'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_description' => {},
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'node-after-chapter-2'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'menu'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'menu',
+ 'text_arg' => 'menu'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'element_command' => {},
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'chapter 1'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'chapter-1'
+ }
+ ],
+ 'normalized' => 'chapter-1'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'chapter c1'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'node after chapter 1'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'node-after-chapter-1'
+ }
+ ],
+ 'normalized' => 'node-after-chapter-1'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'node after chapter 2'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'node-after-chapter-2'
+ }
+ ],
+ 'normalized' => 'node-after-chapter-2'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'element_prev' => {},
+ 'extra' => {
+ 'element_command' => {},
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ }
+];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[0]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[2]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_description'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[1]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[2]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'extra'}{'menu_entry_description'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[1]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[2]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'extra'}{'menu_entry_description'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'parent'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'extra'}{'command'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'extra'}{'misc_content'}[0]
=
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[0];
+$result_trees{'two_nodes_at_the_end'}[0]{'extra'}{'element_command'} =
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[0]{'extra'}{'node'} =
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[0]{'extra'}{'section'} =
$result_trees{'two_nodes_at_the_end'}[0]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'extra'}{'node_content'}[0]
=
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'extra'}{'node_content'};
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'extra'}{'misc_content'}[0]
=
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'extra'}{'node_content'}[0]
=
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'extra'}{'node_content'};
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[2]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'args'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'args'}[0]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'extra'}{'node_content'}[0]
=
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'extra'}{'node_content'};
+$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[3]{'parent'} =
$result_trees{'two_nodes_at_the_end'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'element_prev'} =
$result_trees{'two_nodes_at_the_end'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'extra'}{'element_command'} =
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1];
+$result_trees{'two_nodes_at_the_end'}[1]{'extra'}{'node'} =
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[0];
+$result_trees{'two_nodes_at_the_end'}[1]{'extra'}{'section'} =
$result_trees{'two_nodes_at_the_end'}[1]{'contents'}[1];
+
+$result_texis{'two_nodes_at_the_end'} = '@node Top
address@hidden top
+
address@hidden
+* chapter 1::
+* node after chapter 1::
+* node after chapter 2::
address@hidden menu
+
address@hidden chapter 1
address@hidden chapter c1
+
address@hidden node after chapter 1
+
address@hidden node after chapter 2
+';
+
+
+$result_texts{'two_nodes_at_the_end'} = 'top
+***
+
+* chapter 1::
+* node after chapter 1::
+* node after chapter 2::
+
+1 chapter c1
+************
+
+
+';
+
+$result_sectioning{'two_nodes_at_the_end'} = {
+ 'level' => -1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+ },
+ 'level' => 0,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter-1'
+ }
+ }
+ },
+ 'level' => 1,
+ 'number' => 1,
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ }
+ ],
+ 'section_up' => {}
+ }
+ ]
+};
+$result_sectioning{'two_nodes_at_the_end'}{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
= $result_sectioning{'two_nodes_at_the_end'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_at_the_end'}{'section_childs'}[0]{'section_childs'}[0]{'toplevel_prev'}
= $result_sectioning{'two_nodes_at_the_end'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_at_the_end'}{'section_childs'}[0]{'section_up'}
= $result_sectioning{'two_nodes_at_the_end'};
+
+$result_nodes{'two_nodes_at_the_end'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'level' => 0
+ },
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 1
+ },
+ 'normalized' => 'chapter-1'
+ },
+ 'node_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-after-chapter-1'
+ },
+ 'node_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-after-chapter-2'
+ },
+ 'node_prev' => {},
+ 'node_up' => {}
+ },
+ 'node_prev' => {},
+ 'node_up' => {}
+ },
+ 'node_prev' => {},
+ 'node_up' => {}
+ },
+ 'menus' => [
+ {
+ 'cmdname' => 'menu',
+ 'extra' => {
+ 'end_command' => {
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'menu',
+ 'text_arg' => 'menu'
+ }
+ }
+ }
+ }
+ ],
+ 'node_next' => {},
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ],
+ 'top_node_up' => {}
+ },
+ 'type' => 'top_node_up'
+ }
+};
+$result_nodes{'two_nodes_at_the_end'}{'menu_child'}{'node_next'}{'node_next'}{'node_prev'}
= $result_nodes{'two_nodes_at_the_end'}{'menu_child'}{'node_next'};
+$result_nodes{'two_nodes_at_the_end'}{'menu_child'}{'node_next'}{'node_next'}{'node_up'}
= $result_nodes{'two_nodes_at_the_end'};
+$result_nodes{'two_nodes_at_the_end'}{'menu_child'}{'node_next'}{'node_prev'}
= $result_nodes{'two_nodes_at_the_end'}{'menu_child'};
+$result_nodes{'two_nodes_at_the_end'}{'menu_child'}{'node_next'}{'node_up'} =
$result_nodes{'two_nodes_at_the_end'};
+$result_nodes{'two_nodes_at_the_end'}{'menu_child'}{'node_prev'} =
$result_nodes{'two_nodes_at_the_end'};
+$result_nodes{'two_nodes_at_the_end'}{'menu_child'}{'node_up'} =
$result_nodes{'two_nodes_at_the_end'};
+$result_nodes{'two_nodes_at_the_end'}{'menus'}[0]{'extra'}{'end_command'}{'extra'}{'command'}
= $result_nodes{'two_nodes_at_the_end'}{'menus'}[0];
+$result_nodes{'two_nodes_at_the_end'}{'node_next'} =
$result_nodes{'two_nodes_at_the_end'}{'menu_child'};
+$result_nodes{'two_nodes_at_the_end'}{'node_up'}{'extra'}{'top_node_up'} =
$result_nodes{'two_nodes_at_the_end'};
+
+$result_menus{'two_nodes_at_the_end'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter-1'
+ },
+ 'menu_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-after-chapter-1'
+ },
+ 'menu_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-after-chapter-2'
+ },
+ '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'}{'menu_child'}{'menu_next'}{'menu_next'}{'menu_prev'}
= $result_menus{'two_nodes_at_the_end'}{'menu_child'}{'menu_next'};
+$result_menus{'two_nodes_at_the_end'}{'menu_child'}{'menu_next'}{'menu_next'}{'menu_up'}
= $result_menus{'two_nodes_at_the_end'};
+$result_menus{'two_nodes_at_the_end'}{'menu_child'}{'menu_next'}{'menu_prev'}
= $result_menus{'two_nodes_at_the_end'}{'menu_child'};
+$result_menus{'two_nodes_at_the_end'}{'menu_child'}{'menu_next'}{'menu_up'} =
$result_menus{'two_nodes_at_the_end'};
+$result_menus{'two_nodes_at_the_end'}{'menu_child'}{'menu_up'} =
$result_menus{'two_nodes_at_the_end'};
+
+$result_errors{'two_nodes_at_the_end'} = [];
+
+
+$result_elements{'two_nodes_at_the_end'} = [
+ {
+ 'extra' => {
+ 'directions' => {
+ 'FastForward' => {
+ 'extra' => {
+ 'directions' => {
+ 'Back' => {},
+ 'FastBack' => {},
+ 'NodeBack' => {},
+ 'NodeForward' => {},
+ 'NodeNext' => {},
+ 'NodePrev' => {},
+ 'NodeUp' => {},
+ 'This' => {},
+ 'Up' => {}
+ },
+ 'element_command' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 1
+ },
+ 'node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter-1'
+ },
+ 'menu_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-after-chapter-1'
+ },
+ 'menu_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-after-chapter-2'
+ },
+ 'menu_prev' => {},
+ 'menu_up' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {}
+ },
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ },
+ 'menu_prev' => {},
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ },
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ },
+ 'section' => {}
+ },
+ 'type' => 'element'
+ },
+ 'Forward' => {},
+ 'NodeForward' => {},
+ 'NodeNext' => {},
+ 'NodeUp' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ],
+ 'top_node_up' => {}
+ },
+ 'type' => 'external_node'
+ },
+ 'This' => {}
+ },
+ 'element_command' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'level' => 0
+ },
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ },
+ {}
+];
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Back'}
= $result_elements{'two_nodes_at_the_end'}[0];
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastBack'}
= $result_elements{'two_nodes_at_the_end'}[0];
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeBack'}
= $result_elements{'two_nodes_at_the_end'}[0];
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeForward'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeNext'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodePrev'}
= $result_elements{'two_nodes_at_the_end'}[0];
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeUp'}
= $result_elements{'two_nodes_at_the_end'}[0];
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'This'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Up'}
= $result_elements{'two_nodes_at_the_end'}[0];
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_next'}{'menu_next'}{'menu_prev'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_next'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_next'}{'menu_next'}{'menu_up'}{'menu_child'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_next'}{'menu_prev'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_next'}{'menu_up'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_next'}{'menu_next'}{'menu_up'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_up'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_next'}{'menu_next'}{'menu_up'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'section'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'element_command'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'Forward'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'NodeForward'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'NodeNext'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'NodeUp'}{'extra'}{'top_node_up'}
=
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_next'}{'menu_next'}{'menu_up'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'This'} =
$result_elements{'two_nodes_at_the_end'}[0];
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'node'} =
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_next'}{'menu_next'}{'menu_up'};
+$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'section'} =
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'element_command'};
+$result_elements{'two_nodes_at_the_end'}[1] =
$result_elements{'two_nodes_at_the_end'}[0]{'extra'}{'directions'}{'FastForward'};
+
+
+
+$result_directions_text{'two_nodes_at_the_end'} = 'element: @top top
+ FastForward: @chapter chapter c1
+ Forward: @chapter chapter c1
+ NodeForward: @chapter chapter c1
+ NodeNext: @chapter chapter c1
+ NodeUp: (dir)
+ This: @top top
+element: @chapter chapter c1
+ Back: @top top
+ FastBack: @top top
+ NodeBack: @top top
+ NodeForward: @chapter chapter c1
+ NodeNext: @chapter chapter c1
+ NodePrev: @top top
+ NodeUp: @top top
+ This: @chapter chapter c1
+ Up: @top top
+';
+
+
+$result_converted{'plaintext'}->{'two_nodes_at_the_end'} = 'top
+***
+
+* Menu:
+
+* chapter 1::
+* node after chapter 1::
+* node after chapter 2::
+
+1 chapter c1
+************
+
+';
+
+
+$result_converted{'html'}->{'two_nodes_at_the_end'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<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="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="#Top" rel="start" title="Top">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<a name="Top"></a>
+<div class="header">
+<p>
+Next: <a href="#chapter-1" accesskey="n" rel="next">chapter 1</a>, Up: <a
href="dir.html#Top" accesskey="u" rel="up">(dir)</a> </p>
+</div>
+<a name="top"></a>
+<h1 class="top">top</h1>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td align="left" valign="top">• <a href="#chapter-1"
accesskey="1">chapter 1</a>:</td><td> </td><td align="left"
valign="top">
+</td></tr>
+<tr><td align="left" valign="top">• <a href="#node-after-chapter-1"
accesskey="2">node after chapter 1</a>:</td><td> </td><td
align="left" valign="top">
+</td></tr>
+<tr><td align="left" valign="top">• <a href="#node-after-chapter-2"
accesskey="3">node after chapter 2</a>:</td><td> </td><td
align="left" valign="top">
+</td></tr>
+</table>
+
+<hr>
+<a name="chapter-1"></a>
+<div class="header">
+<p>
+Next: <a href="#node-after-chapter-1" accesskey="n" rel="next">node after
chapter 1</a>, Previous: <a href="#Top" accesskey="p" rel="previous">Top</a>,
Up: <a href="#Top" accesskey="u" rel="up">Top</a> </p>
+</div>
+<a name="chapter-c1"></a>
+<h1 class="chapter">1 chapter c1</h1>
+
+<hr>
+<a name="node-after-chapter-1"></a>
+<div class="header">
+<p>
+Next: <a href="#node-after-chapter-2" accesskey="n" rel="next">node after
chapter 2</a>, Previous: <a href="#chapter-1" accesskey="p"
rel="previous">chapter 1</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>
</p>
+</div>
+<h3 class="node-heading">node after chapter 1</h3>
+
+<hr>
+<a name="node-after-chapter-2"></a>
+<div class="header">
+<p>
+Previous: <a href="#node-after-chapter-1" accesskey="p" rel="previous">node
after chapter 1</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>
</p>
+</div>
+<h3 class="node-heading">node after chapter 2</h3>
+<hr>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
+1;
Index: t/results/sectioning/two_nodes_between_chapters.pl
===================================================================
RCS file: t/results/sectioning/two_nodes_between_chapters.pl
diff -N t/results/sectioning/two_nodes_between_chapters.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/two_nodes_between_chapters.pl 30 Aug 2011 22:26:47
-0000 1.1
@@ -0,0 +1,1334 @@
+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);
+
+use utf8;
+
+$result_trees{'two_nodes_between_chapters'} = [
+ {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'top'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'chapter 1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_description' => {},
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'chapter-1'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'node between chapters'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_description' => {},
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'node-between-chapters'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'chapter 2'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_description' => {},
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'chapter-2'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'menu'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'menu',
+ 'text_arg' => 'menu'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'element_command' => {},
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'chapter 1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'node between chapters'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'chapter-1'
+ },
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ },
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'node-between-chapters'
+ },
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'chapter-1'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'chapter c1'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'node between chapters'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'node-between-chapters'
+ }
+ ],
+ 'normalized' => 'node-between-chapters'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'element_prev' => {},
+ 'extra' => {
+ 'element_command' => {},
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'chapter 2'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'chapter-2'
+ }
+ ],
+ 'normalized' => 'chapter-2'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'chapter c2'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 16,
+ 'macro' => ''
+ },
+ 'number' => 2,
+ 'parent' => {}
+ }
+ ],
+ 'element_prev' => {},
+ 'extra' => {
+ 'element_command' => {},
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ }
+];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[0]{'parent'} =
$result_trees{'two_nodes_between_chapters'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1]{'parent'} =
$result_trees{'two_nodes_between_chapters'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[2]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_description'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[1]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[2]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'extra'}{'menu_entry_description'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[1]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[2]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'extra'}{'menu_entry_description'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[3];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'args'}[1]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[3]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'args'}[0]{'parent'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'extra'}{'command'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'contents'}[4];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'extra'}{'misc_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2]{'parent'} =
$result_trees{'two_nodes_between_chapters'}[0];
+$result_trees{'two_nodes_between_chapters'}[0]{'extra'}{'element_command'} =
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[0]{'extra'}{'node'} =
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[0]{'extra'}{'section'} =
$result_trees{'two_nodes_between_chapters'}[0]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[2]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[2];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[3]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[3];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[3]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[3];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[3]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'extra'}{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'extra'}{'node_content'};
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'extra'}{'nodes_manuals'}[1]{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'extra'}{'nodes_manuals'}[2]{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'extra'}{'nodes_manuals'}[3]{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'args'}[3]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0]{'parent'} =
$result_trees{'two_nodes_between_chapters'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'extra'}{'misc_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1]{'parent'} =
$result_trees{'two_nodes_between_chapters'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'extra'}{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'extra'}{'node_content'};
+$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[2]{'parent'} =
$result_trees{'two_nodes_between_chapters'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'element_prev'} =
$result_trees{'two_nodes_between_chapters'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'extra'}{'element_command'} =
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[1]{'extra'}{'node'} =
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[1]{'extra'}{'section'} =
$result_trees{'two_nodes_between_chapters'}[1]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'extra'}{'node_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'extra'}{'node_content'};
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0]{'parent'} =
$result_trees{'two_nodes_between_chapters'}[2];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'extra'}{'misc_content'}[0]
=
$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1]{'parent'} =
$result_trees{'two_nodes_between_chapters'}[2];
+$result_trees{'two_nodes_between_chapters'}[2]{'element_prev'} =
$result_trees{'two_nodes_between_chapters'}[1];
+$result_trees{'two_nodes_between_chapters'}[2]{'extra'}{'element_command'} =
$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1];
+$result_trees{'two_nodes_between_chapters'}[2]{'extra'}{'node'} =
$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[0];
+$result_trees{'two_nodes_between_chapters'}[2]{'extra'}{'section'} =
$result_trees{'two_nodes_between_chapters'}[2]{'contents'}[1];
+
+$result_texis{'two_nodes_between_chapters'} = '@node Top
address@hidden top
+
address@hidden
+* chapter 1::
+* node between chapters::
+* chapter 2::
address@hidden menu
+
address@hidden chapter 1, Top, node between chapters, Top
address@hidden chapter c1
+
address@hidden node between chapters
+
address@hidden chapter 2
address@hidden chapter c2
+';
+
+
+$result_texts{'two_nodes_between_chapters'} = 'top
+***
+
+* chapter 1::
+* node between chapters::
+* chapter 2::
+
+1 chapter c1
+************
+
+
+2 chapter c2
+************
+';
+
+$result_sectioning{'two_nodes_between_chapters'} = {
+ 'level' => -1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+ },
+ 'level' => 0,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter-1'
+ }
+ }
+ },
+ 'level' => 1,
+ 'number' => 1,
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ },
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter-2'
+ }
+ }
+ },
+ 'level' => 1,
+ 'number' => 2,
+ 'section_prev' => {},
+ 'section_up' => {},
+ 'toplevel_prev' => {}
+ }
+ ],
+ 'section_up' => {}
+ }
+ ]
+};
+$result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
= $result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0]{'section_childs'}[0]{'toplevel_prev'}
= $result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0]{'section_childs'}[1]{'section_prev'}
=
$result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0]{'section_childs'}[1]{'section_up'}
= $result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0];
+$result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0]{'section_childs'}[1]{'toplevel_prev'}
=
$result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'two_nodes_between_chapters'}{'section_childs'}[0]{'section_up'}
= $result_sectioning{'two_nodes_between_chapters'};
+
+$result_nodes{'two_nodes_between_chapters'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'level' => 0
+ },
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 1
+ },
+ 'normalized' => 'chapter-1'
+ },
+ 'node_next' => {},
+ 'node_prev' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-between-chapters'
+ },
+ 'node_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 2
+ },
+ 'normalized' => 'chapter-2'
+ },
+ 'node_prev' => {},
+ 'node_up' => {}
+ },
+ 'node_prev' => {},
+ 'node_up' => {}
+ },
+ 'node_up' => {}
+ },
+ 'menus' => [
+ {
+ 'cmdname' => 'menu',
+ 'extra' => {
+ 'end_command' => {
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'menu',
+ 'text_arg' => 'menu'
+ }
+ }
+ }
+ }
+ ],
+ 'node_next' => {},
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ],
+ 'top_node_up' => {}
+ },
+ 'type' => 'top_node_up'
+ }
+};
+$result_nodes{'two_nodes_between_chapters'}{'menu_child'}{'node_next'} =
$result_nodes{'two_nodes_between_chapters'};
+$result_nodes{'two_nodes_between_chapters'}{'menu_child'}{'node_prev'}{'node_next'}{'node_prev'}
= $result_nodes{'two_nodes_between_chapters'}{'menu_child'};
+$result_nodes{'two_nodes_between_chapters'}{'menu_child'}{'node_prev'}{'node_next'}{'node_up'}
= $result_nodes{'two_nodes_between_chapters'};
+$result_nodes{'two_nodes_between_chapters'}{'menu_child'}{'node_prev'}{'node_prev'}
= $result_nodes{'two_nodes_between_chapters'}{'menu_child'};
+$result_nodes{'two_nodes_between_chapters'}{'menu_child'}{'node_prev'}{'node_up'}
= $result_nodes{'two_nodes_between_chapters'};
+$result_nodes{'two_nodes_between_chapters'}{'menu_child'}{'node_up'} =
$result_nodes{'two_nodes_between_chapters'};
+$result_nodes{'two_nodes_between_chapters'}{'menus'}[0]{'extra'}{'end_command'}{'extra'}{'command'}
= $result_nodes{'two_nodes_between_chapters'}{'menus'}[0];
+$result_nodes{'two_nodes_between_chapters'}{'node_next'} =
$result_nodes{'two_nodes_between_chapters'}{'menu_child'};
+$result_nodes{'two_nodes_between_chapters'}{'node_up'}{'extra'}{'top_node_up'}
= $result_nodes{'two_nodes_between_chapters'};
+
+$result_menus{'two_nodes_between_chapters'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter-1'
+ },
+ 'menu_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-between-chapters'
+ },
+ 'menu_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter-2'
+ },
+ '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_between_chapters'}{'menu_child'}{'menu_next'}{'menu_next'}{'menu_prev'}
= $result_menus{'two_nodes_between_chapters'}{'menu_child'}{'menu_next'};
+$result_menus{'two_nodes_between_chapters'}{'menu_child'}{'menu_next'}{'menu_next'}{'menu_up'}
= $result_menus{'two_nodes_between_chapters'};
+$result_menus{'two_nodes_between_chapters'}{'menu_child'}{'menu_next'}{'menu_prev'}
= $result_menus{'two_nodes_between_chapters'}{'menu_child'};
+$result_menus{'two_nodes_between_chapters'}{'menu_child'}{'menu_next'}{'menu_up'}
= $result_menus{'two_nodes_between_chapters'};
+$result_menus{'two_nodes_between_chapters'}{'menu_child'}{'menu_up'} =
$result_menus{'two_nodes_between_chapters'};
+
+$result_errors{'two_nodes_between_chapters'} = [];
+
+
+$result_elements{'two_nodes_between_chapters'} = [
+ {
+ 'extra' => {
+ 'directions' => {
+ 'FastForward' => {
+ 'extra' => {
+ 'directions' => {
+ 'Back' => {},
+ 'FastBack' => {},
+ 'FastForward' => {
+ 'extra' => {
+ 'directions' => {
+ 'Back' => {},
+ 'FastBack' => {},
+ 'NodePrev' => {},
+ 'NodeUp' => {},
+ 'Prev' => {},
+ 'This' => {},
+ 'Up' => {}
+ },
+ 'element_command' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 2
+ },
+ 'node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter-2'
+ },
+ 'menu_prev' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-between-chapters'
+ },
+ 'menu_next' => {},
+ 'menu_prev' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter-1'
+ },
+ 'menu_next' => {},
+ 'menu_up' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {}
+ },
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ },
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ },
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ },
+ 'section' => {}
+ },
+ 'type' => 'element'
+ },
+ 'Forward' => {},
+ 'Next' => {},
+ 'NodeBack' => {},
+ 'NodeForward' => {},
+ 'NodeNext' => {},
+ 'NodePrev' => {},
+ 'NodeUp' => {},
+ 'This' => {},
+ 'Up' => {}
+ },
+ 'element_command' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 1
+ },
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ },
+ 'Forward' => {},
+ 'NodeBack' => {},
+ 'NodeForward' => {},
+ 'NodeNext' => {},
+ 'NodeUp' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ],
+ 'top_node_up' => {}
+ },
+ 'type' => 'external_node'
+ },
+ 'This' => {}
+ },
+ 'element_command' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'level' => 0
+ },
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ },
+ {},
+ {}
+];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Back'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastBack'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Back'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastBack'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodePrev'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeUp'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Prev'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'This'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Up'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_next'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_prev'}{'menu_next'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_prev'}{'menu_up'}{'menu_child'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_prev'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_up'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_prev'}{'menu_up'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_up'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_prev'}{'menu_up'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'section'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'element_command'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Forward'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Next'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeBack'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeForward'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeNext'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodePrev'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeUp'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'This'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Up'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_prev'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'section'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'element_command'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'Forward'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'NodeBack'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'NodeForward'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'NodeNext'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'NodeUp'}{'extra'}{'top_node_up'}
=
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_prev'}{'menu_up'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'This'}
= $result_elements{'two_nodes_between_chapters'}[0];
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'node'} =
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}{'menu_prev'}{'menu_prev'}{'menu_up'};
+$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'section'} =
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'element_command'};
+$result_elements{'two_nodes_between_chapters'}[1] =
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'two_nodes_between_chapters'}[2] =
$result_elements{'two_nodes_between_chapters'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastForward'};
+
+
+
+$result_directions_text{'two_nodes_between_chapters'} = 'element: @top top
+ FastForward: @chapter chapter c1
+ Forward: @chapter chapter c1
+ NodeBack: @chapter chapter c1
+ NodeForward: @chapter chapter c1
+ NodeNext: @chapter chapter c1
+ NodeUp: (dir)
+ This: @top top
+element: @chapter chapter c1
+ Back: @top top
+ FastBack: @top top
+ FastForward: @chapter chapter c2
+ Forward: @chapter chapter c2
+ Next: @chapter chapter c2
+ NodeBack: @top top
+ NodeForward: @top top
+ NodeNext: @top top
+ NodePrev: @chapter chapter c1
+ NodeUp: @top top
+ This: @chapter chapter c1
+ Up: @top top
+element: @chapter chapter c2
+ Back: @chapter chapter c1
+ FastBack: @chapter chapter c1
+ NodePrev: @chapter chapter c1
+ NodeUp: @top top
+ Prev: @chapter chapter c1
+ This: @chapter chapter c2
+ Up: @top top
+';
+
+
+$result_converted{'plaintext'}->{'two_nodes_between_chapters'} = 'top
+***
+
+* Menu:
+
+* chapter 1::
+* node between chapters::
+* chapter 2::
+
+1 chapter c1
+************
+
+2 chapter c2
+************
+
+';
+
+
+$result_converted{'html'}->{'two_nodes_between_chapters'} = '<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<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="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="#Top" rel="start" title="Top">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<a name="Top"></a>
+<div class="header">
+<p>
+Next: <a href="#chapter-1" accesskey="n" rel="next">chapter 1</a>, Up: <a
href="dir.html#Top" accesskey="u" rel="up">(dir)</a> </p>
+</div>
+<a name="top"></a>
+<h1 class="top">top</h1>
+
+<table class="menu" border="0" cellspacing="0">
+<tr><td align="left" valign="top">• <a href="#chapter-1"
accesskey="1">chapter 1</a>:</td><td> </td><td align="left"
valign="top">
+</td></tr>
+<tr><td align="left" valign="top">• <a href="#node-between-chapters"
accesskey="2">node between chapters</a>:</td><td> </td><td
align="left" valign="top">
+</td></tr>
+<tr><td align="left" valign="top">• <a href="#chapter-2"
accesskey="3">chapter 2</a>:</td><td> </td><td align="left"
valign="top">
+</td></tr>
+</table>
+
+<hr>
+<a name="chapter-1"></a>
+<div class="header">
+<p>
+Next: <a href="#Top" accesskey="n" rel="next">Top</a>, Previous: <a
href="#node-between-chapters" accesskey="p" rel="previous">node between
chapters</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> </p>
+</div>
+<a name="chapter-c1"></a>
+<h1 class="chapter">1 chapter c1</h1>
+
+<hr>
+<a name="node-between-chapters"></a>
+<div class="header">
+<p>
+Next: <a href="#chapter-2" accesskey="n" rel="next">chapter 2</a>, Previous:
<a href="#chapter-1" accesskey="p" rel="previous">chapter 1</a>, Up: <a
href="#Top" accesskey="u" rel="up">Top</a> </p>
+</div>
+<h3 class="node-heading">node between chapters</h3>
+
+<hr>
+<a name="chapter-2"></a>
+<div class="header">
+<p>
+Previous: <a href="#chapter-1" accesskey="p" rel="previous">chapter 1</a>, Up:
<a href="#Top" accesskey="u" rel="up">Top</a> </p>
+</div>
+<a name="chapter-c2"></a>
+<h1 class="chapter">2 chapter c2</h1>
+<hr>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
+1;