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: Patrice Dumas
Subject: Re: Relating multiple index entries to one table item
Date: Fri, 25 Nov 2022 23:46:01 +0100

On Fri, Nov 25, 2022 at 10:12:21PM +0000, Gavin Smith wrote:
> There may be a related issue with associating index entries with other
> constructs.  For example, a paragraph:
> 
>     @cindex paragraph 1
>     This is a paragraph.
> 
> outputing in HTML as
> 
>     <a class="index-entry-id" id="index-paragraph-1"></a>
>     <p>This is a paragraph.
>     </p>
> 
> Arguably, the following may be better:
> 
>     <p id="index-paragraph-1">This is a paragraph.
>     </p>
> 
> However, this may be more difficult to achieve than just focusing on
> the @table case.

Actually, I see that the issue is that the index entry is not in the
paragraph, so I think that the best may be

 <p><a class="index-entry-id" id="index-paragraph-1"></a>
 This is a paragraph.
 </p>

-- 
Pat



reply via email to

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