texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/t/57invalid_nestings.t: change ref_in_anchor


From: Patrice Dumas
Subject: branch master updated: * tp/t/57invalid_nestings.t: change ref_in_anchor test name to ref_to_top_in_anchor. Change tests to be more useful for LaTeX by adding nodes and renaming nodes.
Date: Wed, 15 Feb 2023 11:44:22 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 6e1de7c0f4 * tp/t/57invalid_nestings.t: change ref_in_anchor test name 
to ref_to_top_in_anchor.  Change tests to be more useful for LaTeX by adding 
nodes and renaming nodes.
6e1de7c0f4 is described below

commit 6e1de7c0f4ffc345e3029a80ba787201d1ff624a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Feb 15 17:44:14 2023 +0100

    * tp/t/57invalid_nestings.t: change ref_in_anchor test name to
    ref_to_top_in_anchor.  Change tests to be more useful for LaTeX by
    adding nodes and renaming nodes.
---
 ChangeLog                                          |   6 +
 tp/t/57invalid_nestings.t                          |  25 +--
 tp/t/results/invalid_nestings/footnote_in_ref.pl   |  18 +-
 tp/t/results/invalid_nestings/ignore_in_xref.pl    |  20 +-
 tp/t/results/invalid_nestings/in_table.pl          | 225 +++++++++++++--------
 .../invalid_nestings/menu_in_style_command.pl      |  16 +-
 tp/t/results/invalid_nestings/quotation_in_ref.pl  |  18 +-
 tp/t/results/invalid_nestings/ref_in_ref.pl        |  26 +--
 .../{ref_in_anchor.pl => ref_to_top_in_anchor.pl}  |  26 +--
 tp/t/results/invalid_nestings/verbatim_in_ref.pl   |  18 +-
 10 files changed, 231 insertions(+), 167 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 926b08e94b..7252675410 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-02-15  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/t/57invalid_nestings.t: change ref_in_anchor test name to
+       ref_to_top_in_anchor.  Change tests to be more useful for LaTeX by
+       adding nodes and renaming nodes.
+
 2023-02-15  Patrice Dumas  <pertusus@free.fr>
 
        * tp/t/50value.t, tp/t/55conditionals.t: change tests to be more
diff --git a/tp/t/57invalid_nestings.t b/tp/t/57invalid_nestings.t
index e78ddcea8e..d1f94f5816 100644
--- a/tp/t/57invalid_nestings.t
+++ b/tp/t/57invalid_nestings.t
@@ -33,6 +33,7 @@ my @test_cases = (
 ['in_table',
 '
 @node Top
+@node chap
 
 @table @xref
 @end table
@@ -433,7 +434,7 @@ in float
 @end float
 }'],
 ['menu_in_style_command',
-'@node Top
+'@node first
 
 @code{
 @menu
@@ -449,40 +450,40 @@ First item text
 @item second item}
 @end table
 '],
-['ref_in_anchor',
+['ref_to_top_in_anchor',
 '@node Top
 @anchor{TOP @ref{Top}}'],
 ['ref_in_ref',
-'@node Top
-@ref{@ref{Top}}'],
+'@node first
+@ref{@ref{first}}'],
 ['footnote_in_ref',
-'@node Top
+'@node first
 
-@xref{Top, Text@footnote{First para
+@xref{first, Text@footnote{First para
 
 seond para}.'],
 ['verbatim_in_ref',
-'@node Top
+'@node first
 
-@xref{Top, 
+@xref{first, 
 @verbatim
 verbat text
 @end verbatim
 
 }.'],
 ['quotation_in_ref',
-'@node Top
+'@node first
 
-@xref{Top,
+@xref{first,
 @quotation
 quotation in ref
 @end quotation
 }.
 '],
 ['ignore_in_xref',
-'@node Top
+'@node first
 
-@xref{Top,
+@xref{first,
 @ignore
 ignore me
 @end ignore
diff --git a/tp/t/results/invalid_nestings/footnote_in_ref.pl 
b/tp/t/results/invalid_nestings/footnote_in_ref.pl
index b81b4072ec..a2b70ecdb8 100644
--- a/tp/t/results/invalid_nestings/footnote_in_ref.pl
+++ b/tp/t/results/invalid_nestings/footnote_in_ref.pl
@@ -15,7 +15,7 @@ $result_trees{'footnote_in_ref'} = {
         {
           'contents' => [
             {
-              'text' => 'Top'
+              'text' => 'first'
             }
           ],
           'info' => {
@@ -41,7 +41,7 @@ $result_trees{'footnote_in_ref'} = {
                 {
                   'contents' => [
                     {
-                      'text' => 'Top'
+                      'text' => 'first'
                     }
                   ],
                   'type' => 'brace_command_arg'
@@ -120,10 +120,10 @@ $result_trees{'footnote_in_ref'} = {
             'node_content' => [
               {}
             ],
-            'normalized' => 'Top'
+            'normalized' => 'first'
           }
         ],
-        'normalized' => 'Top'
+        'normalized' => 'first'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -142,20 +142,20 @@ $result_trees{'footnote_in_ref'} = {
 $result_trees{'footnote_in_ref'}{'contents'}[1]{'extra'}{'node_content'}[0] = 
$result_trees{'footnote_in_ref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
$result_trees{'footnote_in_ref'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = $result_trees{'footnote_in_ref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
-$result_texis{'footnote_in_ref'} = '@node Top
+$result_texis{'footnote_in_ref'} = '@node first
 
-@xref{Top, Text@footnote{First para
+@xref{first, Text@footnote{First para
 
 seond para}.}';
 
 
 $result_texts{'footnote_in_ref'} = '
-Top';
+first';
 
 $result_nodes{'footnote_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };
@@ -163,7 +163,7 @@ $result_nodes{'footnote_in_ref'} = {
 $result_menus{'footnote_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };
diff --git a/tp/t/results/invalid_nestings/ignore_in_xref.pl 
b/tp/t/results/invalid_nestings/ignore_in_xref.pl
index 8785997e27..6015cf017a 100644
--- a/tp/t/results/invalid_nestings/ignore_in_xref.pl
+++ b/tp/t/results/invalid_nestings/ignore_in_xref.pl
@@ -15,7 +15,7 @@ $result_trees{'ignore_in_xref'} = {
         {
           'contents' => [
             {
-              'text' => 'Top'
+              'text' => 'first'
             }
           ],
           'info' => {
@@ -41,7 +41,7 @@ $result_trees{'ignore_in_xref'} = {
                 {
                   'contents' => [
                     {
-                      'text' => 'Top'
+                      'text' => 'first'
                     }
                   ],
                   'type' => 'brace_command_arg'
@@ -123,7 +123,7 @@ $result_trees{'ignore_in_xref'} = {
                   'node_content' => [
                     {}
                   ],
-                  'normalized' => 'Top'
+                  'normalized' => 'first'
                 }
               },
               'source_info' => {
@@ -149,10 +149,10 @@ $result_trees{'ignore_in_xref'} = {
             'node_content' => [
               {}
             ],
-            'normalized' => 'Top'
+            'normalized' => 'first'
           }
         ],
-        'normalized' => 'Top'
+        'normalized' => 'first'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -173,9 +173,9 @@ 
$result_trees{'ignore_in_xref'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'ex
 $result_trees{'ignore_in_xref'}{'contents'}[1]{'extra'}{'node_content'}[0] = 
$result_trees{'ignore_in_xref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
$result_trees{'ignore_in_xref'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = $result_trees{'ignore_in_xref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
-$result_texis{'ignore_in_xref'} = '@node Top
+$result_texis{'ignore_in_xref'} = '@node first
 
-@xref{Top,
+@xref{first,
 @ignore
 ignore me
 @end ignore
@@ -184,13 +184,13 @@ ignore me
 
 
 $result_texts{'ignore_in_xref'} = '
-Top.
+first.
 ';
 
 $result_nodes{'ignore_in_xref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };
@@ -198,7 +198,7 @@ $result_nodes{'ignore_in_xref'} = {
 $result_menus{'ignore_in_xref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };
diff --git a/tp/t/results/invalid_nestings/in_table.pl 
b/tp/t/results/invalid_nestings/in_table.pl
index 0f9635d965..5d7c71a647 100644
--- a/tp/t/results/invalid_nestings/in_table.pl
+++ b/tp/t/results/invalid_nestings/in_table.pl
@@ -28,6 +28,49 @@ $result_trees{'in_table'} = {
           'info' => {
             'spaces_after_argument' => {
               'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'node_content' => [
+          {}
+        ],
+        'nodes_manuals' => [
+          {
+            'node_content' => [
+              {}
+            ],
+            'normalized' => 'Top'
+          }
+        ],
+        'normalized' => 'Top'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 2,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'chap'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
 '
             }
           },
@@ -49,7 +92,7 @@ $result_trees{'in_table'} = {
                   'cmdname' => 'xref',
                   'source_info' => {
                     'file_name' => '',
-                    'line_nr' => 4,
+                    'line_nr' => 5,
                     'macro' => ''
                   },
                   'type' => 'command_as_argument'
@@ -94,7 +137,7 @@ $result_trees{'in_table'} = {
               },
               'source_info' => {
                 'file_name' => '',
-                'line_nr' => 5,
+                'line_nr' => 6,
                 'macro' => ''
               }
             }
@@ -109,7 +152,7 @@ $result_trees{'in_table'} = {
           },
           'source_info' => {
             'file_name' => '',
-            'line_nr' => 4,
+            'line_nr' => 5,
             'macro' => ''
           }
         },
@@ -126,7 +169,7 @@ $result_trees{'in_table'} = {
                   'cmdname' => 'code',
                   'source_info' => {
                     'file_name' => '',
-                    'line_nr' => 7,
+                    'line_nr' => 8,
                     'macro' => ''
                   },
                   'type' => 'command_as_argument'
@@ -155,7 +198,7 @@ $result_trees{'in_table'} = {
                               'cmdname' => 'indent',
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 8,
+                                'line_nr' => 9,
                                 'macro' => ''
                               }
                             },
@@ -177,7 +220,7 @@ $result_trees{'in_table'} = {
                               'cmdname' => 'titlefont',
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 8,
+                                'line_nr' => 9,
                                 'macro' => ''
                               }
                             },
@@ -204,7 +247,7 @@ $result_trees{'in_table'} = {
                               },
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 8,
+                                'line_nr' => 9,
                                 'macro' => ''
                               }
                             },
@@ -227,7 +270,7 @@ $result_trees{'in_table'} = {
                               'cmdname' => 'footnote',
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 8,
+                                'line_nr' => 9,
                                 'macro' => ''
                               }
                             },
@@ -259,7 +302,7 @@ $result_trees{'in_table'} = {
                               },
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 8,
+                                'line_nr' => 9,
                                 'macro' => ''
                               }
                             }
@@ -275,7 +318,7 @@ $result_trees{'in_table'} = {
                       },
                       'source_info' => {
                         'file_name' => '',
-                        'line_nr' => 8,
+                        'line_nr' => 9,
                         'macro' => ''
                       }
                     }
@@ -308,7 +351,7 @@ $result_trees{'in_table'} = {
                           'cmdname' => 'footnote',
                           'source_info' => {
                             'file_name' => '',
-                            'line_nr' => 9,
+                            'line_nr' => 10,
                             'macro' => ''
                           }
                         },
@@ -364,7 +407,7 @@ $result_trees{'in_table'} = {
                               'cmdname' => 'ref',
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 10,
+                                'line_nr' => 11,
                                 'macro' => ''
                               }
                             }
@@ -380,7 +423,7 @@ $result_trees{'in_table'} = {
                       },
                       'source_info' => {
                         'file_name' => '',
-                        'line_nr' => 10,
+                        'line_nr' => 11,
                         'macro' => ''
                       }
                     }
@@ -437,7 +480,7 @@ $result_trees{'in_table'} = {
                               },
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 12,
+                                'line_nr' => 13,
                                 'macro' => ''
                               }
                             }
@@ -453,7 +496,7 @@ $result_trees{'in_table'} = {
                       },
                       'source_info' => {
                         'file_name' => '',
-                        'line_nr' => 12,
+                        'line_nr' => 13,
                         'macro' => ''
                       }
                     }
@@ -510,7 +553,7 @@ $result_trees{'in_table'} = {
                               },
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 13,
+                                'line_nr' => 14,
                                 'macro' => ''
                               },
                               'type' => 'index_entry_command'
@@ -527,7 +570,7 @@ $result_trees{'in_table'} = {
                       },
                       'source_info' => {
                         'file_name' => '',
-                        'line_nr' => 13,
+                        'line_nr' => 14,
                         'macro' => ''
                       }
                     }
@@ -565,7 +608,7 @@ $result_trees{'in_table'} = {
               },
               'source_info' => {
                 'file_name' => '',
-                'line_nr' => 14,
+                'line_nr' => 15,
                 'macro' => ''
               }
             }
@@ -580,7 +623,7 @@ $result_trees{'in_table'} = {
           },
           'source_info' => {
             'file_name' => '',
-            'line_nr' => 7,
+            'line_nr' => 8,
             'macro' => ''
           }
         },
@@ -597,7 +640,7 @@ $result_trees{'in_table'} = {
                   'cmdname' => 'asis',
                   'source_info' => {
                     'file_name' => '',
-                    'line_nr' => 16,
+                    'line_nr' => 17,
                     'macro' => ''
                   },
                   'type' => 'command_as_argument'
@@ -661,7 +704,7 @@ $result_trees{'in_table'} = {
                               },
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 17,
+                                'line_nr' => 18,
                                 'macro' => ''
                               },
                               'type' => 'index_entry_command'
@@ -692,7 +735,7 @@ $result_trees{'in_table'} = {
                       },
                       'source_info' => {
                         'file_name' => '',
-                        'line_nr' => 17,
+                        'line_nr' => 18,
                         'macro' => ''
                       }
                     }
@@ -717,7 +760,7 @@ $result_trees{'in_table'} = {
                           'cmdname' => 'option',
                           'source_info' => {
                             'file_name' => '',
-                            'line_nr' => 18,
+                            'line_nr' => 19,
                             'macro' => ''
                           }
                         },
@@ -785,7 +828,7 @@ $result_trees{'in_table'} = {
                               },
                               'source_info' => {
                                 'file_name' => '',
-                                'line_nr' => 20,
+                                'line_nr' => 21,
                                 'macro' => ''
                               },
                               'type' => 'index_entry_command'
@@ -816,7 +859,7 @@ $result_trees{'in_table'} = {
                       },
                       'source_info' => {
                         'file_name' => '',
-                        'line_nr' => 20,
+                        'line_nr' => 21,
                         'macro' => ''
                       }
                     }
@@ -841,7 +884,7 @@ $result_trees{'in_table'} = {
                           'cmdname' => 'option',
                           'source_info' => {
                             'file_name' => '',
-                            'line_nr' => 21,
+                            'line_nr' => 22,
                             'macro' => ''
                           }
                         },
@@ -890,7 +933,7 @@ $result_trees{'in_table'} = {
               },
               'source_info' => {
                 'file_name' => '',
-                'line_nr' => 23,
+                'line_nr' => 24,
                 'macro' => ''
               }
             }
@@ -905,7 +948,7 @@ $result_trees{'in_table'} = {
           },
           'source_info' => {
             'file_name' => '',
-            'line_nr' => 16,
+            'line_nr' => 17,
             'macro' => ''
           }
         },
@@ -944,7 +987,7 @@ $result_trees{'in_table'} = {
           },
           'source_info' => {
             'file_name' => '',
-            'line_nr' => 25,
+            'line_nr' => 26,
             'macro' => ''
           }
         },
@@ -983,7 +1026,7 @@ $result_trees{'in_table'} = {
           },
           'source_info' => {
             'file_name' => '',
-            'line_nr' => 27,
+            'line_nr' => 28,
             'macro' => ''
           }
         }
@@ -998,10 +1041,10 @@ $result_trees{'in_table'} = {
             'node_content' => [
               {}
             ],
-            'normalized' => 'Top'
+            'normalized' => 'chap'
           }
         ],
-        'normalized' => 'Top'
+        'normalized' => 'chap'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -1010,42 +1053,45 @@ $result_trees{'in_table'} = {
       },
       'source_info' => {
         'file_name' => '',
-        'line_nr' => 2,
+        'line_nr' => 3,
         'macro' => ''
       }
     }
   ],
   'type' => 'document_root'
 };
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[1]{'extra'}{'command_as_argument'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[4]{'extra'}{'node_content'}[0]
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[1];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'extra'}{'command_as_argument'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[1];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[1];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[1];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'};
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[1];
-$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'extra'}{'command_as_argument'}
 = 
$result_trees{'in_table'}{'contents'}[1]{'contents'}[5]{'args'}[0]{'contents'}[0];
 $result_trees{'in_table'}{'contents'}[1]{'extra'}{'node_content'}[0] = 
$result_trees{'in_table'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
$result_trees{'in_table'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = $result_trees{'in_table'}{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[1]{'extra'}{'command_as_argument'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[4]{'extra'}{'node_content'}[0]
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[2];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'extra'}{'command_as_argument'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[2];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[2];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[2];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_content'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'};
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_element'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'entry_node'}
 = $result_trees{'in_table'}{'contents'}[2];
+$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'extra'}{'command_as_argument'}
 = 
$result_trees{'in_table'}{'contents'}[2]{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'extra'}{'node_content'}[0] = 
$result_trees{'in_table'}{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'in_table'}{'contents'}[2]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = $result_trees{'in_table'}{'contents'}[2]{'args'}[0]{'contents'}[0];
 
 $result_texis{'in_table'} = '
 @node Top
+@node chap
 
 @table @xref
 @end table
@@ -1097,19 +1143,32 @@ Even more
 $result_nodes{'in_table'} = {
   'cmdname' => 'node',
   'extra' => {
-    'isindex' => 1,
     'normalized' => 'Top'
   },
-  'info' => {}
+  'info' => {},
+  'structure' => {
+    'node_next' => {
+      'cmdname' => 'node',
+      'extra' => {
+        'isindex' => 1,
+        'normalized' => 'chap'
+      },
+      'info' => {},
+      'structure' => {
+        'node_prev' => {}
+      }
+    }
+  }
 };
+$result_nodes{'in_table'}{'structure'}{'node_next'}{'structure'}{'node_prev'} 
= $result_nodes{'in_table'};
 
 $result_menus{'in_table'} = {
   'cmdname' => 'node',
   'extra' => {
-    'isindex' => 1,
     'normalized' => 'Top'
   },
-  'info' => {}
+  'info' => {},
+  'structure' => {}
 };
 
 $result_errors{'in_table'} = [
@@ -1117,7 +1176,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @xref should not appear on @table line
 ',
     'file_name' => '',
-    'line_nr' => 4,
+    'line_nr' => 5,
     'macro' => '',
     'text' => '@xref should not appear on @table line',
     'type' => 'warning'
@@ -1126,7 +1185,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @indent should not appear in @item
 ',
     'file_name' => '',
-    'line_nr' => 8,
+    'line_nr' => 9,
     'macro' => '',
     'text' => '@indent should not appear in @item',
     'type' => 'warning'
@@ -1135,7 +1194,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @indent should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 8,
+    'line_nr' => 9,
     'macro' => '',
     'text' => '@indent should not appear on @item line',
     'type' => 'warning'
@@ -1144,7 +1203,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @titlefont should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 8,
+    'line_nr' => 9,
     'macro' => '',
     'text' => '@titlefont should not appear on @item line',
     'type' => 'warning'
@@ -1153,7 +1212,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @anchor should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 8,
+    'line_nr' => 9,
     'macro' => '',
     'text' => '@anchor should not appear on @item line',
     'type' => 'warning'
@@ -1162,7 +1221,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @footnote should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 8,
+    'line_nr' => 9,
     'macro' => '',
     'text' => '@footnote should not appear on @item line',
     'type' => 'warning'
@@ -1171,7 +1230,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @exdent should only appear at the beginning of a 
line
 ',
     'file_name' => '',
-    'line_nr' => 8,
+    'line_nr' => 9,
     'macro' => '',
     'text' => '@exdent should only appear at the beginning of a line',
     'type' => 'warning'
@@ -1180,7 +1239,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @exdent should not appear in @item
 ',
     'file_name' => '',
-    'line_nr' => 8,
+    'line_nr' => 9,
     'macro' => '',
     'text' => '@exdent should not appear in @item',
     'type' => 'warning'
@@ -1189,7 +1248,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @exdent should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 8,
+    'line_nr' => 9,
     'macro' => '',
     'text' => '@exdent should not appear on @item line',
     'type' => 'warning'
@@ -1198,7 +1257,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @ref should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 10,
+    'line_nr' => 11,
     'macro' => '',
     'text' => '@ref should not appear on @item line',
     'type' => 'warning'
@@ -1207,7 +1266,7 @@ $result_errors{'in_table'} = [
     'error_line' => '@ref missing closing brace
 ',
     'file_name' => '',
-    'line_nr' => 10,
+    'line_nr' => 11,
     'macro' => '',
     'text' => '@ref missing closing brace',
     'type' => 'error'
@@ -1216,7 +1275,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'misplaced }
 ',
     'file_name' => '',
-    'line_nr' => 11,
+    'line_nr' => 12,
     'macro' => '',
     'text' => 'misplaced }',
     'type' => 'error'
@@ -1225,7 +1284,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @center should not appear in @item
 ',
     'file_name' => '',
-    'line_nr' => 12,
+    'line_nr' => 13,
     'macro' => '',
     'text' => '@center should not appear in @item',
     'type' => 'warning'
@@ -1234,7 +1293,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @center should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 12,
+    'line_nr' => 13,
     'macro' => '',
     'text' => '@center should not appear on @item line',
     'type' => 'warning'
@@ -1243,7 +1302,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @cindex should not appear in @item
 ',
     'file_name' => '',
-    'line_nr' => 13,
+    'line_nr' => 14,
     'macro' => '',
     'text' => '@cindex should not appear in @item',
     'type' => 'warning'
@@ -1252,7 +1311,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @cindex should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 13,
+    'line_nr' => 14,
     'macro' => '',
     'text' => '@cindex should not appear on @item line',
     'type' => 'warning'
@@ -1261,7 +1320,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @cindex should not appear in @item
 ',
     'file_name' => '',
-    'line_nr' => 17,
+    'line_nr' => 18,
     'macro' => '',
     'text' => '@cindex should not appear in @item',
     'type' => 'warning'
@@ -1270,7 +1329,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @cindex should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 17,
+    'line_nr' => 18,
     'macro' => '',
     'text' => '@cindex should not appear on @item line',
     'type' => 'warning'
@@ -1279,7 +1338,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @cindex should not appear in @item
 ',
     'file_name' => '',
-    'line_nr' => 20,
+    'line_nr' => 21,
     'macro' => '',
     'text' => '@cindex should not appear in @item',
     'type' => 'warning'
@@ -1288,7 +1347,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: @cindex should not appear on @item line
 ',
     'file_name' => '',
-    'line_nr' => 20,
+    'line_nr' => 21,
     'macro' => '',
     'text' => '@cindex should not appear on @item line',
     'type' => 'warning'
@@ -1297,7 +1356,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: empty index key in @item
 ',
     'file_name' => '',
-    'line_nr' => 17,
+    'line_nr' => 18,
     'macro' => '',
     'text' => 'empty index key in @item',
     'type' => 'warning'
@@ -1306,7 +1365,7 @@ $result_errors{'in_table'} = [
     'error_line' => 'warning: empty index key in @item
 ',
     'file_name' => '',
-    'line_nr' => 20,
+    'line_nr' => 21,
     'macro' => '',
     'text' => 'empty index key in @item',
     'type' => 'warning'
diff --git a/tp/t/results/invalid_nestings/menu_in_style_command.pl 
b/tp/t/results/invalid_nestings/menu_in_style_command.pl
index 43e049bd59..e28f832d1f 100644
--- a/tp/t/results/invalid_nestings/menu_in_style_command.pl
+++ b/tp/t/results/invalid_nestings/menu_in_style_command.pl
@@ -15,7 +15,7 @@ $result_trees{'menu_in_style_command'} = {
         {
           'contents' => [
             {
-              'text' => 'Top'
+              'text' => 'first'
             }
           ],
           'info' => {
@@ -174,10 +174,10 @@ $result_trees{'menu_in_style_command'} = {
             'node_content' => [
               {}
             ],
-            'normalized' => 'Top'
+            'normalized' => 'first'
           }
         ],
-        'normalized' => 'Top'
+        'normalized' => 'first'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -197,7 +197,7 @@ 
$result_trees{'menu_in_style_command'}{'contents'}[1]{'contents'}[2]{'contents'}
 
$result_trees{'menu_in_style_command'}{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'menu_in_style_command'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
$result_trees{'menu_in_style_command'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = 
$result_trees{'menu_in_style_command'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
-$result_texis{'menu_in_style_command'} = '@node Top
+$result_texis{'menu_in_style_command'} = '@node first
 
 @code{
 }@menu
@@ -219,7 +219,7 @@ $result_nodes{'menu_in_style_command'} = {
         'cmdname' => 'menu'
       }
     ],
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {},
   'structure' => {
@@ -231,16 +231,14 @@ $result_nodes{'menu_in_style_command'} = {
           }
         ]
       }
-    },
-    'node_next' => {}
+    }
   }
 };
-$result_nodes{'menu_in_style_command'}{'structure'}{'node_next'} = 
$result_nodes{'menu_in_style_command'}{'structure'}{'menu_child'};
 
 $result_menus{'menu_in_style_command'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {},
   'structure' => {
diff --git a/tp/t/results/invalid_nestings/quotation_in_ref.pl 
b/tp/t/results/invalid_nestings/quotation_in_ref.pl
index 36fcccfa8d..ee0844a238 100644
--- a/tp/t/results/invalid_nestings/quotation_in_ref.pl
+++ b/tp/t/results/invalid_nestings/quotation_in_ref.pl
@@ -15,7 +15,7 @@ $result_trees{'quotation_in_ref'} = {
         {
           'contents' => [
             {
-              'text' => 'Top'
+              'text' => 'first'
             }
           ],
           'info' => {
@@ -41,7 +41,7 @@ $result_trees{'quotation_in_ref'} = {
                 {
                   'contents' => [
                     {
-                      'text' => 'Top'
+                      'text' => 'first'
                     }
                   ],
                   'type' => 'brace_command_arg'
@@ -147,10 +147,10 @@ $result_trees{'quotation_in_ref'} = {
             'node_content' => [
               {}
             ],
-            'normalized' => 'Top'
+            'normalized' => 'first'
           }
         ],
-        'normalized' => 'Top'
+        'normalized' => 'first'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -169,9 +169,9 @@ $result_trees{'quotation_in_ref'} = {
 $result_trees{'quotation_in_ref'}{'contents'}[1]{'extra'}{'node_content'}[0] = 
$result_trees{'quotation_in_ref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
$result_trees{'quotation_in_ref'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = $result_trees{'quotation_in_ref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
-$result_texis{'quotation_in_ref'} = '@node Top
+$result_texis{'quotation_in_ref'} = '@node first
 
-@xref{Top,
+@xref{first,
 }@quotation
 quotation in ref
 @end quotation
@@ -180,14 +180,14 @@ quotation in ref
 
 
 $result_texts{'quotation_in_ref'} = '
-Topquotation in ref
+firstquotation in ref
 .
 ';
 
 $result_nodes{'quotation_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };
@@ -195,7 +195,7 @@ $result_nodes{'quotation_in_ref'} = {
 $result_menus{'quotation_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };
diff --git a/tp/t/results/invalid_nestings/ref_in_ref.pl 
b/tp/t/results/invalid_nestings/ref_in_ref.pl
index 21803f2d8f..c36e0d313a 100644
--- a/tp/t/results/invalid_nestings/ref_in_ref.pl
+++ b/tp/t/results/invalid_nestings/ref_in_ref.pl
@@ -15,7 +15,7 @@ $result_trees{'ref_in_ref'} = {
         {
           'contents' => [
             {
-              'text' => 'Top'
+              'text' => 'first'
             }
           ],
           'info' => {
@@ -40,7 +40,7 @@ $result_trees{'ref_in_ref'} = {
                         {
                           'contents' => [
                             {
-                              'text' => 'Top'
+                              'text' => 'first'
                             }
                           ],
                           'type' => 'brace_command_arg'
@@ -53,7 +53,7 @@ $result_trees{'ref_in_ref'} = {
                           'node_content' => [
                             {}
                           ],
-                          'normalized' => 'Top'
+                          'normalized' => 'first'
                         }
                       },
                       'source_info' => {
@@ -73,7 +73,7 @@ $result_trees{'ref_in_ref'} = {
                   'node_content' => [
                     {}
                   ],
-                  'normalized' => 'Top'
+                  'normalized' => 'first'
                 }
               },
               'source_info' => {
@@ -95,10 +95,10 @@ $result_trees{'ref_in_ref'} = {
             'node_content' => [
               {}
             ],
-            'normalized' => 'Top'
+            'normalized' => 'first'
           }
         ],
-        'normalized' => 'Top'
+        'normalized' => 'first'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -121,16 +121,16 @@ 
$result_trees{'ref_in_ref'}{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'
 $result_trees{'ref_in_ref'}{'contents'}[1]{'extra'}{'node_content'}[0] = 
$result_trees{'ref_in_ref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
$result_trees{'ref_in_ref'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = $result_trees{'ref_in_ref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
-$result_texis{'ref_in_ref'} = '@node Top
-@ref{@ref{Top}}';
+$result_texis{'ref_in_ref'} = '@node first
+@ref{@ref{first}}';
 
 
-$result_texts{'ref_in_ref'} = 'Top';
+$result_texts{'ref_in_ref'} = 'first';
 
 $result_nodes{'ref_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };
@@ -138,7 +138,7 @@ $result_nodes{'ref_in_ref'} = {
 $result_menus{'ref_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };
@@ -154,12 +154,12 @@ $result_errors{'ref_in_ref'} = [
     'type' => 'warning'
   },
   {
-    'error_line' => 'warning: @ref to `@ref{Top}\', different from node name 
`Top\'
+    'error_line' => 'warning: @ref to `@ref{first}\', different from node name 
`first\'
 ',
     'file_name' => '',
     'line_nr' => 2,
     'macro' => '',
-    'text' => '@ref to `@ref{Top}\', different from node name `Top\'',
+    'text' => '@ref to `@ref{first}\', different from node name `first\'',
     'type' => 'warning'
   }
 ];
diff --git a/tp/t/results/invalid_nestings/ref_in_anchor.pl 
b/tp/t/results/invalid_nestings/ref_to_top_in_anchor.pl
similarity index 68%
rename from tp/t/results/invalid_nestings/ref_in_anchor.pl
rename to tp/t/results/invalid_nestings/ref_to_top_in_anchor.pl
index 12733db62e..15ce53d8c5 100644
--- a/tp/t/results/invalid_nestings/ref_in_anchor.pl
+++ b/tp/t/results/invalid_nestings/ref_to_top_in_anchor.pl
@@ -5,7 +5,7 @@ use vars qw(%result_texis %result_texts %result_trees 
%result_errors
 
 use utf8;
 
-$result_trees{'ref_in_anchor'} = {
+$result_trees{'ref_to_top_in_anchor'} = {
   'contents' => [
     {
       'type' => 'before_node_section'
@@ -114,20 +114,20 @@ $result_trees{'ref_in_anchor'} = {
   ],
   'type' => 'document_root'
 };
-$result_trees{'ref_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'extra'}{'label'}
 = $result_trees{'ref_in_anchor'}{'contents'}[1];
-$result_trees{'ref_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'extra'}{'node_argument'}{'node_content'}[0]
 = 
$result_trees{'ref_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
-$result_trees{'ref_in_anchor'}{'contents'}[1]{'contents'}[0]{'extra'}{'node_content'}[0]
 = 
$result_trees{'ref_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'ref_in_anchor'}{'contents'}[1]{'contents'}[0]{'extra'}{'node_content'}[1]
 = 
$result_trees{'ref_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1];
-$result_trees{'ref_in_anchor'}{'contents'}[1]{'extra'}{'node_content'}[0] = 
$result_trees{'ref_in_anchor'}{'contents'}[1]{'args'}[0]{'contents'}[0];
-$result_trees{'ref_in_anchor'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = $result_trees{'ref_in_anchor'}{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'extra'}{'label'}
 = $result_trees{'ref_to_top_in_anchor'}{'contents'}[1];
+$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'extra'}{'node_argument'}{'node_content'}[0]
 = 
$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'contents'}[0]{'extra'}{'node_content'}[0]
 = 
$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'contents'}[0]{'extra'}{'node_content'}[1]
 = 
$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = 
$result_trees{'ref_to_top_in_anchor'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
-$result_texis{'ref_in_anchor'} = '@node Top
+$result_texis{'ref_to_top_in_anchor'} = '@node Top
 @anchor{TOP @ref{Top}}';
 
 
-$result_texts{'ref_in_anchor'} = '';
+$result_texts{'ref_to_top_in_anchor'} = '';
 
-$result_nodes{'ref_in_anchor'} = {
+$result_nodes{'ref_to_top_in_anchor'} = {
   'cmdname' => 'node',
   'extra' => {
     'normalized' => 'Top'
@@ -135,7 +135,7 @@ $result_nodes{'ref_in_anchor'} = {
   'info' => {}
 };
 
-$result_menus{'ref_in_anchor'} = {
+$result_menus{'ref_to_top_in_anchor'} = {
   'cmdname' => 'node',
   'extra' => {
     'normalized' => 'Top'
@@ -143,7 +143,7 @@ $result_menus{'ref_in_anchor'} = {
   'info' => {}
 };
 
-$result_errors{'ref_in_anchor'} = [
+$result_errors{'ref_to_top_in_anchor'} = [
   {
     'error_line' => 'warning: @ref should not appear anywhere inside @anchor
 ',
@@ -156,7 +156,7 @@ $result_errors{'ref_in_anchor'} = [
 ];
 
 
-$result_floats{'ref_in_anchor'} = {};
+$result_floats{'ref_to_top_in_anchor'} = {};
 
 
 1;
diff --git a/tp/t/results/invalid_nestings/verbatim_in_ref.pl 
b/tp/t/results/invalid_nestings/verbatim_in_ref.pl
index 95abd04ca0..6c8b99736a 100644
--- a/tp/t/results/invalid_nestings/verbatim_in_ref.pl
+++ b/tp/t/results/invalid_nestings/verbatim_in_ref.pl
@@ -15,7 +15,7 @@ $result_trees{'verbatim_in_ref'} = {
         {
           'contents' => [
             {
-              'text' => 'Top'
+              'text' => 'first'
             }
           ],
           'info' => {
@@ -41,7 +41,7 @@ $result_trees{'verbatim_in_ref'} = {
                 {
                   'contents' => [
                     {
-                      'text' => 'Top'
+                      'text' => 'first'
                     }
                   ],
                   'type' => 'brace_command_arg'
@@ -147,10 +147,10 @@ $result_trees{'verbatim_in_ref'} = {
             'node_content' => [
               {}
             ],
-            'normalized' => 'Top'
+            'normalized' => 'first'
           }
         ],
-        'normalized' => 'Top'
+        'normalized' => 'first'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -169,9 +169,9 @@ $result_trees{'verbatim_in_ref'} = {
 $result_trees{'verbatim_in_ref'}{'contents'}[1]{'extra'}{'node_content'}[0] = 
$result_trees{'verbatim_in_ref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
$result_trees{'verbatim_in_ref'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = $result_trees{'verbatim_in_ref'}{'contents'}[1]{'args'}[0]{'contents'}[0];
 
-$result_texis{'verbatim_in_ref'} = '@node Top
+$result_texis{'verbatim_in_ref'} = '@node first
 
-@xref{Top, 
+@xref{first, 
 }@verbatim
 verbat text
 @end verbatim
@@ -180,13 +180,13 @@ verbat text
 
 
 $result_texts{'verbatim_in_ref'} = '
-Topverbat text
+firstverbat text
 .';
 
 $result_nodes{'verbatim_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };
@@ -194,7 +194,7 @@ $result_nodes{'verbatim_in_ref'} = {
 $result_menus{'verbatim_in_ref'} = {
   'cmdname' => 'node',
   'extra' => {
-    'normalized' => 'Top'
+    'normalized' => 'first'
   },
   'info' => {}
 };



reply via email to

[Prev in Thread] Current Thread [Next in Thread]