takmi ikeda <[email protected]> writes:

> i'd like to change coloring by argument. have you any idea?
>
> \version "2.16.0"
>
> #(define-public ((color-notehead . nnn) grob)
(define-public ((color-notehead num) grob)


>        (vvv (vector-ref color-mapping num)) ;it does not works.

Hardly surprising.  Wrong variable name.  Even if you were write, the
define-public used nnn as a rest argument due to the . before it, so any
number would have gotten wrapped into a list.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to