|
From: | Per Bothner |
Subject: | Re: info.js demo on Texinfo manual updated on website |
Date: | Sun, 27 Nov 2022 16:40:02 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 |
On 11/27/22 12:48, Per Bothner wrote:
On 11/27/22 12:24, Gavin Smith wrote:The main other problem is updating the contents sidebar after an index search. You can see it at .... It would be good to have this fixed before the 7.0.1 bug-fix release. I do not know if I will have time or be able to fix it myself.
I checked in a fix. The problem is we were using the query pattern "td.printindex-index-entry a" which gives us URLS of the form "Texinfo-File-Header.html#index-Beginning-line-of-a-Texinfo-file". That loads the right page, but it doesn't match what is in the ToC, used to generate the sidebar. Instead we need to use "td.printindex-index-section a" which gives us URLs of the form "Texinfo-File-Header.html#First-Line". Note to handle sub-entries we need some more tweaking. I don't know if you want fix this before the bug-fix release. It shouldn't take long. However, I would prefer to first change the index to 2-column rather using an extra column for the initial letter. -- --Per Bothner per@bothner.com http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |