NR: \overrideTimeSignatureSettings works fine without instantiating context
authorDavid Kastrup <dak@gnu.org>
Tue, 19 Nov 2013 17:30:52 +0000 (18:30 +0100)
committerDavid Kastrup <dak@gnu.org>
Tue, 19 Nov 2013 17:45:14 +0000 (18:45 +0100)
This is another by-product of issue 3140.

Documentation/notation/rhythms.itely

index e3abf55239e5d84abc1e65b74a618c2d709be227..f6842824a83783ce7c6b880d74fb37411ab6d973 100644 (file)
@@ -1141,37 +1141,6 @@ for the time signature that go beyond ending at every beat, as
 described in @ref{Setting automatic beam behavior}.
 @end enumerate
 
-The context containing @code{\overrideTimeSignatureSettings} must
-be instantiated before the @code{\overrideTimeSignatureSettings}
-call is executed.  That means it must either be explicitly
-instantiated or there must be music in the context before the
-@code{\overrideTimeSignatureSettings} call:
-
-@lilypond[quote,verbatim]
-\score {
-  \relative c' {
-    % This call will fail because the context isn't yet instantiated
-    \overrideTimeSignatureSettings
-      4/4        % timeSignatureFraction
-      1/4        % baseMomentFraction
-      #'(3 1)    % beatStructure
-      #'()       % beamExceptions
-    \time 4/4
-    c8^\markup {"Beamed (2 2)"}
-    \repeat unfold 7 { c8 } |
-    % This call will succeed
-    \overrideTimeSignatureSettings
-      4/4        % timeSignatureFraction
-      1/4        % baseMomentFraction
-      #'(3 1)    % beatStructure
-      #'()       % beamExceptions
-    \time 4/4
-    c8^\markup {"Beamed (3 1)"}
-    \repeat unfold 7 { c8 } |
-  }
-}
-@end lilypond
-
 
 @cindex time signature properties, restoring default values
 @cindex restoring default properties for time signatures