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{'top_without_node_nodes'} = [ { 'contents' => [ { 'type' => 'before_node_section' }, { 'args' => [ { 'contents' => [ { 'text' => 'top section' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'top', 'contents' => [ { 'contents' => [ { 'text' => 'Top section ' } ], 'type' => 'paragraph' }, { 'text' => ' ', 'type' => 'empty_line' } ], 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 1, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'second' } ], 'type' => 'line_arg' }, { 'type' => 'line_arg' }, { 'type' => 'line_arg' }, { 'contents' => [ { 'text' => '(' }, { 'text' => 'dir' }, { 'text' => ')' } ], 'extra' => { 'manual_content' => [ {} ] }, 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'extra' => { 'normalized' => 'second' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 4, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'Chapter' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'chapter', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'Text of chapter ' } ], 'type' => 'paragraph' } ], 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 5, 'macro' => '' } } ], 'extra' => { 'unit_command' => {} }, 'type' => 'unit' } ]; $result_trees{'top_without_node_nodes'}[0]{'contents'}[2]{'args'}[3]{'extra'}{'manual_content'}[0] = $result_trees{'top_without_node_nodes'}[0]{'contents'}[2]{'args'}[3]{'contents'}[1]; $result_trees{'top_without_node_nodes'}[0]{'extra'}{'unit_command'} = $result_trees{'top_without_node_nodes'}[0]{'contents'}[2]; $result_texis{'top_without_node_nodes'} = '@top top section Top section @node second,,,(dir) @chapter Chapter Text of chapter '; $result_texts{'top_without_node_nodes'} = 'top section *********** Top section 1 Chapter ********* Text of chapter '; $result_sectioning{'top_without_node_nodes'} = { 'structure' => { 'section_childs' => [ { 'cmdname' => 'top', 'structure' => { 'associated_unit' => { 'extra' => { 'unit_command' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'second' }, 'structure' => { 'associated_unit' => {} } } }, 'structure' => { 'directions' => { 'NodeUp' => { 'extra' => {}, 'type' => 'external_node' }, 'This' => {} } }, 'type' => 'unit' }, 'section_childs' => [ { 'cmdname' => 'chapter', 'extra' => { 'associated_node' => {} }, 'structure' => { 'associated_unit' => {}, 'section_level' => 1, 'section_number' => 1, 'section_up' => {}, 'toplevel_prev' => {}, 'toplevel_up' => {} } } ], 'section_level' => 0, 'section_up' => {} } } ], 'section_level' => -1 } }; $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'associated_unit'}{'extra'}{'unit_command'}{'structure'}{'associated_unit'} = $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'associated_unit'}; $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'associated_unit'}{'structure'}{'directions'}{'This'} = $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'associated_unit'}; $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'extra'}{'associated_node'} = $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'associated_unit'}{'extra'}{'unit_command'}; $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'associated_unit'} = $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'associated_unit'}; $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]; $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'} = $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]; $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'} = $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]; $result_sectioning{'top_without_node_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'top_without_node_nodes'}; $result_nodes{'top_without_node_nodes'} = { 'cmdname' => 'node', 'extra' => { 'associated_section' => { 'cmdname' => 'chapter', 'extra' => {}, 'structure' => { 'associated_unit' => { 'extra' => { 'unit_command' => {} }, 'structure' => { 'directions' => { 'NodeUp' => { 'extra' => { 'manual_content' => [ { 'text' => 'dir' } ] }, 'type' => 'external_node' }, 'This' => {} } }, 'type' => 'unit' }, 'section_number' => 1 } }, 'normalized' => 'second' }, 'structure' => { 'associated_unit' => {}, 'node_up' => { 'extra' => { 'manual_content' => [] } } } }; $result_nodes{'top_without_node_nodes'}{'extra'}{'associated_section'}{'structure'}{'associated_unit'}{'extra'}{'unit_command'} = $result_nodes{'top_without_node_nodes'}; $result_nodes{'top_without_node_nodes'}{'extra'}{'associated_section'}{'structure'}{'associated_unit'}{'structure'}{'directions'}{'This'} = $result_nodes{'top_without_node_nodes'}{'extra'}{'associated_section'}{'structure'}{'associated_unit'}; $result_nodes{'top_without_node_nodes'}{'structure'}{'associated_unit'} = $result_nodes{'top_without_node_nodes'}{'extra'}{'associated_section'}{'structure'}{'associated_unit'}; $result_nodes{'top_without_node_nodes'}{'structure'}{'node_up'}{'extra'}{'manual_content'} = $result_nodes{'top_without_node_nodes'}{'extra'}{'associated_section'}{'structure'}{'associated_unit'}{'structure'}{'directions'}{'NodeUp'}{'extra'}{'manual_content'}; $result_menus{'top_without_node_nodes'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'second' }, 'structure' => { 'associated_unit' => { 'extra' => { 'unit_command' => {} }, 'structure' => { 'directions' => { 'NodeUp' => { 'extra' => { 'manual_content' => [ { 'text' => 'dir' } ] }, 'type' => 'external_node' }, 'This' => {} } }, 'type' => 'unit' } } }; $result_menus{'top_without_node_nodes'}{'structure'}{'associated_unit'}{'extra'}{'unit_command'} = $result_menus{'top_without_node_nodes'}; $result_menus{'top_without_node_nodes'}{'structure'}{'associated_unit'}{'structure'}{'directions'}{'This'} = $result_menus{'top_without_node_nodes'}{'structure'}{'associated_unit'}; $result_errors{'top_without_node_nodes'} = []; $result_floats{'top_without_node_nodes'} = {}; $result_elements{'top_without_node_nodes'} = [ { 'extra' => { 'unit_command' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'second' }, 'structure' => { 'associated_unit' => {} } } }, 'structure' => { 'directions' => { 'NodeUp' => { 'extra' => { 'manual_content' => [ { 'text' => 'dir' } ] }, 'type' => 'external_node' }, 'This' => {} } }, 'type' => 'unit' } ]; $result_elements{'top_without_node_nodes'}[0]{'extra'}{'unit_command'}{'structure'}{'associated_unit'} = $result_elements{'top_without_node_nodes'}[0]; $result_elements{'top_without_node_nodes'}[0]{'structure'}{'directions'}{'This'} = $result_elements{'top_without_node_nodes'}[0]; $result_directions_text{'top_without_node_nodes'} = 'element: @node second NodeUp: (dir) This: @node second '; $result_converted{'info'}->{'top_without_node_nodes'} = 'This is , produced from . top section *********** Top section File: , Node: second, Up: (dir) 1 Chapter ********* Text of chapter Tag Table: Node: second65 End Tag Table Local Variables: coding: utf-8 End: '; $result_converted_errors{'info'}->{'top_without_node_nodes'} = [ { 'error_line' => 'warning: document without Top node ', 'text' => 'document without Top node', 'type' => 'warning' } ]; $result_converted{'html'}->{'top_without_node_nodes'} = '