use vars qw(%result_texis %result_texts %result_trees %result_errors
%result_indices %result_sectioning %result_nodes %result_menus
%result_floats %result_converted %result_converted_errors
%result_elements %result_directions_text %result_indices_sort_strings);
use utf8;
$result_trees{'misc_raw_comments'} = {
'contents' => [
{
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'info' => {
'comment_at_end' => {
'args' => [
{
'text' => ' comment space
',
'type' => 'rawline_arg'
}
],
'cmdname' => 'c'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'html',
'contents' => [
{
'contents' => [
{
'text' => 'in html '
}
],
'type' => 'rawpreformatted'
},
{
'args' => [
{
'contents' => [
{
'text' => 'html'
}
],
'info' => {
'comment_at_end' => {
'args' => [
{
'text' => ' comment no space
',
'type' => 'rawline_arg'
}
],
'cmdname' => 'c'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'html'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 3,
'macro' => ''
}
}
],
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 2,
'macro' => ''
}
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'contents' => [
{
'text' => 'in tex'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'tex',
'contents' => [
{
'args' => [
{
'contents' => [
{
'text' => 'tex'
}
],
'info' => {
'comment_at_end' => {
'args' => [
{
'text' => ' comment after end tex
',
'type' => 'rawline_arg'
}
],
'cmdname' => 'c'
},
'spaces_after_argument' => {
'text' => ' '
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'tex'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 6,
'macro' => ''
}
}
],
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 5,
'macro' => ''
}
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'verbatim',
'contents' => [
{
'text' => 'in verbatim @c in verbatim
',
'type' => 'raw'
},
{
'text' => 'in verbatim2
',
'type' => 'raw'
},
{
'args' => [
{
'contents' => [
{
'text' => 'verbatim'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'verbatim'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 11,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => '',
'line_nr' => 8,
'macro' => ''
}
}
],
'type' => 'before_node_section'
}
],
'type' => 'document_root'
};
$result_texis{'misc_raw_comments'} = '
@html @c comment space
in html @end html@c comment no space
@tex in tex
@end tex @c comment after end tex
@verbatim
in verbatim @c in verbatim
in verbatim2
@end verbatim
';
$result_texts{'misc_raw_comments'} = '
in html
in verbatim @c in verbatim
in verbatim2
';
$result_errors{'misc_raw_comments'} = [
{
'error_line' => 'warning: @end should only appear at the beginning of a line
',
'file_name' => '',
'line_nr' => 3,
'macro' => '',
'text' => '@end should only appear at the beginning of a line',
'type' => 'warning'
},
{
'error_line' => 'warning: unexpected argument on @tex line: in tex
',
'file_name' => '',
'line_nr' => 5,
'macro' => '',
'text' => 'unexpected argument on @tex line: in tex',
'type' => 'warning'
}
];
$result_floats{'misc_raw_comments'} = {};
$result_converted{'plaintext'}->{'misc_raw_comments'} = 'in verbatim @c in verbatim
in verbatim2
';
$result_converted{'xml'}->{'misc_raw_comments'} = '
in html
in verbatim @c in verbatim
in verbatim2
';
1;