X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fapply-context.ly;h=afa55683f3ac68de3fa05d86946723bca280cbbf;hb=ee2b8247bc571823c275463c4b477591986a7e9d;hp=89676aeffa26338731617a2ca40fdcfeea53db99;hpb=49428cfe64483bc706da930d4e24d16166d8e79a;p=lilypond.git diff --git a/input/regression/apply-context.ly b/input/regression/apply-context.ly index 89676aeffa..afa55683f3 100644 --- a/input/regression/apply-context.ly +++ b/input/regression/apply-context.ly @@ -1,10 +1,10 @@ -\version "2.6.0" +\version "2.12.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 }