bug-texinfo
[Top][All Lists]
Advanced

[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 16:47:50 +0200

On Sun, Oct 23, 2022 at 04:54:31PM +0300, Eli Zaretskii wrote:
> > My guess is that it is a bug, as in HTML it seems to me that there
> > should only be forward slashes.
> 
> Yes.
> 
> Any hints where I should look for the source of these backslashes?

I tracked it down to tp/ext/epub3.pm and there is actually already a
FIXME, I knew that something like that was bound to happen:

    # FIXME INFO_JS_DIR is used both as a filesystem directory name
    # and as path in document, as a path in document '../' should be
    # used whatever File::Spec->updir() is.

To me the basic issue is that INFO_JS_DIR is used, in HTML.pm in
output(), both as an HTML path l 8941 and to copy local files near l
10184 of HTML.pm.  As a local file path, it would make sense to
use backward slash, but not as HTML path.

Gavin, do you have a preference on how to fix that?  I can only think
of having two different variables depending on the use, as local path
and as HTML path, but it is not a good solution.

Note that we could have similar issues for other paths, I haven't
checked.

-- 
Pat



reply via email to

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