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); use utf8; $result_trees{'index_below'} = [ { 'contents' => [ { 'contents' => [], 'parent' => {}, 'type' => 'text_root' }, { 'args' => [ { 'contents' => [ { 'extra' => { 'command' => {} }, 'parent' => {}, 'text' => ' ', 'type' => 'empty_spaces_after_command' }, { 'parent' => {}, 'text' => 'top' }, { 'parent' => {}, 'text' => ' ', 'type' => 'spaces_at_end' } ], 'parent' => {}, 'type' => 'misc_line_arg' } ], 'cmdname' => 'top', 'contents' => [ { 'parent' => {}, 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => { 'misc_content' => [ {} ], 'spaces_after_command' => {} }, 'level' => 0, 'line_nr' => { 'file_name' => '', 'line_nr' => 1, 'macro' => '' }, 'parent' => {} } ], 'extra' => { 'element_command' => {}, 'section' => {} }, 'type' => 'element' }, { 'contents' => [ { 'args' => [ { 'contents' => [ { 'extra' => { 'command' => {} }, 'parent' => {}, 'text' => ' ', 'type' => 'empty_spaces_after_command' }, { 'parent' => {}, 'text' => 'chap' }, { 'parent' => {}, 'text' => ' ', 'type' => 'spaces_at_end' } ], 'parent' => {}, 'type' => 'misc_line_arg' } ], 'cmdname' => 'chapter', 'contents' => [ { 'parent' => {}, 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => { 'misc_content' => [ {} ], 'spaces_after_command' => {} }, 'level' => 1, 'line_nr' => { 'file_name' => '', 'line_nr' => 3, 'macro' => '' }, 'number' => 1, 'parent' => {} } ], 'element_prev' => {}, 'extra' => { 'element_command' => {}, 'section' => {} }, 'type' => 'element' }, { 'contents' => [ { 'args' => [ { 'contents' => [ { 'extra' => { 'command' => {} }, 'parent' => {}, 'text' => ' ', 'type' => 'empty_spaces_after_command' }, { 'parent' => {}, 'text' => 'sec' }, { 'parent' => {}, 'text' => ' ', 'type' => 'spaces_at_end' } ], 'parent' => {}, 'type' => 'misc_line_arg' } ], 'cmdname' => 'section', 'contents' => [ { 'parent' => {}, 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'extra' => { 'command' => {} }, 'parent' => {}, 'text' => ' ', 'type' => 'empty_spaces_after_command' }, { 'parent' => {}, 'text' => 'entry' }, { 'parent' => {}, 'text' => ' ', 'type' => 'spaces_at_end' } ], 'parent' => {}, 'type' => 'misc_line_arg' } ], 'cmdname' => 'cindex', 'extra' => { 'index_entry' => { 'command' => {}, 'content' => [ {} ], 'content_normalized' => [], 'in_code' => 0, 'index_at_command' => 'cindex', 'index_name' => 'cp', 'index_prefix' => 'c', 'index_type_command' => 'cindex', 'key' => 'entry', 'number' => 1 }, 'misc_content' => [], 'spaces_after_command' => {} }, 'line_nr' => { 'file_name' => '', 'line_nr' => 7, 'macro' => '' }, 'parent' => {}, 'type' => 'index_entry_command' }, { 'args' => [ { 'contents' => [ { 'extra' => { 'command' => {} }, 'parent' => {}, 'text' => ' ', 'type' => 'empty_spaces_after_command' }, { 'parent' => {}, 'text' => 'cp' }, { 'parent' => {}, 'text' => ' ', 'type' => 'spaces_at_end' } ], 'parent' => {}, 'type' => 'misc_line_arg' } ], 'cmdname' => 'printindex', 'extra' => { 'misc_args' => [ 'cp' ], 'spaces_after_command' => {} }, 'line_nr' => { 'file_name' => '', 'line_nr' => 8, 'macro' => '' }, 'parent' => {} } ], 'extra' => { 'misc_content' => [ {} ], 'spaces_after_command' => {} }, 'level' => 2, 'line_nr' => { 'file_name' => '', 'line_nr' => 5, 'macro' => '' }, 'number' => '1.1', 'parent' => {} } ], 'element_prev' => {}, 'extra' => { 'element_command' => {}, 'section' => {} }, 'type' => 'element' } ]; $result_trees{'index_below'}[0]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[0]; $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'index_below'}[0]{'contents'}[1]; $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]; $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]; $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]; $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'index_below'}[0]{'contents'}[1]; $result_trees{'index_below'}[0]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[0]{'contents'}[1]; $result_trees{'index_below'}[0]{'contents'}[1]{'extra'}{'misc_content'}[0] = $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]; $result_trees{'index_below'}[0]{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'index_below'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]; $result_trees{'index_below'}[0]{'contents'}[1]{'parent'} = $result_trees{'index_below'}[0]; $result_trees{'index_below'}[0]{'extra'}{'element_command'} = $result_trees{'index_below'}[0]{'contents'}[1]; $result_trees{'index_below'}[0]{'extra'}{'section'} = $result_trees{'index_below'}[0]{'contents'}[1]; $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'index_below'}[1]{'contents'}[0]; $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]; $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]; $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]; $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'index_below'}[1]{'contents'}[0]; $result_trees{'index_below'}[1]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[1]{'contents'}[0]; $result_trees{'index_below'}[1]{'contents'}[0]{'extra'}{'misc_content'}[0] = $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]; $result_trees{'index_below'}[1]{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'index_below'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]; $result_trees{'index_below'}[1]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[1]; $result_trees{'index_below'}[1]{'element_prev'} = $result_trees{'index_below'}[0]; $result_trees{'index_below'}[1]{'extra'}{'element_command'} = $result_trees{'index_below'}[1]{'contents'}[0]; $result_trees{'index_below'}[1]{'extra'}{'section'} = $result_trees{'index_below'}[1]{'contents'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'index_below'}[2]{'contents'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'extra'}{'index_entry'}{'command'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'extra'}{'index_entry'}{'content'}[0] = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'extra'}{'index_entry'}{'content_normalized'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'extra'}{'index_entry'}{'content'}; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'extra'}{'misc_content'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'extra'}{'index_entry'}{'content'}; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'args'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'args'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'args'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'extra'}{'spaces_after_command'} = $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'index_below'}[2]{'contents'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'extra'}{'misc_content'}[0] = $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]{'contents'}[1]; $result_trees{'index_below'}[2]{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'index_below'}[2]{'contents'}[0]{'args'}[0]{'contents'}[0]; $result_trees{'index_below'}[2]{'contents'}[0]{'parent'} = $result_trees{'index_below'}[2]; $result_trees{'index_below'}[2]{'element_prev'} = $result_trees{'index_below'}[1]; $result_trees{'index_below'}[2]{'extra'}{'element_command'} = $result_trees{'index_below'}[2]{'contents'}[0]; $result_trees{'index_below'}[2]{'extra'}{'section'} = $result_trees{'index_below'}[2]{'contents'}[0]; $result_texis{'index_below'} = '@top top @chapter chap @section sec @cindex entry @printindex cp '; $result_texts{'index_below'} = 'top *** 1 chap ****** 1.1 sec ======= '; $result_sectioning{'index_below'} = { 'level' => -1, 'section_childs' => [ { 'cmdname' => 'top', 'extra' => {}, 'level' => 0, 'section_childs' => [ { 'cmdname' => 'chapter', 'extra' => {}, 'level' => 1, 'number' => 1, 'section_childs' => [ { 'cmdname' => 'section', 'extra' => {}, 'level' => 2, 'number' => '1.1', 'section_up' => {} } ], 'section_up' => {}, 'toplevel_prev' => {}, 'toplevel_up' => {} } ], 'section_up' => {} } ] }; $result_sectioning{'index_below'}{'section_childs'}[0]{'section_childs'}[0]{'section_childs'}[0]{'section_up'} = $result_sectioning{'index_below'}{'section_childs'}[0]{'section_childs'}[0]; $result_sectioning{'index_below'}{'section_childs'}[0]{'section_childs'}[0]{'section_up'} = $result_sectioning{'index_below'}{'section_childs'}[0]; $result_sectioning{'index_below'}{'section_childs'}[0]{'section_childs'}[0]{'toplevel_prev'} = $result_sectioning{'index_below'}{'section_childs'}[0]; $result_sectioning{'index_below'}{'section_childs'}[0]{'section_childs'}[0]{'toplevel_up'} = $result_sectioning{'index_below'}{'section_childs'}[0]; $result_sectioning{'index_below'}{'section_childs'}[0]{'section_up'} = $result_sectioning{'index_below'}; $result_errors{'index_below'} = []; $result_elements{'index_below'} = [ { 'extra' => { 'directions' => { 'FastForward' => { 'extra' => { 'directions' => { 'Back' => {}, 'FastBack' => {}, 'Forward' => { 'extra' => { 'directions' => { 'Back' => {}, 'FastBack' => {}, 'This' => {}, 'Up' => {} }, 'element_command' => { 'cmdname' => 'section', 'extra' => {}, 'level' => 2, 'number' => '1.1' }, 'section' => {} }, 'type' => 'element' }, 'This' => {}, 'Up' => {} }, 'element_command' => { 'cmdname' => 'chapter', 'extra' => {}, 'level' => 1, 'number' => 1 }, 'section' => {} }, 'type' => 'element' }, 'Forward' => {}, 'This' => {} }, 'element_command' => { 'cmdname' => 'top', 'extra' => {}, 'level' => 0 }, 'section' => {} }, 'type' => 'element' }, {}, {} ]; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Back'} = $result_elements{'index_below'}[0]; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'FastBack'} = $result_elements{'index_below'}[0]; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Forward'}{'extra'}{'directions'}{'Back'} = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Forward'}{'extra'}{'directions'}{'FastBack'} = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Forward'}{'extra'}{'directions'}{'This'} = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Forward'}; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Forward'}{'extra'}{'directions'}{'Up'} = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Forward'}{'extra'}{'section'} = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Forward'}{'extra'}{'element_command'}; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'This'} = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Up'} = $result_elements{'index_below'}[0]; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'section'} = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'element_command'}; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'Forward'} = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}; $result_elements{'index_below'}[0]{'extra'}{'directions'}{'This'} = $result_elements{'index_below'}[0]; $result_elements{'index_below'}[0]{'extra'}{'section'} = $result_elements{'index_below'}[0]{'extra'}{'element_command'}; $result_elements{'index_below'}[1] = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}; $result_elements{'index_below'}[2] = $result_elements{'index_below'}[0]{'extra'}{'directions'}{'FastForward'}{'extra'}{'directions'}{'Forward'}; $result_directions_text{'index_below'} = 'element: @top top FastForward: @chapter chap Forward: @chapter chap This: @top top element: @chapter chap Back: @top top FastBack: @top top Forward: @section sec This: @chapter chap Up: @top top element: @section sec Back: @chapter chap FastBack: @chapter chap This: @section sec Up: @chapter chap '; $result_converted{'html'}->{'index_below'} = ' top

  [Index]

top


  [Index]

1 chap


  [Index]

1.1 sec

Jump to:   E  
Index Entry  Section

E
entry: 1.1 sec

Jump to:   E  

'; 1;