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{'block_commands_in_table'} = { 'contents' => [ { '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' => 'Element' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'top', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 2, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'chap' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'extra' => { 'normalized' => 'chap' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 4, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'Chapter' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'chapter', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'cmdname' => 'emph', 'source_info' => { 'file_name' => '', 'line_nr' => 7, 'macro' => '' }, 'type' => 'command_as_argument' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'table', 'contents' => [ { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'first item' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'item', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 8, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'second itemx' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'itemx', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 9, 'macro' => '' } } ], 'type' => 'table_term' }, { 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'Text. ' } ], 'type' => 'paragraph' }, { 'text' => ' ', 'type' => 'empty_line' } ], 'type' => 'table_definition' } ], 'type' => 'table_entry' }, { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'example' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'item', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 13, 'macro' => '' } } ], 'type' => 'table_term' }, { 'contents' => [ { 'args' => [ { 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'example', 'contents' => [ { 'contents' => [ { 'text' => 'In example ' }, { 'text' => ' ', 'type' => 'empty_line' }, { 'text' => 'end example. ' } ], 'type' => 'preformatted' }, { 'args' => [ { 'contents' => [ { 'text' => 'example' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'example' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 18, 'macro' => '' } } ], 'source_info' => { 'file_name' => '', 'line_nr' => 14, 'macro' => '' } } ], 'type' => 'table_definition' } ], 'type' => 'table_entry' }, { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'empty line' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'item', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 19, 'macro' => '' } } ], 'type' => 'table_term' }, { 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'empty line. ' } ], 'type' => 'paragraph' } ], 'type' => 'table_definition' } ], 'type' => 'table_entry' }, { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'quotation' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'item', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 22, 'macro' => '' } } ], 'type' => 'table_term' }, { 'contents' => [ { 'args' => [ { 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'quotation', 'contents' => [ { 'contents' => [ { 'text' => 'Quotation ' } ], 'type' => 'paragraph' }, { 'args' => [ { 'contents' => [ { 'text' => 'quotation' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'quotation' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 25, 'macro' => '' } } ], 'source_info' => { 'file_name' => '', 'line_nr' => 23, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' } ], 'type' => 'table_definition' } ], 'type' => 'table_entry' }, { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'quotation after a blank line' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'item', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 27, 'macro' => '' } } ], 'type' => 'table_term' }, { 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'quotation', 'contents' => [ { 'contents' => [ { 'text' => 'quotation after a blank line ' } ], 'type' => 'paragraph' }, { 'args' => [ { 'contents' => [ { 'text' => 'quotation' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'quotation' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 31, 'macro' => '' } } ], 'source_info' => { 'file_name' => '', 'line_nr' => 29, 'macro' => '' } } ], 'type' => 'table_definition' } ], 'type' => 'table_entry' }, { 'args' => [ { 'contents' => [ { 'text' => 'table' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'table' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 32, 'macro' => '' } } ], 'extra' => { 'command_as_argument' => {} }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 7, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'cmdname' => 'strong', 'source_info' => { 'file_name' => '', 'line_nr' => 34, 'macro' => '' }, 'type' => 'command_as_argument' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'vtable', 'contents' => [ { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'item before ignored lines' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'item', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'vr', 1 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 35, 'macro' => '' } }, { 'contents' => [ { 'args' => [ { 'text' => ' comment ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' } ], 'type' => 'inter_item' }, { 'args' => [ { 'contents' => [ { 'text' => 'vindex' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'vindex', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'vr', 2 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 37, 'macro' => '' }, 'type' => 'index_entry_command' }, { 'args' => [ { 'contents' => [ { 'text' => 'itemx now' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'itemx', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'vr', 3 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 38, 'macro' => '' } } ], 'type' => 'table_term' }, { 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'Description ' } ], 'type' => 'paragraph' } ], 'type' => 'table_definition' } ], 'type' => 'table_entry' }, { 'args' => [ { 'contents' => [ { 'text' => 'vtable' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'vtable' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 41, 'macro' => '' } } ], 'extra' => { 'command_as_argument' => {} }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 34, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'cmdname' => 'r', 'source_info' => { 'file_name' => '', 'line_nr' => 42, 'macro' => '' }, 'type' => 'command_as_argument' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'vtable', 'contents' => [ { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'item' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'item', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'vr', 4 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 43, 'macro' => '' } }, { 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' } ], 'type' => 'inter_item' }, { 'args' => [ { 'contents' => [ { 'text' => 'itemx after an empty line' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'itemx', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'vr', 5 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 45, 'macro' => '' } } ], 'type' => 'table_term' }, { 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'Description. ' } ], 'type' => 'paragraph' }, { 'text' => ' ', 'type' => 'empty_line' } ], 'type' => 'table_definition' } ], 'type' => 'table_entry' }, { 'args' => [ { 'contents' => [ { 'text' => 'vtable' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'vtable' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 49, 'macro' => '' } } ], 'extra' => { 'command_as_argument' => {} }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 42, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'Something. ' } ], 'type' => 'paragraph' }, { 'args' => [ { 'contents' => [ { 'cmdname' => 'emph', 'source_info' => { 'file_name' => '', 'line_nr' => 52, 'macro' => '' }, 'type' => 'command_as_argument' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'table', 'contents' => [ { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'in item' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'item', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 53, 'macro' => '' } } ], 'type' => 'table_term' }, { 'contents' => [ { 'contents' => [ { 'text' => 'Text without blank line ' } ], 'type' => 'paragraph' } ], 'type' => 'table_definition' } ], 'type' => 'table_entry' }, { 'contents' => [ { 'contents' => [ { 'args' => [ { 'contents' => [ { 'text' => 'second item' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'item', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 55, 'macro' => '' } } ], 'type' => 'table_term' }, { 'contents' => [ { 'contents' => [ { 'text' => 'Text without blank line 2 ' } ], 'type' => 'paragraph' } ], 'type' => 'table_definition' } ], 'type' => 'table_entry' }, { 'args' => [ { 'contents' => [ { 'text' => 'table' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'table' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 57, 'macro' => '' } } ], 'extra' => { 'command_as_argument' => {} }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 52, 'macro' => '' } }, { 'contents' => [ { 'text' => 'After table. ' } ], 'type' => 'paragraph' } ], 'extra' => {}, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 5, 'macro' => '' } } ], 'type' => 'document_root' }; $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[1]{'extra'}{'command_as_argument'} = $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0]; $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'element_node'} = $result_trees{'block_commands_in_table'}{'contents'}[3]; $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'element_node'} = $result_trees{'block_commands_in_table'}{'contents'}[3]; $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'contents'}[3]{'extra'}{'element_node'} = $result_trees{'block_commands_in_table'}{'contents'}[3]; $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[3]{'extra'}{'command_as_argument'} = $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[3]{'args'}[0]{'contents'}[0]; $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[4]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'element_node'} = $result_trees{'block_commands_in_table'}{'contents'}[3]; $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[4]{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'element_node'} = $result_trees{'block_commands_in_table'}{'contents'}[3]; $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[4]{'extra'}{'command_as_argument'} = $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]; $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[7]{'extra'}{'command_as_argument'} = $result_trees{'block_commands_in_table'}{'contents'}[4]{'contents'}[7]{'args'}[0]{'contents'}[0]; $result_texis{'block_commands_in_table'} = '@node Top @top Element @node chap @chapter Chapter @table @emph @item first item @itemx second itemx Text. @item example @example In example end example. @end example @item empty line empty line. @item quotation @quotation Quotation @end quotation @item quotation after a blank line @quotation quotation after a blank line @end quotation @end table @vtable @strong @item item before ignored lines @c comment @vindex vindex @itemx itemx now Description @end vtable @vtable @r @item item @itemx itemx after an empty line Description. @end vtable Something. @table @emph @item in item Text without blank line @item second item Text without blank line 2 @end table After table. '; $result_texts{'block_commands_in_table'} = 'Element ******* 1 Chapter ********* first item second itemx Text. example In example end example. empty line empty line. quotation Quotation quotation after a blank line quotation after a blank line item before ignored lines itemx now Description item itemx after an empty line Description. Something. in item Text without blank line second item Text without blank line 2 After table. '; $result_sectioning{'block_commands_in_table'} = { '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' => 'chap' }, 'structure' => {} } }, 'structure' => { 'section_level' => 1, 'section_number' => 1, 'section_up' => {}, 'toplevel_prev' => {}, 'toplevel_up' => {} } } ], 'section_level' => 0, 'section_up' => {} } } ], 'section_level' => -1 } }; $result_sectioning{'block_commands_in_table'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'block_commands_in_table'}{'structure'}{'section_childs'}[0]; $result_sectioning{'block_commands_in_table'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'} = $result_sectioning{'block_commands_in_table'}{'structure'}{'section_childs'}[0]; $result_sectioning{'block_commands_in_table'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'} = $result_sectioning{'block_commands_in_table'}{'structure'}{'section_childs'}[0]; $result_sectioning{'block_commands_in_table'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'block_commands_in_table'}; $result_nodes{'block_commands_in_table'} = { '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' => 'chap' }, 'structure' => { 'node_prev' => {}, 'node_up' => {} } } } }; $result_nodes{'block_commands_in_table'}{'structure'}{'node_next'}{'structure'}{'node_prev'} = $result_nodes{'block_commands_in_table'}; $result_nodes{'block_commands_in_table'}{'structure'}{'node_next'}{'structure'}{'node_up'} = $result_nodes{'block_commands_in_table'}; $result_menus{'block_commands_in_table'} = { 'cmdname' => 'node', 'extra' => { 'normalized' => 'Top' }, 'structure' => {} }; $result_errors{'block_commands_in_table'} = []; $result_floats{'block_commands_in_table'} = {}; $result_indices_sort_strings{'block_commands_in_table'} = { 'vr' => [ 'item', 'item before ignored lines', 'itemx after an empty line', 'itemx now', 'vindex' ] }; $result_converted{'plaintext'}->{'block_commands_in_table'} = 'Element ******* 1 Chapter ********* _first item_ _second itemx_ Text. _example_ In example end example. _empty line_ empty line. _quotation_ Quotation _quotation after a blank line_ quotation after a blank line *item before ignored lines* *itemx now* Description item itemx after an empty line Description. Something. _in item_ Text without blank line _second item_ Text without blank line 2 After table. '; $result_converted{'html_text'}->{'block_commands_in_table'} = '
Text.
In example end example.
empty line.
Quotation
quotation after a blank line
Something.
Text without blank line
Text without blank line 2
After table.
Quotation
quotation after a blank line