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{'command_translated'} = { 'contents' => [ { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'fr' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'documentlanguage', 'extra' => { 'text_arg' => 'fr' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 1, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' } ], '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' => 3, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'top ' }, { 'args' => [ { 'type' => 'brace_command_arg' } ], 'cmdname' => 'error', 'source_info' => { 'file_name' => '', 'line_nr' => 4, 'macro' => '' } } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'top', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'args' => [ { 'type' => 'brace_command_arg' } ], 'cmdname' => 'error', 'source_info' => { 'file_name' => '', 'line_nr' => 6, 'macro' => '' } }, { 'text' => ' ' } ], 'type' => 'paragraph' }, { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 4, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'chapter ' }, { 'args' => [ { 'type' => 'brace_command_arg' } ], 'cmdname' => 'error', 'source_info' => { 'file_name' => '', 'line_nr' => 8, 'macro' => '' } } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'extra' => { 'normalized' => 'chapter-error_002d_002d_003e' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 8, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'Chapter' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'chapter', 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 9, 'macro' => '' } } ], 'type' => 'document_root' }; $result_texis{'command_translated'} = '@documentlanguage fr @node Top @top top @error{} @error{} @node chapter @error{} @chapter Chapter '; $result_texts{'command_translated'} = ' top error--> ************ error--> 1 Chapter ********* '; $result_sectioning{'command_translated'} = { 'structure' => { 'section_childs' => [ { 'cmdname' => 'top', 'extra' => { 'associated_node' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'structure' => {} } }, 'structure' => { 'section_childs' => [ { 'cmdname' => 'chapter', 'extra' => { 'associated_node' => { 'cmdname' => 'node', 'extra' => { 'normalized' => 'chapter-error_002d_002d_003e' }, 'structure' => {} } }, 'structure' => { 'section_level' => 1, 'section_number' => 1, 'section_up' => {}, 'toplevel_prev' => {}, 'toplevel_up' => {} } } ], 'section_level' => 0, 'section_up' => {} } } ], 'section_level' => -1 } }; $result_sectioning{'command_translated'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'command_translated'}{'structure'}{'section_childs'}[0]; $result_sectioning{'command_translated'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'} = $result_sectioning{'command_translated'}{'structure'}{'section_childs'}[0]; $result_sectioning{'command_translated'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'} = $result_sectioning{'command_translated'}{'structure'}{'section_childs'}[0]; $result_sectioning{'command_translated'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'command_translated'}; $result_nodes{'command_translated'} = { 'cmdname' => 'node', 'extra' => { 'associated_section' => { 'cmdname' => 'top', 'extra' => {}, 'structure' => {} }, 'normalized' => 'Top' }, 'structure' => { 'node_next' => { 'cmdname' => 'node', 'extra' => { 'associated_section' => { 'cmdname' => 'chapter', 'extra' => {}, 'structure' => { 'section_number' => 1 } }, 'normalized' => 'chapter-error_002d_002d_003e' }, 'structure' => { 'node_prev' => {}, 'node_up' => {} } } } }; $result_nodes{'command_translated'}{'structure'}{'node_next'}{'structure'}{'node_prev'} = $result_nodes{'command_translated'}; $result_nodes{'command_translated'}{'structure'}{'node_next'}{'structure'}{'node_up'} = $result_nodes{'command_translated'}; $result_menus{'command_translated'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'structure' => {} }; $result_errors{'command_translated'} = []; $result_floats{'command_translated'} = {}; $result_converted{'plaintext'}->{'command_translated'} = 'top erreur→ *********** erreur→ 1 Chapter ********* '; $result_converted{'info'}->{'command_translated'} = 'This is , produced from . File: , Node: Top, Next: chapter erreur→, Up: (dir) top erreur→ *********** erreur→ * Menu: * chapter erreur→:: File: , Node: chapter erreur→, Prev: Top, Up: Top 1 Chapter ********* Tag Table: Node: Top27 Node: chapter erreur→157 End Tag Table Local Variables: coding: utf-8 End: '; $result_converted{'html'}->{'command_translated'} = '