]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/apply-context.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / apply-context.ly
index 86c838d9994c11cc3c03f6a47e7bac699269c3aa..90ebff0c99ac432760aeae1795313a2aea9bcae2 100644 (file)
@@ -1,10 +1,10 @@
 
-\version "2.6.0"
+\version "2.19.21"
 
 
 \header {
 
-texidoc = "With @code{\\applycontext}, @code{\\properties} can be modified
+texidoc = "With @code{\\applyContext}, @code{\\properties} can be modified
 procedurally. Applications include: checking bar numbers, smart
 octavation.
 
@@ -14,17 +14,17 @@ This example prints a bar-number during processing on stdout.
 
 }
 
-\layout { raggedright= ##t }
+\layout { ragged-right= ##t }
 
 
-\relative c'' {
-  c1 c1
+\relative {
+  c''1 c1
 
   %% todo: should put something interesting in the .tex output.
   
-  \applycontext
+  \applyContext
   #(lambda (tr)
-    (format #t "\nWe were called in barnumber ~a.\n"
+    (ly:progress "\nWe were called in bar number ~a.\n"
      (ly:context-property tr 'currentBarNumber)))
   c1 c1
 }