texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp TODO t/30sectioning.t t/results/sect...


From: Patrice Dumas
Subject: texinfo/tp TODO t/30sectioning.t t/results/sect...
Date: Sat, 07 Jan 2012 23:56:51 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        12/01/07 23:56:51

Modified files:
        tp             : TODO 
        tp/t           : 30sectioning.t 
        tp/t/results/sectioning: rec_nodes.pl 
Added files:
        tp/t/results/sectioning: ref_to_top.pl 

Log message:
        Test ref to top and normalization of top node.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/TODO?cvsroot=texinfo&r1=1.241&r2=1.242
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/30sectioning.t?cvsroot=texinfo&r1=1.64&r2=1.65
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/rec_nodes.pl?cvsroot=texinfo&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/ref_to_top.pl?cvsroot=texinfo&rev=1.1

Patches:
Index: TODO
===================================================================
RCS file: /sources/texinfo/texinfo/tp/TODO,v
retrieving revision 1.241
retrieving revision 1.242
diff -u -b -r1.241 -r1.242
--- TODO        7 Jan 2012 15:20:09 -0000       1.241
+++ TODO        7 Jan 2012 23:56:50 -0000       1.242
@@ -248,6 +248,19 @@
 defcondx_Ubar defcondx_Dbar
 space_in_setfilename
 
+output files split (node or not split) could be interesting for
+sectioning/
+ more_nodes_than_sections
+ more_sections_than_nodes
+ two_nodes_between_chapters
+ two_nodes_at_the_end
+ character_and_spaces_in_refs
+ character_and_spaces_in_node
+ some_at_commands_in_ref_nodes
+ at_commands_in_refs  
+ character_and_spaces_in_refs <- split/mono 
(chapter/node+node-files+USE_NODES/docbook?)
+ rec_nodes (with USE_NODES and without)
+
 sectioning/
 node_footnote_end
 --> following changed when element_next for special elements became
@@ -315,8 +328,7 @@
 sectioning/double_node_anchor_float.texi
 sectioning/double_top.texi
 sectioning/nodes_test.texi   (done: unknown entry in menu and * (info)::
-                              and errors.  Not sure the remaining is 
-                              interesting)
+                              and errors.  The remaining is not interesting)
 sectioning/rec_nodes.texi
 sectioning/semi_auto.texi
 sectioning/novalidate.texi    (errors that aren't flagged by novalidate

Index: t/30sectioning.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/30sectioning.t,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- t/30sectioning.t    7 Jan 2012 19:47:47 -0000       1.64
+++ t/30sectioning.t    7 Jan 2012 23:56:50 -0000       1.65
@@ -618,6 +618,13 @@
 
 @anchor{TOP}.
 '],
+['ref_to_top',
+'
address@hidden ToP
address@hidden top
+
address@hidden
+'],
 ['equivalent_nodes',
 '@node Top, @emph{node}
 
@@ -1221,7 +1228,7 @@
 second node.
 '],
 ['rec_nodes',
-'@node ToP
+'@node Top
 Top node
 
 @menu

Index: t/results/sectioning/rec_nodes.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/sectioning/rec_nodes.pl,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- t/results/sectioning/rec_nodes.pl   19 Aug 2011 23:09:46 -0000      1.15
+++ t/results/sectioning/rec_nodes.pl   7 Jan 2012 23:56:50 -0000       1.16
@@ -26,7 +26,7 @@
             },
             {
               'parent' => {},
-              'text' => 'ToP'
+              'text' => 'Top'
             },
             {
               'parent' => {},
@@ -1387,7 +1387,7 @@
 
$result_trees{'rec_nodes'}{'contents'}[5]{'extra'}{'nodes_manuals'}[3]{'node_content'}[0]
 = $result_trees{'rec_nodes'}{'contents'}[5]{'args'}[3]{'contents'}[0];
 $result_trees{'rec_nodes'}{'contents'}[5]{'parent'} = 
$result_trees{'rec_nodes'};
 
-$result_texis{'rec_nodes'} = '@node ToP
+$result_texis{'rec_nodes'} = '@node Top
 Top node
 
 @menu

Index: t/results/sectioning/ref_to_top.pl
===================================================================
RCS file: t/results/sectioning/ref_to_top.pl
diff -N t/results/sectioning/ref_to_top.pl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/ref_to_top.pl  7 Jan 2012 23:56:51 -0000       1.1
@@ -0,0 +1,342 @@
+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);
+
+use utf8;
+
+$result_trees{'ref_to_top'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'parent' => {},
+      'type' => 'text_root'
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'extra' => {
+                'command' => {}
+              },
+              'parent' => {},
+              'text' => ' ',
+              'type' => 'empty_spaces_after_command'
+            },
+            {
+              'parent' => {},
+              'text' => 'ToP'
+            },
+            {
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'spaces_at_end'
+            }
+          ],
+          'parent' => {},
+          'type' => 'misc_line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'contents' => [],
+      'extra' => {
+        'node_content' => [
+          {}
+        ],
+        'nodes_manuals' => [
+          {
+            'node_content' => [],
+            'normalized' => 'Top'
+          }
+        ],
+        'normalized' => 'Top'
+      },
+      'line_nr' => {
+        'file_name' => '',
+        'line_nr' => 2,
+        'macro' => ''
+      },
+      'parent' => {}
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'extra' => {
+                'command' => {}
+              },
+              'parent' => {},
+              'text' => ' ',
+              'type' => 'empty_spaces_after_command'
+            },
+            {
+              'parent' => {},
+              'text' => 'top'
+            },
+            {
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'spaces_at_end'
+            }
+          ],
+          'parent' => {},
+          'type' => 'misc_line_arg'
+        }
+      ],
+      'cmdname' => 'top',
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'TOP'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'xref',
+              'contents' => [],
+              'extra' => {
+                'brace_command_contents' => [
+                  [
+                    {}
+                  ]
+                ],
+                'label' => {},
+                'node_argument' => {
+                  'node_content' => [
+                    {}
+                  ],
+                  'normalized' => 'Top'
+                }
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 5,
+                'macro' => ''
+              },
+              'parent' => {}
+            },
+            {
+              'parent' => {},
+              'text' => '.
+'
+            }
+          ],
+          'parent' => {},
+          'type' => 'paragraph'
+        }
+      ],
+      'extra' => {
+        'misc_content' => [
+          {}
+        ]
+      },
+      'level' => 0,
+      'line_nr' => {
+        'file_name' => '',
+        'line_nr' => 3,
+        'macro' => ''
+      },
+      'parent' => {}
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'ref_to_top'}{'contents'}[0]{'contents'}[0]{'parent'} = 
$result_trees{'ref_to_top'}{'contents'}[0];
+$result_trees{'ref_to_top'}{'contents'}[0]{'parent'} = 
$result_trees{'ref_to_top'};
+$result_trees{'ref_to_top'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'ref_to_top'}{'contents'}[1];
+$result_trees{'ref_to_top'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} 
= $result_trees{'ref_to_top'}{'contents'}[1]{'args'}[0];
+$result_trees{'ref_to_top'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} 
= $result_trees{'ref_to_top'}{'contents'}[1]{'args'}[0];
+$result_trees{'ref_to_top'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} 
= $result_trees{'ref_to_top'}{'contents'}[1]{'args'}[0];
+$result_trees{'ref_to_top'}{'contents'}[1]{'args'}[0]{'parent'} = 
$result_trees{'ref_to_top'}{'contents'}[1];
+$result_trees{'ref_to_top'}{'contents'}[1]{'extra'}{'node_content'}[0] = 
$result_trees{'ref_to_top'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'ref_to_top'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
 = $result_trees{'ref_to_top'}{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'ref_to_top'}{'contents'}[1]{'parent'} = 
$result_trees{'ref_to_top'};
+$result_trees{'ref_to_top'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'ref_to_top'}{'contents'}[2];
+$result_trees{'ref_to_top'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} 
= $result_trees{'ref_to_top'}{'contents'}[2]{'args'}[0];
+$result_trees{'ref_to_top'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} 
= $result_trees{'ref_to_top'}{'contents'}[2]{'args'}[0];
+$result_trees{'ref_to_top'}{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} 
= $result_trees{'ref_to_top'}{'contents'}[2]{'args'}[0];
+$result_trees{'ref_to_top'}{'contents'}[2]{'args'}[0]{'parent'} = 
$result_trees{'ref_to_top'}{'contents'}[2];
+$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[0]{'parent'} = 
$result_trees{'ref_to_top'}{'contents'}[2];
+$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
 = $result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0];
+$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'extra'}{'label'}
 = $result_trees{'ref_to_top'}{'contents'}[1];
+$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'extra'}{'node_argument'}{'node_content'}[0]
 = 
$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'parent'}
 = $result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1];
+$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'parent'}
 = $result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1];
+$result_trees{'ref_to_top'}{'contents'}[2]{'contents'}[1]{'parent'} = 
$result_trees{'ref_to_top'}{'contents'}[2];
+$result_trees{'ref_to_top'}{'contents'}[2]{'extra'}{'misc_content'}[0] = 
$result_trees{'ref_to_top'}{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'ref_to_top'}{'contents'}[2]{'parent'} = 
$result_trees{'ref_to_top'};
+
+$result_texis{'ref_to_top'} = '
address@hidden ToP
address@hidden top
+
address@hidden
+';
+
+
+$result_texts{'ref_to_top'} = '
+top
+***
+
+.
+';
+
+$result_sectioning{'ref_to_top'} = {
+  'level' => -1,
+  'section_childs' => [
+    {
+      'cmdname' => 'top',
+      'extra' => {
+        'associated_node' => {
+          'cmdname' => 'node',
+          'extra' => {
+            'normalized' => 'Top'
+          }
+        }
+      },
+      'level' => 0,
+      'section_up' => {}
+    }
+  ]
+};
+$result_sectioning{'ref_to_top'}{'section_childs'}[0]{'section_up'} = 
$result_sectioning{'ref_to_top'};
+
+$result_nodes{'ref_to_top'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'associated_section' => {
+      'cmdname' => 'top',
+      'extra' => {},
+      'level' => 0
+    },
+    'normalized' => 'Top'
+  },
+  'node_up' => {
+    'extra' => {
+      'manual_content' => [
+        {
+          'text' => 'dir'
+        }
+      ],
+      'top_node_up' => {}
+    },
+    'type' => 'top_node_up'
+  }
+};
+$result_nodes{'ref_to_top'}{'node_up'}{'extra'}{'top_node_up'} = 
$result_nodes{'ref_to_top'};
+
+$result_menus{'ref_to_top'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'Top'
+  }
+};
+
+$result_errors{'ref_to_top'} = [];
+
+
+
+$result_converted{'info'}->{'ref_to_top'} = 'This is , produced by tp version 
from .
+
+
+File: ,  Node: Top,  Up: (dir)
+
+top
+***
+
+*Note ToP::.
+
+
+Tag Table:
+Node: Top41
+
+End Tag Table
+';
+
+
+$result_converted{'html'}->{'ref_to_top'} = '<!DOCTYPE html PUBLIC 
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<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="Generator" content="tp">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="#Top" rel="start" title="ToP">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" 
vlink="#800080" alink="#FF0000">
+
+<a name="Top"></a>
+<a name="top"></a>
+<h1 class="top">top</h1>
+
+<p>See <a href="#Top">TOP</a>.
+</p><hr>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
+1;



reply via email to

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