[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Parser.pm Texinfo/Structurin...
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Parser.pm Texinfo/Structurin... |
Date: |
Sun, 09 Sep 2012 21:59:51 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 12/09/09 21:59:51
Modified files:
tp/Texinfo : Parser.pm Structuring.pm
tp/t : 30sectioning.t
tp/t/results/misc_commands: comment_space_command_on_line.pl
tp/t/results/sectioning: part_before_top.pl
part_node_before_top.pl
Added files:
tp/t/results/sectioning: top_node_part_top.pl
Log message:
Associate @aprt to @top in elements, it is better than having part
elements.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.395&r2=1.396
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Structuring.pm?cvsroot=texinfo&r1=1.135&r2=1.136
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/30sectioning.t?cvsroot=texinfo&r1=1.83&r2=1.84
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/comment_space_command_on_line.pl?cvsroot=texinfo&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/part_before_top.pl?cvsroot=texinfo&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/part_node_before_top.pl?cvsroot=texinfo&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/top_node_part_top.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -b -r1.395 -r1.396
--- Texinfo/Parser.pm 8 Sep 2012 23:06:28 -0000 1.395
+++ Texinfo/Parser.pm 9 Sep 2012 21:59:49 -0000 1.396
@@ -3277,11 +3277,13 @@
$current->{'extra'}->{'associated_node'} = $self->{'current_node'};
}
if ($self->{'current_parts'}) {
- # no @part associated with @top, but to other sectioning commands
- if ($current->{'cmdname'} ne 'top') {
$current->{'extra'}->{'associated_part'} =
$self->{'current_parts'}->[-1];
foreach my $part (@{$self->{'current_parts'}}) {
$part->{'extra'}->{'part_associated_section'} = $current;
+ if ($current->{'cmdname'} eq 'top') {
+ $self->line_warn(sprintf($self->__(
+ "address@hidden should not be associated with
address@hidden"),
+ $part->{'cmdname'}), $part->{'line_nr'});
}
}
delete $self->{'current_parts'};
Index: Texinfo/Structuring.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Structuring.pm,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -b -r1.135 -r1.136
--- Texinfo/Structuring.pm 18 Aug 2012 23:01:56 -0000 1.135
+++ Texinfo/Structuring.pm 9 Sep 2012 21:59:50 -0000 1.136
@@ -277,7 +277,8 @@
$up = $up->{'section_up'};
}
if ($new_upper_element) {
- # In that case the root has to be updated because the first 'part'
just appeared
+ # In that case the root has to be updated because the first
+ # 'part' just appeared
$content->{'section_up'} = $sec_root;
$sec_root->{'level'} = $level - 1;
push @{$sec_root->{'section_childs'}}, $content;
@@ -860,7 +861,6 @@
return undef;
}
my $elements;
- my @pending_parts = ();
my $current = { 'type' => 'element', 'extra' => {'no_section' => 1}};
push @$elements, $current;
foreach my $content (@{$root->{'contents'}}) {
Index: t/30sectioning.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/30sectioning.t,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -b -r1.83 -r1.84
--- t/30sectioning.t 9 Aug 2012 21:11:24 -0000 1.83
+++ t/30sectioning.t 9 Sep 2012 21:59:50 -0000 1.84
@@ -1048,6 +1048,13 @@
@part part
'],
+['top_node_part_top',
+'@node Top
+
address@hidden part
+
address@hidden top
+', {'test_split' => 'section'}],
['chapter_node_before_and_after_part',
'
@node Top
@@ -1882,7 +1889,8 @@
'chapter_between_nodes', 'nodes_no_node_top_explicit_directions',
'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',
+ 'section_node_before_part', 'top_node_part_top',
+ 'chapter_node_before_and_after_part',
'more_nodes_than_sections', 'part_node_chapter_appendix',
'part_node_part_appendix', 'part_node_chapter_node_appendix',
'part_node_part_node_appendix', 'part_node_node_part_appendix',
Index: t/results/misc_commands/comment_space_command_on_line.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/comment_space_command_on_line.pl,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- t/results/misc_commands/comment_space_command_on_line.pl 8 Sep 2012
21:56:24 -0000 1.31
+++ t/results/misc_commands/comment_space_command_on_line.pl 9 Sep 2012
21:59:50 -0000 1.32
@@ -1036,7 +1036,7 @@
$result_converted{'xml'}->{'comment_space_command_on_line'} = '<settitle
spaces=" ">Settitle <spacecmd type="spc"/></settitle><!-- c settittle -->
-<node name="Top" spaces=" "><nodename>Top</nodename><nodeup
automatic="on">(dir)</nodeup></node><!-- comment @node Top -->
+<node name="Top" spaces=" "><nodename trailingspaces="
">Top</nodename><nodeup automatic="on">(dir)</nodeup></node><!-- comment @node
Top -->
<top spaces=" "><sectiontitle>top element<spacecmd type="spc"/>
</sectiontitle><!-- comment @top -->
<frenchspacing value="on" line=" on "></frenchspacing><!-- c comment
frenchspacing -->
Index: t/results/sectioning/part_before_top.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/sectioning/part_before_top.pl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- t/results/sectioning/part_before_top.pl 26 Aug 2012 23:01:00 -0000
1.14
+++ t/results/sectioning/part_before_top.pl 9 Sep 2012 21:59:50 -0000
1.15
@@ -62,17 +62,8 @@
'macro' => ''
},
'parent' => {}
- }
- ],
- 'extra' => {
- 'element_command' => {},
- 'section' => {}
- },
- 'type' => 'element'
},
{
- 'contents' => [
- {
'args' => [
{
'contents' => [
@@ -102,6 +93,7 @@
'cmdname' => 'top',
'contents' => [],
'extra' => {
+ 'associated_part' => {},
'misc_content' => [
{}
],
@@ -116,7 +108,6 @@
'parent' => {}
}
],
- 'element_prev' => {},
'extra' => {
'element_command' => {},
'section' => {}
@@ -134,19 +125,17 @@
$result_trees{'part_before_top'}[0]{'contents'}[1]{'extra'}{'misc_content'}[0]
= $result_trees{'part_before_top'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
$result_trees{'part_before_top'}[0]{'contents'}[1]{'extra'}{'spaces_after_command'}
= $result_trees{'part_before_top'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
$result_trees{'part_before_top'}[0]{'contents'}[1]{'parent'} =
$result_trees{'part_before_top'}[0];
-$result_trees{'part_before_top'}[0]{'extra'}{'element_command'} =
$result_trees{'part_before_top'}[0]{'contents'}[1];
-$result_trees{'part_before_top'}[0]{'extra'}{'section'} =
$result_trees{'part_before_top'}[0]{'contents'}[1];
-$result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'part_before_top'}[1]{'contents'}[0];
-$result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0];
-$result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0];
-$result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0];
-$result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'part_before_top'}[1]{'contents'}[0];
-$result_trees{'part_before_top'}[1]{'contents'}[0]{'extra'}{'misc_content'}[0]
= $result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1];
-$result_trees{'part_before_top'}[1]{'contents'}[0]{'extra'}{'spaces_after_command'}
= $result_trees{'part_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'part_before_top'}[1]{'contents'}[0]{'parent'} =
$result_trees{'part_before_top'}[1];
-$result_trees{'part_before_top'}[1]{'element_prev'} =
$result_trees{'part_before_top'}[0];
-$result_trees{'part_before_top'}[1]{'extra'}{'element_command'} =
$result_trees{'part_before_top'}[1]{'contents'}[0];
-$result_trees{'part_before_top'}[1]{'extra'}{'section'} =
$result_trees{'part_before_top'}[1]{'contents'}[0];
+$result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'part_before_top'}[0]{'contents'}[2];
+$result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'part_before_top'}[0]{'contents'}[2];
+$result_trees{'part_before_top'}[0]{'contents'}[2]{'extra'}{'associated_part'}
= $result_trees{'part_before_top'}[0]{'contents'}[1];
+$result_trees{'part_before_top'}[0]{'contents'}[2]{'extra'}{'misc_content'}[0]
= $result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'part_before_top'}[0]{'contents'}[2]{'extra'}{'spaces_after_command'}
= $result_trees{'part_before_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'part_before_top'}[0]{'contents'}[2]{'parent'} =
$result_trees{'part_before_top'}[0];
+$result_trees{'part_before_top'}[0]{'extra'}{'element_command'} =
$result_trees{'part_before_top'}[0]{'contents'}[2];
+$result_trees{'part_before_top'}[0]{'extra'}{'section'} =
$result_trees{'part_before_top'}[0]{'contents'}[2];
$result_texis{'part_before_top'} = '@part part
@@ -166,31 +155,37 @@
'section_childs' => [
{
'cmdname' => 'part',
- 'extra' => {},
- 'level' => 0,
- 'section_up' => {}
- },
- {
+ 'extra' => {
+ 'part_associated_section' => {
'cmdname' => 'top',
- 'extra' => {},
+ 'extra' => {
+ 'associated_part' => {}
+ },
'level' => 0,
'section_prev' => {},
'section_up' => {}
}
+ },
+ 'level' => 0,
+ 'section_up' => {}
+ },
+ {}
]
};
+$result_sectioning{'part_before_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'}{'extra'}{'associated_part'}
= $result_sectioning{'part_before_top'}{'section_childs'}[0];
+$result_sectioning{'part_before_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'}{'section_prev'}
= $result_sectioning{'part_before_top'}{'section_childs'}[0];
+$result_sectioning{'part_before_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'}{'section_up'}
= $result_sectioning{'part_before_top'};
$result_sectioning{'part_before_top'}{'section_childs'}[0]{'section_up'} =
$result_sectioning{'part_before_top'};
-$result_sectioning{'part_before_top'}{'section_childs'}[1]{'section_prev'} =
$result_sectioning{'part_before_top'}{'section_childs'}[0];
-$result_sectioning{'part_before_top'}{'section_childs'}[1]{'section_up'} =
$result_sectioning{'part_before_top'};
+$result_sectioning{'part_before_top'}{'section_childs'}[1] =
$result_sectioning{'part_before_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'};
$result_errors{'part_before_top'} = [
{
- 'error_line' => ':1: warning: No sectioning command associated with @part
+ 'error_line' => ':1: warning: @part should not be associated with @top
',
'file_name' => '',
'line_nr' => 1,
'macro' => '',
- 'text' => 'No sectioning command associated with @part',
+ 'text' => '@part should not be associated with @top',
'type' => 'warning'
}
];
@@ -200,60 +195,30 @@
{
'extra' => {
'directions' => {
- 'FastForward' => {
- 'extra' => {
- 'directions' => {
- 'Back' => {},
- 'FastBack' => {},
- 'Prev' => {},
'This' => {}
},
'element_command' => {
'cmdname' => 'top',
+ 'extra' => {
+ 'associated_part' => {
+ 'cmdname' => 'part',
'extra' => {},
'level' => 0
+ }
},
- 'section' => {}
- },
- 'type' => 'element'
- },
- 'Forward' => {},
- 'Next' => {},
- 'This' => {}
- },
- 'element_command' => {
- 'cmdname' => 'part',
- 'extra' => {},
'level' => 0
},
'section' => {}
},
'type' => 'element'
- },
- {}
+ }
];
-$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Back'}
= $result_elements{'part_before_top'}[0];
-$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastBack'}
= $result_elements{'part_before_top'}[0];
-$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Prev'}
= $result_elements{'part_before_top'}[0];
-$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'This'}
= $result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'};
-$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'section'}
=
$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'element_command'};
-$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'Forward'} =
$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'};
-$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'Next'} =
$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'};
$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'This'} =
$result_elements{'part_before_top'}[0];
$result_elements{'part_before_top'}[0]{'extra'}{'section'} =
$result_elements{'part_before_top'}[0]{'extra'}{'element_command'};
-$result_elements{'part_before_top'}[1] =
$result_elements{'part_before_top'}[0]{'extra'}{'directions'}{'FastForward'};
-$result_directions_text{'part_before_top'} = 'element: @part part
- FastForward: @top top
- Forward: @top top
- Next: @top top
- This: @part part
-element: @top top
- Back: @part part
- FastBack: @part part
- Prev: @part part
+$result_directions_text{'part_before_top'} = 'element: @top top
This: @top top
';
Index: t/results/sectioning/part_node_before_top.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/sectioning/part_node_before_top.pl,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- t/results/sectioning/part_node_before_top.pl 3 Sep 2012 21:58:49
-0000 1.30
+++ t/results/sectioning/part_node_before_top.pl 9 Sep 2012 21:59:50
-0000 1.31
@@ -153,17 +153,8 @@
'macro' => ''
},
'parent' => {}
- }
- ],
- 'extra' => {
- 'element_command' => {},
- 'section' => {}
- },
- 'type' => 'element'
},
{
- 'contents' => [
- {
'args' => [
{
'contents' => [
@@ -371,6 +362,7 @@
}
],
'extra' => {
+ 'associated_part' => {},
'misc_content' => [
{}
],
@@ -385,7 +377,6 @@
'parent' => {}
}
],
- 'element_prev' => {},
'extra' => {
'element_command' => {},
'node' => {},
@@ -420,53 +411,51 @@
$result_trees{'part_node_before_top'}[0]{'contents'}[2]{'extra'}{'misc_content'}[0]
=
$result_trees{'part_node_before_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1];
$result_trees{'part_node_before_top'}[0]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
$result_trees{'part_node_before_top'}[0]{'contents'}[2]{'parent'} =
$result_trees{'part_node_before_top'}[0];
-$result_trees{'part_node_before_top'}[0]{'extra'}{'element_command'} =
$result_trees{'part_node_before_top'}[0]{'contents'}[2];
-$result_trees{'part_node_before_top'}[0]{'extra'}{'section'} =
$result_trees{'part_node_before_top'}[0]{'contents'}[2];
-$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'part_node_before_top'}[1]{'contents'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'extra'}{'node_content'}[0]
=
$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'extra'}{'node_content'};
-$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'extra'}{'spaces_after_command'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[0]{'parent'} =
$result_trees{'part_node_before_top'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'part_node_before_top'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[2]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_description'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'extra'}{'command'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[2];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'part_node_before_top'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'extra'}{'misc_content'}[0]
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
-$result_trees{'part_node_before_top'}[1]{'contents'}[1]{'parent'} =
$result_trees{'part_node_before_top'}[1];
-$result_trees{'part_node_before_top'}[1]{'element_prev'} =
$result_trees{'part_node_before_top'}[0];
-$result_trees{'part_node_before_top'}[1]{'extra'}{'element_command'} =
$result_trees{'part_node_before_top'}[1]{'contents'}[1];
-$result_trees{'part_node_before_top'}[1]{'extra'}{'node'} =
$result_trees{'part_node_before_top'}[1]{'contents'}[0];
-$result_trees{'part_node_before_top'}[1]{'extra'}{'section'} =
$result_trees{'part_node_before_top'}[1]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[3];
+$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0]{'parent'} =
$result_trees{'part_node_before_top'}[0]{'contents'}[3];
+$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'extra'}{'node_content'}[0]
=
$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'extra'}{'node_content'};
+$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'extra'}{'spaces_after_command'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[3]{'parent'} =
$result_trees{'part_node_before_top'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'part_node_before_top'}[0]{'contents'}[4];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[0]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[2]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[3];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[3]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_description'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[3];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'extra'}{'command'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[2];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'contents'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'contents'}[1]{'parent'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[4];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'extra'}{'associated_part'}
= $result_trees{'part_node_before_top'}[0]{'contents'}[2];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'extra'}{'misc_content'}[0]
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'extra'}{'spaces_after_command'}
=
$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'part_node_before_top'}[0]{'contents'}[4]{'parent'} =
$result_trees{'part_node_before_top'}[0];
+$result_trees{'part_node_before_top'}[0]{'extra'}{'element_command'} =
$result_trees{'part_node_before_top'}[0]{'contents'}[4];
+$result_trees{'part_node_before_top'}[0]{'extra'}{'node'} =
$result_trees{'part_node_before_top'}[0]{'contents'}[3];
+$result_trees{'part_node_before_top'}[0]{'extra'}{'section'} =
$result_trees{'part_node_before_top'}[0]{'contents'}[4];
$result_texis{'part_node_before_top'} = '@node part node before top, Top,,Top
@part part
@@ -494,11 +483,8 @@
'section_childs' => [
{
'cmdname' => 'part',
- 'extra' => {},
- 'level' => 0,
- 'section_up' => {}
- },
- {
+ 'extra' => {
+ 'part_associated_section' => {
'cmdname' => 'top',
'extra' => {
'associated_node' => {
@@ -506,25 +492,39 @@
'extra' => {
'normalized' => 'Top'
}
- }
+ },
+ 'associated_part' => {}
},
'level' => 0,
'section_prev' => {},
'section_up' => {}
}
+ },
+ 'level' => 0,
+ 'section_up' => {}
+ },
+ {}
]
};
+$result_sectioning{'part_node_before_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'}{'extra'}{'associated_part'}
= $result_sectioning{'part_node_before_top'}{'section_childs'}[0];
+$result_sectioning{'part_node_before_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'}{'section_prev'}
= $result_sectioning{'part_node_before_top'}{'section_childs'}[0];
+$result_sectioning{'part_node_before_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'}{'section_up'}
= $result_sectioning{'part_node_before_top'};
$result_sectioning{'part_node_before_top'}{'section_childs'}[0]{'section_up'}
= $result_sectioning{'part_node_before_top'};
-$result_sectioning{'part_node_before_top'}{'section_childs'}[1]{'section_prev'}
= $result_sectioning{'part_node_before_top'}{'section_childs'}[0];
-$result_sectioning{'part_node_before_top'}{'section_childs'}[1]{'section_up'}
= $result_sectioning{'part_node_before_top'};
+$result_sectioning{'part_node_before_top'}{'section_childs'}[1] =
$result_sectioning{'part_node_before_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'};
$result_nodes{'part_node_before_top'} = {
'cmdname' => 'node',
'extra' => {
'associated_section' => {
'cmdname' => 'top',
+ 'extra' => {
+ 'associated_part' => {
+ 'cmdname' => 'part',
'extra' => {},
'level' => 0
+ }
+ },
+ 'level' => 0
},
'normalized' => 'Top'
},
@@ -601,12 +601,12 @@
'type' => 'warning'
},
{
- 'error_line' => ':2: warning: No sectioning command associated with @part
+ 'error_line' => ':2: warning: @part should not be associated with @top
',
'file_name' => '',
'line_nr' => 2,
'macro' => '',
- 'text' => 'No sectioning command associated with @part',
+ 'text' => '@part should not be associated with @top',
'type' => 'warning'
}
];
@@ -616,11 +616,7 @@
{
'extra' => {
'directions' => {
- 'FastForward' => {
- 'extra' => {
- 'directions' => {
- 'Back' => {},
- 'FastBack' => {},
+ 'NodeBack' => {},
'NodeForward' => {},
'NodeNext' => {},
'NodeUp' => {
@@ -649,66 +645,40 @@
},
'type' => 'external_node'
},
- 'Prev' => {},
'This' => {}
},
'element_command' => {
'cmdname' => 'top',
+ 'extra' => {
+ 'associated_part' => {
+ 'cmdname' => 'part',
'extra' => {},
'level' => 0
+ }
},
- 'node' => {},
- 'section' => {}
- },
- 'type' => 'element'
- },
- 'Forward' => {},
- 'Next' => {},
- 'NodeBack' => {},
- 'This' => {}
- },
- 'element_command' => {
- 'cmdname' => 'part',
- 'extra' => {},
'level' => 0
},
+ 'node' => {},
'section' => {}
},
'type' => 'element'
- },
- {}
+ }
];
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Back'}
= $result_elements{'part_node_before_top'}[0];
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastBack'}
= $result_elements{'part_node_before_top'}[0];
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeForward'}
= $result_elements{'part_node_before_top'}[0];
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeNext'}
= $result_elements{'part_node_before_top'}[0];
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeUp'}{'extra'}{'top_node_up'}{'menu_child'}{'menu_up'}
=
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeUp'}{'extra'}{'top_node_up'};
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Prev'}
= $result_elements{'part_node_before_top'}[0];
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'This'}
=
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'};
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'node'}
=
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'NodeUp'}{'extra'}{'top_node_up'};
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'section'}
=
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'element_command'};
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'Forward'}
=
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'};
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'Next'} =
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'};
-$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'NodeBack'}
=
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'};
+$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'NodeBack'}
= $result_elements{'part_node_before_top'}[0];
+$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'NodeForward'}
= $result_elements{'part_node_before_top'}[0];
+$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'NodeNext'}
= $result_elements{'part_node_before_top'}[0];
+$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'NodeUp'}{'extra'}{'top_node_up'}{'menu_child'}{'menu_up'}
=
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'NodeUp'}{'extra'}{'top_node_up'};
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'This'} =
$result_elements{'part_node_before_top'}[0];
+$result_elements{'part_node_before_top'}[0]{'extra'}{'node'} =
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'NodeUp'}{'extra'}{'top_node_up'};
$result_elements{'part_node_before_top'}[0]{'extra'}{'section'} =
$result_elements{'part_node_before_top'}[0]{'extra'}{'element_command'};
-$result_elements{'part_node_before_top'}[1] =
$result_elements{'part_node_before_top'}[0]{'extra'}{'directions'}{'FastForward'};
-$result_directions_text{'part_node_before_top'} = 'element: @part part
- FastForward: @top top
- Forward: @top top
- Next: @top top
+$result_directions_text{'part_node_before_top'} = 'element: @top top
NodeBack: @top top
- This: @part part
-element: @top top
- Back: @part part
- FastBack: @part part
- NodeForward: @part part
- NodeNext: @part part
+ NodeForward: @top top
+ NodeNext: @top top
NodeUp: (dir)
- Prev: @part part
This: @top top
';
@@ -787,16 +757,16 @@
Next: <a href="#Top" accesskey="n" rel="next">Top</a>, Previous: <a
href="#Top" accesskey="p" rel="previous">Top</a>, Up: <a href="#Top"
accesskey="u" rel="up">Top</a> </p>
</div>
<h4 class="node-heading">part node before top</h4>
-<a name="part"></a>
-<h1 class="part">part</h1>
-<hr>
-
<hr>
-<a name="Top"></a>
+<a name="part"></a>
<div class="header">
<p>
Next: <a href="#part-node-before-top" accesskey="n" rel="next">part node
before top</a>, Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a>
</p>
</div>
+<h1 class="part">part</h1>
+<hr>
+
+<a name="Top"></a>
<a name="top"></a>
<h1 class="top">top</h1>
Index: t/results/sectioning/top_node_part_top.pl
===================================================================
RCS file: t/results/sectioning/top_node_part_top.pl
diff -N t/results/sectioning/top_node_part_top.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/top_node_part_top.pl 9 Sep 2012 21:59:51 -0000
1.1
@@ -0,0 +1,455 @@
+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{'top_node_part_top'} = [
+ {
+ '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' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top',
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ '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' => [
+ {}
+ ],
+ 'spaces_after_command' => {}
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ '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' => [],
+ 'extra' => {
+ 'associated_part' => {},
+ 'misc_content' => [
+ {}
+ ],
+ 'spaces_after_command' => {}
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'element_command' => {},
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ }
+];
+$result_trees{'top_node_part_top'}[0]{'contents'}[0]{'parent'} =
$result_trees{'top_node_part_top'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[1];
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'top_node_part_top'}[0]{'contents'}[1];
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[1];
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[1]{'parent'} =
$result_trees{'top_node_part_top'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[2];
+$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'top_node_part_top'}[0]{'contents'}[2];
+$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[2];
+$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'extra'}{'misc_content'}[0]
=
$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[2]{'parent'} =
$result_trees{'top_node_part_top'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[3];
+$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0]{'parent'} =
$result_trees{'top_node_part_top'}[0]{'contents'}[3];
+$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'extra'}{'associated_part'}
= $result_trees{'top_node_part_top'}[0]{'contents'}[2];
+$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'extra'}{'misc_content'}[0]
=
$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'extra'}{'spaces_after_command'}
=
$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'top_node_part_top'}[0]{'contents'}[3]{'parent'} =
$result_trees{'top_node_part_top'}[0];
+$result_trees{'top_node_part_top'}[0]{'extra'}{'element_command'} =
$result_trees{'top_node_part_top'}[0]{'contents'}[3];
+$result_trees{'top_node_part_top'}[0]{'extra'}{'node'} =
$result_trees{'top_node_part_top'}[0]{'contents'}[1];
+$result_trees{'top_node_part_top'}[0]{'extra'}{'section'} =
$result_trees{'top_node_part_top'}[0]{'contents'}[3];
+
+$result_texis{'top_node_part_top'} = '@node Top
+
address@hidden part
+
address@hidden top
+';
+
+
+$result_texts{'top_node_part_top'} = '
+part
+****
+
+top
+***
+';
+
+$result_sectioning{'top_node_part_top'} = {
+ 'level' => -1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'part',
+ 'extra' => {
+ 'part_associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'associated_part' => {}
+ },
+ 'level' => 0,
+ 'section_prev' => {},
+ 'section_up' => {}
+ }
+ },
+ 'level' => 0,
+ 'section_up' => {}
+ },
+ {}
+ ]
+};
+$result_sectioning{'top_node_part_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'}{'extra'}{'associated_part'}
= $result_sectioning{'top_node_part_top'}{'section_childs'}[0];
+$result_sectioning{'top_node_part_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'}{'section_prev'}
= $result_sectioning{'top_node_part_top'}{'section_childs'}[0];
+$result_sectioning{'top_node_part_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'}{'section_up'}
= $result_sectioning{'top_node_part_top'};
+$result_sectioning{'top_node_part_top'}{'section_childs'}[0]{'section_up'} =
$result_sectioning{'top_node_part_top'};
+$result_sectioning{'top_node_part_top'}{'section_childs'}[1] =
$result_sectioning{'top_node_part_top'}{'section_childs'}[0]{'extra'}{'part_associated_section'};
+
+$result_nodes{'top_node_part_top'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_part' => {
+ 'cmdname' => 'part',
+ 'extra' => {},
+ 'level' => 0
+ }
+ },
+ 'level' => 0
+ },
+ 'normalized' => 'Top'
+ },
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ],
+ 'top_node_up' => {}
+ },
+ 'type' => 'top_node_up'
+ }
+};
+$result_nodes{'top_node_part_top'}{'node_up'}{'extra'}{'top_node_up'} =
$result_nodes{'top_node_part_top'};
+
+$result_menus{'top_node_part_top'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+};
+
+$result_errors{'top_node_part_top'} = [
+ {
+ 'error_line' => ':3: warning: @node precedes @part, but part are not
associated with nodes
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => '@node precedes @part, but part are not associated with nodes',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => ':3: warning: @part should not be associated with @top
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => '@part should not be associated with @top',
+ 'type' => 'warning'
+ }
+];
+
+
+$result_elements{'top_node_part_top'} = [
+ {
+ 'extra' => {
+ 'directions' => {
+ 'NodeUp' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ],
+ 'top_node_up' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+ },
+ 'type' => 'external_node'
+ },
+ 'This' => {}
+ },
+ 'element_command' => {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_part' => {
+ 'cmdname' => 'part',
+ 'extra' => {},
+ 'level' => 0
+ }
+ },
+ 'level' => 0
+ },
+ 'node' => {},
+ 'section' => {}
+ },
+ 'type' => 'element'
+ }
+];
+$result_elements{'top_node_part_top'}[0]{'extra'}{'directions'}{'This'} =
$result_elements{'top_node_part_top'}[0];
+$result_elements{'top_node_part_top'}[0]{'extra'}{'node'} =
$result_elements{'top_node_part_top'}[0]{'extra'}{'directions'}{'NodeUp'}{'extra'}{'top_node_up'};
+$result_elements{'top_node_part_top'}[0]{'extra'}{'section'} =
$result_elements{'top_node_part_top'}[0]{'extra'}{'element_command'};
+
+
+
+$result_directions_text{'top_node_part_top'} = 'element: @top top
+ NodeUp: (dir)
+ This: @top top
+';
+
+
+$result_converted{'info'}->{'top_node_part_top'} = 'This is , produced by tp
version from .
+
+
+File: , Node: Top, Up: (dir)
+
+top
+***
+
+
+
+Tag Table:
+Node: Top41
+
+End Tag Table
+';
+
+
+$result_converted{'html'}->{'top_node_part_top'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texinfo, 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="tp">
+<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}
+kbd {font-style:oblique}
+pre.display {font-family: inherit}
+pre.format {font-family: inherit}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: inherit; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: inherit; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:nowrap}
+span.nolinebreak {white-space:nowrap}
+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>
+
+<a name="part"></a>
+<h1 class="part">part</h1>
+<hr>
+
+<a name="top"></a>
+<h1 class="top">top</h1>
+<hr>
+
+
+
+</body>
+</html>
+';
+
+
+$result_converted{'xml'}->{'top_node_part_top'} = '<node name="Top" spaces="
"><nodename>Top</nodename><nodeup automatic="on">(dir)</nodeup></node>
+
+<part spaces=" "><sectiontitle>part</sectiontitle>
+
+</part>
+<top spaces=" "><sectiontitle>top</sectiontitle>
+</top>
+';
+
+1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/tp Texinfo/Parser.pm Texinfo/Structurin...,
Patrice Dumas <=