Re: Relating multiple index entries to one table item

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
> From: Arsen Arsenović <[email protected]>
> Cc: [email protected]
> Date: Mon, 21 Nov 2022 14:29:32 +0100
> 
> > The index entries should precede the first @item, not be after it.  Maybe
> > doing so doesn't work in this case, but you should move the index entries
> > before the @item/@itemx lines regardless, since otherwise the indexing
> > commands will not land you where you want.
> 
> With the following,
> 
>   @table @gcctabopt
>   @opindex Wno-pedantic
>   @opindex Wpedantic
>   @item -Wpedantic
>   @opindex pedantic
>   @itemx -pedantic
> 
> The index entries indeed take me to the correct location, but, makeinfo
> generates:
> 
>   <dl class="table">
>   <dd><a class="index-entry-id" id="index-Wno_002dpedantic"></a>
>   <a class="index-entry-id" id="index-Wpedantic"></a>
>   </dd>
>   <dt><code class="code">-Wpedantic</code></dt>
>   <dd><a class="index-entry-id" id="index-pedantic-1"></a>
>   </dd>
>   <dt><code class="code">-pedantic</code></dt>
> 
> ... and no clickable anchors.

Then I guess it's a separate issue.
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.