Node: Ending a File, Next: Structuring, Previous: Beginning a File, Up: Top
The end of a Texinfo file should include commands to create indices, and the @bye command to mark the last line to be processed.
@bye
For example:
@node Index @unnumbered Index @printindex cp @bye