On Wed, Mar 22, 2023 at 12:00:00AM +0100, Patrice Dumas wrote: > On Tue, Mar 21, 2023 at 02:20:41PM +0000, Werner LEMBERG wrote: > > > > (1) Introduce something like my suggested `@set txiindexinpara`. > > (2) In version 7.1, make `@set txiindexinpara off` the default. > > (3) In version 7.1, announce that you are going to change the > > behaviour of `@XXindex` in 7.2. > > (4) In version 7.2, make `@set txiindexinpara on` the default. > > I do not think that we should use a @set txi* to do that, as it > is for something that could be changed multiple times in the document. > It probably would be better to have a command without argument, like > > @indexcommandstoppara > > such that it is clear that it is one time for the whole document and > cannot be reset.
This may be ok but it might not be necessary if we can tweak the parse tree with some transformation to associate index entries in @table appropriately. I doubt I'll have time to look into this issue deeply enough until the weekend.