]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs: Correction of the correction in fundamental.itely
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 5 Sep 2008 12:35:27 +0000 (14:35 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 5 Sep 2008 12:35:27 +0000 (14:35 +0200)
context ids CAN contain digits and spaces, but due to
parser restrictions, the id has to be placed inside quotes
in this case. I added this restriction together with an
example that includes a space and a digit in the context
id.

Documentation/user/fundamental.itely

index 483c3db63dfc70be536878878b733cdf2c8174f5..7a9fb9fecdd2a25796fa01fed2964a2fbde52d00 100644 (file)
@@ -1665,8 +1665,11 @@ context to distinguish it from other contexts of the same type,
 
 Note the distinction between the name of the context type,
 @code{Staff}, @code{Voice}, etc, and the identifying name of a
-particular instance of that type, which can be any sequence of letters
-(@code{strong}{No digits!}) invented by the user.  The identifying name is used to
+particular instance of that type, which can be any sequence of letters 
+invented by the user.  Digits and spaces can also be used in the 
+identifying name, but then it has to be placed in quotes,
+i.e. @code{\new Staff = "MyStaff 1" @var{music-expression}}.
+The identifying name is used to
 refer back to that particular instance of a context.  We saw this in
 use in the section on lyrics, see @ref{Voices and vocals}.