On Mon, Sep 29, 2025 at 02:54:15PM +0300, Eli Zaretskii wrote:
> Hi,
>
> Please see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79536 for the
> original problem.
>
> Looking at the HTML file generated from the Texinfo sources, I see the
> following:
>
> The Texinfo source of the Emacs manual says:
>
> @xref{Top, Aspell,, aspell, The Aspell Manual}.
>
> which is correct.
>
> The machine where I generated the HTML versions of the Emacs manuals
> has Texinfo 7.0.3 whose htmlxref.cnf file has this line:
>
> aspell section http://aspell.net/man-html/index.html
>
> (This line is unchanged on Texinfo 7.2.) This file is installed in
> DATADIR/texinfo/, so texi2any ought to use it. And indeed, it seems
> like it did use it, but it generated a bad link, like this:
>
> See <a data-manual="aspell"
> href="http://aspell.net/man-html/index.html/index.html#Top">Aspell</a> in
> <cite class="cite">The Aspell Manual</cite>.
>
> Note the extra "index.html". The correct link is, of course
>
> http://aspell.net/man-html/index.html#Top
>
> Is this a bug in texi2any, perhaps already solved in a later version?
> Or maybe htmlxref.cnf needs to be fixed (e.g., is the "section" part
> correct)? Or am I missing something else?
The line is present since 2010-11-09 (commit 609b52201ec), where the aspell
line was added along with a few other changes.
I think the line should be changed to:
aspell section http://aspell.net/man-html/
- as the manual does appear to be split by section.