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{'printindex_with_space_before'} = { 'contents' => [ { 'contents' => [ { 'contents' => [], 'type' => 'preamble_before_content' } ], 'type' => 'before_node_section' }, { 'args' => [ { 'contents' => [ { 'text' => 'Top' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 1, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'chap' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'index' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'cindex', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'cp', 1 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 4, 'macro' => '' }, 'type' => 'index_entry_command' }, { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'Text. ' } ], 'type' => 'paragraph' }, { 'args' => [ { 'contents' => [ { 'text' => 'cp' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'printindex', 'extra' => { 'misc_args' => [ 'cp' ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 7, 'macro' => '' } } ], 'extra' => { 'isindex' => 1, 'normalized' => 'chap' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 2, 'macro' => '' } } ], 'type' => 'document_root' }; $result_trees{'printindex_with_space_before'}{'contents'}[2]{'contents'}[1]{'extra'}{'element_node'} = $result_trees{'printindex_with_space_before'}{'contents'}[2]; $result_texis{'printindex_with_space_before'} = '@node Top @node chap @cindex index Text. @printindex cp '; $result_texts{'printindex_with_space_before'} = ' Text. '; $result_nodes{'printindex_with_space_before'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'structure' => { 'node_next' => { 'cmdname' => 'node', 'extra' => { 'isindex' => 1, 'normalized' => 'chap' }, 'structure' => { 'node_prev' => {} } } } }; $result_nodes{'printindex_with_space_before'}{'structure'}{'node_next'}{'structure'}{'node_prev'} = $result_nodes{'printindex_with_space_before'}; $result_menus{'printindex_with_space_before'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'structure' => {} }; $result_errors{'printindex_with_space_before'} = []; $result_floats{'printindex_with_space_before'} = {}; $result_indices_sort_strings{'printindex_with_space_before'} = { 'cp' => [ 'index' ] }; $result_converted{'info'}->{'printindex_with_space_before'} = 'This is , produced from . File: , Node: Top, Next: chap, Up: (dir) File: , Node: chap, Prev: Top Text. [index ] * Menu: * index: chap. (line 3) Tag Table: Node: Top27 Node: chap74 End Tag Table Local Variables: coding: utf-8 End: '; $result_converted{'plaintext'}->{'printindex_with_space_before'} = 'Text. * Menu: * index: chap. (line 0) '; $result_converted{'html_text'}->{'printindex_with_space_before'} = '
Text.
'; $result_converted{'xml'}->{'printindex_with_space_before'} = '