[Top][All Lists]

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

Re: upcoming pretest release

From: Per Bothner
Subject: Re: upcoming pretest release
Date: Wed, 17 Feb 2021 07:43:28 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

I checked in a fix for this

Author: Per Bothner <per@bothner.com>
Date:   Wed Feb 17 07:39:45 2021 -0800

    js/info.js (scan_toc): Change to how sidebar links are matched.
This fixes updating the sidebar when using a http/https URL.

See updated: https://per.bothner.com/tmp/DomTerm-txjs/Tips-and-solutions.html

On 2/17/21 5:33 AM, Per Bothner wrote:
On 2/17/21 5:16 AM, Gavin Smith wrote:
On Tue, Feb 16, 2021 at 03:46:46PM -0800, Per Bothner wrote:
* js-info sidebar shows too many entries (in my opinion).
Compare https://per.bothner.com/tmp/DomTerm-txjs/Tips-and-solutions.html
with https://domterm.org/Tips-and-solutions.html
[This requires changes to info.js which I can probably handle.]

I think this is because there is some incompatibility with info.js
and your manual.

If you create Texinfo's manual with

../tp/texi2any.pl --html texinfo.texi -c INFO_JS_DIR=js

you will see that there is not this problem and that the
current node is highlighted.  See screenshot.

I just noticed: It works when using a file: URL but not
when using an http: URL.

info.js does do some things differently depending on whether
it is a file: or http:/https: URL, for reasons relating
to browser security policies.

I'll take a look.

        --Per Bothner
per@bothner.com   http://per.bothner.com/

reply via email to

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