-\version "1.9.4"
+\version "2.3.22"
\header {
-texidoc = "With \\applycontext, \\properties can be modified
+texidoc = "With @code{\\applycontext}, @code{\\properties} can be modified
procedurally. Applications include: checking bar numbers, smart
octavation.
}
- \paper { raggedright= ##t }
+ \layout { raggedright= ##t }
-\score { \notes \relative c'' {
+\score { \relative c'' {
c1 c1
%% todo: should put something interesting in the .tex output.
\applycontext
#(lambda (tr)
(format #t "\nWe were called in barnumber ~a.\n"
- (ly:get-context-property tr 'currentBarNumber)))
+ (ly:context-property tr 'currentBarNumber)))
c1 c1
}}