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{'space_in_node'} = { 'contents' => [ { 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' } ], 'type' => 'before_node_section' }, { 'args' => [ { 'contents' => [ { 'text' => 'Top' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'menu', 'contents' => [ { 'contents' => [ { 'text' => '* ', 'type' => 'menu_entry_leading_text' }, { 'contents' => [ { 'text' => 'Chap first here' } ], 'extra' => { 'node_content' => [ {} ], 'normalized' => 'Chap-first-here' }, 'type' => 'menu_entry_node' }, { 'text' => '::', 'type' => 'menu_entry_separator' }, { 'contents' => [ { 'contents' => [ { 'text' => ' ' } ], 'type' => 'preformatted' } ], 'type' => 'menu_entry_description' } ], 'source_info' => { 'file_name' => '', 'line_nr' => 5, 'macro' => '' }, 'type' => 'menu_entry' }, { 'contents' => [ { 'text' => '* ', 'type' => 'menu_entry_leading_text' }, { 'contents' => [ { 'text' => 'Test title ' } ], 'type' => 'menu_entry_name' }, { 'text' => ':', 'type' => 'menu_entry_separator' }, { 'contents' => [ { 'text' => 'Test title' } ], 'extra' => { 'node_content' => [ {} ], 'normalized' => 'Test-title' }, 'type' => 'menu_entry_node' }, { 'text' => '.', 'type' => 'menu_entry_separator' }, { 'contents' => [ { 'contents' => [ { 'text' => ' ' } ], 'type' => 'preformatted' } ], 'type' => 'menu_entry_description' } ], 'source_info' => { 'file_name' => '', 'line_nr' => 6, 'macro' => '' }, 'type' => 'menu_entry' }, { 'contents' => [ { 'text' => '* ', 'type' => 'menu_entry_leading_text' }, { 'contents' => [ { 'text' => 'Last with spaces' }, { 'text' => ' ', 'type' => 'space_at_end_menu_node' } ], 'extra' => { 'node_content' => [ {}, {} ], 'normalized' => 'Last-with-spaces' }, 'type' => 'menu_entry_node' }, { 'text' => '::', 'type' => 'menu_entry_separator' }, { 'contents' => [ { 'contents' => [ { 'text' => ' ' } ], 'type' => 'preformatted' } ], 'type' => 'menu_entry_description' } ], 'source_info' => { 'file_name' => '', 'line_nr' => 7, 'macro' => '' }, 'type' => 'menu_entry' }, { 'args' => [ { 'contents' => [ { 'text' => 'menu' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'menu' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 8, 'macro' => '' } } ], 'source_info' => { 'file_name' => '', 'line_nr' => 4, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => { 'normalized' => 'Top' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 2, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'Chap first here' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => { 'normalized' => 'Chap-first-here' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 10, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'Test title' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => { 'normalized' => 'Test-title' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 12, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'Last with spaces' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'extra' => { 'normalized' => 'Last-with-spaces' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 14, 'macro' => '' } } ], 'type' => 'document_root' }; $result_trees{'space_in_node'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'space_in_node'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0]; $result_trees{'space_in_node'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[3]{'extra'}{'node_content'}[0] = $result_trees{'space_in_node'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'contents'}[3]{'contents'}[0]; $result_trees{'space_in_node'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'space_in_node'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'contents'}[0]; $result_trees{'space_in_node'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'node_content'}[1] = $result_trees{'space_in_node'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'contents'}[1]; $result_texis{'space_in_node'} = ' @node Top @menu * Chap first here:: * Test title :Test title. * Last with spaces :: @end menu @node Chap first here @node Test title @node Last with spaces '; $result_texts{'space_in_node'} = ' * Chap first here:: * Test title :Test title. * Last with spaces :: '; $result_nodes{'space_in_node'} = { 'cmdname' => 'node', 'extra' => { 'menus' => [ { 'cmdname' => 'menu' } ], 'normalized' => 'Top' }, 'structure' => { 'menu_child' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Chap-first-here' }, 'structure' => { 'node_next' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Test-title' }, 'structure' => { 'node_next' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Last-with-spaces' }, 'structure' => { 'node_prev' => {}, 'node_up' => {} } }, 'node_prev' => {}, 'node_up' => {} } }, 'node_prev' => {}, 'node_up' => {} } }, 'node_next' => {} } }; $result_nodes{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_prev'} = $result_nodes{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'node_next'}; $result_nodes{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_next'}{'structure'}{'node_up'} = $result_nodes{'space_in_node'}; $result_nodes{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_prev'} = $result_nodes{'space_in_node'}{'structure'}{'menu_child'}; $result_nodes{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'node_next'}{'structure'}{'node_up'} = $result_nodes{'space_in_node'}; $result_nodes{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'node_prev'} = $result_nodes{'space_in_node'}; $result_nodes{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'node_up'} = $result_nodes{'space_in_node'}; $result_nodes{'space_in_node'}{'structure'}{'node_next'} = $result_nodes{'space_in_node'}{'structure'}{'menu_child'}; $result_menus{'space_in_node'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'structure' => { 'menu_child' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Chap-first-here' }, 'structure' => { 'menu_next' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Test-title' }, 'structure' => { 'menu_next' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Last-with-spaces' }, 'structure' => { 'menu_prev' => {}, 'menu_up' => {}, 'menu_up_hash' => { 'Top' => 1 } } }, 'menu_prev' => {}, 'menu_up' => {}, 'menu_up_hash' => { 'Top' => 1 } } }, 'menu_up' => {}, 'menu_up_hash' => { 'Top' => 1 } } } } }; $result_menus{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'} = $result_menus{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}; $result_menus{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_next'}{'structure'}{'menu_up'} = $result_menus{'space_in_node'}; $result_menus{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_prev'} = $result_menus{'space_in_node'}{'structure'}{'menu_child'}; $result_menus{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'menu_next'}{'structure'}{'menu_up'} = $result_menus{'space_in_node'}; $result_menus{'space_in_node'}{'structure'}{'menu_child'}{'structure'}{'menu_up'} = $result_menus{'space_in_node'}; $result_errors{'space_in_node'} = []; $result_floats{'space_in_node'} = {}; $result_converted{'info'}->{'space_in_node'} = 'This is , produced from . File: , Node: Top, Next: Chap first here, Up: (dir) * Menu: * Chap first here:: * Test title :Test title. * Last with spaces :: File: , Node: Chap first here, Next: Test title, Prev: Top, Up: Top File: , Node: Test title, Next: Last with spaces, Prev: Chap first here, Up: Top File: , Node: Last with spaces, Prev: Test title, Up: Top Tag Table: Node: Top27 Node: Chap first here178 Node: Test title253 Node: Last with spaces341 End Tag Table Local Variables: coding: utf-8 End: '; $result_converted{'html'}->{'space_in_node'} = '