texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/t/30sectioning.t, tp/Makefile.tres: add one_


From: Patrice Dumas
Subject: branch master updated: * tp/t/30sectioning.t, tp/Makefile.tres: add one_node_explicit_directions_anchor_no_use_node and top_without_node_texi2html_no_use_nodes tests.
Date: Sat, 11 Mar 2023 16:49:00 -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 f6035dca82 * tp/t/30sectioning.t, tp/Makefile.tres: add 
one_node_explicit_directions_anchor_no_use_node and 
top_without_node_texi2html_no_use_nodes tests.
f6035dca82 is described below

commit f6035dca828bd41b31494b57efca042847e432b0
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Mar 11 22:48:51 2023 +0100

    * tp/t/30sectioning.t, tp/Makefile.tres: add
    one_node_explicit_directions_anchor_no_use_node and
    top_without_node_texi2html_no_use_nodes tests.
---
 ChangeLog                                          |   6 +
 tp/Makefile.tres                                   |   3 +
 tp/TODO                                            |   3 -
 tp/t/30sectioning.t                                |  13 +
 ..._node_explicit_directions_anchor_no_use_node.pl | 290 +++++++++++++++++++++
 .../top_without_node_texi2html_no_use_nodes.pl     | 265 +++++++++++++++++++
 .../top_without_node_texi2html_no_use_nodes.html   | 178 +++++++++++++
 7 files changed, 755 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4e12826a2c..8599d1478e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-03-11  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/t/30sectioning.t, tp/Makefile.tres: add
+       one_node_explicit_directions_anchor_no_use_node and
+       top_without_node_texi2html_no_use_nodes tests.
+
 2023-03-11  Patrice Dumas  <pertusus@free.fr>
 
        * tp/t/30sectioning.t: add
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index c107589e85..31e6e925f5 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -1765,6 +1765,7 @@ test_files_generated_list = 
$(test_tap_files_generated_list) \
   t/results/sectioning/nodes_no_node_top_explicit_directions.pl \
   t/results/sectioning/novalidate.pl \
   t/results/sectioning/one_node_explicit_directions_anchor.pl \
+  t/results/sectioning/one_node_explicit_directions_anchor_no_use_node.pl \
   t/results/sectioning/one_subsection.pl \
   t/results/sectioning/one_subsection_and_node.pl \
   t/results/sectioning/part_before_chapter.pl \
@@ -1814,6 +1815,8 @@ test_files_generated_list = 
$(test_tap_files_generated_list) \
   t/results/sectioning/top_part_chapter.pl \
   t/results/sectioning/top_without_node_nodes.pl \
   t/results/sectioning/top_without_node_sections.pl \
+  t/results/sectioning/top_without_node_texi2html_no_use_nodes.pl \
+  t/results/sectioning/top_without_node_texi2html_no_use_nodes/res_html \
   t/results/sectioning/transliterated_split_equivalent_nodes.pl \
   t/results/sectioning/transliterated_split_equivalent_nodes/res_html \
   t/results/sectioning/two_nodes_at_the_end.pl \
diff --git a/tp/TODO b/tp/TODO
index 666b53d8a3..85e7eda5f4 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -594,9 +594,6 @@ t/30sectioning.t
  chapter_between_nodes (TEXI2HTML for USE_NODES=0 and directions)
  two_nodes_between_chapters (split at node / TEXI2HTML for USE_NODES=0 and 
directions)
  two_nodes_at_the_end (split at node / TEXI2HTML for USE_NODES=0 and 
directions)
-
- nodes_no_node_top_explicit_directions (with USE_NODES and without)
- one_node_explicit_directions_anchor (with USE_NODES and without) Really 
useful?
  top_without_node_sections
 
 t/40moresectioning.t
diff --git a/tp/t/30sectioning.t b/tp/t/30sectioning.t
index dba379d89c..cd76683ee6 100644
--- a/tp/t/30sectioning.t
+++ b/tp/t/30sectioning.t
@@ -484,6 +484,14 @@ anchor ref @anchor{ref}.
 
 ref to ref @ref{ref}.
 '],
+['one_node_explicit_directions_anchor_no_use_node',
+'@node one node,,,(dir)
+Top node
+
+anchor ref @anchor{ref}.
+
+ref to ref @ref{ref}.
+', {}, {'USE_NODES' => 0}],
 # NOTE that the DocBook output is incorrect because the chapter opened
 # in the Top node is not output, while the closing element is output
 # at the end of the document
@@ -1350,6 +1358,11 @@ my @test_out_files = (
   },
   {'SPLIT' => 'chapter'}
 ],
+['top_without_node_texi2html_no_use_nodes',
+$top_without_node_text,
+# use TEXI2HTML for the directions
+{}, {'USE_NODES' => 0, 'TEXI2HTML' => 1},
+],
 );
 
 foreach my $test (@test_out_files) {
diff --git 
a/tp/t/results/sectioning/one_node_explicit_directions_anchor_no_use_node.pl 
b/tp/t/results/sectioning/one_node_explicit_directions_anchor_no_use_node.pl
new file mode 100644
index 0000000000..3eb0f1769b
--- /dev/null
+++ b/tp/t/results/sectioning/one_node_explicit_directions_anchor_no_use_node.pl
@@ -0,0 +1,290 @@
+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{'one_node_explicit_directions_anchor_no_use_node'} = {
+  'contents' => [
+    {
+      'type' => 'before_node_section'
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'one node'
+            }
+          ],
+          'type' => 'line_arg'
+        },
+        {
+          'type' => 'line_arg'
+        },
+        {
+          'type' => 'line_arg'
+        },
+        {
+          'contents' => [
+            {
+              'text' => '('
+            },
+            {
+              'text' => 'dir'
+            },
+            {
+              'text' => ')'
+            }
+          ],
+          'extra' => {
+            'manual_content' => [
+              {}
+            ]
+          },
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'contents' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Top node
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'anchor ref '
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'ref'
+                    }
+                  ],
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'anchor',
+              'extra' => {
+                'normalized' => 'ref'
+              },
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 4,
+                'macro' => ''
+              }
+            },
+            {
+              'text' => '.
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'ref to ref '
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'ref'
+                    }
+                  ],
+                  'extra' => {
+                    'node_content' => [
+                      {}
+                    ],
+                    'normalized' => 'ref'
+                  },
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'ref',
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 6,
+                'macro' => ''
+              }
+            },
+            {
+              'text' => '.
+'
+            }
+          ],
+          'type' => 'paragraph'
+        }
+      ],
+      'extra' => {
+        'normalized' => 'one-node'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 1,
+        'macro' => ''
+      }
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'one_node_explicit_directions_anchor_no_use_node'}{'contents'}[1]{'args'}[3]{'extra'}{'manual_content'}[0]
 = 
$result_trees{'one_node_explicit_directions_anchor_no_use_node'}{'contents'}[1]{'args'}[3]{'contents'}[1];
+$result_trees{'one_node_explicit_directions_anchor_no_use_node'}{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0]{'extra'}{'node_content'}[0]
 = 
$result_trees{'one_node_explicit_directions_anchor_no_use_node'}{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0];
+
+$result_texis{'one_node_explicit_directions_anchor_no_use_node'} = '@node one 
node,,,(dir)
+Top node
+
+anchor ref @anchor{ref}.
+
+ref to ref @ref{ref}.
+';
+
+
+$result_texts{'one_node_explicit_directions_anchor_no_use_node'} = 'Top node
+
+anchor ref .
+
+ref to ref ref.
+';
+
+$result_nodes{'one_node_explicit_directions_anchor_no_use_node'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'one-node'
+  },
+  'structure' => {
+    'node_up' => {
+      'extra' => {
+        'manual_content' => [
+          {
+            'text' => 'dir'
+          }
+        ]
+      }
+    }
+  }
+};
+
+$result_menus{'one_node_explicit_directions_anchor_no_use_node'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'one-node'
+  },
+  'structure' => {}
+};
+
+$result_errors{'one_node_explicit_directions_anchor_no_use_node'} = [];
+
+
+$result_floats{'one_node_explicit_directions_anchor_no_use_node'} = {};
+
+
+
+$result_converted{'info'}->{'one_node_explicit_directions_anchor_no_use_node'} 
= 'This is , produced from .
+
+
+File: ,  Node: one node,  Up: (dir)
+
+Top node
+
+   anchor ref .
+
+   ref to ref *note ref::.
+
+
+Tag Table:
+Node: one node27
+Ref: ref89
+
+End Tag Table
+
+
+Local Variables:
+coding: utf-8
+End:
+';
+
+$result_converted_errors{'info'}->{'one_node_explicit_directions_anchor_no_use_node'}
 = [
+  {
+    'error_line' => 'warning: document without Top node
+',
+    'text' => 'document without Top node',
+    'type' => 'warning'
+  }
+];
+
+
+
+$result_converted{'html'}->{'one_node_explicit_directions_anchor_no_use_node'} 
= '<!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>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">
+
+
+
+</head>
+
+<body lang="en">
+<a class="node" id="one-node"></a><p>Top node
+</p>
+<p>anchor ref <a class="anchor" id="ref"></a>.
+</p>
+<p>ref to ref <a class="ref" href="#ref">ref</a>.
+</p>
+
+
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'one_node_explicit_directions_anchor_no_use_node'}
 = [
+  {
+    'error_line' => 'warning: must specify a title with a title command or @top
+',
+    'text' => 'must specify a title with a title command or @top',
+    'type' => 'warning'
+  }
+];
+
+
+1;
diff --git a/tp/t/results/sectioning/top_without_node_texi2html_no_use_nodes.pl 
b/tp/t/results/sectioning/top_without_node_texi2html_no_use_nodes.pl
new file mode 100644
index 0000000000..1ce29c44a3
--- /dev/null
+++ b/tp/t/results/sectioning/top_without_node_texi2html_no_use_nodes.pl
@@ -0,0 +1,265 @@
+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{'top_without_node_texi2html_no_use_nodes'} = {
+  'contents' => [
+    {
+      'type' => 'before_node_section'
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'top section'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'top',
+      'contents' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Top section
+'
+            }
+          ],
+          'type' => 'paragraph'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 1,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'second'
+            }
+          ],
+          'type' => 'line_arg'
+        },
+        {
+          'type' => 'line_arg'
+        },
+        {
+          'type' => 'line_arg'
+        },
+        {
+          'contents' => [
+            {
+              'text' => '('
+            },
+            {
+              'text' => 'dir'
+            },
+            {
+              'text' => ')'
+            }
+          ],
+          'extra' => {
+            'manual_content' => [
+              {}
+            ]
+          },
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'normalized' => 'second'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 4,
+        'macro' => ''
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Chapter'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'chapter',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'Text of chapter
+'
+            }
+          ],
+          'type' => 'paragraph'
+        }
+      ],
+      'extra' => {},
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'file_name' => '',
+        'line_nr' => 5,
+        'macro' => ''
+      }
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'top_without_node_texi2html_no_use_nodes'}{'contents'}[2]{'args'}[3]{'extra'}{'manual_content'}[0]
 = 
$result_trees{'top_without_node_texi2html_no_use_nodes'}{'contents'}[2]{'args'}[3]{'contents'}[1];
+
+$result_texis{'top_without_node_texi2html_no_use_nodes'} = '@top top section
+Top section
+
+@node second,,,(dir)
+@chapter Chapter
+
+Text of chapter
+';
+
+
+$result_texts{'top_without_node_texi2html_no_use_nodes'} = 'top section
+***********
+Top section
+
+1 Chapter
+*********
+
+Text of chapter
+';
+
+$result_sectioning{'top_without_node_texi2html_no_use_nodes'} = {
+  'structure' => {
+    'section_childs' => [
+      {
+        'cmdname' => 'top',
+        'structure' => {
+          'section_childs' => [
+            {
+              'cmdname' => 'chapter',
+              'extra' => {
+                'associated_node' => {
+                  'cmdname' => 'node',
+                  'extra' => {
+                    'normalized' => 'second'
+                  },
+                  'structure' => {}
+                }
+              },
+              'structure' => {
+                'section_level' => 1,
+                'section_number' => 1,
+                'section_up' => {},
+                'toplevel_prev' => {},
+                'toplevel_up' => {}
+              }
+            }
+          ],
+          'section_level' => 0,
+          'section_up' => {}
+        }
+      }
+    ],
+    'section_level' => -1
+  }
+};
+$result_sectioning{'top_without_node_texi2html_no_use_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = 
$result_sectioning{'top_without_node_texi2html_no_use_nodes'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'top_without_node_texi2html_no_use_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
 = 
$result_sectioning{'top_without_node_texi2html_no_use_nodes'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'top_without_node_texi2html_no_use_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
 = 
$result_sectioning{'top_without_node_texi2html_no_use_nodes'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'top_without_node_texi2html_no_use_nodes'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
 = $result_sectioning{'top_without_node_texi2html_no_use_nodes'};
+
+$result_nodes{'top_without_node_texi2html_no_use_nodes'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'associated_section' => {
+      'cmdname' => 'chapter',
+      'extra' => {},
+      'structure' => {
+        'section_number' => 1
+      }
+    },
+    'normalized' => 'second'
+  },
+  'structure' => {
+    'node_up' => {
+      'extra' => {
+        'manual_content' => [
+          {
+            'text' => 'dir'
+          }
+        ]
+      }
+    }
+  }
+};
+
+$result_menus{'top_without_node_texi2html_no_use_nodes'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'second'
+  },
+  'structure' => {}
+};
+
+$result_errors{'top_without_node_texi2html_no_use_nodes'} = [];
+
+
+$result_floats{'top_without_node_texi2html_no_use_nodes'} = {};
+
+
+1;
diff --git 
a/tp/t/results/sectioning/top_without_node_texi2html_no_use_nodes/res_html/top_without_node_texi2html_no_use_nodes.html
 
b/tp/t/results/sectioning/top_without_node_texi2html_no_use_nodes/res_html/top_without_node_texi2html_no_use_nodes.html
new file mode 100644
index 0000000000..39cd1512e9
--- /dev/null
+++ 
b/tp/t/results/sectioning/top_without_node_texi2html_no_use_nodes/res_html/top_without_node_texi2html_no_use_nodes.html
@@ -0,0 +1,178 @@
+<!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 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">
+
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span.program-in-footer {font-size: smaller}
+span:hover a.copiable-link {visibility: visible}
+td.button-direction-about {text-align:center}
+td.name-direction-about {text-align:center}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="top-section">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[ &lt; ]</td>
+<td>[<a href="#second" title="Next section in reading order"> &gt; </a>]</td>
+<td> &nbsp; </td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="top"><span>top section<a class="copiable-link" href="#top-section"> 
&para;</a></span></h1>
+<p>Top section
+</p>
+<hr style="height: 6px;">
+<div class="chapter-level-extent" id="second">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#top-section" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
+<td>[<a href="#top-section" title="Previous section in reading order"> &lt; 
</a>]</td>
+<td>[<a href="#top-section" title="Up section"> Up </a>]</td>
+<td>[ &gt; ]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#top-section" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h1>
+
+<p>Text of chapter
+</p><hr style="height: 6px;">
+</div>
+</div>
+<div class="element-about" id="SEC_About">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#top-section" title="Cover (top) of document">Top</a>]</td>
+<td>[Contents]</td>
+<td>[Index]</td>
+<td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
+</tr></table>
+<h1 class="about-heading">About This Document</h1>
+
+<p>
+  This document was generated on <em class="emph">a sunny day</em>.
+</p>
+<p>
+  The buttons in the navigation panels have the following meaning:
+</p>
+<table border="1">
+  <tr>
+    <th> Button </th>
+    <th> Name </th>
+    <th> Go to </th>
+    <th> From 1.2.3 go to</th>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt;&lt; ] </td>
+    <td class="name-direction-about">FastBack</td>
+    <td>Beginning of this chapter or previous chapter</td>
+    <td>1</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &lt; ] </td>
+    <td class="name-direction-about">Back</td>
+    <td>Previous section in reading order</td>
+    <td>1.2.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ Up ] </td>
+    <td class="name-direction-about">Up</td>
+    <td>Up section</td>
+    <td>1.2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt; ] </td>
+    <td class="name-direction-about">Forward</td>
+    <td>Next section in reading order</td>
+    <td>1.2.4</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ &gt;&gt; ] </td>
+    <td class="name-direction-about">FastForward</td>
+    <td>Next chapter</td>
+    <td>2</td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Top] </td>
+    <td class="name-direction-about">Top</td>
+    <td>Cover (top) of document</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Contents] </td>
+    <td class="name-direction-about">Contents</td>
+    <td>Table of contents</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [Index] </td>
+    <td class="name-direction-about">Index</td>
+    <td>Index</td>
+    <td> &nbsp; </td>
+  </tr>
+  <tr>
+    <td class="button-direction-about"> [ ? ] </td>
+    <td class="name-direction-about">About</td>
+    <td>About (help)</td>
+    <td> &nbsp; </td>
+  </tr>
+</table>
+
+<p>
+  where the <strong class="strong"> Example </strong> assumes that the current 
position is at <strong class="strong"> Subsubsection One-Two-Three </strong> of 
a document of the following structure:
+</p>
+
+<ul>
+  <li> 1. Section One
+    <ul>
+      <li>1.1 Subsection One-One
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.2 Subsection One-Two
+        <ul>
+          <li>1.2.1 Subsubsection One-Two-One</li>
+          <li>1.2.2 Subsubsection One-Two-Two</li>
+          <li>1.2.3 Subsubsection One-Two-Three &nbsp; &nbsp;
+            <strong>&lt;== Current Position </strong></li>
+          <li>1.2.4 Subsubsection One-Two-Four</li>
+        </ul>
+      </li>
+      <li>1.3 Subsection One-Three
+        <ul>
+          <li>...</li>
+        </ul>
+      </li>
+      <li>1.4 Subsection One-Four</li>
+    </ul>
+  </li>
+</ul>
+</div><hr>
+<p>
+  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em>.</span>
+</p>
+
+
+</body>
+</html>



reply via email to

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