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






_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to