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{'cond_info'} = {
'contents' => [
{
'contents' => [
{
'contents' => [
{
'text' => '\\input texinfo
',
'type' => 'text_before_beginning'
},
{
'text' => '
',
'type' => 'text_before_beginning'
}
],
'type' => 'preamble_before_beginning'
},
{
'contents' => [
{
'args' => [
{
'text' => ' test conditions
',
'type' => 'rawline_arg'
}
],
'cmdname' => 'c'
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'html',
'contents' => [
{
'contents' => [
{
'text' => 'This is html text.
',
'type' => 'raw'
}
],
'type' => 'elided_rawpreformatted'
},
{
'args' => [
{
'contents' => [
{
'text' => 'html'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'html'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 7,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 5,
'macro' => ''
}
},
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'ifhtml',
'contents' => [
{
'text' => 'This is ifhtml text.
',
'type' => 'raw'
},
{
'args' => [
{
'contents' => [
{
'text' => 'ifhtml'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'ifhtml'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 11,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 9,
'macro' => ''
}
},
'position' => 1,
'sourcemark_type' => 'ignored_conditional_block'
}
],
'text' => '
',
'type' => 'empty_line'
},
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'ifnothtml',
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 13,
'macro' => ''
}
},
'position' => 1,
'sourcemark_type' => 'expanded_conditional_command',
'status' => 'start'
}
],
'text' => '
',
'type' => 'empty_line'
}
],
'type' => 'preamble_before_content'
},
{
'contents' => [
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'contents' => [
{
'text' => 'ifnothtml'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'ifnothtml'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 15,
'macro' => ''
}
},
'position' => 24,
'sourcemark_type' => 'expanded_conditional_command',
'status' => 'end'
}
],
'text' => 'This is ifnothtml text.
'
}
],
'type' => 'paragraph'
},
{
'text' => '
',
'type' => 'empty_line'
}
],
'type' => 'before_node_section'
},
{
'args' => [
{
'contents' => [
{
'text' => 'Top'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 17,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'conditionals'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'top',
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
}
],
'extra' => {},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 18,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'chap'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'node',
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
},
{
'source_marks' => [
{
'counter' => 2,
'element' => {
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'ifinfo',
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 23,
'macro' => ''
}
},
'position' => 1,
'sourcemark_type' => 'expanded_conditional_command',
'status' => 'start'
}
],
'text' => '
',
'type' => 'empty_line'
},
{
'contents' => [
{
'source_marks' => [
{
'counter' => 2,
'element' => {
'args' => [
{
'contents' => [
{
'text' => 'ifinfo'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'ifinfo'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 25,
'macro' => ''
}
},
'position' => 21,
'sourcemark_type' => 'expanded_conditional_command',
'status' => 'end'
}
],
'text' => 'This is ifinfo text.
'
}
],
'type' => 'paragraph'
},
{
'source_marks' => [
{
'counter' => 2,
'element' => {
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'ifnotinfo',
'contents' => [
{
'text' => 'This is ifnotinfo text.
',
'type' => 'raw'
},
{
'args' => [
{
'contents' => [
{
'text' => 'ifnotinfo'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'ifnotinfo'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 29,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 27,
'macro' => ''
}
},
'position' => 1,
'sourcemark_type' => 'ignored_conditional_block'
}
],
'text' => '
',
'type' => 'empty_line'
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'tex',
'contents' => [
{
'contents' => [
{
'text' => 'This is tex text.
',
'type' => 'raw'
}
],
'type' => 'elided_rawpreformatted'
},
{
'args' => [
{
'contents' => [
{
'text' => 'tex'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'tex'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 34,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 32,
'macro' => ''
}
},
{
'source_marks' => [
{
'counter' => 3,
'element' => {
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'iftex',
'contents' => [
{
'text' => 'This is iftex text.
',
'type' => 'raw'
},
{
'args' => [
{
'contents' => [
{
'text' => 'iftex'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'iftex'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 38,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 36,
'macro' => ''
}
},
'position' => 1,
'sourcemark_type' => 'ignored_conditional_block'
}
],
'text' => '
',
'type' => 'empty_line'
},
{
'source_marks' => [
{
'counter' => 3,
'element' => {
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'ifnottex',
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 40,
'macro' => ''
}
},
'position' => 1,
'sourcemark_type' => 'expanded_conditional_command',
'status' => 'start'
}
],
'text' => '
',
'type' => 'empty_line'
},
{
'contents' => [
{
'source_marks' => [
{
'counter' => 3,
'element' => {
'args' => [
{
'contents' => [
{
'text' => 'ifnottex'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'ifnottex'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 42,
'macro' => ''
}
},
'position' => 23,
'sourcemark_type' => 'expanded_conditional_command',
'status' => 'end'
}
],
'text' => 'This is ifnottex text.
'
}
],
'type' => 'paragraph'
},
{
'text' => '
',
'type' => 'empty_line'
}
],
'extra' => {
'normalized' => 'chap'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => 'cond.texi',
'line_nr' => 20,
'macro' => ''
}
},
{
'args' => [
{
'text' => '
',
'type' => 'rawline_arg'
}
],
'cmdname' => 'bye'
}
],
'type' => 'document_root'
};
$result_texis{'cond_info'} = '\\input texinfo
@c test conditions
@html
This is html text.
@end html
This is ifnothtml text.
@node Top
@top conditionals
@node chap
This is ifinfo text.
@tex
This is tex text.
@end tex
This is ifnottex text.
@bye
';
$result_texts{'cond_info'} = '
This is ifnothtml text.
conditionals
************
This is ifinfo text.
This is ifnottex text.
';
$result_sectioning{'cond_info'} = {
'structure' => {
'section_childs' => [
{
'cmdname' => 'top',
'extra' => {
'associated_node' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'structure' => {}
}
},
'structure' => {
'section_level' => 0,
'section_up' => {}
}
}
],
'section_level' => -1
}
};
$result_sectioning{'cond_info'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'cond_info'};
$result_nodes{'cond_info'} = {
'cmdname' => 'node',
'extra' => {
'associated_section' => {
'cmdname' => 'top',
'extra' => {},
'structure' => {}
},
'normalized' => 'Top'
},
'structure' => {
'node_next' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'chap'
},
'structure' => {
'node_prev' => {}
}
}
}
};
$result_nodes{'cond_info'}{'structure'}{'node_next'}{'structure'}{'node_prev'} = $result_nodes{'cond_info'};
$result_menus{'cond_info'} = {
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'structure' => {}
};
$result_errors{'cond_info'} = [];
$result_floats{'cond_info'} = {};
$result_converted{'info'}->{'cond_info'} = 'This is , produced from cond.texi.
This is ifnothtml text.
File: , Node: Top, Next: chap, Up: (dir)
conditionals
************
File: , Node: chap, Prev: Top
This is ifinfo text.
This is ifnottex text.
Tag Table:
Node: Top61
Node: chap135
End Tag Table
Local Variables:
coding: utf-8
End:
';
1;