> Date: Sun, 10 Apr 2022 18:16:29 +0000 (UTC)
> From: Werner LEMBERG <[email protected]>
> 
> \input texinfo.tex
> 
> @ifnottex
> @node Top
> @end ifnottex
> 
> 
> @defun foo
> text
> @end defun
> 
> @defmac bar
> text
> @end defmac
> 
> @printindex fn

>From the Texinfo manual:

     The '@printindex' command does not generate a chapter heading for the
  index, since different manuals have different needs.  Consequently, you
  should precede the '@printindex' command with a suitable section or
  chapter command (usually '@appendix' or '@unnumbered') to supply the
  chapter heading and put the index into the table of contents.  Precede
  the chapter heading with an '@node' line as usual.

     For example:

       @node Variable Index
       @unnumbered Variable Index

       @printindex vr

So add a @node, and Bob's your uncle.

Reply via email to