[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with info and indices
From: |
Eli Zaretskii |
Subject: |
Re: problem with info and indices |
Date: |
Sun, 10 Apr 2022 21:37:31 +0300 |
> Date: Sun, 10 Apr 2022 18:16:29 +0000 (UTC)
> From: Werner LEMBERG <wl@gnu.org>
>
> \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.