texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo ChangeLog doc/texinfo.txi


From: Karl Berry
Subject: texinfo ChangeLog doc/texinfo.txi
Date: Tue, 24 Apr 2012 18:19:29 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Karl Berry <karl>       12/04/24 18:19:29

Modified files:
        .              : ChangeLog 
        doc            : texinfo.txi 

Log message:
        do not use "nodename" as a word

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1361&r2=1.1362
http://cvs.savannah.gnu.org/viewcvs/texinfo/doc/texinfo.txi?cvsroot=texinfo&r1=1.441&r2=1.442

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1361
retrieving revision 1.1362
diff -u -b -r1.1361 -r1.1362
--- ChangeLog   24 Apr 2012 18:10:58 -0000      1.1361
+++ ChangeLog   24 Apr 2012 18:19:28 -0000      1.1362
@@ -4,6 +4,9 @@
 
        * doc/refcard/txirefcard.tex: node pointers are optional.
 
+       * doc/texinfo.txi (Node Line Requirements): don't use the non-word
+       "nodename".  Internal whitespace is collapsed.
+       
        * doc/texinfo.txi (#line and TeX, Use TeX, Obtaining TeX,
        Preparing for TeX, Debugging with TeX): use @TeX{} in node names
        and thus simplify cross references.  Does not change Info node names,

Index: doc/texinfo.txi
===================================================================
RCS file: /sources/texinfo/texinfo/doc/texinfo.txi,v
retrieving revision 1.441
retrieving revision 1.442
diff -u -b -r1.441 -r1.442
--- doc/texinfo.txi     24 Apr 2012 17:41:33 -0000      1.441
+++ doc/texinfo.txi     24 Apr 2012 18:19:28 -0000      1.442
@@ -1,5 +1,5 @@
 \input texinfo.tex    @c -*-texinfo-*-
address@hidden $Id: texinfo.txi,v 1.441 2012/04/24 17:41:33 karl Exp $
address@hidden $Id: texinfo.txi,v 1.442 2012/04/24 18:19:28 karl Exp $
 @c Ordinarily, Texinfo files have the extension .texi.  But texinfo.texi
 @c clashes with texinfo.tex on 8.3 filesystems, so we use texinfo.txi.
 
@@ -5132,7 +5132,7 @@
 * Node Names::                  How to choose node and pointer names.
 * Writing a Node::              How to write an @code{@@node} line.
 * Node Line Tips::              Keep names short.
-* Node Line Requirements::      Keep names unique, without @@-commands.
+* Node Line Requirements::      Keep names unique.
 * First Node::                  How to write a `Top' node.
 * makeinfo top command::        How to use the @code{@@top} command.
 @end menu
@@ -5142,9 +5142,9 @@
 @subsection Choosing Node and Pointer Names
 
 @cindex Node names, choosing
-The name of a node identifies the node (for details of node names,
address@hidden Line Requirements}).  The pointers enable you to reach
-other nodes and consist simply of the names of those nodes.
+The name of a node identifies the node (for details, @pxref{Node Line
+Requirements}).  The pointers enable you to reach other nodes and
+consist simply of the names of those nodes.
 
 Normally, a node's `Up' pointer contains the name of the node whose
 menu mentions that node.  The node's `Next' pointer contains the name
@@ -5256,30 +5256,30 @@
 
 @cindex Node line requirements
 @cindex Restrictions on node names
-Here are several requirements for @code{@@node} lines:
+Names used with @code{@@node} have several requirements:
 
 @itemize @bullet
address@hidden Unique nodename requirement
address@hidden Node name must be unique
address@hidden Unique node names requirement
address@hidden Node names must be unique
 @item
-All the node names for a single Info file must be unique.
+All the node names in a single Texinfo file must be unique.
 
-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.
+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.
 
 @item
 A pointer name must be the name of a node.
 
 The node to which a pointer points may come before or after the
-node containing the pointer.
+node containing the pointer.  It's recommended to leave out the node
+pointer names (@pxref{makeinfo Pointer Creation}).
 
 @item
address@hidden @@-commands in nodename
address@hidden @@-commands in node name
 @cindex Node name, should not contain @@-commands
 @@-commands in node names are not allowed.  This includes punctuation
 characters that are escaped with an @samp{@@}, such as @code{@@} and
@@ -5287,18 +5287,19 @@
 limitation will be removed some day.
 
 @item
address@hidden Colon in nodename
address@hidden Comma in nodename
address@hidden Parentheses in nodename
address@hidden Period in nodename
address@hidden Colon in node name
address@hidden Comma in node name
address@hidden Parentheses in node name
address@hidden Period in node name
 @cindex Characters, invalid in node name
 @cindex Invalid characters in node names
 @cindex Node names, invalid characters in
-Unfortunately, you cannot use periods, commas, or colons within a node
-name; these confuse the Texinfo processors.  Also, a node name may not
-start with a left parenthesis and contain a right parenthesis, as in
address@hidden(not)allowed}; this specifies an external manual in Info.
-Perhaps these limitations will be removed some day, too.
+Unfortunately, you cannot reliably use periods, commas, or colons
+within a node name; these confuse the Texinfo processors.  Also, a
+node name may not start with a left parenthesis and contain a right
+parenthesis, as in @code{(not)allowed}; this specifies an external
+manual in Info.  Perhaps these limitations will be removed some day,
+too.
 
 @need 700
 For example, the following is a section title in this manual:
@@ -5320,18 +5321,20 @@
 
 @cindex White space in node name
 @cindex Spaces in node name
-Spaces before and after names on the @samp{@@node} line are ignored,
-but spaces ``inside'' a name are significant.  For example:
+Spaces before and after names on the @samp{@@node} line are ignored.
+Multiple whitespace characters ``inside'' a name are collapsed to a
+single space.  For example:
 
 @example
 @@node  foo bar,
 @@node foo bar ,
+@@node foo  bar,
 @@node  foo bar ,
 @end example
 
address@hidden all define the same node, @samp{foo bar}.  References to the
address@hidden all define the same node, namely @samp{foo bar}.  References to 
the
 node should all use that name, without the leading or trailing spaces,
-but with the internal spaces.
+but with the internal space.
 @end itemize
 
 
@@ -5348,7 +5351,6 @@
 Here is a description of the node pointers to be used in the Top node:
 
 @itemize @bullet
-
 @item
 @cindex Up node of Top node
 @cindex (dir) as Up node of Top node
@@ -19308,15 +19310,12 @@
 @end itemize
 
 On case-folding computer systems, nodes differing only by case will be
-mapped to the same file.
-
-In particular, as mentioned above, Top always maps to the file
address@hidden  Thus, on a case-folding system, Top and a node
-named `Index' will both be written to @file{index.html}.
-
-Fortunately, the targets serve to distinguish these cases, since HTML
-target names are always case-sensitive, independent of operating
-system.
+mapped to the same file.  In particular, as mentioned above, Top
+always maps to the file @file{index.html}.  Thus, on a case-folding
+system, Top and a node named `Index' will both be written to
address@hidden  Fortunately, the targets serve to distinguish
+these cases, since HTML target names are always case-sensitive,
+independent of operating system.
 
 
 @node HTML Xref Command Expansion
@@ -22051,7 +22050,7 @@
 Revision Control System}) or other version control systems, which
 expand it into a string such as:
 @example
-$Id: texinfo.txi,v 1.441 2012/04/24 17:41:33 karl Exp $
+$Id: texinfo.txi,v 1.442 2012/04/24 18:19:28 karl Exp $
 @end example
 (This is useful in all sources that use version control, not just manuals.)
 You may wish to include the @samp{$Id:} comment in the @code{@@copying}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]