manpagez: man pages & more
info texinfo
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

23.2.2 Listing a New Info File

To add a new Info file to your system, you must write a menu entry to add to the menu in the ‘dir’ file in the ‘info’ directory. For example, if you were adding documentation for GDB, you would write the following new entry:

* GDB: (gdb).           The source-level C debugger.

The first part of the menu entry is the menu entry name, followed by a colon. The second part is the name of the Info file, in parentheses, followed by a period. The third part is the description.

The name of an Info file often has a ‘.info’ extension. Thus, the Info file for GDB might be called either ‘gdb’ or ‘’. The Info reader programs automatically try the file name both with and without ‘.info(7); so it is better to avoid clutter and not to write ‘.info’ explicitly in the menu entry. For example, the GDB menu entry should use just ‘gdb’ for the file name, not ‘’.

This document was generated on October 2, 2013 using texi2html 5.0.

© 2000-2018
Individual documents may contain additional copyright information.