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: Gavin Smith
Subject: Re: Relating multiple index entries to one table item
Date: Sat, 26 Nov 2022 20:18:43 +0000

On Sat, Nov 26, 2022 at 03:59:00PM +0000, Gavin Smith wrote:
> I still haven't put index entries before the very first
> @item in a @table inside the <dt> - I need to do something with the
> 'before_item' element.

It should be done now.  I tried never adding a 'before_item' element
in the first place, but this appeared to have repercussions throughout
the code leading to failures in several places that I couldn't understand,
so I fixed it in a more limited way.

Currently, the input:

    @table @code
    @vindex ONE
    @vindex TWO
    @item in item
    @itemx in itemx
    aaaaa
    
    @vindex TTHREE
    @item item2
    aaaaa
    @end table

gives the HTML output:

    <dl class="table">
    <dt><a class="index-entry-id" id="index-ONE"></a>
    <a class="index-entry-id" id="index-TWO"></a>
    <code class="code">in item</code></dt>
    <dt><code class="code">in itemx</code></dt>
    <dd><p>aaaaa
    </p>
    </dd>
    <dt><a class="index-entry-id" id="index-TTHREE"></a>
    <code class="code">item2</code></dt>
    <dd><p>aaaaa
    </p></dd>
    </dl>

which I think is good.



reply via email to

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