[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: info.js demo on Texinfo manual updated on website
From: |
Gavin Smith |
Subject: |
Re: info.js demo on Texinfo manual updated on website |
Date: |
Mon, 28 Nov 2022 21:28:04 +0000 |
On Sun, Nov 27, 2022 at 04:40:02PM -0800, Per Bothner wrote:
> 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".
The indices go to the right place and they update the entries, but the
index text is wrong now: for example, in the Texinfo manual, type in
"author" and there is nothing, but type in "@title" and
"@title @subtitle @author" is suggested, because there is an
index entry with that node as its target.
> 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.
Not essential as most manuals and index entries don't use subentries. I'm
not going to commit a change to the table formatting on the release
branch as this is not an essential change.
- info.js demo on Texinfo manual updated on website, (continued)
- Re: info.js demo on Texinfo manual updated on website, Per Bothner, 2022/11/18
- Re: info.js demo on Texinfo manual updated on website, Patrice Dumas, 2022/11/19
- Re: info.js demo on Texinfo manual updated on website, Gavin Smith, 2022/11/27
- Re: info.js demo on Texinfo manual updated on website, Per Bothner, 2022/11/27
- Re: info.js demo on Texinfo manual updated on website, Per Bothner, 2022/11/27
- Re: info.js demo on Texinfo manual updated on website,
Gavin Smith <=
- Re: info.js demo on Texinfo manual updated on website, Per Bothner, 2022/11/29
- Re: info.js demo on Texinfo manual updated on website, Gavin Smith, 2022/11/29
- Re: info.js demo on Texinfo manual updated on website, Per Bothner, 2022/11/29
- Re: info.js demo on Texinfo manual updated on website, Gavin Smith, 2022/11/29
- Re: info.js demo on Texinfo manual updated on website, Gavin Smith, 2022/11/30
- Re: info.js demo on Texinfo manual updated on website, Per Bothner, 2022/11/30
- Re: info.js demo on Texinfo manual updated on website, Per Bothner, 2022/11/27
Re: Status of texinfo/js/yarn.lock ?, Per Bothner, 2022/11/13