Re: Relating multiple index entries to one table item

Gavin Smith <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <Y3vADmpM86n7TPEZ@starmint>
On Mon, Nov 21, 2022 at 03:29:29PM +0100, Arsen Arsenović wrote:
> 
> Eli Zaretskii <[email protected]> writes:
> 
> >> ... and no clickable anchors.
> >
> > Then I guess it's a separate issue.
> 
> I suppose so.  I figured that Texinfo behaved as intended here, so I
> didn't think of that anyway (since the first of the info entries behaves
> in a way I thought was correct, i.e. points to the right location and
> generates an anchor), though I suppose that it isn't correct, since the
> @itemx entries don't get their associated index entries.
> 
> The solution of using an indexing table command (like @vtable) seems to
> be the better one generally, though.  I see now that the generic case is
> in the TODO; I'll see if I can work on that next week (as I have quite a
> bit of work already added up for this week).  What I was imagining is
> making @def[code]index generate an @XXtable command, where XX is the
> name passed to @def[code]index; does that sound okay?

It might be but I don't know.  @table should be fixed in any case.
A command like @vtable wouldn't work for your use case because the
index entries don't have leading hyphens, unlike the items in the table.



> Thank you for your help.
> -- 
> Arsen Arsenović
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.