Hi David, > the ly:make-stencil in your function is unneccesary. All you need to do is > the following: > > #(define-markup-command (when-property layout props symbol markp) (symbol? > markup?) > (if (chain-assoc-get symbol props) > (interpret-markup layout props markp) > empty-stencil))
A-ha! I had tried #(define-markup-command (when-property layout props symbol markp) (symbol? markup?) (if (chain-assoc-get symbol props) (interpret-markup layout props markp) (empty-stencil))) which threw an error. Thanks for the correction! Cheers, Kieren. p.s. Does anyone else think this should be part of the standard distro? Or is there an even more general conditional that is already, or should be, in there to be employed? _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user