[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 Hulin <ian@xxxxxxxxxxxx>
- Date: Sun, 13 Sep 2009 12:14:07 +0100
Signed-off-by: Ian Hulin <ian@nanny-ogg.(none)>
---
ly/music-functions-init.ly | 3 ++-
ly/property-init.ly | 7 +++++++
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ly/music-functions-init.ly b/ly/music-functions-init.ly
index 9085ed8..6a42f5c 100644
--- a/ly/music-functions-init.ly
+++ b/ly/music-functions-init.ly
@@ -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
--------------020200010102070706030903--
---
----
Join the Frogs!