texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Use texi2any html style for other tests


From: Patrice Dumas
Subject: branch master updated: Use texi2any html style for other tests
Date: Fri, 21 Jan 2022 12:46: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 6d15f83b7e Use texi2any html style for other tests
6d15f83b7e is described below

commit 6d15f83b7e519f27e5653cea2d23c960664cc7c3
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Jan 21 18:45:31 2022 +0100

    Use texi2any html style for other tests
---
 .gitignore                                         |   3 +-
 tp/tests/other/list-of-tests                       |   2 +
 .../highlight_example.html                         | 203 ---------------------
 .../highlight_syntax_example/chapter.html          |  68 +++++++
 .../highlight_syntax_example/highlight_example.1   |   0
 .../highlight_syntax_example/highlight_example.2   |   0
 .../highlight_example_highlight_C_input.C          |   0
 .../highlight_example_highlight_C_output.html      |   0
 .../highlight_example_highlight_perl_input.perl    |   0
 .../highlight_example_highlight_perl_output.html   |   0
 .../highlight_example_highlight_texinfo_input.texi |   0
 ...highlight_example_highlight_texinfo_output.html |   0
 .../highlight_syntax_example/index.html            |  48 +++++
 13 files changed, 120 insertions(+), 204 deletions(-)

diff --git a/.gitignore b/.gitignore
index a900d584eb..167191147d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -194,9 +194,10 @@ tp/tests/*/tests.out
 tp/tests/*/diffs
 tp/tests/*/out_parser
 tp/tests/*/out_parser_info
-tp/tests/*/out_info
+tp/tests/*/out_parser_html
 tp/tests/*/raw_out_parser
 tp/tests/*/raw_out_parser_info
+tp/tests/*/raw_out_parser_html
 tp/tests/*/test_log
 
 tp/tests/*.log
diff --git a/tp/tests/other/list-of-tests b/tp/tests/other/list-of-tests
index 2ee38bee89..b3a23008f1 100644
--- a/tp/tests/other/list-of-tests
+++ b/tp/tests/other/list-of-tests
@@ -1 +1,3 @@
+# formats :_html
+
 highlight_syntax_example highlight_example.texi --html 
--init=highlight_syntax.pm
diff --git 
a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example.html 
b/tp/tests/other/res_parser/highlight_syntax_example/highlight_example.html
deleted file mode 100644
index e2e5a5e740..0000000000
--- a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!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</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="texi2any">
-<meta name="viewport" content="width=device-width,initial-scale=1">
-
-<style type="text/css">
-<!--
-div.example {margin-left: 3.2em}
-span.program-in-footer {font-size: smaller}
--->
-</style>
-
-
-</head>
-
-<body lang="en">
-
-<div class="top-level-extent" id="Top">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td valign="middle" align="left">[ &lt; ]</td>
-<td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
-<td valign="middle" align="left"> &nbsp; </td>
-<td valign="middle" align="left">[Contents]</td>
-<td valign="middle" align="left">[Index]</td>
-<td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
-</tr></table>
-<h1 class="top" id="top">top</h1>
-
-<hr style="height: 6px;">
-<div class="chapter-level-extent" id="chapter">
-<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
-<tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
-<td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
-<td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
-<td valign="middle" align="left">[ &gt; ]</td>
-<td valign="middle" align="left">[ &gt;&gt; ]</td>
-<td valign="middle" align="left"> &nbsp; </td>
-<td valign="middle" align="left"> &nbsp; </td>
-<td valign="middle" align="left"> &nbsp; </td>
-<td valign="middle" align="left"> &nbsp; </td>
-<td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
-<td valign="middle" align="left">[Contents]</td>
-<td valign="middle" align="left">[Index]</td>
-<td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
-</tr></table>
-<h1 class="chapter" id="chap">1 chap</h1>
-
-<p>Texinfo
-</p><div class="example texinfo">
-<pre class="example-preformatted">texinfo
-<i><span style="color:#9A1900">@code{protected}</span></i>
-</pre></div>
-
-<p>C++
-</p><div class="example C++">
-<pre class="example-preformatted"><i><span style="color:#9A1900">// Your First 
C++ Program</span></i>
-
-<b><span style="color:#000080">#include</span></b> <span 
style="color:#FF0000">&lt;iostream&gt;</span>
-
-<span style="color:#009900">int</span> <b><span 
style="color:#000000">main</span></b><span style="color:#990000">()</span> 
<span style="color:#FF0000">{</span>
-    std<span style="color:#990000">::</span>cout <span 
style="color:#990000">&lt;&lt;</span> <span style="color:#FF0000">"Hello 
World!"</span><span style="color:#990000">;</span>
-    <b><span style="color:#0000FF">return</span></b> <span 
style="color:#993399">0</span><span style="color:#990000">;</span>
-<span style="color:#FF0000">}</span>
-</pre></div>
-
-<p>perl
-</p><div class="example perl">
-<pre class="example-preformatted"><b><span style="color:#0000FF">my</span></b> 
<span style="color:#009900">$list</span> <span style="color:#990000">=</span> 
<span style="color:#990000">[</span><span style="color:#FF0000">'a'</span><span 
style="color:#990000">,</span> <span style="color:#FF0000">'b'</span><span 
style="color:#990000">];</span>
-<b><span style="color:#0000FF">sub</span></b> <b><span 
style="color:#0000FF">do</span></b> <span style="color:#990000">(</span>$<span 
style="color:#990000">)</span> <span style="color:#FF0000">{</span>
-  <b><span style="color:#0000FF">my</span></b> <span 
style="color:#009900">$arg</span> <span style="color:#990000">=</span> <b><span 
style="color:#0000FF">shift</span></b><span style="color:#990000">;</span>
-  <b><span style="color:#0000FF">return</span></b> <span 
style="color:#009900">$arg</span> <span style="color:#990000">+</span> <span 
style="color:#993399">4</span><span style="color:#990000">;</span>
-<span style="color:#FF0000">}</span>
-</pre></div>
-
-<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 valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
-<td valign="middle" align="left">[Contents]</td>
-<td valign="middle" align="left">[Index]</td>
-<td valign="middle" align="left">[<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> using <a 
class="uref" href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.
-</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 align="center"> [ &lt;&lt; ] </td>
-    <td align="center">FastBack</td>
-    <td>Beginning of this chapter or previous chapter</td>
-    <td>1</td>
-  </tr>
-  <tr>
-    <td align="center"> [ &lt; ] </td>
-    <td align="center">Back</td>
-    <td>Previous section in reading order</td>
-    <td>1.2.2</td>
-  </tr>
-  <tr>
-    <td align="center"> [ Up ] </td>
-    <td align="center">Up</td>
-    <td>Up section</td>
-    <td>1.2</td>
-  </tr>
-  <tr>
-    <td align="center"> [ &gt; ] </td>
-    <td align="center">Forward</td>
-    <td>Next section in reading order</td>
-    <td>1.2.4</td>
-  </tr>
-  <tr>
-    <td align="center"> [ &gt;&gt; ] </td>
-    <td align="center">FastForward</td>
-    <td>Next chapter</td>
-    <td>2</td>
-  </tr>
-  <tr>
-    <td align="center"> [Top] </td>
-    <td align="center">Top</td>
-    <td>Cover (top) of document</td>
-    <td> &nbsp; </td>
-  </tr>
-  <tr>
-    <td align="center"> [Contents] </td>
-    <td align="center">Contents</td>
-    <td>Table of contents</td>
-    <td> &nbsp; </td>
-  </tr>
-  <tr>
-    <td align="center"> [Index] </td>
-    <td align="center">Index</td>
-    <td>Index</td>
-    <td> &nbsp; </td>
-  </tr>
-  <tr>
-    <td align="center"> [ ? ] </td>
-    <td align="center">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> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.</span>
-</p>
-
-
-</body>
-</html>
diff --git 
a/tp/tests/other/res_parser_html/highlight_syntax_example/chapter.html 
b/tp/tests/other/res_parser_html/highlight_syntax_example/chapter.html
new file mode 100644
index 0000000000..37a33ef9e8
--- /dev/null
+++ b/tp/tests/other/res_parser_html/highlight_syntax_example/chapter.html
@@ -0,0 +1,68 @@
+<!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>chapter (top)</title>
+
+<meta name="description" content="chapter (top)">
+<meta name="keywords" content="chapter (top)">
+<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">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="index.html" rel="prev" title="Top">
+<style type="text/css">
+<!--
+div.example {margin-left: 3.2em}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="chapter">
+<div class="nav-panel">
+<p>
+Previous: <a href="index.html" accesskey="p" rel="prev">top</a>, Up: <a 
href="index.html" accesskey="u" rel="up">top</a> &nbsp; </p>
+</div>
+<hr>
+<h2 class="chapter" id="chap">1 chap</h2>
+
+<p>Texinfo
+</p><div class="example texinfo">
+<pre class="example-preformatted">texinfo
+<i><span style="color:#9A1900">@code{protected}</span></i>
+</pre></div>
+
+<p>C++
+</p><div class="example C++">
+<pre class="example-preformatted"><i><span style="color:#9A1900">// Your First 
C++ Program</span></i>
+
+<b><span style="color:#000080">#include</span></b> <span 
style="color:#FF0000">&lt;iostream&gt;</span>
+
+<span style="color:#009900">int</span> <b><span 
style="color:#000000">main</span></b><span style="color:#990000">()</span> 
<span style="color:#FF0000">{</span>
+    std<span style="color:#990000">::</span>cout <span 
style="color:#990000">&lt;&lt;</span> <span style="color:#FF0000">"Hello 
World!"</span><span style="color:#990000">;</span>
+    <b><span style="color:#0000FF">return</span></b> <span 
style="color:#993399">0</span><span style="color:#990000">;</span>
+<span style="color:#FF0000">}</span>
+</pre></div>
+
+<p>perl
+</p><div class="example perl">
+<pre class="example-preformatted"><b><span style="color:#0000FF">my</span></b> 
<span style="color:#009900">$list</span> <span style="color:#990000">=</span> 
<span style="color:#990000">[</span><span style="color:#FF0000">'a'</span><span 
style="color:#990000">,</span> <span style="color:#FF0000">'b'</span><span 
style="color:#990000">];</span>
+<b><span style="color:#0000FF">sub</span></b> <b><span 
style="color:#0000FF">do</span></b> <span style="color:#990000">(</span>$<span 
style="color:#990000">)</span> <span style="color:#FF0000">{</span>
+  <b><span style="color:#0000FF">my</span></b> <span 
style="color:#009900">$arg</span> <span style="color:#990000">=</span> <b><span 
style="color:#0000FF">shift</span></b><span style="color:#990000">;</span>
+  <b><span style="color:#0000FF">return</span></b> <span 
style="color:#009900">$arg</span> <span style="color:#990000">+</span> <span 
style="color:#993399">4</span><span style="color:#990000">;</span>
+<span style="color:#FF0000">}</span>
+</pre></div>
+
+</div>
+
+
+
+</body>
+</html>
diff --git 
a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example.1 
b/tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example.1
similarity index 100%
rename from 
tp/tests/other/res_parser/highlight_syntax_example/highlight_example.1
rename to 
tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example.1
diff --git 
a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example.2 
b/tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example.2
similarity index 100%
rename from 
tp/tests/other/res_parser/highlight_syntax_example/highlight_example.2
rename to 
tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example.2
diff --git 
a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_C_input.C
 
b/tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_C_input.C
similarity index 100%
rename from 
tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_C_input.C
rename to 
tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_C_input.C
diff --git 
a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_C_output.html
 
b/tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_C_output.html
similarity index 100%
rename from 
tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_C_output.html
rename to 
tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_C_output.html
diff --git 
a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_perl_input.perl
 
b/tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_perl_input.perl
similarity index 100%
rename from 
tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_perl_input.perl
rename to 
tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_perl_input.perl
diff --git 
a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_perl_output.html
 
b/tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_perl_output.html
similarity index 100%
rename from 
tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_perl_output.html
rename to 
tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_perl_output.html
diff --git 
a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_texinfo_input.texi
 
b/tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_texinfo_input.texi
similarity index 100%
rename from 
tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_texinfo_input.texi
rename to 
tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_texinfo_input.texi
diff --git 
a/tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_texinfo_output.html
 
b/tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_texinfo_output.html
similarity index 100%
rename from 
tp/tests/other/res_parser/highlight_syntax_example/highlight_example_highlight_texinfo_output.html
rename to 
tp/tests/other/res_parser_html/highlight_syntax_example/highlight_example_highlight_texinfo_output.html
diff --git a/tp/tests/other/res_parser_html/highlight_syntax_example/index.html 
b/tp/tests/other/res_parser_html/highlight_syntax_example/index.html
new file mode 100644
index 0000000000..52200db674
--- /dev/null
+++ b/tp/tests/other/res_parser_html/highlight_syntax_example/index.html
@@ -0,0 +1,48 @@
+<!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 (top)</title>
+
+<meta name="description" content="Top (top)">
+<meta name="keywords" content="Top (top)">
+<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">
+
+<link href="#Top" rel="start" title="Top">
+<link href="chapter.html" rel="next" title="chapter">
+<style type="text/css">
+<!--
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+Next: <a href="chapter.html" accesskey="n" rel="next">chap</a> &nbsp; </p>
+</div>
+<hr>
+<h1 class="top" id="top">top</h1>
+
+<ul class="mini-toc">
+<li><a href="chapter.html" accesskey="1">chap</a></li>
+</ul>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Next: <a href="chapter.html" accesskey="n" rel="next">chap</a> &nbsp; </p>
+</div>
+
+
+
+</body>
+</html>



reply via email to

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