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{'double_recursive_self_section_reference'} = '*document_root C5
 *before_node_section C1
  *preamble_before_content
 *@node C1 l1 {n1}
 |INFO
 |spaces_before_argument:
  |{spaces_before_argument: }
 |EXTRA
 |is_target:{1}
 |node_number:{1}
 |normalized:{n1}
  *arguments_line C1
   *line_arg C1
   |INFO
   |spaces_after_argument:
    |{spaces_after_argument:\\n}
    {n1}
 *@chapter C2 l2 {@ref{n2}}
 |INFO
 |spaces_before_argument:
  |{spaces_before_argument: }
 |EXTRA
 |section_heading_number:{1}
 |section_level:{1}
 |section_number:{1}
  *arguments_line C1
   *line_arg C1
   |INFO
   |spaces_after_argument:
    |{spaces_after_argument:\\n}
    *@ref C1 l2
     *brace_arg C1
     |EXTRA
     |node_content:{n2}
     |normalized:{n2}
      {n2}
  {empty_line:\\n}
 *@node C1 l4 {n2}
 |INFO
 |spaces_before_argument:
  |{spaces_before_argument: }
 |EXTRA
 |is_target:{1}
 |node_number:{2}
 |normalized:{n2}
  *arguments_line C1
   *line_arg C1
   |INFO
   |spaces_after_argument:
    |{spaces_after_argument:\\n}
    {n2}
 *@chapter C1 l5 {@ref{n1}}
 |INFO
 |spaces_before_argument:
  |{spaces_before_argument: }
 |EXTRA
 |section_heading_number:{2}
 |section_level:{1}
 |section_number:{2}
  *arguments_line C1
   *line_arg C1
   |INFO
   |spaces_after_argument:
    |{spaces_after_argument:\\n}
    *@ref C1 l5
     *brace_arg C1
     |EXTRA
     |node_content:{n1}
     |normalized:{n1}
      {n1}
';


$result_texis{'double_recursive_self_section_reference'} = '@node n1
@chapter @ref{n2}

@node n2
@chapter @ref{n1}
';


$result_texts{'double_recursive_self_section_reference'} = '1 n2
****

2 n1
****
';

$result_errors{'double_recursive_self_section_reference'} = '';

$result_nodes_list{'double_recursive_self_section_reference'} = '1|n1
 associated_section: 1 @ref{n2}
 associated_title_command: 1 @ref{n2}
 node_directions:
  next->n2
2|n2
 associated_section: 2 @ref{n1}
 associated_title_command: 2 @ref{n1}
 node_directions:
  prev->n1
';

$result_sections_list{'double_recursive_self_section_reference'} = '1|@ref{n2}
 associated_anchor_command: n1
 associated_node: n1
 section_directions:
  next->@ref{n1}
 toplevel_directions:
  next->@ref{n1}
2|@ref{n1}
 associated_anchor_command: n2
 associated_node: n2
 section_directions:
  prev->@ref{n2}
 toplevel_directions:
  prev->@ref{n2}
';

$result_sectioning_root{'double_recursive_self_section_reference'} = 'level: 0
list:
 1|@ref{n2}
 2|@ref{n1}
';

$result_headings_list{'double_recursive_self_section_reference'} = '';


$result_converted{'plaintext'}->{'double_recursive_self_section_reference'} = '1 n2
****

2 n1
****

';


$result_converted{'html'}->{'double_recursive_self_section_reference'} = '<!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>Untitled Document</title>

<meta name="description" content="Untitled Document">
<meta name="keywords" content="Untitled Document">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="#n1" rel="start" title="n1">
<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="chapter-level-extent" id="n1">
<p class="nav-panel">
<span class="nav-button"><span class="nav-label">Next: </span><span class="nav-link"><a href="#n2" accesskey="n" rel="next"><a class="ref" href="#n1"><a class="ref" href="#n2">n2</a></a></a></span></span><span class="nav-button"> &nbsp; </span></p>
<h2 class="chapter" id="n2-1"><span>1 <a class="ref" href="#n2"><a class="ref" href="#n1"><a class="ref" href="#n2">n2</a></a></a><a class="copiable-link" href="#n2-1"> &para;</a></span></h2>

<hr>
</div>
<div class="chapter-level-extent" id="n2">
<p class="nav-panel">
<span class="nav-button"><span class="nav-label">Previous: </span><span class="nav-link"><a href="#n1" accesskey="p" rel="prev"><a class="ref" href="#n2">n2</a></a></span></span><span class="nav-button"> &nbsp; </span></p>
<h2 class="chapter" id="n1-1"><span>2 <a class="ref" href="#n1"><a class="ref" href="#n2">n2</a></a><a class="copiable-link" href="#n1-1"> &para;</a></span></h2>
</div>



</body>
</html>
';

$result_converted_errors{'html'}->{'double_recursive_self_section_reference'} = '* W |must specify a title with a title command or @top
 warning: must specify a title with a title command or @top

';

1;
