123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- 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{'space_in_image'} = {
- 'contents' => [
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'empty_spaces_before_argument'
- },
- {
- 'parent' => {},
- 'text' => 'a'
- },
- {
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'spaces_at_end'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'bb'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'empty_spaces_before_argument'
- },
- {
- 'parent' => {},
- 'text' => 'cc'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'dd'
- },
- {
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'spaces_at_end'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'e'
- },
- {
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'spaces_at_end'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- }
- ],
- 'cmdname' => 'image',
- 'contents' => [],
- 'extra' => {
- 'brace_command_contents' => [
- [
- {}
- ],
- [
- {}
- ],
- [
- {}
- ],
- [
- {}
- ],
- [
- {}
- ]
- ],
- 'spaces_before_argument' => {}
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 1,
- 'macro' => ''
- },
- 'parent' => {}
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => '. '
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'empty_spaces_before_argument'
- },
- {
- 'parent' => {},
- 'text' => 'f'
- },
- {
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'spaces_at_end'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- }
- ],
- 'cmdname' => 'image',
- 'contents' => [],
- 'extra' => {
- 'brace_command_contents' => [
- [
- {}
- ]
- ],
- 'spaces_before_argument' => {}
- },
- 'line_nr' => {},
- 'parent' => {}
- },
- {
- 'parent' => {},
- 'text' => '.'
- }
- ],
- 'parent' => {},
- 'type' => 'paragraph'
- }
- ],
- 'type' => 'text_root'
- };
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[1];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[1]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[2]{'contents'}[0]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[2];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[2]{'contents'}[1]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[2];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[2]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[3];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[3]{'contents'}[1]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[3];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[3]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[4]{'contents'}[0]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[4];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[4]{'contents'}[1]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[4];
- $result_trees{'space_in_image'}{'contents'}[0]{'args'}[4]{'parent'} = $result_trees{'space_in_image'}{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[0]{'contents'}[1];
- $result_trees{'space_in_image'}{'contents'}[0]{'extra'}{'brace_command_contents'}[1][0] = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[1]{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'extra'}{'brace_command_contents'}[2][0] = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[2]{'contents'}[1];
- $result_trees{'space_in_image'}{'contents'}[0]{'extra'}{'brace_command_contents'}[3][0] = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[3]{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'extra'}{'brace_command_contents'}[4][0] = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[4]{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'extra'}{'spaces_before_argument'} = $result_trees{'space_in_image'}{'contents'}[0]{'args'}[0]{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[0]{'parent'} = $result_trees{'space_in_image'};
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'space_in_image'}{'contents'}[1];
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'args'}[0];
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'args'}[0];
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'args'}[0];
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1];
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1];
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'extra'}{'spaces_before_argument'} = $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'line_nr'} = $result_trees{'space_in_image'}{'contents'}[0]{'line_nr'};
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'space_in_image'}{'contents'}[1];
- $result_trees{'space_in_image'}{'contents'}[1]{'contents'}[2]{'parent'} = $result_trees{'space_in_image'}{'contents'}[1];
- $result_trees{'space_in_image'}{'contents'}[1]{'parent'} = $result_trees{'space_in_image'};
- $result_texis{'space_in_image'} = '@image{ a ,bb, cc,dd ,e }. @image{ f }.';
- $result_texts{'space_in_image'} = 'a. f.';
- $result_errors{'space_in_image'} = [];
- $result_converted{'plaintext'}->{'space_in_image'} = 'An image text before paragraph.. Another image text, in paragraph..
- ';
- $result_converted{'html_text'}->{'space_in_image'} = '<img src="a.e" alt="dd"><p>. <img src="f.jpg" alt="f">.</p>';
- $result_converted_errors{'html_text'}->{'space_in_image'} = [
- {
- 'error_line' => ':1: warning: @image file `a\' (for HTML) not found, using `a.e\'
- ',
- 'file_name' => '',
- 'line_nr' => 1,
- 'macro' => '',
- 'text' => '@image file `a\' (for HTML) not found, using `a.e\'',
- 'type' => 'warning'
- },
- {
- 'error_line' => ':1: warning: @image file `f\' (for HTML) not found, using `f.jpg\'
- ',
- 'file_name' => '',
- 'line_nr' => 1,
- 'macro' => '',
- 'text' => '@image file `f\' (for HTML) not found, using `f.jpg\'',
- 'type' => 'warning'
- }
- ];
- 1;
|