[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: conditional \when-property
From: |
David Kastrup |
Subject: |
Re: conditional \when-property |
Date: |
Wed, 31 Jul 2013 07:28:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Kieren MacMillan <address@hidden> writes:
> Hi all,
>
> Found the correct solution (I think):
>
> #(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-interval empty-interval)))
Using empty-stencil rather than your own call of ly:make-stencil should
work for more versions.
--
David Kastrup