help-texinfo
[Top][All Lists]
Advanced

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

Re: [help-texinfo] How to make a redirect to an existing item


From: Alfred M. Szmidt
Subject: Re: [help-texinfo] How to make a redirect to an existing item
Date: Sun, 20 Aug 2017 03:54:04 -0400

   > I have some documentation and one of the items is @deffn adjoint. I'd
   > like to have another item, adjugate, of some type, which just says
   > something like 'adjugate: see adjoint.'
   > 
   > Is there a kind of @foo that I could use for adjugate that's
   > appropriate here? I guess I could make a @deffn adjugate and then have
   > the body of the description just say 'see @xref{adjoint}' or something
   > like that. But maybe this kind of redirection is already defined
   > somehow.

   Unfortunately, there is no way to make an index entry refer to another 
   one like this.

That isn't really right, @deffnx is the right way of doing this, and
then one can use @anchor to define the reference.

  @deffn Function adjoin
  @deffnx Function adjugate
  @anchor{Definition of adjoin}
  @anchor{Definition of adjugate}
  Frobnicate the adjugation by doing an adjoin on the frob.
  @end deffn
  
  @xref{Definition of frob} for awesomeness.

You could also do "@deffn .. adjugate", followed by a @xref{Defintion
of adjoin}, but that is kinda ugly.



reply via email to

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