17.2 Sample File with @include

Here is an example of an outer Texinfo file with @include files within it:

\input texinfo @c -*-texinfo-*-

@settitle Include Example

@node Top
@top Include Example

@include foo.texi
@include bar.texi
@include concept-index.texi

An included file, such as foo.texi, might look like this:

@node First
@chapter First Chapter

Contents of first chapter ...

The full contents of concept-index.texi might be as simple as this:

@node Concept Index
@unnumbered Concept Index

@printindex cp

The outer Texinfo source file for The GNU Emacs Lisp Reference Manual is named elisp.texi. This outer file has already contained a master menu with 417 entries and a list of 41 @include files.