]> git.donarmstrong.com Git - lilypond.git/commitdiff
Define music properties used by toplevel page breaking/turning commands.
authorNicolas Sceaux <nicolas.sceaux@free.fr>
Fri, 18 May 2007 14:12:26 +0000 (16:12 +0200)
committerNicolas Sceaux <nicolas.sceaux@free.fr>
Fri, 18 May 2007 14:12:26 +0000 (16:12 +0200)
scm/define-music-properties.scm

index 4a898263e4911020ad92749f3685847a3c823d64..57ef143930e1707adce9e71a451d333e1d3fbddc 100644 (file)
@@ -69,6 +69,7 @@ here. TODO: use SpanEvents?")
      (last-pitch ,ly:pitch? "The last pitch after relativization.")
      (length ,ly:moment? "The duration of this music")
      (length-callback ,procedure? "How to compute the duration of this music. This property can only be defined as initializer in @file{define-music-types.scm}.")
+     (line-break-permission ,symbol? "When the music is at top-level, whether to allow, forbid or force a line break.")
      (metronome-count ,number? "How many beats in a minute?")
      (name ,symbol? "Name of this music object")
      (no-continuation ,boolean? "If set, disallow continuation lines")
@@ -76,6 +77,9 @@ here. TODO: use SpanEvents?")
      (once ,boolean? "Apply this operation only during one time step?")
      (octavation ,integer? "This pitch was octavated by how many octaves? For chord inversions, this is negative.")
      (origin ,ly:input-location? "where was this piece of music defined?")
+     (page-break-permission ,symbol? "When the music is at top-level, whether to allow, forbid or force a page break.")
+     (page-marker ,boolean? "If true, and the music expression is found at top-level, a page marker object is instanciated instead of a score.")
+     (page-turn-permission ,symbol? "When the music is at top-level, whether to allow, forbid or force a page turn.")
      (part-combine-status ,symbol?
                          "Change to what kind of state? Options are
 solo1, solo2 and unisono")