> 
> In an m4 macro I want to do this:
> 
>   \property Current.DynamicText
>     \set #'extra-offset = #'($1 . (+ 2.5 $2))
> 
> ($1 and $2 are m4's macro arguments), but I get the following warning
> message (for $1 = -2 and $2 = 0):
> 
>   Interpreting music...
>   Type check for `extra-offset' failed;
>   value `(-2 + 2.5 0)' must be of type `pair of numbers'
> 
> Any solution for this problem?

Try 
#`($1 . ,(+ 2.5 $2))
note that the quote is a back quote.

   /Mats





_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to