A @sortas for this would be a nice addition.

But anyway, your solution would work fine.  For one project I already use
m4 macros to do things that texinfo can't so I just to write some more for
this case.

Thanks!


On Sun, May 19, 2019 at 2:44 AM Gavin Smith <gavinsmith0...@gmail.com>
wrote:

> On 5/18/19, Raymond Toy <toy.raym...@gmail.com> 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".
>


-- 
Ray

Reply via email to