[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Support for package names in defvr/deffn
From: |
Gavin Smith |
Subject: |
Re: Support for package names in defvr/deffn |
Date: |
Sun, 19 May 2019 10:44:41 +0100 |
On 5/18/19, Raymond Toy <address@hidden> wrote:
> In writing/updating an old doc to use texinfo, there are entries like
>
> @defvr Constant extensions:short-float-positive-infinity
> @defvrx Constant extensions:short-float-negative-infinity
> @defvrx Constant extensions:single-float-positive-infinity
>
> This all works, but the Common Lisp package name "extensions" causes
> everything to be added to the index all at the same place. Is there a way
> to make this ignore the package name "extensions".
I don't think so. I think the best way to support this would be to
have a command that would output just like @defvr but would not create
an index entry. The index entry would have to be created separately.
A workaround is not to use the vr index at all and to create index
entries in a separate index, like this:
@defcodeindex va
@vaindex short-float-positive-infinity
@vaindex short-float-negative-infinity
@vaindex single-float-positive-infinity
@defvr Constant extensions:short-float-positive-infinity
@defvrx Constant extensions:short-float-negative-infinity
@defvrx Constant extensions:single-float-positive-infinity
And output the index with "@printindex va" instead of "@printindex vr".