[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
- Re: Relating multiple index entries to one table item, (continued)
- Re: Relating multiple index entries to one table item, Patrice Dumas, 2022/11/26
- Re: Relating multiple index entries to one table item, Patrice Dumas, 2022/11/26
- Re: Relating multiple index entries to one table item, Gavin Smith, 2022/11/27
- Re: Relating multiple index entries to one table item, Patrice Dumas, 2022/11/27
- Re: Relating multiple index entries to one table item, Gavin Smith, 2022/11/25
- Re: Relating multiple index entries to one table item, Patrice Dumas, 2022/11/25
- Re: Relating multiple index entries to one table item,
Patrice Dumas <=
- Re: Relating multiple index entries to one table item, Eli Zaretskii, 2022/11/26
- Re: Relating multiple index entries to one table item, Patrice Dumas, 2022/11/26
- Re: Relating multiple index entries to one table item, Gavin Smith, 2022/11/26
- Re: Relating multiple index entries to one table item, Arsen Arsenović, 2022/11/23
- Re: Relating multiple index entries to one table item, Gavin Smith, 2022/11/23
- Re: Relating multiple index entries to one table item, Arsen Arsenović, 2022/11/23