On Mon, Mar 18, 2024 at 08:41:08PM +0100, Georg-Johann Lay wrote:
> > Well, I would say that it is borderline.  I do not like that it
> > is ok in @table and not in @vtable for instance, the constructs correct
> > in both should be the same.
> > 
> > Even if it not exactly the same and probably does not gives you the
> > exact expected output, I think that the following would be a more
> > expected construct:
> > 
> > @table @code
> > 
> > @item label1
> > @anchor{label1}
> > Text1
> > 
> > @end table
> 
> But this gives an ugly result.  When clicking on "labelX" (and there is
> much text prior to it) then the browser screen will look like
> 
> label1
> <top-of-screen>
>   Text1
> 
> i.e. label1 is not visible. What I want is
> 
> 
> <top-of-screen>
> label1
>   Text1

I do not deny that, I understand perfectly that the output you want to
generate is with the hyperlink at the beginning of the @item line.  But
the solution to do that is not very consistent with the kind of Texinfo
code that would be expected.

Maybe a tree transformation that associates anchors following an @item
to the @item could be another possibility, but it is not very attractive
either.

-- 
Pat

Reply via email to