texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Fix tests.


From: Patrice Dumas
Subject: branch master updated: Fix tests.
Date: Sun, 09 Oct 2022 17:26:04 -0400

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 b1cff95845 Fix tests.
b1cff95845 is described below

commit b1cff958451b8f058bb69c2c9735b7093f6a52c4
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Oct 9 23:25:44 2022 +0200

    Fix tests.
---
 tp/TODO                                            |  4 --
 tp/tests/contents/list-of-tests                    |  4 +-
 .../double_contents.2                              |  1 -
 .../double_contents.html                           | 71 +++---------------
 .../chapter.html                                   | 84 ++--------------------
 .../double_contents.2                              |  1 -
 .../{chapter.html => double_contents_1.html}       | 44 +++---------
 .../double_contents_abt.html                       | 30 +-------
 .../{index.html => double_contents_top.html}       | 25 ++-----
 .../index.html                                     | 69 ++----------------
 .../section.html                                   |  4 +-
 11 files changed, 46 insertions(+), 291 deletions(-)

diff --git a/tp/TODO b/tp/TODO
index bc3e84da21..a009419d33 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -14,12 +14,8 @@ check same keys for
 global_unique document_settable_unique_at_commands
 global document_settable_multiple_at_commands
 
-./contents//res_parser/double_contents_after_title_book_chapter/double_contents.2
- texi2any: warning: could not read init file book.init
-
 check separate elements and also SPLIT with convert(), in tests html_text.
 
-
 Add in_math (for /)?
 
 Bugs
diff --git a/tp/tests/contents/list-of-tests b/tp/tests/contents/list-of-tests
index dfe3d63a39..8a1897f325 100644
--- a/tp/tests/contents/list-of-tests
+++ b/tp/tests/contents/list-of-tests
@@ -25,8 +25,8 @@ no_content_do_contents_inline no_content.texi -c 
'CONTENTS_OUTPUT_LOCATION inlin
 no_content_setcatpage_inline no_content_setcatpage.texi -c 
'CONTENTS_OUTPUT_LOCATION inline'
 no_content_setcatpage_do_contents_inline no_content_setcatpage.texi -c 
'CONTENTS_OUTPUT_LOCATION inline' -c 'contents 1'
 double_contents_book double_contents.texi -c FORMAT_MENU=nomenu --init book.pm
-double_contents_after_title_book double_contents.texi --init book.init -c 
'CONTENTS_OUTPUT_LOCATION after_title'
-double_contents_after_title_book_chapter double_contents.texi --init book.init 
--split chapter -c 'CONTENTS_OUTPUT_LOCATION after_title'
+double_contents_after_title_book double_contents.texi --init book.pm -c 
'CONTENTS_OUTPUT_LOCATION after_title'
+double_contents_after_title_book_chapter double_contents.texi --init book.pm 
--split chapter -c 'CONTENTS_OUTPUT_LOCATION after_title'
 
 contents_and_parts contents_and_parts.texi
 
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.2
 
b/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.2
index 9d7047671d..e69de29bb2 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.2
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.2
@@ -1 +0,0 @@
-texi2any: warning: could not read init file book.init
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.html
index 9b0b410726..f951798d36 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.html
@@ -16,8 +16,6 @@
 <!--
 span.program-in-footer {font-size: smaller}
 td.button-direction-about {text-align:center}
-td.menu-entry-description {vertical-align: top}
-td.menu-entry-destination {vertical-align: top}
 td.name-direction-about {text-align:center}
 ul.toc-numbered-mark {list-style: none}
 -->
@@ -43,8 +41,7 @@ ul.toc-numbered-mark {list-style: none}
 <hr>
 
 
-<div class="top-level-extent" id="Top">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<a class="node" id="Top"></a><table class="nav-panel" cellpadding="1" 
cellspacing="1" border="0">
 <tr><td>[ &lt; ]</td>
 <td>[<a href="#chapter" title="Next section in reading order"> &gt; </a>]</td>
 <td> &nbsp; </td>
@@ -52,68 +49,42 @@ ul.toc-numbered-mark {list-style: none}
 <td>[Index]</td>
 <td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
-<h1 class="top" id="Double-contents">Double contents</h1>
-
-<p>Double contents.
-</p>
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="#chapter">1 Chapter 
1</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
-
-<hr style="height: 6px;">
+<a class="top" id="Double-contents"></a><hr>
 <div class="chapter-level-extent" id="chapter">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#Top" title="Beginning of this chapter or previous chapter"> 
&lt;&lt; </a>]</td>
-<td>[<a href="#Top" title="Previous section in reading order"> &lt; </a>]</td>
-<td>[<a href="#Top" title="Up section"> Up </a>]</td>
+<tr><td>[<a href="#Top" title="Previous section in reading order"> &lt; 
</a>]</td>
 <td>[<a href="#section" title="Next section in reading order"> &gt; </a>]</td>
-<td>[ &gt;&gt; ]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
 <td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
 <td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
 <td>[Index]</td>
 <td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
 <h1 class="chapter" id="Chapter-1">1 Chapter 1</h1>
+<ul class="toc-numbered-mark">
+<li> <a href="#section">1.1 section with contents</a> </li>
+</ul>
 
 <p>The chapter
 </p>
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="#section">1.1 section with 
contents</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
 
 <hr>
 <div class="section-level-extent" id="section">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#chapter" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#chapter" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#chapter" title="Up section"> Up </a>]</td>
+<tr><td>[<a href="#chapter" title="Previous section in reading order"> &lt; 
</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" title="Cover (top) of document">Top</a>]</td>
 <td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
 <td>[Index]</td>
 <td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
 <h2 class="section" id="section-with-contents">1.1 section with contents</h2>
 
-<hr style="height: 6px;">
-</div>
+<hr>
 </div>
 </div>
 <div class="element-about" id="SEC_About">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
-<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<tr><td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
 <td>[Index]</td>
 <td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
@@ -132,42 +103,18 @@ ul.toc-numbered-mark {list-style: none}
     <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>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
index 27efadc560..42a0c01aa0 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
@@ -1,93 +1,23 @@
 <!DOCTYPE html>
 <html>
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<!-- This file redirects to the location of a node or anchor -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>1 Chapter 1 (Double contents)</title>
+<title>chapter (Double contents)</title>
 
-<meta name="description" content="1 Chapter 1 (Double contents)">
-<meta name="keywords" content="1 Chapter 1 (Double contents)">
+<meta name="description" content="chapter (Double contents)">
+<meta name="keywords" content="chapter (Double contents)">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="texi2any">
-<meta name="viewport" content="width=device-width,initial-scale=1">
-
-<style type="text/css">
-<!--
-span.program-in-footer {font-size: smaller}
-td.menu-entry-description {vertical-align: top}
-td.menu-entry-destination {vertical-align: top}
--->
-</style>
 
+<meta http-equiv="Refresh" content="0; url=double_contents_1.html#chapter">
+<meta name="viewport" content="width=device-width,initial-scale=1">
 
 </head>
 
 <body lang="en">
-<div class="chapter-level-extent" id="chapter">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="index.html" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="index.html" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="index.html" title="Up section"> Up </a>]</td>
-<td>[<a href="#section" title="Next section in reading order"> &gt; </a>]</td>
-<td>[ &gt;&gt; ]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="index.html" title="Cover (top) of document">Top</a>]</td>
-<td>[<a href="index.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
-<td>[Index]</td>
-<td>[<a href="double_contents_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
-</tr></table>
-<h1 class="chapter" id="Chapter-1">1 Chapter 1</h1>
-
-<p>The chapter
-</p>
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="#section">1.1 section with 
contents</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
-
-<hr>
-<div class="section-level-extent" id="section">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#chapter" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#chapter" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#chapter" 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="index.html" title="Cover (top) of document">Top</a>]</td>
-<td>[<a href="index.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
-<td>[Index]</td>
-<td>[<a href="double_contents_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
-</tr></table>
-<h2 class="section" id="section-with-contents">1.1 section with contents</h2>
-
-</div>
-</div>
-<hr>
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#chapter" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[ &gt;&gt; ]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="index.html" title="Cover (top) of document">Top</a>]</td>
-<td>[<a href="index.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
-<td>[Index]</td>
-<td>[<a href="double_contents_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
-</tr></table>
-<p>
-  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.</span>
-</p>
-
 
+<p>The node you are looking for is at <a 
href="double_contents_1.html#chapter">chapter</a>.</p>
 </body>
-</html>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents.2
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents.2
index 9d7047671d..e69de29bb2 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents.2
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents.2
@@ -1 +0,0 @@
-texi2any: warning: could not read init file book.init
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_1.html
similarity index 53%
copy from 
tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
copy to 
tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_1.html
index 27efadc560..c503f9d748 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_1.html
@@ -15,8 +15,7 @@
 <style type="text/css">
 <!--
 span.program-in-footer {font-size: smaller}
-td.menu-entry-description {vertical-align: top}
-td.menu-entry-destination {vertical-align: top}
+ul.toc-numbered-mark {list-style: none}
 -->
 </style>
 
@@ -25,44 +24,31 @@ td.menu-entry-destination {vertical-align: top}
 
 <body lang="en">
 <div class="chapter-level-extent" id="chapter">
+<ul class="toc-numbered-mark"><li><a href="double_contents_top.html">Double 
contents</a> </li>
+</ul>
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="index.html" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="index.html" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="index.html" title="Up section"> Up </a>]</td>
+<tr><td>[<a href="double_contents_top.html" title="Previous section in reading 
order"> &lt; </a>]</td>
 <td>[<a href="#section" title="Next section in reading order"> &gt; </a>]</td>
-<td>[ &gt;&gt; ]</td>
 <td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="index.html" title="Cover (top) of document">Top</a>]</td>
-<td>[<a href="index.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
+<td>[<a href="double_contents_top.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
 <td>[Index]</td>
 <td>[<a href="double_contents_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
 <h1 class="chapter" id="Chapter-1">1 Chapter 1</h1>
+<ul class="toc-numbered-mark">
+<li> <a href="#section">1.1 section with contents</a> </li>
+</ul>
 
 <p>The chapter
 </p>
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="#section">1.1 section with 
contents</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
 
 <hr>
 <div class="section-level-extent" id="section">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#chapter" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[<a href="#chapter" title="Previous section in reading order"> &lt; 
</a>]</td>
-<td>[<a href="#chapter" title="Up section"> Up </a>]</td>
+<tr><td>[<a href="#chapter" title="Previous section in reading order"> &lt; 
</a>]</td>
 <td>[ &gt; ]</td>
-<td>[ &gt;&gt; ]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
 <td> &nbsp; </td>
-<td>[<a href="index.html" title="Cover (top) of document">Top</a>]</td>
-<td>[<a href="index.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
+<td>[<a href="double_contents_top.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
 <td>[Index]</td>
 <td>[<a href="double_contents_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
@@ -72,15 +58,7 @@ td.menu-entry-destination {vertical-align: top}
 </div>
 <hr>
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="#chapter" title="Beginning of this chapter or previous 
chapter"> &lt;&lt; </a>]</td>
-<td>[ &gt;&gt; ]</td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td> &nbsp; </td>
-<td>[<a href="index.html" title="Cover (top) of document">Top</a>]</td>
-<td>[<a href="index.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
+<tr><td>[<a href="double_contents_top.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
 <td>[Index]</td>
 <td>[<a href="double_contents_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_abt.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_abt.html
index 5ad16a9d88..df87faa9e7 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_abt.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_abt.html
@@ -26,8 +26,7 @@ td.name-direction-about {text-align:center}
 <body lang="en">
 <div class="element-about" id="SEC_About">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="index.html" title="Cover (top) of document">Top</a>]</td>
-<td>[<a href="index.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
+<tr><td>[<a href="double_contents_top.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
 <td>[Index]</td>
 <td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
@@ -46,42 +45,18 @@ td.name-direction-about {text-align:center}
     <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>
@@ -134,8 +109,7 @@ td.name-direction-about {text-align:center}
 </ul>
 </div><hr>
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[<a href="index.html" title="Cover (top) of document">Top</a>]</td>
-<td>[<a href="index.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
+<tr><td>[<a href="double_contents_top.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
 <td>[Index]</td>
 <td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_top.html
similarity index 65%
copy from 
tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
copy to 
tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_top.html
index d0bca813bd..4e42122a5e 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_top.html
@@ -15,8 +15,6 @@
 <style type="text/css">
 <!--
 span.program-in-footer {font-size: smaller}
-td.menu-entry-description {vertical-align: top}
-td.menu-entry-destination {vertical-align: top}
 ul.toc-numbered-mark {list-style: none}
 -->
 </style>
@@ -31,9 +29,9 @@ ul.toc-numbered-mark {list-style: none}
 <div class="contents">
 
 <ul class="toc-numbered-mark">
-  <li><a id="toc-Chapter-1" href="chapter.html#chapter">1 Chapter 1</a>
+  <li><a id="toc-Chapter-1" href="double_contents_1.html#chapter">1 Chapter 
1</a>
   <ul class="toc-numbered-mark">
-    <li><a id="toc-section-with-contents" href="chapter.html#section">1.1 
section with contents</a></li>
+    <li><a id="toc-section-with-contents" 
href="double_contents_1.html#section">1.1 section with contents</a></li>
   </ul></li>
 </ul>
 </div>
@@ -41,29 +39,18 @@ ul.toc-numbered-mark {list-style: none}
 <hr>
 
 
-<div class="top-level-extent" id="Top">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<a class="node" id="Top"></a><table class="nav-panel" cellpadding="1" 
cellspacing="1" border="0">
 <tr><td>[ &lt; ]</td>
-<td>[<a href="chapter.html#chapter" title="Next section in reading order"> 
&gt; </a>]</td>
+<td>[<a href="double_contents_1.html#chapter" title="Next section in reading 
order"> &gt; </a>]</td>
 <td> &nbsp; </td>
 <td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
 <td>[Index]</td>
 <td>[<a href="double_contents_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<h1 class="top" id="Double-contents">Double contents</h1>
-
-<p>Double contents.
-</p>
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="chapter.html#chapter">1 
Chapter 1</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
-
-</div>
-<hr>
+<a class="top" id="Double-contents"></a><hr>
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
 <tr><td>[ &lt; ]</td>
-<td>[<a href="chapter.html#chapter" title="Next section in reading order"> 
&gt; </a>]</td>
+<td>[<a href="double_contents_1.html#chapter" title="Next section in reading 
order"> &gt; </a>]</td>
 <td> &nbsp; </td>
 <td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
 <td>[Index]</td>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
index d0bca813bd..7656f449e3 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
@@ -1,78 +1,23 @@
 <!DOCTYPE html>
 <html>
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<!-- This file redirects to the location of a node or anchor -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Double contents</title>
+<title>Top (Double contents)</title>
 
-<meta name="description" content="Double contents">
-<meta name="keywords" content="Double contents">
+<meta name="description" content="Top (Double contents)">
+<meta name="keywords" content="Top (Double contents)">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="texi2any">
-<meta name="viewport" content="width=device-width,initial-scale=1">
-
-<style type="text/css">
-<!--
-span.program-in-footer {font-size: smaller}
-td.menu-entry-description {vertical-align: top}
-td.menu-entry-destination {vertical-align: top}
-ul.toc-numbered-mark {list-style: none}
--->
-</style>
 
+<meta http-equiv="Refresh" content="0; url=double_contents_top.html#Top">
+<meta name="viewport" content="width=device-width,initial-scale=1">
 
 </head>
 
 <body lang="en">
-<div class="element-contents" id="SEC_Contents">
-<h1 class="contents-heading">Table of Contents</h1>
-
-<div class="contents">
-
-<ul class="toc-numbered-mark">
-  <li><a id="toc-Chapter-1" href="chapter.html#chapter">1 Chapter 1</a>
-  <ul class="toc-numbered-mark">
-    <li><a id="toc-section-with-contents" href="chapter.html#section">1.1 
section with contents</a></li>
-  </ul></li>
-</ul>
-</div>
-</div>
-<hr>
-
-
-<div class="top-level-extent" id="Top">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[ &lt; ]</td>
-<td>[<a href="chapter.html#chapter" title="Next section in reading order"> 
&gt; </a>]</td>
-<td> &nbsp; </td>
-<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
-<td>[Index]</td>
-<td>[<a href="double_contents_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
-</tr></table>
-<h1 class="top" id="Double-contents">Double contents</h1>
-
-<p>Double contents.
-</p>
-<table class="menu" border="0" cellspacing="0">
-<tr><td class="menu-entry-destination"><a href="chapter.html#chapter">1 
Chapter 1</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
-</td></tr>
-</table>
-
-</div>
-<hr>
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td>[ &lt; ]</td>
-<td>[<a href="chapter.html#chapter" title="Next section in reading order"> 
&gt; </a>]</td>
-<td> &nbsp; </td>
-<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
-<td>[Index]</td>
-<td>[<a href="double_contents_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
-</tr></table>
-<p>
-  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.</span>
-</p>
-
 
+<p>The node you are looking for is at <a 
href="double_contents_top.html#Top">Top</a>.</p>
 </body>
-</html>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/section.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/section.html
index 896dfb38df..7ea543008e 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/section.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/section.html
@@ -12,12 +12,12 @@
 <meta name="distribution" content="global">
 <meta name="Generator" content="texi2any">
 
-<meta http-equiv="Refresh" content="0; url=chapter.html#section">
+<meta http-equiv="Refresh" content="0; url=double_contents_1.html#section">
 <meta name="viewport" content="width=device-width,initial-scale=1">
 
 </head>
 
 <body lang="en">
 
-<p>The node you are looking for is at <a 
href="chapter.html#section">section</a>.</p>
+<p>The node you are looking for is at <a 
href="double_contents_1.html#section">section</a>.</p>
 </body>



reply via email to

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