lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: conditional \when-property


From: Kieren MacMillan
Subject: Re: conditional \when-property
Date: Wed, 31 Jul 2013 18:59:34 -0400

Hi David,

> Using empty-stencil rather than your own call of ly:make-stencil should
> work for more versions.

This sounds useful… but I don't quite know what you are suggesting I do. Do you 
mean this (which appears to work, but still uses ly:make-stencil):

#(define-markup-command (when-property layout props symbol markp) (symbol? 
markup?)
  (if (chain-assoc-get symbol props)
      (interpret-markup layout props markp)
      (ly:make-stencil empty-stencil)))

?

I tried a lot of things without ly:make-stencil, and they all failed.

Thanks,
Kieren.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]