use vars qw(%result_texis %result_texts %result_trees %result_errors %result_indices %result_sectioning %result_nodes %result_menus %result_floats %result_converted %result_converted_errors %result_elements %result_directions_text %result_indices_sort_strings); use utf8; $result_trees{'double_node_anchor_float'} = { 'contents' => [ { 'type' => 'before_node_section' }, { 'args' => [ { 'contents' => [ { 'text' => 'node1' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => { 'normalized' => 'node1' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 1, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'node1' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'node1' } ], 'type' => 'brace_command_arg' } ], 'cmdname' => 'anchor', 'extra' => {}, 'source_info' => { 'file_name' => '', 'line_nr' => 5, 'macro' => '' } }, { 'text' => ' ', 'type' => 'spaces_after_close_brace' }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'anchor1' } ], 'type' => 'brace_command_arg' } ], 'cmdname' => 'anchor', 'extra' => { 'normalized' => 'anchor1' }, 'source_info' => { 'file_name' => '', 'line_nr' => 7, 'macro' => '' } }, { 'text' => ' ', 'type' => 'spaces_after_close_brace' }, { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 3, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'anchor1' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'Text' } ], 'type' => 'block_line_arg' }, { 'contents' => [ { 'text' => 'node1' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' }, 'spaces_before_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'float', 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'float' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'float' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 12, 'macro' => '' } } ], 'extra' => { 'float_type' => 'Text' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 11, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'Text' } ], 'type' => 'block_line_arg' }, { 'contents' => [ { 'text' => 'anchor1' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' }, 'spaces_before_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'float', 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'float' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'float' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 15, 'macro' => '' } } ], 'extra' => { 'float_type' => 'Text' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 14, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'Text' } ], 'type' => 'block_line_arg' }, { 'contents' => [ { 'text' => 'float1' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' }, 'spaces_before_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'float', 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'float' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'float' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 18, 'macro' => '' } } ], 'extra' => { 'float_type' => 'Text', 'normalized' => 'float1' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 17, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 9, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'float1' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 20, 'macro' => '' } } ], 'type' => 'document_root' }; $result_texis{'double_node_anchor_float'} = '@node node1 @node node1 @anchor{node1} @anchor{anchor1} @node anchor1 @float Text, node1 @end float @float Text, anchor1 @end float @float Text, float1 @end float @node float1 '; $result_texts{'double_node_anchor_float'} = ' Text, node1 Text, anchor1 Text, float1 '; $result_nodes{'double_node_anchor_float'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'node1' } }; $result_menus{'double_node_anchor_float'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'node1' } }; $result_errors{'double_node_anchor_float'} = [ { 'error_line' => '@node `node1\' previously defined ', 'file_name' => '', 'line_nr' => 3, 'macro' => '', 'text' => '@node `node1\' previously defined', 'type' => 'error' }, { 'continuation' => 1, 'error_line' => 'here is the previous definition as @node ', 'file_name' => '', 'line_nr' => 1, 'macro' => '', 'text' => 'here is the previous definition as @node', 'type' => 'error' }, { 'error_line' => '@anchor `node1\' previously defined ', 'file_name' => '', 'line_nr' => 5, 'macro' => '', 'text' => '@anchor `node1\' previously defined', 'type' => 'error' }, { 'continuation' => 1, 'error_line' => 'here is the previous definition as @node ', 'file_name' => '', 'line_nr' => 1, 'macro' => '', 'text' => 'here is the previous definition as @node', 'type' => 'error' }, { 'error_line' => '@node `anchor1\' previously defined ', 'file_name' => '', 'line_nr' => 9, 'macro' => '', 'text' => '@node `anchor1\' previously defined', 'type' => 'error' }, { 'continuation' => 1, 'error_line' => 'here is the previous definition as @anchor ', 'file_name' => '', 'line_nr' => 7, 'macro' => '', 'text' => 'here is the previous definition as @anchor', 'type' => 'error' }, { 'error_line' => '@float `node1\' previously defined ', 'file_name' => '', 'line_nr' => 11, 'macro' => '', 'text' => '@float `node1\' previously defined', 'type' => 'error' }, { 'continuation' => 1, 'error_line' => 'here is the previous definition as @node ', 'file_name' => '', 'line_nr' => 1, 'macro' => '', 'text' => 'here is the previous definition as @node', 'type' => 'error' }, { 'error_line' => '@float `anchor1\' previously defined ', 'file_name' => '', 'line_nr' => 14, 'macro' => '', 'text' => '@float `anchor1\' previously defined', 'type' => 'error' }, { 'continuation' => 1, 'error_line' => 'here is the previous definition as @anchor ', 'file_name' => '', 'line_nr' => 7, 'macro' => '', 'text' => 'here is the previous definition as @anchor', 'type' => 'error' }, { 'error_line' => '@node `float1\' previously defined ', 'file_name' => '', 'line_nr' => 20, 'macro' => '', 'text' => '@node `float1\' previously defined', 'type' => 'error' }, { 'continuation' => 1, 'error_line' => 'here is the previous definition as @float ', 'file_name' => '', 'line_nr' => 17, 'macro' => '', 'text' => 'here is the previous definition as @float', 'type' => 'error' } ]; $result_floats{'double_node_anchor_float'} = { 'Text' => [ { 'cmdname' => 'float', 'extra' => { 'float_type' => 'Text' } }, { 'cmdname' => 'float', 'extra' => { 'float_type' => 'Text' } }, { 'cmdname' => 'float', 'extra' => { 'float_type' => 'Text', 'normalized' => 'float1' }, 'structure' => { 'float_number' => 1 } } ] }; $result_converted{'info'}->{'double_node_anchor_float'} = 'This is , produced from . File: , Node: node1 Text Text Text 1 Tag Table: Node: node127 Ref: anchor151 Ref: float161 End Tag Table Local Variables: coding: utf-8 End: '; $result_converted_errors{'info'}->{'double_node_anchor_float'} = [ { 'error_line' => 'warning: document without Top node ', 'text' => 'document without Top node', 'type' => 'warning' } ]; $result_converted{'html'}->{'double_node_anchor_float'} = '
Text
Text
Text 1