help-texinfo
[Top][All Lists]
Advanced

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

Re: Relating multiple index entries to one table item


From: Eli Zaretskii
Subject: Re: Relating multiple index entries to one table item
Date: Mon, 21 Nov 2022 16:15:03 +0200

> From: Arsen Arsenović <arsen@aarsen.me>
> Cc: help-texinfo@gnu.org
> 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.



reply via email to

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