Nicolas Sceaux wrote:
Mats is right. But just for the record: music functions with no argument still have their use, for instance:displayBarNum = #(define-music-function (parser location) () (if (eq? #t (ly:get-option display-bar-numbers)) #{ \once \override Score.BarNumber #'break-visibility = ##f #} #{#})) Then, having used \displayBarNum inside the score, the actual displaying of bar numbers is triggered by a command line option: lilypond -d display-bar-numbers foo.ly
Thanks, added to git. Cheers, - Graham _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
