[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coloring noteheads different depending on parts
From: |
David Kastrup |
Subject: |
Re: coloring noteheads different depending on parts |
Date: |
Fri, 19 Apr 2013 12:20:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
takmi ikeda <address@hidden> 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