lilypond-user
[Top][All Lists]
Advanced

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

Re: \fromproperty return problem.


From: Gilles THIBAULT
Subject: Re: \fromproperty return problem.
Date: Fri, 22 Feb 2008 00:22:57 +0100


It seems that \fromproperty doesn't return an empty stencil, even if
the property given in the argument is empty.
Is there a workaround for that ?

I use a \when-property markup command to handle that:

#(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 '()  '(1 . -1) '(1 . -1))))

\when-property #'header:title \underline \fromproperty #'header:title

Yes, it works perfectly. (Ok, I don't really understand why now, but i'll try to )
Thank you very much.

Gilles








reply via email to

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