X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdefine-music-properties.scm;h=66977251db7fde7d0da8651e2faa587ef29ef25b;hb=ff49e9c43cf3180ee1d0f0a7c63d50a926e2fb5e;hp=f033680d3b6d296960a13a80be52906263cab394;hpb=da8e91032a24d38ded2e9c18e860c34661a5e8ac;p=lilypond.git diff --git a/scm/define-music-properties.scm b/scm/define-music-properties.scm index f033680d3b..66977251db 100644 --- a/scm/define-music-properties.scm +++ b/scm/define-music-properties.scm @@ -10,13 +10,12 @@ (define (music-property-description symbol type? description) (if (not (equal? #f (object-property symbol 'music-doc))) (begin - (ly:warn (string-append "Redefining " (symbol->string symbol) "\n")) + (ly:warn "Redefining ~S" symbol) (exit 2) )) (set-object-property! symbol 'music-type? type?) (set-object-property! symbol 'music-doc description) - symbol ) - + symbol) (define-public all-music-properties (map @@ -43,16 +42,18 @@ TODO: consider making type into symbol ") (compress-procedure ,procedure? "compress this music expression. Argument 1: the music, arg 2: factor") (context-id ,string? "name of context") (context-type ,symbol? "type of context") + (descend-only ,boolean? "If set, this @code{\\context} will only +descend in the context tree.") (denominator ,integer? "denominator in a time signature") (digit ,integer? "digit for fingering") (direction ,ly:dir? "Print this up or down?") (drum-type ,symbol? "Which percussion instrument to play this note on.") (tags ,list? "List of symbols that for denoting extra details, -eg. @code{\\tag #'part ...} could tag a piece of music as only being active in a part.") +e.g. @code{\\tag #'part ...} could tag a piece of music as only being active in a part.") - (text-type ,symbol? "Particular type of text script (eg. finger, dynamic).") + (text-type ,symbol? "Particular type of text script (e.g. finger, dynamic).") (tempo-unit ,ly:duration? "The unit for the metronome count.") (tonic ,ly:pitch? "Base of the scale") (element ,ly:music? "The single child of a Music_wrapper music object, or the body of a repeat.") @@ -72,7 +73,8 @@ eg. @code{\\tag #'part ...} could tag a piece of music as only being active in a "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?") - (penalty ,number? "Penalty for break hint.") + (page-penalty ,number? "Penalty for page break hint.") + (penalty ,number? "Penalty for line break hint.") (pitch ,ly:pitch? "the pitch of this note") (pitch-alist ,list? "list of pitches jointly forming the scale of a key signature") (pop-first ,boolean? "Do a revert before we try to do a override on some grob property.") @@ -80,8 +82,9 @@ For chord inversions, this is negative.") "The function to run with \\applycontext. It must take a single argument, being the context.") (property-operations ,list? "Do these operations for instantiating the context.") - (predicate ,procedure? "the predicate of a \\outputproperty") - (quoted-name ,string? "The name of the voice to be quoted") + (predicate ,procedure? "the predicate of a \\outputproperty.") + (quoted-events ,vector? "A vector of with moment/event-list entries.") + (quoted-music-name ,string? "The name of the voice to quote.") (type ,symbol? "The type of this music object. Determines iteration in some cases.") (types ,list? "The types of this music object; determines by what engraver this music expression is @@ -103,7 +106,7 @@ translation property") "Change to what kind of state? Options are solo1, solo2 and unisono") - (figure ,string? "a `figure' (which may be + (figure ,markup? "a `figure' (which may be a string) for figured bass") (alteration ,number? "alteration for figured bass") (bracket-start ,boolean? "start a bracket