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{'nodes_before_top'} = {
'contents' => [
{
'contents' => [
{
'contents' => [],
'type' => 'preamble_before_content'
}
],
'type' => 'before_node_section'
},
{
'args' => [
{
'contents' => [
{
'text' => 'first'
}
],
'type' => 'line_arg'
},
{
'contents' => [
{
'text' => 'Top'
}
],
'extra' => {
'node_content' => [
{}
],
'normalized' => 'Top'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'type' => 'line_arg'
},
{
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'type' => 'line_arg'
},
{
'contents' => [
{
'text' => '('
},
{
'text' => 'dir'
},
{
'text' => ')'
}
],
'extra' => {
'manual_content' => [
{}
]
},
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'node',
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'menu',
'contents' => [
{
'contents' => [
{
'text' => '* ',
'type' => 'menu_entry_leading_text'
},
{
'contents' => [
{
'text' => 'node in menu before top'
}
],
'extra' => {
'node_content' => [
{}
],
'normalized' => 'node-in-menu-before-top'
},
'type' => 'menu_entry_node'
},
{
'text' => '::',
'type' => 'menu_entry_separator'
},
{
'contents' => [
{
'contents' => [
{
'text' => '
'
}
],
'type' => 'preformatted'
}
],
'type' => 'menu_entry_description'
}
],
'source_info' => {
'file_name' => '',
'line_nr' => 4,
'macro' => ''
},
'type' => 'menu_entry'
},
{
'args' => [
{
'contents' => [
{
'text' => 'menu'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'menu'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 5,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => '',
'line_nr' => 3,
'macro' => ''
}
},
{
'text' => '
',
'type' => 'empty_line'
}
],
'extra' => {
'normalized' => 'first'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 1,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'node in menu before top'
}
],
'type' => 'line_arg'
},
{
'type' => 'line_arg'
},
{
'type' => 'line_arg'
},
{
'contents' => [
{
'text' => 'first'
}
],
'extra' => {
'node_content' => [
{}
],
'normalized' => 'first'
},
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'node',
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
}
],
'extra' => {
'normalized' => 'node-in-menu-before-top'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 7,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'Top'
}
],
'type' => 'line_arg'
},
{
'type' => 'line_arg'
},
{
'contents' => [
{
'text' => 'first'
}
],
'extra' => {
'node_content' => [
{}
],
'normalized' => 'first'
},
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 9,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'top section'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'top',
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'menu',
'contents' => [
{
'contents' => [
{
'text' => '* ',
'type' => 'menu_entry_leading_text'
},
{
'contents' => [
{
'text' => 'second node'
}
],
'extra' => {
'node_content' => [
{}
],
'normalized' => 'second-node'
},
'type' => 'menu_entry_node'
},
{
'text' => '::',
'type' => 'menu_entry_separator'
},
{
'contents' => [
{
'contents' => [
{
'text' => '
'
}
],
'type' => 'preformatted'
}
],
'type' => 'menu_entry_description'
}
],
'source_info' => {
'file_name' => '',
'line_nr' => 13,
'macro' => ''
},
'type' => 'menu_entry'
},
{
'args' => [
{
'contents' => [
{
'text' => 'menu'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'menu'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 14,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => '',
'line_nr' => 12,
'macro' => ''
}
},
{
'text' => '
',
'type' => 'empty_line'
}
],
'extra' => {},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 10,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'second node'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'node',
'extra' => {
'normalized' => 'second-node'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 16,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'a chapter'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'chapter',
'extra' => {},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 17,
'macro' => ''
}
}
],
'type' => 'document_root'
};
$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[1]{'extra'}{'node_content'}[0] = $result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[1]{'contents'}[0];
$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[3]{'extra'}{'manual_content'}[0] = $result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[3]{'contents'}[1];
$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[3]{'extra'}{'node_content'}[0] = $result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[3]{'contents'}[0];
$result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[2]{'extra'}{'node_content'}[0] = $result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[2]{'contents'}[0];
$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
$result_texis{'nodes_before_top'} = '@node first, Top, ,(dir)
@menu
* node in menu before top::
@end menu
@node node in menu before top,,,first
@node Top,,first
@top top section
@menu
* second node::
@end menu
@node second node
@chapter a chapter
';
$result_texts{'nodes_before_top'} = '
* node in menu before top::
top section
***********
* second node::
1 a chapter
***********
';
$result_sectioning{'nodes_before_top'} = {
'structure' => {
'section_childs' => [
{
'cmdname' => 'top',
'extra' => {
'associated_node' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'structure' => {}
}
},
'structure' => {
'section_childs' => [
{
'cmdname' => 'chapter',
'extra' => {
'associated_node' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'second-node'
},
'structure' => {}
}
},
'structure' => {
'section_level' => 1,
'section_number' => 1,
'section_up' => {},
'toplevel_prev' => {},
'toplevel_up' => {}
}
}
],
'section_level' => 0,
'section_up' => {}
}
}
],
'section_level' => -1
}
};
$result_sectioning{'nodes_before_top'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'nodes_before_top'}{'structure'}{'section_childs'}[0];
$result_sectioning{'nodes_before_top'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'} = $result_sectioning{'nodes_before_top'}{'structure'}{'section_childs'}[0];
$result_sectioning{'nodes_before_top'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'} = $result_sectioning{'nodes_before_top'}{'structure'}{'section_childs'}[0];
$result_sectioning{'nodes_before_top'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'nodes_before_top'};
$result_nodes{'nodes_before_top'} = {
'cmdname' => 'node',
'extra' => {
'associated_section' => {
'cmdname' => 'top',
'extra' => {},
'structure' => {}
},
'menus' => [
{
'cmdname' => 'menu'
}
],
'normalized' => 'Top'
},
'structure' => {
'menu_child' => {
'cmdname' => 'node',
'extra' => {
'associated_section' => {
'cmdname' => 'chapter',
'extra' => {},
'structure' => {
'section_number' => 1
}
},
'normalized' => 'second-node'
},
'structure' => {
'node_up' => {}
}
},
'node_prev' => {
'cmdname' => 'node',
'extra' => {
'menus' => [
{
'cmdname' => 'menu'
}
],
'normalized' => 'first'
},
'structure' => {
'menu_child' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'node-in-menu-before-top'
},
'structure' => {
'node_up' => {}
}
},
'node_next' => {},
'node_up' => {
'extra' => {
'manual_content' => [
{
'text' => 'dir'
}
]
}
}
}
}
}
};
$result_nodes{'nodes_before_top'}{'structure'}{'menu_child'}{'structure'}{'node_up'} = $result_nodes{'nodes_before_top'};
$result_nodes{'nodes_before_top'}{'structure'}{'node_prev'}{'structure'}{'menu_child'}{'structure'}{'node_up'} = $result_nodes{'nodes_before_top'}{'structure'}{'node_prev'};
$result_nodes{'nodes_before_top'}{'structure'}{'node_prev'}{'structure'}{'node_next'} = $result_nodes{'nodes_before_top'};
$result_menus{'nodes_before_top'} = {
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'structure' => {
'menu_child' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'second-node'
},
'structure' => {
'menu_up' => {},
'menu_up_hash' => {
'Top' => 1
}
}
}
}
};
$result_menus{'nodes_before_top'}{'structure'}{'menu_child'}{'structure'}{'menu_up'} = $result_menus{'nodes_before_top'};
$result_errors{'nodes_before_top'} = [];
$result_floats{'nodes_before_top'} = {};
$result_converted{'latex_text'}->{'nodes_before_top'} = '\\begin{document}
\\label{anchor:first}%
\\label{anchor:node-in-menu-before-top}%
\\label{anchor:Top}%
\\chapter{{a chapter}}
\\label{anchor:second-node}%
';
1;