[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp TODO Texinfo/Convert/Info.pm t/30sec...
From: |
Patrice Dumas |
Subject: |
texinfo/tp TODO Texinfo/Convert/Info.pm t/30sec... |
Date: |
Sun, 27 Feb 2011 21:51:31 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/02/27 21:51:30
Modified files:
tp : TODO
tp/Texinfo/Convert: Info.pm
tp/t : 30sectioning.t info_tests.t
tp/t/results/info_tests: no_node_but_top.pl no_nodes.pl
tp/t/results/sectioning: no_element.pl
Added files:
tp/t/results/info_tests: only_documentencoding.pl
tp/t/results/sectioning: top_node_no_menu_direction.pl
Log message:
Output a Tag table even if there are no nodes.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/TODO?cvsroot=texinfo&r1=1.100&r2=1.101
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Info.pm?cvsroot=texinfo&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/30sectioning.t?cvsroot=texinfo&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/info_tests.t?cvsroot=texinfo&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/info_tests/no_node_but_top.pl?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/info_tests/no_nodes.pl?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/info_tests/only_documentencoding.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/no_element.pl?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/top_node_no_menu_direction.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: TODO
===================================================================
RCS file: /sources/texinfo/texinfo/tp/TODO,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -b -r1.100 -r1.101
--- TODO 27 Feb 2011 21:12:38 -0000 1.100
+++ TODO 27 Feb 2011 21:51:30 -0000 1.101
@@ -197,6 +197,10 @@
maybe for html)
sectioning/nodes_before_top.texi
sectioning/no_element.texi
+sectioning/no_section.texi (no test for the whole, but it is not
interesting
+ for Structuring and Info)
+sectioning/only_documentencoding.texi
+
indices/unknown_index_entry.texi
indices/more_unknown_index_entry.texi (but without the document structure)
Index: Texinfo/Convert/Info.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Info.pm,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- Texinfo/Convert/Info.pm 27 Feb 2011 15:57:19 -0000 1.41
+++ Texinfo/Convert/Info.pm 27 Feb 2011 21:51:30 -0000 1.42
@@ -136,6 +136,8 @@
}
}
print STDERR "DOCUMENT\n" if ($self->{'DEBUG'});
+ my $out_file_nr = 0;
+ my @indirect_files;
if (!defined($elements) or $elements->[0]->{'extra'}->{'no_node'}) {
$self->document_warn($self->__("Document without nodes."));
my $output = $header.$self->_convert($root);
@@ -143,7 +145,6 @@
$output .= $footnotes;
if ($fh) {
print $fh $output;
- close ($fh);
} else {
$result = $output;
}
@@ -152,8 +153,7 @@
and $self->{'structuring'}->{'top_node'}->{'extra'}->{'normalized'} eq
'Top') {
$self->document_warn($self->__("Document without Top node."));
}
- my $out_file_nr = 1;
- my @indirect_files;
+ $out_file_nr = 1;
if ($fh) {
print $fh $header;
} else {
@@ -203,6 +203,7 @@
#print STDERR join(' --> ', @{$indirect_files[-1]}) ."\n";
}
}
+ }
my $tag_text = '';
if ($out_file_nr > 1) {
close ($fh);
@@ -211,7 +212,7 @@
if (!$fh) {
$self->document_error(sprintf(
$self->__("Could not open %s for writing: $!"),
- $self->{'OUTFILE'}.'-'.$out_file_nr));
+ $self->{'OUTFILE'}));
return undef;
}
$tag_text = $header;
@@ -220,6 +221,7 @@
$tag_text .= "\n$indirect->[0]: $indirect->[1]";
}
}
+
$tag_text .= "\n\x{1F}\nTag Table:\n";
if ($out_file_nr > 1) {
$tag_text .= "(Indirect)\n";
@@ -239,7 +241,6 @@
Texinfo::Convert::Texinfo::convert({'contents' =>
$label->{'root'}->{'extra'}->{'node_content'}})),
$label->{'root'}->{'line_nr'});
-
next;
} else {
$seen_anchors{$label->{'root'}->{'extra'}->{'normalized'}} = $label;
@@ -259,10 +260,10 @@
}
if ($fh) {
print $fh $tag_text;
+ close ($fh);
} else {
$result .= $tag_text;
}
- }
return $result;
}
Index: t/30sectioning.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/30sectioning.t,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- t/30sectioning.t 27 Feb 2011 21:12:38 -0000 1.27
+++ t/30sectioning.t 27 Feb 2011 21:51:30 -0000 1.28
@@ -373,6 +373,16 @@
@cindex index entry
'],
+['top_node_no_menu_direction',
+'@node Top
+
address@hidden
+* second node::
+* TOP:: myself
address@hidden menu
+
address@hidden second node,,top,TOP
+'],
);
my @test_cases = (
Index: t/info_tests.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/info_tests.t,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- t/info_tests.t 27 Feb 2011 21:12:38 -0000 1.23
+++ t/info_tests.t 27 Feb 2011 21:51:30 -0000 1.24
@@ -340,7 +340,9 @@
@node @
@node @:
@node @asis{ }
-']
+'],
+['only_documentencoding',
+'@documentencoding ISO-8859-1'],
);
foreach my $test (@test_cases) {
Index: t/results/info_tests/no_node_but_top.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/info_tests/no_node_but_top.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- t/results/info_tests/no_node_but_top.pl 20 Feb 2011 00:18:16 -0000
1.1
+++ t/results/info_tests/no_node_but_top.pl 27 Feb 2011 21:51:30 -0000
1.2
@@ -89,6 +89,11 @@
top
***
+
+
+Tag Table:
+
+End Tag Table
';
$result_converted_errors{'info'}->{'no_node_but_top'} = [
Index: t/results/info_tests/no_nodes.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/info_tests/no_nodes.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- t/results/info_tests/no_nodes.pl 20 Feb 2011 15:52:34 -0000 1.1
+++ t/results/info_tests/no_nodes.pl 27 Feb 2011 21:51:30 -0000 1.2
@@ -32,6 +32,11 @@
$result_converted{'info'}->{'no_nodes'} = 'This is , produced by makeinfo
version 4.13 from .
Text.
+
+
+Tag Table:
+
+End Tag Table
';
$result_converted_errors{'info'}->{'no_nodes'} = [
Index: t/results/sectioning/no_element.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/sectioning/no_element.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- t/results/sectioning/no_element.pl 27 Feb 2011 21:12:39 -0000 1.1
+++ t/results/sectioning/no_element.pl 27 Feb 2011 21:51:30 -0000 1.2
@@ -897,6 +897,19 @@
Ref to main text anchor *note An anchor::
+
+
+Tag Table:
+Ref: An anchor0
+Ref: float anchor109
+Ref: Anchor in footnote293
+
+End Tag Table
+
+
+Local Variables:
+coding: iso-8859-1
+End:
';
$result_converted_errors{'info'}->{'no_element'} = [
Index: t/results/info_tests/only_documentencoding.pl
===================================================================
RCS file: t/results/info_tests/only_documentencoding.pl
diff -N t/results/info_tests/only_documentencoding.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/info_tests/only_documentencoding.pl 27 Feb 2011 21:51:30
-0000 1.1
@@ -0,0 +1,78 @@
+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_trees{'only_documentencoding'} = {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'ISO-8859-1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'documentencoding',
+ 'extra' => {
+ 'encoding_alias' => 'iso-8859-1',
+ 'text_arg' => 'ISO-8859-1'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'only_documentencoding'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'only_documentencoding'}{'contents'}[0]{'args'}[0];
+$result_trees{'only_documentencoding'}{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'only_documentencoding'}{'contents'}[0]{'args'}[0];
+$result_trees{'only_documentencoding'}{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'only_documentencoding'}{'contents'}[0];
+$result_trees{'only_documentencoding'}{'contents'}[0]{'parent'} =
$result_trees{'only_documentencoding'};
+
+$result_texis{'only_documentencoding'} = '@documentencoding ISO-8859-1';
+
+
+$result_texts{'only_documentencoding'} = '';
+
+$result_errors{'only_documentencoding'} = [];
+
+
+
+$result_converted{'info'}->{'only_documentencoding'} = 'This is , produced by
makeinfo version 4.13 from .
+
+
+
+Tag Table:
+
+End Tag Table
+
+
+Local Variables:
+coding: iso-8859-1
+End:
+';
+
+$result_converted_errors{'info'}->{'only_documentencoding'} = [
+ {
+ 'error_line' => 'warning: Document without nodes.
+',
+ 'text' => 'Document without nodes.',
+ 'type' => 'warning'
+ }
+];
+
+
+1;
Index: t/results/sectioning/top_node_no_menu_direction.pl
===================================================================
RCS file: t/results/sectioning/top_node_no_menu_direction.pl
diff -N t/results/sectioning/top_node_no_menu_direction.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/top_node_no_menu_direction.pl 27 Feb 2011 21:51:30
-0000 1.1
@@ -0,0 +1,438 @@
+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_trees{'top_node_no_menu_direction'} = {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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'
+ },
+ {
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'second node'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'second-node'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'TOP'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => ':: ',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'myself
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'second node'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'top'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ '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' => 'second-node'
+ },
+ undef,
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ },
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'second-node'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'top_node_no_menu_direction'}{'contents'}[0]{'parent'} =
$result_trees{'top_node_no_menu_direction'};
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'args'}[0];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'args'}[0];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'args'}[0];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[2]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[1]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[2]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[3];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[3]{'parent'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[0];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'contents'}[3]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'top_node_no_menu_direction'}{'contents'}[1]{'parent'} =
$result_trees{'top_node_no_menu_direction'};
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[0];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[0];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[2];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[1]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[2];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[2]{'contents'}[0]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[2];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[2]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[2];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[3]{'contents'}[0]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[3];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[3]{'contents'}[1]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[3];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[3]{'parent'}
= $result_trees{'top_node_no_menu_direction'}{'contents'}[2];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'extra'}{'node_content'}[0]
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'extra'}{'node_content'};
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'extra'}{'nodes_manuals'}[2]{'node_content'}[0]
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[2]{'contents'}[0];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'extra'}{'nodes_manuals'}[3]{'node_content'}[0]
=
$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'args'}[3]{'contents'}[0];
+$result_trees{'top_node_no_menu_direction'}{'contents'}[2]{'parent'} =
$result_trees{'top_node_no_menu_direction'};
+
+$result_texis{'top_node_no_menu_direction'} = '@node Top
+
address@hidden
+* second node::
+* TOP:: myself
address@hidden menu
+
address@hidden second node,,top,TOP
+';
+
+
+$result_texts{'top_node_no_menu_direction'} = '
+* second node::
+* TOP:: myself
+
+';
+
+$result_sectioning{'top_node_no_menu_direction'} = {};
+
+$result_nodes{'top_node_no_menu_direction'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'second-node'
+ },
+ 'node_prev' => {},
+ 'node_up' => {}
+ },
+ 'menus' => [
+ {
+ 'cmdname' => 'menu'
+ }
+ ],
+ 'node_next' => {},
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ]
+ }
+ }
+};
+$result_nodes{'top_node_no_menu_direction'}{'menu_child'}{'node_prev'} =
$result_nodes{'top_node_no_menu_direction'};
+$result_nodes{'top_node_no_menu_direction'}{'menu_child'}{'node_up'} =
$result_nodes{'top_node_no_menu_direction'};
+$result_nodes{'top_node_no_menu_direction'}{'node_next'} =
$result_nodes{'top_node_no_menu_direction'}{'menu_child'};
+
+$result_menus{'top_node_no_menu_direction'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'second-node'
+ },
+ 'menu_next' => {},
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ },
+ 'menu_prev' => {},
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+};
+$result_menus{'top_node_no_menu_direction'}{'menu_child'}{'menu_next'} =
$result_menus{'top_node_no_menu_direction'};
+$result_menus{'top_node_no_menu_direction'}{'menu_child'}{'menu_up'} =
$result_menus{'top_node_no_menu_direction'};
+$result_menus{'top_node_no_menu_direction'}{'menu_prev'} =
$result_menus{'top_node_no_menu_direction'}{'menu_child'};
+$result_menus{'top_node_no_menu_direction'}{'menu_up'} =
$result_menus{'top_node_no_menu_direction'};
+
+$result_errors{'top_node_no_menu_direction'} = [
+ {
+ 'error_line' => ':1: warning: For `Top\', up in menu `Top\' and up
`(dir)\' don\'t match
+',
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => '',
+ 'text' => 'For `Top\', up in menu `Top\' and up `(dir)\' don\'t match',
+ 'type' => 'warning'
+ }
+];
+
+
+
+$result_converted{'info'}->{'top_node_no_menu_direction'} = 'This is ,
produced by makeinfo version 4.13 from .
+
+
+File: , Node: Top, Next: second node, Up: (dir)
+
+* Menu:
+
+* second node::
+* Top:: myself
+
+
+File: , Node: second node, Prev: Top, Up: Top
+
+
+
+Tag Table:
+Node: Top52
+Node: second node147
+
+End Tag Table
+';
+
+1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/tp TODO Texinfo/Convert/Info.pm t/30sec...,
Patrice Dumas <=