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_index_entry'} = { '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', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'aaa' } ], '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' => 3, 'macro' => '' }, 'type' => 'index_entry_command' }, { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'Text ' } ], 'type' => 'paragraph' }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'aaa' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'cindex', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'cp', 2 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 7, 'macro' => '' }, 'type' => 'index_entry_command' }, { '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 other node' } ], 'extra' => { 'node_content' => [ {} ], 'normalized' => 'chap-other-node' }, 'type' => 'menu_entry_node' }, { 'text' => '::', 'type' => 'menu_entry_separator' }, { 'contents' => [ { 'contents' => [ { 'text' => ' ' } ], 'type' => 'preformatted' } ], 'type' => 'menu_entry_description' } ], 'source_info' => { 'file_name' => '', 'line_nr' => 10, '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' => 11, 'macro' => '' } } ], 'source_info' => { 'file_name' => '', 'line_nr' => 9, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => { 'normalized' => 'Top' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 1, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'chap other node' } ], 'type' => 'line_arg' }, { 'type' => 'line_arg' }, { 'type' => 'line_arg' }, { 'contents' => [ { 'text' => 'Top' } ], 'extra' => { 'node_content' => [ {} ], 'normalized' => 'Top' }, 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'aaa' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'cindex', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'cp', 3 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 15, 'macro' => '' }, 'type' => 'index_entry_command' }, { 'text' => ' ', 'type' => 'empty_line' }, { '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' => 17, 'macro' => '' } } ], 'extra' => { 'isindex' => 1, 'normalized' => 'chap-other-node' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 13, 'macro' => '' } } ], 'type' => 'document_root' }; $result_trees{'double_index_entry'}{'contents'}[1]{'contents'}[1]{'extra'}{'element_node'} = $result_trees{'double_index_entry'}{'contents'}[1]; $result_trees{'double_index_entry'}{'contents'}[1]{'contents'}[5]{'extra'}{'element_node'} = $result_trees{'double_index_entry'}{'contents'}[1]; $result_trees{'double_index_entry'}{'contents'}[1]{'contents'}[7]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'double_index_entry'}{'contents'}[1]{'contents'}[7]{'contents'}[0]{'contents'}[1]{'contents'}[0]; $result_trees{'double_index_entry'}{'contents'}[2]{'args'}[3]{'extra'}{'node_content'}[0] = $result_trees{'double_index_entry'}{'contents'}[2]{'args'}[3]{'contents'}[0]; $result_trees{'double_index_entry'}{'contents'}[2]{'contents'}[1]{'extra'}{'element_node'} = $result_trees{'double_index_entry'}{'contents'}[2]; $result_texis{'double_index_entry'} = '@node Top @cindex aaa Text @cindex aaa @menu * chap other node:: @end menu @node chap other node,,,Top @cindex aaa @printindex cp '; $result_texts{'double_index_entry'} = ' Text * chap other node:: '; $result_nodes{'double_index_entry'} = { 'cmdname' => 'node', 'extra' => { 'menus' => [ { 'cmdname' => 'menu' } ], 'normalized' => 'Top' }, 'structure' => { 'menu_child' => { 'cmdname' => 'node', 'extra' => { 'isindex' => 1, 'normalized' => 'chap-other-node' }, 'structure' => { 'node_prev' => {}, 'node_up' => {} } }, 'node_next' => {} } }; $result_nodes{'double_index_entry'}{'structure'}{'menu_child'}{'structure'}{'node_prev'} = $result_nodes{'double_index_entry'}; $result_nodes{'double_index_entry'}{'structure'}{'menu_child'}{'structure'}{'node_up'} = $result_nodes{'double_index_entry'}; $result_nodes{'double_index_entry'}{'structure'}{'node_next'} = $result_nodes{'double_index_entry'}{'structure'}{'menu_child'}; $result_menus{'double_index_entry'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'structure' => { 'menu_child' => { 'cmdname' => 'node', 'extra' => { 'isindex' => 1, 'normalized' => 'chap-other-node' }, 'structure' => { 'menu_up' => {}, 'menu_up_hash' => { 'Top' => 1 } } } } }; $result_menus{'double_index_entry'}{'structure'}{'menu_child'}{'structure'}{'menu_up'} = $result_menus{'double_index_entry'}; $result_errors{'double_index_entry'} = []; $result_floats{'double_index_entry'} = {}; $result_indices_sort_strings{'double_index_entry'} = { 'cp' => [ 'aaa', 'aaa', 'aaa' ] }; $result_converted{'info'}->{'double_index_entry'} = 'This is , produced from . File: , Node: Top, Next: chap other node, Up: (dir) Text * Menu: * chap other node:: File: , Node: chap other node, Prev: Top, Up: Top [index ] * Menu: * aaa: Top. (line 3) * aaa <1>: Top. (line 5) * aaa <2>: chap other node. (line 3) Tag Table: Node: Top27 Node: chap other node121 End Tag Table Local Variables: coding: utf-8 End: '; $result_converted{'plaintext'}->{'double_index_entry'} = 'Text * Menu: * aaa: Top. (line 0) * aaa <1>: Top. (line 2) * aaa <2>: chap other node. (line 2) '; $result_converted{'html_text'}->{'double_index_entry'} = '
Text