[PATCH] Fix remaining define-music-function calls with no docstring parameters: \unfoldRepeats \pointAndClickOff \pointAndClickOn \slurDashPattern |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- Subject: [PATCH] Fix remaining define-music-function calls with no docstring parameters: \unfoldRepeats \pointAndClickOff \pointAndClickOn \slurDashPattern
- From: ian <ian@xxxxxxxxxxxx>
- Date: Sun, 13 Sep 2009 23:37:52 +0100
Signed-off-by: Ian Hulin <ian@nanny-ogg.(none)>
---
ly/music-functions-init.ly | 11 ++++++-----
ly/property-init.ly | 7 +++++++
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/ly/music-functions-init.ly b/ly/music-functions-init.ly
index 9085ed8..525708d 100644
--- a/ly/music-functions-init.ly
+++ b/ly/music-functions-init.ly
@@ -627,10 +627,10 @@ quoteDuring =
#(define-music-function
(parser location what main-music)
(string? ly:music?)
- (_i "Indicate a section of the music to be quoted. @car{what} indicates the name
-of the quoted voice, as specified in a @code{\\addquote} command.
-@var{main-music} is used to indicate the length of the music to be quoted; it
-usually contains spacers or multi-measure rests.")
+ (_i "Indicate a section of the music to be quoted. @var{what} indicates the name
+ of the quoted voice, as specified in a @code{\\addQuote} command.
+ @var{main-music} is used to indicate the length of the music to be quoted; it
+ usually contains spacers or multi-measure rests.")
(make-music 'QuoteMusic
'element main-music
'quoted-music-name what
@@ -810,10 +810,11 @@ tweak =
unfoldRepeats =
#(define-music-function (parser location music) (ly:music?)
+(_i "Force any @code{\\repeat volta} commands in @var{music} to be interpreted
+ as @code{\\repeat unfold}.")
(unfold-repeats music))
-
withMusicProperty =
#(define-music-function (parser location sym val music) (symbol? scheme? ly:music?)
(_i "Set @var{sym} to @var{val} in @var{music}.")
diff --git a/ly/property-init.ly b/ly/property-init.ly
index 2880bff..24f0566 100644
--- a/ly/property-init.ly
+++ b/ly/property-init.ly
@@ -279,6 +279,8 @@ phrasingSlurNeutral = \revert PhrasingSlur #'direction
phrasingSlurDashPattern =
#(define-music-function (parser location dash-fraction dash-period)
(number? number?)
+(_i "Set up a custom style of dash pattern for @var{dash-fraction} ratio of
+line to space repeated at @var{dash-period} interval.")
#{
\override PhrasingSlur #'dash-definition =
$(make-simple-dash-definition dash-fraction dash-period)
@@ -301,10 +303,15 @@ phrasingSlurSolid =
pointAndClickOn =
#(define-music-function (parser location) ()
+(-i "Suppress generating extra code in final-format files to point back to the
+lilypond source statement.")
(ly:set-option 'point-and-click #t)
(make-music 'SequentialMusic 'void #t))
pointAndClickOff =
#(define-music-function (parser location) ()
+(_i "Enable generation of code in final-format (e.g. pdf) files to reference the
+originating lilypond source statement;
+this is helpful when developing a score but generates bigger final-format files.")
(ly:set-option 'point-and-click #f)
(make-music 'SequentialMusic 'void #t))
--
1.6.0.4
--------------000902000101080308050702--
---
----
Join the Frogs!