]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/stencil-hacking.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / stencil-hacking.ly
index 525b8444991a3de962678d29cf577d17b15f82c8..304c3461df1e7dcdcda8a7fd2bc7448263690f19 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.7.14"
+\version "2.14.0"
 
 \header { texidoc=" You can write stencil callbacks in Scheme, thus
 providing custom glyphs for notation elements.  A simple example is
@@ -18,7 +18,7 @@ Example usage:
 
   \\property NoteHead \\override #'print-function
                   =
-                     #(parenthesize-callback Note_head::print)
+                     #(parenthesize-callback ly:note-head::print)
                    
 "
 
@@ -49,19 +49,19 @@ GROB.  The dimensions of the stencil is not affected.
    parenthesize-stencil)
     
 
-\layout { raggedright = ##t }
+\layout { ragged-right = ##t }
 \relative c' {
     c4 e
 
     \override NoteHead  #'stencil
     =
-    #(parenthesize-callback Note_head::print)
+    #(parenthesize-callback ly:note-head::print)
     g bes
     \revert NoteHead #'stencil
 
     \override Beam  #'stencil
     =
-    #(parenthesize-callback Beam::print)
+    #(parenthesize-callback ly:beam::print)
 
     a8 gis8 a2.