[Top][All Lists]

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

Re: texinfo-6.8.90 pretest

From: pertusus
Subject: Re: texinfo-6.8.90 pretest
Date: Sun, 23 Oct 2022 14:39:30 +0200

On Sun, Oct 23, 2022 at 02:26:22PM +0300, Eli Zaretskii wrote:
> The tests that report diffs are as follows:
> In 'layout', I see differences like the below:
>   -<link rel="stylesheet" type="text/css" href="../js/info.css"/>
>   -<script src="../js/modernizr.js" type="text/javascript"></script>
>   -<script src="../js/info.js" type="text/javascript"></script>
>   +<link rel="stylesheet" type="text/css" href="..%5cjs/info.css"/>
>   +<script src="..%5cjs/modernizr.js" type="text/javascript"></script>
>   +<script src="..%5cjs/info.js" type="text/javascript"></script>
> They are all due to '/' vs '\' (slash vs backslash) issue.

My guess is that it is a bug, as in HTML it seems to me that there
should only be forward slashes.

> In 'other', I see differences due to non-ASCII characters inside the
> produced files, I think.

Note that the tests in other are not run with 'make check', as they require
source-highlight (right now, there should be other prerequisites) to be
installed.  They are only run with make other-checks or make

According to the diff below, I am not sure that the only issue is with
non-ASCII characters, it seems that there are other issues too.  I would
probably need more output to check what else is going on, and maybe
first a check that you have source-highlight installed.  Checking that
HTML output with source highlighting work on Windows is not very
important, though, in my opinion.

>  Here's an example:
>   --- ./other//res_parser_html/highlight_syntax_example/chapter.html      
> 2022-10-09 22:54:59 +0300
>   +++ other//out_parser_html/highlight_syntax_example/chapter.html        
> 2022-10-23 14:03:33 +0300
>   @@ -35,29 +35,29 @@
>    <p>Texinfo
>    </p><div class="example user-texinfo">
>   -<pre class="example-preformatted">texinfo
>   -<i><span style="color:#9A1900">@code{prot?ccted}</span></i>
>   +<pre class="example-preformatted"><code class="code">texinfo</code>
>   +@code{prot?ccted}
>    </pre></div>
>    <p>C++
>    </p><div class="example user-C++">
>   -<pre class="example-preformatted"><i><span style="color:#9A1900">// Your 
> First C++ Program</span></i>
>   +<pre class="example-preformatted">// Your First C++ Program
>   -<b><span style="color:#000080">#include</span></b> <span 
> style="color:#FF0000">&lt;iostream&gt;</span>
>   +#include &lt;iostream&gt;
> In 'tex_html', all the tests are skipped (presumably because I don't
> have some commands, like tex4ht or latex2html)?

Probably.  If you run 'make check' they will be skipped even if you have
tex4ht or latex2html. 

> A couple of directories don't have the list-of-tests file, what's up
> with those?

Depends.  test_scripts contains (generated) test scripts used when tests
are run through make.  input contain some input files.  many_input_files
contains tests that are not in the framework of the list-of-tests files,
it would be interesting if you could run those tests too, with
 make check
in this directory, and maybe make all-checks although it is much less
important to have make all-checks succeed, it in general depends on
external programs such as latex2html and tex4ht, and on specific
versions of those programs.


reply via email to

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