code:
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{'no_punctuation_commands_frenchspacing'} = {
  'contents' => [
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'on'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'frenchspacing',
      'extra' => {
        'misc_args' => [
          'on'
        ],
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 1,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'Dot.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ' Exclam!'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ' Question?'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ' Dot.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '  Exclam!'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '  Question?'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '  GAAA.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'End of lines Dot.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
'
        },
        {
          'parent' => {},
          'text' => 'Exclam!'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
'
        },
        {
          'parent' => {},
          'text' => 'Question?'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
'
        },
        {
          'parent' => {},
          'text' => 'End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'End of lines and spaces
'
        },
        {
          'parent' => {},
          'text' => 'Dot.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
'
        },
        {
          'parent' => {},
          'text' => 'Exclam!'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
'
        },
        {
          'parent' => {},
          'text' => 'Question?'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
'
        },
        {
          'parent' => {},
          'text' => 'End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'With paren.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ') paren.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ')  Symb.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ')"\'] Symb.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ')"\']  End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'End of lines paren.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ')
'
        },
        {
          'parent' => {},
          'text' => 'Symb.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ')"\']
'
        },
        {
          'parent' => {},
          'text' => 'End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'End of lines and spaces paren.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ')
'
        },
        {
          'parent' => {},
          'text' => 'Symb.'
        },
        {
          'cmdname' => ':',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => ')"\']
'
        },
        {
          'parent' => {},
          'text' => 'End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'args'}[0];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'args'}[0];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'args'}[0];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'args'}[0]{'contents'}[0];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[0]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[1]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[1]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[2]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[3]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[4]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[5]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[6]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[7]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[8]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[9]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[10]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[11]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'contents'}[12]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[2]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[3]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[0]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[1]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[2]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[3]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[4]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[5]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[6]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[7]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[8]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'contents'}[9]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[4]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[5]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[0]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[1]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[2]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[3]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[4]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[5]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[6]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[7]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[8]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[9]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'contents'}[10]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[6]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[7]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'contents'}[0]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'contents'}[1]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'contents'}[2]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'contents'}[3]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'contents'}[4]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'contents'}[5]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'contents'}[6]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'contents'}[7]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'contents'}[8]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[8]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[9]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10]{'contents'}[0]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10]{'contents'}[1]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10]{'contents'}[2]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10]{'contents'}[3]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10]{'contents'}[4]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10]{'contents'}[5]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10]{'contents'}[6]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[10]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[11]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12]{'contents'}[0]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12]{'contents'}[1]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12]{'contents'}[2]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12]{'contents'}[3]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12]{'contents'}[4]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12]{'contents'}[5]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12]{'contents'}[6]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12];
$result_trees{'no_punctuation_commands_frenchspacing'}{'contents'}[12]{'parent'} = $result_trees{'no_punctuation_commands_frenchspacing'};

$result_texis{'no_punctuation_commands_frenchspacing'} = '@frenchspacing on

Dot.@: Exclam!@: Question?@: Dot.@:  Exclam!@:  Question?@:  GAAA.

End of lines Dot.@:
Exclam!@:
Question?@:
End.

End of lines and spaces
Dot.@:
Exclam!@:
Question?@:
End.

With paren.@:) paren.@:)  Symb.@:)"\'] Symb.@:)"\']  End.

End of lines paren.@:)
Symb.@:)"\']
End.

End of lines and spaces paren.@:)
Symb.@:)"\']
End.
';

$result_texts{'no_punctuation_commands_frenchspacing'} = '
Dot. Exclam! Question? Dot.  Exclam!  Question?  GAAA.

End of lines Dot.
Exclam!
Question?
End.

End of lines and spaces
Dot.
Exclam!
Question?
End.

With paren.) paren.)  Symb.)"\'] Symb.)"\']  End.

End of lines paren.)
Symb.)"\']
End.

End of lines and spaces paren.)
Symb.)"\']
End.
';

$result_errors{'no_punctuation_commands_frenchspacing'} = [];

$result_converted{'plaintext'}->{'no_punctuation_commands_frenchspacing'} = 'Dot. Exclam! Question? Dot. Exclam! Question? GAAA.

   End of lines Dot. Exclam! Question? End.

   End of lines and spaces Dot. Exclam! Question? End.

   With paren.) paren.) Symb.)"\'] Symb.)"\'] End.

   End of lines paren.) Symb.)"\'] End.

   End of lines and spaces paren.) Symb.)"\'] End.
';

1;


code:
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{'non_break_spaces'} = {
  'contents' => [
    {
      'contents' => [
        {
          'args' => [
            {
              'contents' => [
                {
                  'extra' => {
                    'command' => {}
                  },
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_after_command'
                },
                {
                  'parent' => {},
                  'text' => 'utf-8'
                },
                {
                  'parent' => {},
                  'text' => '
',
                  'type' => 'spaces_at_end'
                }
              ],
              'parent' => {},
              'type' => 'misc_line_arg'
            }
          ],
          'cmdname' => 'documentencoding',
          'extra' => {
            'input_encoding_name' => 'utf-8',
            'input_perl_encoding' => 'utf-8-strict',
            'spaces_after_command' => {},
            'text_arg' => 'utf-8'
          },
          'line_nr' => {
            'file_name' => 'non_break_spaces.texi',
            'line_nr' => 1,
            'macro' => ''
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        }
      ],
      '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' => 'node',
      'contents' => [
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        },
        {
          'contents' => [
            {
              'parent' => {},
              'text' => "NO-BREAK SPACE: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x{a0}bbbbbbbbbbbbbbbbbbbbb
"
            },
            {
              'parent' => {},
              'text' => "NARROW NO-BREAK SPACE: ccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\x{202f}dddddddddddddddddddd
"
            }
          ],
          'parent' => {},
          'type' => 'paragraph'
        }
      ],
      'extra' => {
        'node_content' => [
          {}
        ],
        'nodes_manuals' => [
          {
            'node_content' => [],
            'normalized' => 'Top'
          }
        ],
        'normalized' => 'Top',
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => 'non_break_spaces.texi',
        'line_nr' => 3,
        'macro' => ''
      },
      'parent' => {}
    }
  ],
  'type' => 'document_root'
};
$result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0];
$result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'args'}[0];
$result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'args'}[0];
$result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'args'}[0];
$result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0];
$result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
$result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[0];
$result_trees{'non_break_spaces'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[0];
$result_trees{'non_break_spaces'}{'contents'}[0]{'parent'} = $result_trees{'non_break_spaces'};
$result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'non_break_spaces'}{'contents'}[1];
$result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0];
$result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0];
$result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0];
$result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[1];
$result_trees{'non_break_spaces'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[1];
$result_trees{'non_break_spaces'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[1]{'contents'}[1];
$result_trees{'non_break_spaces'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[1]{'contents'}[1];
$result_trees{'non_break_spaces'}{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'non_break_spaces'}{'contents'}[1];
$result_trees{'non_break_spaces'}{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0]{'contents'}[1];
$result_trees{'non_break_spaces'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'} = $result_trees{'non_break_spaces'}{'contents'}[1]{'extra'}{'node_content'};
$result_trees{'non_break_spaces'}{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'non_break_spaces'}{'contents'}[1]{'args'}[0]{'contents'}[0];
$result_trees{'non_break_spaces'}{'contents'}[1]{'parent'} = $result_trees{'non_break_spaces'};

$result_texis{'non_break_spaces'} = '@documentencoding utf-8

@node Top

NO-BREAK SPACE: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbb
NARROW NO-BREAK SPACE: ccccccccccccccccccccccccccccccccccccccccccccccccccccccccc dddddddddddddddddddd
';

$result_texts{'non_break_spaces'} = '

NO-BREAK SPACE: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbb
NARROW NO-BREAK SPACE: ccccccccccccccccccccccccccccccccccccccccccccccccccccccccc dddddddddddddddddddd
';

$result_sectioning{'non_break_spaces'} = {};

$result_nodes{'non_break_spaces'} = {
  'cmdname' => 'node',
  'extra' => {
    'normalized' => 'Top'
  },
  'node_up' => {
    'extra' => {
      'manual_content' => [
        {
          'text' => 'dir'
        }
      ],
      'top_node_up' => {}
    },
    'type' => 'top_node_up'
  }
};
$result_nodes{'non_break_spaces'}{'node_up'}{'extra'}{'top_node_up'} = $result_nodes{'non_break_spaces'};

$result_menus{'non_break_spaces'} = {
  'cmdname' => 'node',
  'extra' => {
    'normalized' => 'Top'
  }
};

$result_errors{'non_break_spaces'} = [];

1;

repo_name: mthl/texinfo

license: mit


code:
NO-BREAK SPACE:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbb
NARROW NO-BREAK SPACE:
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccc dddddddddddddddddddd


code:
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{'paragraphindent'} = {
  'contents' => [
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'First
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '           ',
      'type' => 'empty_spaces_before_paragraph'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'aaa b default
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'asis'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'paragraphindent',
      'extra' => {
        'misc_args' => [
          'asis'
        ],
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 5,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '           ',
      'type' => 'empty_spaces_before_paragraph'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'aaa b asis
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => '0'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'paragraphindent',
      'extra' => {
        'misc_args' => [
          '0'
        ],
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 9,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '           ',
      'type' => 'empty_spaces_before_paragraph'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'aaa b 0
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => '7'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'paragraphindent',
      'extra' => {
        'misc_args' => [
          '7'
        ],
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 13,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '           ',
      'type' => 'empty_spaces_before_paragraph'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'aaa b 7
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'paragraphindent'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[0];
$result_trees{'paragraphindent'}{'contents'}[0]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[1]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[2]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[3]{'contents'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[3];
$result_trees{'paragraphindent'}{'contents'}[3]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[4]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'paragraphindent'}{'contents'}[5];
$result_trees{'paragraphindent'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[5]{'args'}[0];
$result_trees{'paragraphindent'}{'contents'}[5]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[5]{'args'}[0];
$result_trees{'paragraphindent'}{'contents'}[5]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[5]{'args'}[0];
$result_trees{'paragraphindent'}{'contents'}[5]{'args'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[5];
$result_trees{'paragraphindent'}{'contents'}[5]{'extra'}{'spaces_after_command'} = $result_trees{'paragraphindent'}{'contents'}[5]{'args'}[0]{'contents'}[0];
$result_trees{'paragraphindent'}{'contents'}[5]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[6]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[7]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[8]{'contents'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[8];
$result_trees{'paragraphindent'}{'contents'}[8]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[9]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[10]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'paragraphindent'}{'contents'}[10];
$result_trees{'paragraphindent'}{'contents'}[10]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[10]{'args'}[0];
$result_trees{'paragraphindent'}{'contents'}[10]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[10]{'args'}[0];
$result_trees{'paragraphindent'}{'contents'}[10]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[10]{'args'}[0];
$result_trees{'paragraphindent'}{'contents'}[10]{'args'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[10];
$result_trees{'paragraphindent'}{'contents'}[10]{'extra'}{'spaces_after_command'} = $result_trees{'paragraphindent'}{'contents'}[10]{'args'}[0]{'contents'}[0];
$result_trees{'paragraphindent'}{'contents'}[10]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[11]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[12]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[13]{'contents'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[13];
$result_trees{'paragraphindent'}{'contents'}[13]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[14]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[15]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'paragraphindent'}{'contents'}[15];
$result_trees{'paragraphindent'}{'contents'}[15]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[15]{'args'}[0];
$result_trees{'paragraphindent'}{'contents'}[15]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[15]{'args'}[0];
$result_trees{'paragraphindent'}{'contents'}[15]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[15]{'args'}[0];
$result_trees{'paragraphindent'}{'contents'}[15]{'args'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[15];
$result_trees{'paragraphindent'}{'contents'}[15]{'extra'}{'spaces_after_command'} = $result_trees{'paragraphindent'}{'contents'}[15]{'args'}[0]{'contents'}[0];
$result_trees{'paragraphindent'}{'contents'}[15]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[16]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[17]{'parent'} = $result_trees{'paragraphindent'};
$result_trees{'paragraphindent'}{'contents'}[18]{'contents'}[0]{'parent'} = $result_trees{'paragraphindent'}{'contents'}[18];
$result_trees{'paragraphindent'}{'contents'}[18]{'parent'} = $result_trees{'paragraphindent'};

$result_texis{'paragraphindent'} = 'First

           aaa b default

@paragraphindent asis

           aaa b asis

@paragraphindent 0

           aaa b 0

@paragraphindent 7

           aaa b 7
';

$result_texts{'paragraphindent'} = 'First

aaa b default

aaa b asis

aaa b 0

aaa b 7
';

$result_errors{'paragraphindent'} = [];

$result_converted{'plaintext'}->{'paragraphindent'} = 'First

   aaa b default

           aaa b asis

aaa b 0

       aaa b 7
';

1;


code:
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{'protect_spaces_on_line'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'Before samp. '
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'a'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'samp',
          'contents' => [],
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 2,
            'macro' => ''
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '. after samp, w '
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'in   w. after dot'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'w',
          'contents' => [],
          'line_nr' => {},
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '  afterw
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'cmdname' => 'quotation',
      'contents' => [
        {
          'extra' => {
            'command' => {}
          },
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line_after_command'
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'extra' => {
                    'command' => {}
                  },
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_after_command'
                },
                {
                  'parent' => {},
                  'text' => 'before samp. '
                },
                {
                  'args' => [
                    {
                      'contents' => [
                        {
                          'parent' => {},
                          'text' => 'a'
                        }
                      ],
                      'parent' => {},
                      'type' => 'brace_command_arg'
                    }
                  ],
                  'cmdname' => 'samp',
                  'contents' => [],
                  'line_nr' => {
                    'file_name' => '',
                    'line_nr' => 5,
                    'macro' => ''
                  },
                  'parent' => {}
                },
                {
                  'parent' => {},
                  'text' => '. after samp, w '
                },
                {
                  'args' => [
                    {
                      'contents' => [
                        {
                          'parent' => {},
                          'text' => 'in   w. after dot'
                        }
                      ],
                      'parent' => {},
                      'type' => 'brace_command_arg'
                    }
                  ],
                  'cmdname' => 'w',
                  'contents' => [],
                  'line_nr' => {},
                  'parent' => {}
                },
                {
                  'parent' => {},
                  'text' => '  afterw'
                },
                {
                  'parent' => {},
                  'text' => '
',
                  'type' => 'spaces_at_end'
                }
              ],
              'parent' => {},
              'type' => 'misc_line_arg'
            }
          ],
          'cmdname' => 'exdent',
          'extra' => {
            'misc_content' => [
              {},
              {},
              {},
              {},
              {}
            ],
            'spaces_after_command' => {}
          },
          'line_nr' => {},
          'parent' => {}
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'extra' => {
                    'command' => {}
                  },
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_after_command'
                },
                {
                  'parent' => {},
                  'text' => 'quotation'
                },
                {
                  'parent' => {},
                  'text' => '
',
                  'type' => 'spaces_at_end'
                }
              ],
              'parent' => {},
              'type' => 'misc_line_arg'
            }
          ],
          'cmdname' => 'end',
          'extra' => {
            'command' => {},
            'command_argument' => 'quotation',
            'spaces_after_command' => {},
            'text_arg' => 'quotation'
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 6,
            'macro' => ''
          },
          'parent' => {}
        }
      ],
      'extra' => {
        'end_command' => {},
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 4,
        'macro' => ''
      },
      'parent' => {}
    }
  ],
  'type' => 'text_root'
};
$result_trees{'protect_spaces_on_line'}{'contents'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'};
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1];
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[1]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[1];
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1];
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[2]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1];
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[3]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[3];
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[3]{'line_nr'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[1]{'line_nr'};
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[3]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1];
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'contents'}[4]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[1];
$result_trees{'protect_spaces_on_line'}{'contents'}[1]{'parent'} = $result_trees{'protect_spaces_on_line'};
$result_trees{'protect_spaces_on_line'}{'contents'}[2]{'parent'} = $result_trees{'protect_spaces_on_line'};
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[0]{'extra'}{'command'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[2];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[3]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[4]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[4];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[4]{'line_nr'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[2]{'line_nr'};
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[4]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[5]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[6]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'extra'}{'misc_content'}[0] = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[1];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'extra'}{'misc_content'}[1] = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[2];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'extra'}{'misc_content'}[2] = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[3];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'extra'}{'misc_content'}[3] = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[4];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'extra'}{'misc_content'}[4] = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[5];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'line_nr'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[2]{'line_nr'};
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[1]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'args'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'extra'}{'command'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'extra'}{'spaces_after_command'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'args'}[0]{'contents'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2]{'parent'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'extra'}{'end_command'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[2];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'extra'}{'spaces_after_command'} = $result_trees{'protect_spaces_on_line'}{'contents'}[3]{'contents'}[0];
$result_trees{'protect_spaces_on_line'}{'contents'}[3]{'parent'} = $result_trees{'protect_spaces_on_line'};

$result_texis{'protect_spaces_on_line'} = '
Before samp. @samp{a}. after samp, w @w{in   w. after dot}  afterw

@quotation
@exdent before samp. @samp{a}. after samp, w @w{in   w. after dot}  afterw
@end quotation
';

$result_texts{'protect_spaces_on_line'} = '
Before samp. a. after samp, w in   w. after dot  afterw

before samp. a. after samp, w in   w. after dot  afterw
';

$result_errors{'protect_spaces_on_line'} = [];

$result_converted{'plaintext'}->{'protect_spaces_on_line'} = 'Before samp.  \'a\'.  after samp, w in   w. after dot afterw

before samp.  \'a\'.  after samp, w in   w. after dot afterw
';

1;


code:
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{'protected_space_end_line'} = {
  'contents' => [
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'First para
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'This is a very simple texi manual followed by tab a <>.
'
        },
        {
          'parent' => {},
          'text' => 'followed by '
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'newline.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'This is a very simple texi manual followed by tab a <>.
'
        },
        {
          'parent' => {},
          'text' => 'followed '
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'newline.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'This is a very simple texi manual followed by tab a <>. '
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => ' ',
          'parent' => {}
        },
        {
          'cmdname' => '
',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'text.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'protected_space_end_line'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[0];
$result_trees{'protected_space_end_line'}{'contents'}[0]{'parent'} = $result_trees{'protected_space_end_line'};
$result_trees{'protected_space_end_line'}{'contents'}[1]{'parent'} = $result_trees{'protected_space_end_line'};
$result_trees{'protected_space_end_line'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[2];
$result_trees{'protected_space_end_line'}{'contents'}[2]{'contents'}[1]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[2];
$result_trees{'protected_space_end_line'}{'contents'}[2]{'contents'}[2]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[2];
$result_trees{'protected_space_end_line'}{'contents'}[2]{'contents'}[3]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[2];
$result_trees{'protected_space_end_line'}{'contents'}[2]{'contents'}[4]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[2];
$result_trees{'protected_space_end_line'}{'contents'}[2]{'parent'} = $result_trees{'protected_space_end_line'};
$result_trees{'protected_space_end_line'}{'contents'}[3]{'parent'} = $result_trees{'protected_space_end_line'};
$result_trees{'protected_space_end_line'}{'contents'}[4]{'contents'}[0]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[4];
$result_trees{'protected_space_end_line'}{'contents'}[4]{'contents'}[1]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[4];
$result_trees{'protected_space_end_line'}{'contents'}[4]{'contents'}[2]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[4];
$result_trees{'protected_space_end_line'}{'contents'}[4]{'contents'}[3]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[4];
$result_trees{'protected_space_end_line'}{'contents'}[4]{'contents'}[4]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[4];
$result_trees{'protected_space_end_line'}{'contents'}[4]{'contents'}[5]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[4];
$result_trees{'protected_space_end_line'}{'contents'}[4]{'parent'} = $result_trees{'protected_space_end_line'};
$result_trees{'protected_space_end_line'}{'contents'}[5]{'parent'} = $result_trees{'protected_space_end_line'};
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[0]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[1]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[2]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[3]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[4]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[5]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[6]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[7]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[8]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[9]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[10]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'contents'}[11]{'parent'} = $result_trees{'protected_space_end_line'}{'contents'}[6];
$result_trees{'protected_space_end_line'}{'contents'}[6]{'parent'} = $result_trees{'protected_space_end_line'};

$result_texis{'protected_space_end_line'} = 'First para

This is a very simple texi manual followed by tab a <>.
followed by @ @ newline.

This is a very simple texi manual followed by tab a <>.
followed @ @ @ newline.

This is a very simple texi manual followed by tab a <>. @ @ @ @ @ @ @ @ @ @
text.
';

$result_texts{'protected_space_end_line'} = 'First para

This is a very simple texi manual followed by tab a <>.
followed by   newline.

This is a very simple texi manual followed by tab a <>.
followed    newline.

This is a very simple texi manual followed by tab a <>.           text.
';

$result_errors{'protected_space_end_line'} = [];

$result_converted{'plaintext'}->{'protected_space_end_line'} = 'First para

   This is a very simple texi manual followed by tab a <>.  followed by
  newline.

   This is a very simple texi manual followed by tab a <>.  followed
   newline.

   This is a very simple texi manual followed by tab a <>.
          text.
';

1;


code:
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{'punctuation'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'Dot. Exclam! Question? Dot.  Exclam!  Question?  GAAA.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'End of lines Dot.
'
        },
        {
          'parent' => {},
          'text' => 'Exclam!
'
        },
        {
          'parent' => {},
          'text' => 'Question?
'
        },
        {
          'parent' => {},
          'text' => 'End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'End of lines and spaces
'
        },
        {
          'parent' => {},
          'text' => 'Dot.
'
        },
        {
          'parent' => {},
          'text' => 'Exclam!
'
        },
        {
          'parent' => {},
          'text' => 'Question?
'
        },
        {
          'parent' => {},
          'text' => 'End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'With paren.) paren.)  Symb.)"\'] Symb.)"\']  End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'End of lines paren.)
'
        },
        {
          'parent' => {},
          'text' => 'Symb.)"\']
'
        },
        {
          'parent' => {},
          'text' => 'End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'End of lines and spaces paren.)
'
        },
        {
          'parent' => {},
          'text' => 'Symb.)"\']
'
        },
        {
          'parent' => {},
          'text' => 'End.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'punctuation'}{'contents'}[0]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'punctuation'}{'contents'}[1];
$result_trees{'punctuation'}{'contents'}[1]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[2]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[3]{'contents'}[0]{'parent'} = $result_trees{'punctuation'}{'contents'}[3];
$result_trees{'punctuation'}{'contents'}[3]{'contents'}[1]{'parent'} = $result_trees{'punctuation'}{'contents'}[3];
$result_trees{'punctuation'}{'contents'}[3]{'contents'}[2]{'parent'} = $result_trees{'punctuation'}{'contents'}[3];
$result_trees{'punctuation'}{'contents'}[3]{'contents'}[3]{'parent'} = $result_trees{'punctuation'}{'contents'}[3];
$result_trees{'punctuation'}{'contents'}[3]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[4]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[5]{'contents'}[0]{'parent'} = $result_trees{'punctuation'}{'contents'}[5];
$result_trees{'punctuation'}{'contents'}[5]{'contents'}[1]{'parent'} = $result_trees{'punctuation'}{'contents'}[5];
$result_trees{'punctuation'}{'contents'}[5]{'contents'}[2]{'parent'} = $result_trees{'punctuation'}{'contents'}[5];
$result_trees{'punctuation'}{'contents'}[5]{'contents'}[3]{'parent'} = $result_trees{'punctuation'}{'contents'}[5];
$result_trees{'punctuation'}{'contents'}[5]{'contents'}[4]{'parent'} = $result_trees{'punctuation'}{'contents'}[5];
$result_trees{'punctuation'}{'contents'}[5]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[6]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[7]{'contents'}[0]{'parent'} = $result_trees{'punctuation'}{'contents'}[7];
$result_trees{'punctuation'}{'contents'}[7]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[8]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[9]{'contents'}[0]{'parent'} = $result_trees{'punctuation'}{'contents'}[9];
$result_trees{'punctuation'}{'contents'}[9]{'contents'}[1]{'parent'} = $result_trees{'punctuation'}{'contents'}[9];
$result_trees{'punctuation'}{'contents'}[9]{'contents'}[2]{'parent'} = $result_trees{'punctuation'}{'contents'}[9];
$result_trees{'punctuation'}{'contents'}[9]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[10]{'parent'} = $result_trees{'punctuation'};
$result_trees{'punctuation'}{'contents'}[11]{'contents'}[0]{'parent'} = $result_trees{'punctuation'}{'contents'}[11];
$result_trees{'punctuation'}{'contents'}[11]{'contents'}[1]{'parent'} = $result_trees{'punctuation'}{'contents'}[11];
$result_trees{'punctuation'}{'contents'}[11]{'contents'}[2]{'parent'} = $result_trees{'punctuation'}{'contents'}[11];
$result_trees{'punctuation'}{'contents'}[11]{'parent'} = $result_trees{'punctuation'};

$result_texis{'punctuation'} = '
Dot. Exclam! Question? Dot.  Exclam!  Question?  GAAA.

End of lines Dot.
Exclam!
Question?
End.

End of lines and spaces
Dot.
Exclam!
Question?
End.

With paren.) paren.)  Symb.)"\'] Symb.)"\']  End.

End of lines paren.)
Symb.)"\']
End.

End of lines and spaces paren.)
Symb.)"\']
End.
';

$result_texts{'punctuation'} = '
Dot. Exclam! Question? Dot.  Exclam!  Question?  GAAA.

End of lines Dot.
Exclam!
Question?
End.

End of lines and spaces
Dot.
Exclam!
Question?
End.

With paren.) paren.)  Symb.)"\'] Symb.)"\']  End.

End of lines paren.)
Symb.)"\']
End.

End of lines and spaces paren.)
Symb.)"\']
End.
';

$result_errors{'punctuation'} = [];

$result_converted{'plaintext'}->{'punctuation'} = 'Dot.  Exclam!  Question?  Dot.  Exclam!  Question?  GAAA.

   End of lines Dot.  Exclam!  Question?  End.

   End of lines and spaces Dot.  Exclam!  Question?  End.

   With paren.)  paren.)  Symb.)"\']  Symb.)"\']  End.

   End of lines paren.)  Symb.)"\']  End.

   End of lines and spaces paren.)  Symb.)"\']  End.
';

1;


code:
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{'punctuation_abbr_acronym'} = {
  'contents' => [
    {
      'contents' => [
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'AAA'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'abbr',
          'contents' => [],
          'extra' => {
            'brace_command_contents' => [
              [
                {}
              ]
            ]
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 1,
            'macro' => ''
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '. '
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'BBB'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'acronym',
          'contents' => [],
          'extra' => {
            'brace_command_contents' => [
              [
                {}
              ]
            ]
          },
          'line_nr' => {},
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '. '
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'aaa'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'abbr',
          'contents' => [],
          'extra' => {
            'brace_command_contents' => [
              [
                {}
              ]
            ]
          },
          'line_nr' => {},
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '. '
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'bbb'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'acronym',
          'contents' => [],
          'extra' => {
            'brace_command_contents' => [
              [
                {}
              ]
            ]
          },
          'line_nr' => {},
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '. Next.
'
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'AAA'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            },
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_before_argument'
                },
                {
                  'parent' => {},
                  'text' => 'expL'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'abbr',
          'contents' => [],
          'extra' => {
            'brace_command_contents' => [
              [
                {}
              ],
              [
                {}
              ]
            ]
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 2,
            'macro' => ''
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '. '
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'BBB'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            },
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_before_argument'
                },
                {
                  'parent' => {},
                  'text' => 'explA'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'acronym',
          'contents' => [],
          'extra' => {
            'brace_command_contents' => [
              [
                {}
              ],
              [
                {}
              ]
            ]
          },
          'line_nr' => {},
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '. '
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'aaa'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            },
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_before_argument'
                },
                {
                  'parent' => {},
                  'text' => 'expl'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'abbr',
          'contents' => [],
          'extra' => {
            'brace_command_contents' => [
              [
                {}
              ],
              [
                {}
              ]
            ]
          },
          'line_nr' => {},
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '.
'
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => 'bbb'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            },
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_before_argument'
                },
                {
                  'parent' => {},
                  'text' => 'expla'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'acronym',
          'contents' => [],
          'extra' => {
            'brace_command_contents' => [
              [
                {}
              ],
              [
                {}
              ]
            ]
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 3,
            'macro' => ''
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '. Last.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0]{'args'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[2]{'args'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[2];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[2]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[2]{'line_nr'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0]{'line_nr'};
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[3]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[4]{'args'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[4];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[4]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[4]{'line_nr'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0]{'line_nr'};
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[4]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[5]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[6]{'args'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[6]{'args'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[6];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[6]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[6]{'line_nr'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[0]{'line_nr'};
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[6]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[7]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[1]{'contents'}[1]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[1]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[0]{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'args'}[1]{'contents'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[9]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[1]{'contents'}[1]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[1]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[0]{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'extra'}{'brace_command_contents'}[1][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'args'}[1]{'contents'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'line_nr'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'line_nr'};
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[10]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[11]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[1]{'contents'}[1]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[1]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[0]{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'extra'}{'brace_command_contents'}[1][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'args'}[1]{'contents'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'line_nr'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[8]{'line_nr'};
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[12]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[13]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[1]{'contents'}[1]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[1]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[0]{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'extra'}{'brace_command_contents'}[1][0] = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'args'}[1]{'contents'}[1];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[14]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'contents'}[15]{'parent'} = $result_trees{'punctuation_abbr_acronym'}{'contents'}[0];
$result_trees{'punctuation_abbr_acronym'}{'contents'}[0]{'parent'} = $result_trees{'punctuation_abbr_acronym'};

$result_texis{'punctuation_abbr_acronym'} = '@abbr{AAA}. @acronym{BBB}. @abbr{aaa}. @acronym{bbb}. Next.
@abbr{AAA, expL}. @acronym{BBB, explA}. @abbr{aaa, expl}.
@acronym{bbb, expla}. Last.
';

$result_texts{'punctuation_abbr_acronym'} = 'AAA. BBB. aaa. bbb. Next.
AAA (expL). BBB (explA). aaa (expl).
bbb (expla). Last.
';

$result_errors{'punctuation_abbr_acronym'} = [];

$result_converted{'plaintext'}->{'punctuation_abbr_acronym'} = 'AAA.  BBB.  aaa.  bbb.  Next.  AAA (expL). BBB (explA). aaa (expl).  bbb
(expla).  Last.
';

1;