[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Parser.pm t/plaintext_tests....
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Parser.pm t/plaintext_tests.... |
Date: |
Sun, 06 Jan 2013 21:28:36 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 13/01/06 21:28:36
Modified files:
tp/Texinfo : Parser.pm
tp/t : plaintext_tests.t
tp/t/results/invalid_nestings: center.pl
item_tab_outside_of_table_lists.pl
itemx_in_itemize_enumerate_in_table.pl
multitable_item_in_index.pl
on_itemize_line.pl
section_in_table.pl
tab_in_index.pl
tp/t/results/itemize: headitem_itemx_in_enumerate.pl
headitem_itemx_in_itemize.pl
tp/t/results/multitable: empty_multitable_with_cells.pl
multitable_begin_with_tab.pl
multitable_one_column_too_much_cells.pl
multitable_two_columns_too_much_cells.pl
tp/t/results/xtable: headitem_in_table.pl
Added files:
tp/t/results/plaintext_tests: itemize_in_headitem_in_example.pl
multitable_in_example_extraneous_tab.pl
tab_in_table_in_example.pl
tab_item_in_example.pl
Log message:
Hansle better incorrect constructs that lead to no tree element being
created for some misc commands (@tab, @*item*) with errorneous
constructs.
Also open preformatted in those cases.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.408&r2=1.409
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/plaintext_tests.t?cvsroot=texinfo&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/center.pl?cvsroot=texinfo&r1=1.51&r2=1.52
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/item_tab_outside_of_table_lists.pl?cvsroot=texinfo&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl?cvsroot=texinfo&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/multitable_item_in_index.pl?cvsroot=texinfo&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/on_itemize_line.pl?cvsroot=texinfo&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/section_in_table.pl?cvsroot=texinfo&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/tab_in_index.pl?cvsroot=texinfo&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/itemize/headitem_itemx_in_enumerate.pl?cvsroot=texinfo&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/itemize/headitem_itemx_in_itemize.pl?cvsroot=texinfo&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/multitable/empty_multitable_with_cells.pl?cvsroot=texinfo&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/multitable/multitable_begin_with_tab.pl?cvsroot=texinfo&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/multitable/multitable_one_column_too_much_cells.pl?cvsroot=texinfo&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/multitable/multitable_two_columns_too_much_cells.pl?cvsroot=texinfo&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/itemize_in_headitem_in_example.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/multitable_in_example_extraneous_tab.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/tab_in_table_in_example.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/tab_item_in_example.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/xtable/headitem_in_table.pl?cvsroot=texinfo&r1=1.22&r2=1.23
Patches:
Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.408
retrieving revision 1.409
diff -u -b -r1.408 -r1.409
--- Texinfo/Parser.pm 29 Dec 2012 10:33:17 -0000 1.408
+++ Texinfo/Parser.pm 6 Jan 2013 21:28:33 -0000 1.409
@@ -2990,6 +2990,7 @@
and $current->{'contents'}->[-1]->{'type'}
and $current->{'contents'}->[-1]->{'type'} eq
'empty_line_after_command'
and $current->{'contents'}->[-1]->{'extra'}
+ and $current->{'contents'}->[-1]->{'extra'}->{'command'}
and
$current->{'contents'}->[-1]->{'extra'}->{'command'}->{'cmdname'} eq
'verbatim') {
$current = $self->_begin_preformatted($current);
# misc command line arguments
@@ -3377,6 +3378,8 @@
return $current;
}
+# $command may be undef if we are after a wrong misc command such as
+# a buggy @tab.
sub _start_empty_line_after_command($$$) {
my $line = shift;
my $current = shift;
@@ -3385,8 +3388,11 @@
push @{$current->{'contents'}}, { 'type' => 'empty_line_after_command',
'text' => $1,
'parent' => $current,
- 'extra' => {'command' => $command} };
+ };
+ if (defined($command)) {
+ $current->{'contents'}->[-1]->{'extra'} = {'command' => $command};
$command->{'extra'}->{'spaces_after_command'} = $current->{'contents'}->[-1];
+ }
return $line;
}
@@ -3513,7 +3519,10 @@
=~ /^[^\S\n]*/)))
}
-sub _register_and_warn_invalid($$$$)
+# $registered_as_invalid_command may be undef, if there is no
+# tree element because the @-command construct is incorrect, for example
+# wrong @tab.
+sub _register_and_warn_invalid($$$$$)
{
my $self = shift;
my $command = shift;
@@ -3524,7 +3533,8 @@
if (defined($invalid_parent)) {
$self->line_warn (sprintf($self->__("address@hidden should not appear in
address@hidden"),
$command, $invalid_parent), $line_nr);
- $registered_as_invalid_command->{'extra'}->{'invalid_nesting'} = 1;
+ $registered_as_invalid_command->{'extra'}->{'invalid_nesting'} = 1
+ if (defined($registered_as_invalid_command));
}
}
# the different types
@@ -4201,17 +4211,16 @@
$command), $line_nr);
$only_in_headings = 1;
}
- unless ($ignored) {
+ if (!$ignored) {
$misc = {'cmdname' => $command,
'parent' => $current};
push @{$current->{'contents'}}, $misc;
- }
- $self->_register_and_warn_invalid($command, $invalid_parent,
- $line_nr, $misc);
# also sets invalid_nesting in that case
$misc->{'extra'}->{'invalid_nesting'} = 1 if ($only_in_headings);
$self->_register_global_command($command, $misc, $line_nr);
-
+ }
+ $self->_register_and_warn_invalid($command, $invalid_parent,
+ $line_nr, $misc);
$current = $self->_begin_preformatted($current)
if ($close_preformatted_commands{$command});
@@ -4274,10 +4283,10 @@
{'item_number' => $parent->{'items_count'}} };
push @{$parent->{'contents'}}, $misc;
$current = $parent->{'contents'}->[-1];
- $current = $self->_begin_preformatted($current);
} else {
$self->line_error (sprintf($self->__("address@hidden not
meaningful inside address@hidden' block"), $command, $parent->{'cmdname'}),
$line_nr);
}
+ $current = $self->_begin_preformatted($current);
# *table
} elsif ($parent = _item_line_parent($current)) {
if ($command eq 'item' or $command eq 'itemx') {
@@ -4289,6 +4298,7 @@
$line_arg = 1;
} else {
$self->line_error (sprintf($self->__("address@hidden not
meaningful inside address@hidden' block"), $command, $parent->{'cmdname'}),
$line_nr);
+ $current = $self->_begin_preformatted($current);
}
# multitable
} elsif ($parent = _item_multitable_parent($current)) {
@@ -4312,7 +4322,7 @@
{'cell_number' => $row->{'cells_count'}} };
push @{$row->{'contents'}}, $misc;
$current = $row->{'contents'}->[-1];
- $current = $self->_begin_preformatted($current);
+ #$current = $self->_begin_preformatted($current);
print STDERR "TAB\n" if ($self->{'DEBUG'});
}
} else {
@@ -4329,15 +4339,18 @@
'extra' => {'cell_number' => 1}};
push @{$row->{'contents'}}, $misc;
$current = $row->{'contents'}->[-1];
- $current = $self->_begin_preformatted($current);
+ #$current = $self->_begin_preformatted($current);
}
} else {
$self->line_error (sprintf($self->__("address@hidden not
meaningful inside address@hidden' block"), $command, $parent->{'cmdname'}),
$line_nr);
}
+ $current = $self->_begin_preformatted($current);
} elsif ($command eq 'tab') {
$self->line_error($self->__("ignoring address@hidden outside
of multitable"), $line_nr);
+ $current = $self->_begin_preformatted($current);
} else {
$self->line_error (sprintf($self->__("address@hidden outside
of table or list"), $command), $line_nr);
+ $current = $self->_begin_preformatted($current);
}
$misc->{'line_nr'} = $line_nr if (defined($misc));
} else {
Index: t/plaintext_tests.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/plaintext_tests.t,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- t/plaintext_tests.t 4 Nov 2012 17:54:10 -0000 1.34
+++ t/plaintext_tests.t 6 Jan 2013 21:28:34 -0000 1.35
@@ -545,6 +545,54 @@
'AA @verb{*aa
bb*}.
'],
+['multitable_in_example_extraneous_tab',
+'@example
address@hidden a
address@hidden ita @tab tmp
address@hidden secit @tab
address@hidden multitable
address@hidden example
+'],
+['itemize_in_headitem_in_example',
+'@example
address@hidden
address@hidden a
address@hidden itemize
+
address@hidden
address@hidden bbb
address@hidden ccc
address@hidden itemize
+
address@hidden
address@hidden ddd
address@hidden eee
address@hidden itemize
+
address@hidden
address@hidden fff
address@hidden ggg
address@hidden hhh
address@hidden itemize
+
address@hidden example
+'],
+['tab_in_table_in_example',
+'@example
address@hidden @code
address@hidden in tab
address@hidden table item
+T
address@hidden other tab
address@hidden table
address@hidden example
+'],
+['tab_item_in_example',
+'@example
address@hidden in tab
address@hidden in item
address@hidden example
+'],
);
my $insert_copying_and_paragraph =
Index: t/results/invalid_nestings/center.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/invalid_nestings/center.pl,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- t/results/invalid_nestings/center.pl 27 Aug 2012 22:04:43 -0000
1.51
+++ t/results/invalid_nestings/center.pl 6 Jan 2013 21:28:34 -0000
1.52
@@ -710,9 +710,6 @@
'text' => 'centered line with item '
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -915,9 +912,6 @@
'text' => 'centered line with item '
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -1426,9 +1420,6 @@
'type' => 'empty_spaces_after_command'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -1438,9 +1429,6 @@
'text' => 'ctruc '
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -1490,9 +1478,6 @@
'type' => 'empty_spaces_after_command'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -1721,9 +1706,6 @@
'parent' => {}
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -1745,9 +1727,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/invalid_nestings/item_tab_outside_of_table_lists.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/item_tab_outside_of_table_lists.pl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- t/results/invalid_nestings/item_tab_outside_of_table_lists.pl 3 Jul
2011 14:50:58 -0000 1.12
+++ t/results/invalid_nestings/item_tab_outside_of_table_lists.pl 6 Jan
2013 21:28:34 -0000 1.13
@@ -8,9 +8,6 @@
$result_trees{'item_tab_outside_of_table_lists'} = {
'contents' => [
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -27,9 +24,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -51,9 +45,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl 23 Aug
2012 18:14:55 -0000 1.28
+++ t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl 6 Jan
2013 21:28:34 -0000 1.29
@@ -120,9 +120,6 @@
{
'contents' => [
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -226,9 +223,6 @@
{
'contents' => [
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/invalid_nestings/multitable_item_in_index.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/multitable_item_in_index.pl,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- t/results/invalid_nestings/multitable_item_in_index.pl 26 Aug 2012
14:15:34 -0000 1.30
+++ t/results/invalid_nestings/multitable_item_in_index.pl 6 Jan 2013
21:28:34 -0000 1.31
@@ -70,9 +70,6 @@
'type' => 'empty_spaces_after_command'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/invalid_nestings/on_itemize_line.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/on_itemize_line.pl,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- t/results/invalid_nestings/on_itemize_line.pl 27 Aug 2012 22:04:44
-0000 1.31
+++ t/results/invalid_nestings/on_itemize_line.pl 6 Jan 2013 21:28:34
-0000 1.32
@@ -308,9 +308,6 @@
'text' => 'on line '
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/invalid_nestings/section_in_table.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/section_in_table.pl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- t/results/invalid_nestings/section_in_table.pl 23 Aug 2012 18:14:57
-0000 1.12
+++ t/results/invalid_nestings/section_in_table.pl 6 Jan 2013 21:28:34
-0000 1.13
@@ -161,9 +161,6 @@
'type' => 'empty_line'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/invalid_nestings/tab_in_index.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/tab_in_index.pl,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- t/results/invalid_nestings/tab_in_index.pl 26 Aug 2012 14:15:36 -0000
1.33
+++ t/results/invalid_nestings/tab_in_index.pl 6 Jan 2013 21:28:34 -0000
1.34
@@ -127,9 +127,6 @@
'text' => 'in index entry '
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/itemize/headitem_itemx_in_enumerate.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/itemize/headitem_itemx_in_enumerate.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- t/results/itemize/headitem_itemx_in_enumerate.pl 23 Aug 2012 18:14:58
-0000 1.21
+++ t/results/itemize/headitem_itemx_in_enumerate.pl 6 Jan 2013 21:28:34
-0000 1.22
@@ -42,9 +42,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -61,9 +58,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/itemize/headitem_itemx_in_itemize.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/itemize/headitem_itemx_in_itemize.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- t/results/itemize/headitem_itemx_in_itemize.pl 23 Aug 2012 18:14:58
-0000 1.21
+++ t/results/itemize/headitem_itemx_in_itemize.pl 6 Jan 2013 21:28:35
-0000 1.22
@@ -42,9 +42,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -61,9 +58,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/multitable/empty_multitable_with_cells.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/multitable/empty_multitable_with_cells.pl,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- t/results/multitable/empty_multitable_with_cells.pl 26 Aug 2012 14:15:39
-0000 1.17
+++ t/results/multitable/empty_multitable_with_cells.pl 6 Jan 2013 21:28:35
-0000 1.18
@@ -22,9 +22,6 @@
{
'contents' => [
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -40,9 +37,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -58,9 +52,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -77,9 +68,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/multitable/multitable_begin_with_tab.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/multitable/multitable_begin_with_tab.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- t/results/multitable/multitable_begin_with_tab.pl 26 Aug 2012 14:15:40
-0000 1.21
+++ t/results/multitable/multitable_begin_with_tab.pl 6 Jan 2013 21:28:35
-0000 1.22
@@ -58,9 +58,6 @@
{
'contents' => [
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -220,9 +217,6 @@
{
'contents' => [
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/multitable/multitable_one_column_too_much_cells.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/multitable/multitable_one_column_too_much_cells.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- t/results/multitable/multitable_one_column_too_much_cells.pl 26 Aug
2012 14:15:44 -0000 1.21
+++ t/results/multitable/multitable_one_column_too_much_cells.pl 6 Jan
2013 21:28:35 -0000 1.22
@@ -67,9 +67,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -85,9 +82,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -103,9 +97,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -207,9 +198,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -225,9 +213,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -243,9 +228,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -304,9 +286,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/multitable/multitable_two_columns_too_much_cells.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/multitable/multitable_two_columns_too_much_cells.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- t/results/multitable/multitable_two_columns_too_much_cells.pl 23 Aug
2012 18:15:12 -0000 1.21
+++ t/results/multitable/multitable_two_columns_too_much_cells.pl 6 Jan
2013 21:28:35 -0000 1.22
@@ -127,9 +127,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -145,9 +142,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -163,9 +157,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
@@ -296,9 +287,6 @@
'type' => 'paragraph'
},
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/xtable/headitem_in_table.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/xtable/headitem_in_table.pl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- t/results/xtable/headitem_in_table.pl 23 Aug 2012 18:15:29 -0000
1.22
+++ t/results/xtable/headitem_in_table.pl 6 Jan 2013 21:28:36 -0000
1.23
@@ -40,9 +40,6 @@
{
'contents' => [
{
- 'extra' => {
- 'command' => undef
- },
'parent' => {},
'text' => ' ',
'type' => 'empty_spaces_after_command'
Index: t/results/plaintext_tests/itemize_in_headitem_in_example.pl
===================================================================
RCS file: t/results/plaintext_tests/itemize_in_headitem_in_example.pl
diff -N t/results/plaintext_tests/itemize_in_headitem_in_example.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/plaintext_tests/itemize_in_headitem_in_example.pl 6 Jan 2013
21:28:35 -0000 1.1
@@ -0,0 +1,861 @@
+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{'itemize_in_headitem_in_example'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'example',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'cmdname' => 'itemize',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'a
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_item'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'itemize'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'itemize',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'itemize'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'block_command_line_contents' => [
+ [
+ {
+ 'cmdname' => 'bullet',
+ 'parent' => {},
+ 'type' => 'command_as_argument'
+ }
+ ]
+ ],
+ 'command_as_argument' => {},
+ 'end_command' => {},
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'cmdname' => 'itemize',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'cmdname' => 'item',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'bbb
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'ccc
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'extra' => {
+ 'item_number' => 1,
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'itemize'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'itemize',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'itemize'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'block_command_line_contents' => [
+ [
+ {
+ 'cmdname' => 'bullet',
+ 'parent' => {},
+ 'type' => 'command_as_argument'
+ }
+ ]
+ ],
+ 'command_as_argument' => {},
+ 'end_command' => {},
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'cmdname' => 'itemize',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'ddd
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_item'
+ },
+ {
+ 'cmdname' => 'item',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'eee
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'extra' => {
+ 'item_number' => 1,
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'itemize'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'itemize',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'itemize'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 14,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'block_command_line_contents' => [
+ [
+ {
+ 'cmdname' => 'bullet',
+ 'parent' => {},
+ 'type' => 'command_as_argument'
+ }
+ ]
+ ],
+ 'command_as_argument' => {},
+ 'end_command' => {},
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'cmdname' => 'itemize',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'cmdname' => 'item',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'fff
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'ggg
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'extra' => {
+ 'item_number' => 1,
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 17,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'cmdname' => 'item',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'hhh
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'extra' => {
+ 'item_number' => 2,
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 19,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'itemize'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'itemize',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'itemize'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 20,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'block_command_line_contents' => [
+ [
+ {
+ 'cmdname' => 'bullet',
+ 'parent' => {},
+ 'type' => 'command_as_argument'
+ }
+ ]
+ ],
+ 'command_as_argument' => {},
+ 'end_command' => {},
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 16,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'example'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'example',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'example'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 22,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'block_command_line_contents'}[0][0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'command_as_argument'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'block_command_line_contents'}[0][0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'extra'}{'block_command_line_contents'}[0][0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'extra'}{'command_as_argument'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'extra'}{'block_command_line_contents'}[0][0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'extra'}{'end_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[3]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[4]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[4];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[4]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[1]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[1]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'contents'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'args'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'extra'}{'block_command_line_contents'}[0][0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'extra'}{'command_as_argument'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'extra'}{'block_command_line_contents'}[0][0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'extra'}{'end_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[5]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[6]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[6];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[6]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2]{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2]{'contents'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[2]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'args'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'extra'}{'block_command_line_contents'}[0][0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'extra'}{'command_as_argument'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'extra'}{'block_command_line_contents'}[0][0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'extra'}{'end_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[3];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[7]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[8]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[8];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[8]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'args'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'args'}[0]{'parent'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'extra'}{'command'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'args'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9]{'parent'}
= $result_trees{'itemize_in_headitem_in_example'}{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'extra'}{'end_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[9];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'extra'}{'spaces_after_command'}
=
$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'contents'}[0];
+$result_trees{'itemize_in_headitem_in_example'}{'contents'}[0]{'parent'} =
$result_trees{'itemize_in_headitem_in_example'};
+
+$result_texis{'itemize_in_headitem_in_example'} = '@example
address@hidden
+ a
address@hidden itemize
+
address@hidden
address@hidden bbb
+ ccc
address@hidden itemize
+
address@hidden
+ ddd
address@hidden eee
address@hidden itemize
+
address@hidden
address@hidden fff
+ ggg
address@hidden hhh
address@hidden itemize
+
address@hidden example
+';
+
+
+$result_texts{'itemize_in_headitem_in_example'} = 'a
+
+bbb
+ccc
+
+ddd
+eee
+
+fff
+ggg
+hhh
+
+';
+
+$result_errors{'itemize_in_headitem_in_example'} = [
+ {
+ 'error_line' => ':3: @headitem not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => '@headitem not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':2: warning: @itemize has text but no @item
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => '@itemize has text but no @item',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => ':8: @headitem not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => '',
+ 'text' => '@headitem not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':12: @headitem not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 12,
+ 'macro' => '',
+ 'text' => '@headitem not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':18: @headitem not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 18,
+ 'macro' => '',
+ 'text' => '@headitem not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ }
+];
+
+
+
+$result_converted{'plaintext'}->{'itemize_in_headitem_in_example'} = '
a
+
+ * bbb
+ ccc
+
+ ddd
+ * eee
+
+ * fff
+ ggg
+ * hhh
+
+';
+
+1;
Index: t/results/plaintext_tests/multitable_in_example_extraneous_tab.pl
===================================================================
RCS file: t/results/plaintext_tests/multitable_in_example_extraneous_tab.pl
diff -N t/results/plaintext_tests/multitable_in_example_extraneous_tab.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/plaintext_tests/multitable_in_example_extraneous_tab.pl 6 Jan
2013 21:28:35 -0000 1.1
@@ -0,0 +1,377 @@
+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{'multitable_in_example_extraneous_tab'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'example',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'a
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'cmdname' => 'item',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'ita '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'tmp
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'extra' => {
+ 'cell_number' => 1,
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'row_number' => 1
+ },
+ 'parent' => {},
+ 'type' => 'row'
+ },
+ {
+ 'contents' => [
+ {
+ 'cmdname' => 'item',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'secit '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'extra' => {
+ 'cell_number' => 1,
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'row_number' => 2
+ },
+ 'parent' => {},
+ 'type' => 'row'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'multitable_body'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'multitable',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'multitable'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 1,
+ 'prototypes' => [
+ {
+ 'text' => 'a',
+ 'type' => 'row_prototype'
+ }
+ ],
+ 'prototypes_line' => [
+ {
+ 'text' => ' ',
+ 'type' => 'prototype_space'
+ },
+ {
+ 'text' => 'a',
+ 'type' => 'row_prototype'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'prototype_space'
+ }
+ ],
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'example'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'example',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'example'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'spaces_after_command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'extra'}{'spaces_after_command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'extra'}{'command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'extra'}{'command'}
= $result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'extra'}{'end_command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[2];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'extra'}{'spaces_after_command'}
=
$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_in_example_extraneous_tab'}{'contents'}[0]{'parent'}
= $result_trees{'multitable_in_example_extraneous_tab'};
+
+$result_texis{'multitable_in_example_extraneous_tab'} = '@example
address@hidden a
address@hidden ita tmp
address@hidden secit
address@hidden multitable
address@hidden example
+';
+
+
+$result_texts{'multitable_in_example_extraneous_tab'} = 'ita tmp
+secit ';
+
+$result_errors{'multitable_in_example_extraneous_tab'} = [
+ {
+ 'error_line' => ':3: Too many columns in multitable item (max 1)
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => 'Too many columns in multitable item (max 1)',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':4: Too many columns in multitable item (max 1)
+',
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => '',
+ 'text' => 'Too many columns in multitable item (max 1)',
+ 'type' => 'error'
+ }
+];
+
+
+
+$result_converted{'plaintext'}->{'multitable_in_example_extraneous_tab'} = '
ita
+ tmp
+ secit
+';
+
+1;
Index: t/results/plaintext_tests/tab_in_table_in_example.pl
===================================================================
RCS file: t/results/plaintext_tests/tab_in_table_in_example.pl
diff -N t/results/plaintext_tests/tab_in_table_in_example.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/plaintext_tests/tab_in_table_in_example.pl 6 Jan 2013
21:28:36 -0000 1.1
@@ -0,0 +1,373 @@
+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{'tab_in_table_in_example'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'example',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'cmdname' => 'code',
+ 'parent' => {},
+ 'type' => 'command_as_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'space_at_end_block_command'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'table',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'in tab
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_item'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'table item'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'item',
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ],
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'table_term'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'T
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'other tab
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'table_item'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'table_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'table'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'table',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'table'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'block_command_line_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'command_as_argument' => {},
+ 'end_command' => {},
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'example'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'example',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'example'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'misc_content'}[0]
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'spaces_after_command'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'extra'}{'command'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'block_command_line_contents'}[0][0]
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'command_as_argument'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'spaces_after_command'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'extra'}{'command'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'extra'}{'spaces_after_command'}
=
$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'extra'}{'end_command'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[2];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'extra'}{'spaces_after_command'}
= $result_trees{'tab_in_table_in_example'}{'contents'}[0]{'contents'}[0];
+$result_trees{'tab_in_table_in_example'}{'contents'}[0]{'parent'} =
$result_trees{'tab_in_table_in_example'};
+
+$result_texis{'tab_in_table_in_example'} = '@example
address@hidden @code
+ in tab
address@hidden table item
+T
+ other tab
address@hidden table
address@hidden example
+';
+
+
+$result_texts{'tab_in_table_in_example'} = 'in tab
+table item
+T
+other tab
+';
+
+$result_errors{'tab_in_table_in_example'} = [
+ {
+ 'error_line' => ':3: @tab not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => '@tab not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':6: @tab not meaningful inside address@hidden' block
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => '@tab not meaningful inside address@hidden' block',
+ 'type' => 'error'
+ }
+];
+
+
+
+$result_converted{'plaintext'}->{'tab_in_table_in_example'} = ' in tab
+ \'table item\'
+ T
+ other tab
+';
+
+1;
Index: t/results/plaintext_tests/tab_item_in_example.pl
===================================================================
RCS file: t/results/plaintext_tests/tab_item_in_example.pl
diff -N t/results/plaintext_tests/tab_item_in_example.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/plaintext_tests/tab_item_in_example.pl 6 Jan 2013 21:28:36
-0000 1.1
@@ -0,0 +1,168 @@
+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{'tab_item_in_example'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'example',
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'in tab
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'in item
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'extra' => {
+ 'command' => {}
+ },
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'example'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command' => {},
+ 'command_argument' => 'example',
+ 'spaces_after_command' => {},
+ 'text_arg' => 'example'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'spaces_after_command' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'tab_item_in_example'}{'contents'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'tab_item_in_example'}{'contents'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[1];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'tab_item_in_example'}{'contents'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[2];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[2];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[2]{'parent'} =
$result_trees{'tab_item_in_example'}{'contents'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'extra'}{'command'}
= $result_trees{'tab_item_in_example'}{'contents'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'extra'}{'spaces_after_command'}
=
$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3]{'parent'} =
$result_trees{'tab_item_in_example'}{'contents'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'extra'}{'end_command'} =
$result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[3];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'extra'}{'spaces_after_command'}
= $result_trees{'tab_item_in_example'}{'contents'}[0]{'contents'}[0];
+$result_trees{'tab_item_in_example'}{'contents'}[0]{'parent'} =
$result_trees{'tab_item_in_example'};
+
+$result_texis{'tab_item_in_example'} = '@example
+ in tab
+ in item
address@hidden example
+';
+
+
+$result_texts{'tab_item_in_example'} = 'in tab
+in item
+';
+
+$result_errors{'tab_item_in_example'} = [
+ {
+ 'error_line' => ':2: ignoring @tab outside of multitable
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'ignoring @tab outside of multitable',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':3: @item outside of table or list
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => '@item outside of table or list',
+ 'type' => 'error'
+ }
+];
+
+
+
+$result_converted{'plaintext'}->{'tab_item_in_example'} = ' in tab
+ in item
+';
+
+1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/tp Texinfo/Parser.pm t/plaintext_tests....,
Patrice Dumas <=