bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML self links to anchor points


From: Gavin Smith
Subject: Re: HTML self links to anchor points
Date: Mon, 2 Nov 2020 21:23:39 +0000
User-agent: Mutt/1.9.4 (2018-02-28)

On Sun, Nov 01, 2020 at 09:14:04PM +0000, Gavin Smith wrote:
> On Sun, Nov 01, 2020 at 09:04:02PM +0000, Gavin Smith wrote:
> > On Sun, Nov 01, 2020 at 09:02:55PM +0000, Gavin Smith wrote:
> > > I've gone and implemented it anyway (in commit b9920b16), because I
> > > wanted to see what it would be like.  It is for @def* commands only
> > > at the moment, not for @anchor or for section headings.  Turn it off
> > > with the -c PERMALINKS=0 option (variable name subject to change).
> > 
> > That commit reference will be wrong, I will advise of the correct
> > commit shortly.
> 
> Commit 647f5d58d.

I implemented it for @ftable and @vtable as well.

For a construct like

@table @code
@item --add-once
@opindex --add-once@r{, for @command{install-info}}
Specifies that the entry or entries will only be put into a single section
@end table

the index entry would have to be associated with the @item rather being
viewed as part of the text.  This might require changes to the parser
or transformations of the parse tree after the parser has finished.

I don't think anything special needs to be done with index entries
that are part of a paragraph, like

@table @code
@item --add-once
Specifies that the entry or entries
@opindex --add-once@r{, for @command{install-info}}
will only be put into a single section
@end table



reply via email to

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