blob: 83da6483e4e2bdfe831eafee080792bfde5aeb38 [file]
use vars qw(%result_texis %result_texts %result_tree_text %result_errors
%result_indices %result_floats %result_nodes_list %result_sections_list
%result_sectioning_root %result_headings_list
%result_converted %result_converted_errors %result_indices_sort_strings);
use utf8;
$result_tree_text{'top_without_node_sections'} = 'U0 unit{S:top section}
unit_directions:D[next->[U1]]
UNIT_DIRECTIONS
This: [U0]
Forward: [U1]
FastForward: [U1]
*before_node_section
*@top C3 l1 {top section}
|EXTRA
|section_level:{0}
|section_number:{1}
*arguments_line C1
*line_arg C3
{spaces_before_argument: }
{top section}
{spaces_after_argument:\\n}
*paragraph C1
{Top section\\n}
{empty_line:\\n}
U1 unit{S:1 Chapter}{n:second}
unit_directions:D[prev->[U0]]
UNIT_DIRECTIONS
This: [U1]
Back: [U0]
FastBack: [U0]
Up: [U0]
NodeUp: (dir)
*@node C1 l4 {second}
|EXTRA
|identifier:{second}
|is_target:{1}
|node_number:{1}
*arguments_line C4
*line_arg C2
{spaces_before_argument: }
{second}
*line_arg
*line_arg
*line_arg C4
|EXTRA
|manual_content:{dir}
{(}
{dir}
{)}
{spaces_after_argument:\\n}
*@chapter C3 l5 {Chapter}
|EXTRA
|section_heading_number:{1}
|section_level:{1}
|section_number:{2}
*arguments_line C1
*line_arg C3
{spaces_before_argument: }
{Chapter}
{spaces_after_argument:\\n}
{empty_line:\\n}
*paragraph C1
{Text of chapter\\n}
';
$result_texis{'top_without_node_sections'} = '@top top section
Top section
@node second,,,(dir)
@chapter Chapter
Text of chapter
';
$result_texts{'top_without_node_sections'} = 'top section
***********
Top section
1 Chapter
*********
Text of chapter
';
$result_errors{'top_without_node_sections'} = '';
$result_nodes_list{'top_without_node_sections'} = '1|second
associated_section: 1 Chapter
associated_title_command: 1 Chapter
node_directions:
up->(dir)
';
$result_sections_list{'top_without_node_sections'} = '1|top section
toplevel_directions:
next->Chapter
section_children:
1|Chapter
2|Chapter
associated_anchor_command: second
associated_node: second
section_directions:
up->top section
toplevel_directions:
prev->top section
up->top section
';
$result_sectioning_root{'top_without_node_sections'} = 'level: -1
list:
1|top section
';
$result_headings_list{'top_without_node_sections'} = '';
$result_converted{'info'}->{'top_without_node_sections'} = 'This is , produced from .
top section
***********
Top section

File: , Node: second, Up: (dir)
1 Chapter
*********
Text of chapter

Tag Table:
Node: second65

End Tag Table

Local Variables:
coding: utf-8
End:
';
$result_converted_errors{'info'}->{'top_without_node_sections'} = '* W |document without Top node
warning: document without Top node
';
$result_converted{'html'}->{'top_without_node_sections'} = '<!DOCTYPE html>
<html>
<!-- Created by texinfo, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>top section</title>
<meta name="description" content="top section">
<meta name="keywords" content="top section">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="#second" rel="start" title="second">
<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>
<div class="top-level-extent" id="top-section">
<h1 class="top"><span>top section<a class="copiable-link" href="#top-section"> &para;</a></span></h1>
<p>Top section
</p>
<ul class="mini-toc">
<li><a href="#second" accesskey="1">Chapter</a></li>
</ul>
<div class="chapter-level-extent" id="second">
<h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" href="#Chapter"> &para;</a></span></h2>
<p>Text of chapter
</p></div>
</div>
</body>
</html>
';
$result_converted{'docbook'}->{'top_without_node_sections'} = '<chapter label="">
<title>top section</title>
<para>Top section
</para>
</chapter>
<chapter label="1" id="second">
<title>Chapter</title>
<para>Text of chapter
</para></chapter>
';
1;