7 texidoc = "With @code{\\applycontext}, @code{\\properties} can be modified
8 procedurally. Applications include: checking bar numbers, smart
12 This example prints a bar-number during processing on stdout.
17 \layout { raggedright= ##t }
23 %% todo: should put something interesting in the .tex output.
27 (format #t "\nWe were called in barnumber ~a.\n"
28 (ly:context-property tr 'currentBarNumber)))