Next: First Node, Previous: Node Line Tips, Up: node
@node
Line RequirementsHere are several requirements for @node
lines:
Duplicates confuse the Info movement commands. This means, for example, that if you end every chapter with a summary, you must name each summary node differently. You cannot just call each one “Summary”. You may, however, duplicate the titles of chapters, sections, and the like. Thus you can end each chapter in a book with a section called “Summary”, so long as the node names for those sections are all different.
The node to which a pointer points may come before or after the node containing the pointer.
@
and
{
, and accent commands such as `@''. (For a few cases
when this is useful, Texinfo has limited support for using
@-commands in node names; see Pointer Validation.) Perhaps
this limitation will be removed some day.
For example, the following is a section title in this manual:
@code{@@unnumberedsec}, @code{@@appendixsec}, @code{@@heading}
But the corresponding node name lacks the commas and the @'s:
unnumberedsec appendixsec heading
Spaces before and after names on the `@node' line are ignored, but spaces “inside” a name are significant. For example:
@node foo bar, @node foo bar , @node foo bar ,
all define the same node, `foo bar'. References to the node should all use that name, without the leading or trailing spaces, but with the internal spaces.