6 texidoc = "with \\applycontext, \\properties can be modified
7 procedurally. Applications include: checking bar numbers, smart
11 This example prints a bar-number during processing on stdout.
16 \paper { raggedright= ##t }
19 \score { \notes \relative c'' {
22 %% todo: should put something interesting in the .tex output.
26 (format #t "\nWe were called in barnumber ~a.\n"
27 (ly:get-context-property tr 'currentBarNumber)))