]> git.donarmstrong.com Git - lilypond.git/commitdiff
Run scripts/auxiliar/makelsr.py
authorDavid Kastrup <dak@gnu.org>
Tue, 1 Dec 2015 19:22:56 +0000 (20:22 +0100)
committerDavid Kastrup <dak@gnu.org>
Thu, 10 Dec 2015 12:06:28 +0000 (13:06 +0100)
Documentation/snippets/flute-slap-notation.ly

index cdbe9fa6c2cb626089d4cb58826901936ab17f6e..0f1627b3242cac8ed3d167fe999eab14a9cd19f7 100644 (file)
@@ -1,9 +1,10 @@
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.di.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.22
 \version "2.19.22"
 
 \header {
@@ -21,11 +22,11 @@ glyph.
 slap =
 #(define-music-function (music) (ly:music?)
 #{
-  \override NoteHead.stencil =
+  \temporary \override NoteHead.stencil =
   #(lambda (grob)
      (grob-interpret-markup grob
       (markup #:musicglyph "scripts.sforzato")))
-  \override NoteHead.stem-attachment =
+  \temporary \override NoteHead.stem-attachment =
   #(lambda (grob)
      (let* ((thickness (ly:staff-symbol-line-thickness grob))
             (stem (ly:grob-object grob 'stem))
@@ -34,7 +35,7 @@ slap =
                       0.5
                       0)
                   (/ thickness 2)))))
-  $music
+  #music
   \revert NoteHead.stencil
   \revert NoteHead.stem-attachment
 #})