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
