]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/apply-context.ly
Add regression tests for break-alignment anchor stuff.
[lilypond.git] / input / regression / apply-context.ly
index 86c838d9994c11cc3c03f6a47e7bac699269c3aa..abcbd3028165077e2555452d23d8ce2ade465238 100644 (file)
@@ -1,10 +1,10 @@
 
-\version "2.6.0"
+\version "2.10.0"
 
 
 \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,7 +14,7 @@ This example prints a bar-number during processing on stdout.
 
 }
 
-\layout { raggedright= ##t }
+\layout { ragged-right= ##t }
 
 
 \relative c'' {
@@ -22,9 +22,9 @@ This example prints a bar-number during processing on stdout.
 
   %% 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
 }