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{'section_before_top'} = {
'contents' => [
{
'type' => 'before_node_section'
},
{
'args' => [
{
'contents' => [
{
'text' => 'section node'
}
],
'type' => 'line_arg'
},
{
'type' => 'line_arg'
},
{
'type' => 'line_arg'
},
{
'contents' => [
{
'text' => 'Top'
}
],
'extra' => {
'node_content' => [
{}
],
'normalized' => 'Top'
},
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'node',
'extra' => {
'normalized' => 'section-node'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 1,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'section'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'section',
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
}
],
'extra' => {},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 2,
'macro' => ''
}
},
{
'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' => '',
'line_nr' => 4,
'macro' => ''
}
},
{
'args' => [
{
'contents' => [
{
'text' => 'top'
}
],
'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' => 'section node'
}
],
'extra' => {
'node_content' => [
{}
],
'normalized' => 'section-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' => 8,
'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' => 9,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => '',
'line_nr' => 7,
'macro' => ''
}
}
],
'extra' => {},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 5,
'macro' => ''
}
}
],
'type' => 'document_root'
};
$result_trees{'section_before_top'}{'contents'}[1]{'args'}[3]{'extra'}{'node_content'}[0] = $result_trees{'section_before_top'}{'contents'}[1]{'args'}[3]{'contents'}[0];
$result_trees{'section_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'section_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'contents'}[1]{'contents'}[0];
$result_texis{'section_before_top'} = '@node section node,,,Top
@section section
@node Top
@top top
@menu
* section node::
@end menu
';
$result_texts{'section_before_top'} = '1 section
=========
top
===
* section node::
';
$result_sectioning{'section_before_top'} = {
'structure' => {
'section_childs' => [
{
'cmdname' => 'section',
'extra' => {
'associated_node' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'section-node'
},
'structure' => {}
}
},
'structure' => {
'section_level' => 2,
'section_number' => 1,
'section_up' => {}
}
},
{
'cmdname' => 'top',
'extra' => {
'associated_node' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'structure' => {}
}
},
'structure' => {
'section_level' => 2,
'section_prev' => {},
'section_up' => {},
'toplevel_prev' => {}
}
}
],
'section_level' => 1
}
};
$result_sectioning{'section_before_top'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'section_before_top'};
$result_sectioning{'section_before_top'}{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'} = $result_sectioning{'section_before_top'}{'structure'}{'section_childs'}[0];
$result_sectioning{'section_before_top'}{'structure'}{'section_childs'}[1]{'structure'}{'section_up'} = $result_sectioning{'section_before_top'};
$result_sectioning{'section_before_top'}{'structure'}{'section_childs'}[1]{'structure'}{'toplevel_prev'} = $result_sectioning{'section_before_top'}{'structure'}{'section_childs'}[0];
$result_nodes{'section_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' => 'section',
'extra' => {},
'structure' => {
'section_number' => 1
}
},
'normalized' => 'section-node'
},
'structure' => {
'node_prev' => {},
'node_up' => {}
}
},
'node_next' => {}
}
};
$result_nodes{'section_before_top'}{'structure'}{'menu_child'}{'structure'}{'node_prev'} = $result_nodes{'section_before_top'};
$result_nodes{'section_before_top'}{'structure'}{'menu_child'}{'structure'}{'node_up'} = $result_nodes{'section_before_top'};
$result_nodes{'section_before_top'}{'structure'}{'node_next'} = $result_nodes{'section_before_top'}{'structure'}{'menu_child'};
$result_menus{'section_before_top'} = {
'cmdname' => 'node',
'extra' => {
'normalized' => 'Top'
},
'structure' => {
'menu_child' => {
'cmdname' => 'node',
'extra' => {
'normalized' => 'section-node'
},
'structure' => {
'menu_up' => {},
'menu_up_hash' => {
'Top' => 1
}
}
}
}
};
$result_menus{'section_before_top'}{'structure'}{'menu_child'}{'structure'}{'menu_up'} = $result_menus{'section_before_top'};
$result_errors{'section_before_top'} = [
{
'error_line' => 'warning: lowering the section level of @top appearing after a lower element
',
'file_name' => '',
'line_nr' => 5,
'macro' => '',
'text' => 'lowering the section level of @top appearing after a lower element',
'type' => 'warning'
}
];
$result_floats{'section_before_top'} = {};
$result_converted{'info'}->{'section_before_top'} = 'This is , produced from .
File: , Node: section node, Prev: Top, Up: Top
1 section
=========
File: , Node: Top, Next: section node, Up: (dir)
top
===
* Menu:
* section node::
Tag Table:
Node: section node27
Node: Top101
End Tag Table
Local Variables:
coding: utf-8
End:
';
$result_converted{'html'}->{'section_before_top'} = '<!DOCTYPE html>
<html>
<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>top</title>
<meta name="description" content="top">
<meta name="keywords" content="top">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="#Top" rel="start" title="Top">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
span:hover a.copiable-link {visibility: visible}
-->
</style>
</head>
<body lang="en">
<div class="section-level-extent" id="section-node">
<div class="nav-panel">
<p>
Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" accesskey="u" rel="up">top</a> </p>
</div>
<h3 class="section" id="section"><span>1 section<a class="copiable-link" href="#section"> ¶</a></span></h3>
<hr>
</div>
<div class="unnumberedsec-level-extent" id="Top">
<div class="nav-panel">
<p>
Next: <a href="#section-node" accesskey="n" rel="next">section</a> </p>
</div>
<h3 class="unnumberedsec top-level-set-unnumberedsec" id="top"><span>top<a class="copiable-link" href="#top"> ¶</a></span></h3>
</div>
</body>
</html>
';
$result_converted{'xml'}->{'section_before_top'} = '<node name="section-node" spaces=" "><nodename>section node</nodename><nodenext></nodenext><nodeprev automatic="on">Top</nodeprev><nodeup>Top</nodeup></node>
<section spaces=" "><sectiontitle>section </sectiontitle>
</section>
<node name="Top" spaces=" "><nodename>Top</nodename><nodenext automatic="on">section node</nodenext></node>
<unnumberedsec originalcommand="top" spaces=" "><sectiontitle>top</sectiontitle>
<menu endspaces=" ">
<menuentry><menuleadingtext>* </menuleadingtext><menunode>section node</menunode><menuseparator>::</menuseparator><menudescription><pre xml:space="preserve">
</pre></menudescription></menuentry></menu>
</unnumberedsec>
';
$result_converted{'docbook'}->{'section_before_top'} = '<sect1 label="1" id="section-node">
<title>section</title>
</sect1>
';
1;