[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: Wed, 16 Sep 2009 21:59:24 +0100
Signed-off-by: Ian Hulin <ian@nanny-ogg.(none)>
---
ly/music-functions-init.ly | 14 ++++++++------
ly/property-init.ly | 7 +++++++
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/ly/music-functions-init.ly b/ly/music-functions-init.ly
index 9085ed8..7204bbd 100644
--- a/ly/music-functions-init.ly
+++ b/ly/music-functions-init.ly
@@ -1,4 +1,4 @@
-% -*-Scheme-*-
+over% -*-Scheme-*-
\version "2.12.0"
@@ -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,12 @@ tweak =
unfoldRepeats =
#(define-music-function (parser location music) (ly:music?)
+(_i "Force any @code{\\repeat volta}, @code{\\repeat tremolo} or
+ @code{\\repeat percent} 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..a5a8d88 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 "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 #t)
(make-music 'SequentialMusic 'void #t))
pointAndClickOff =
#(define-music-function (parser location) ()
+(_i "Suppress generating extra code in final-format (e.g. pdf) files to point
+ back to the lilypond source statement.")
(ly:set-option 'point-and-click #f)
(make-music 'SequentialMusic 'void #t))
--
1.6.0.4
--------------050203010007070304060801--
---
----
Join the Frogs!