David Nalesnik, Thank you. By reading the log message, I cannot decipher what it means. Emanuel, Ming
________________________________ From: David Nalesnik <[email protected]> To: MING TSANG <[email protected]> Cc: "[email protected]" <[email protected]> Sent: Sunday, September 29, 2013 9:43:59 AM Subject: Re: Catch direction operators Hi Ming, On Sun, Sep 29, 2013 at 8:37 AM, MING TSANG <[email protected]> wrote: I was following the caption subject in lily user list.I run the following (copy from the lists). I got error, please see the log at the end of lily code. >Thanks, >Ming > > >%lily code starts %%%%%%%%%%%%%%%%% >\version "2.17.27" >colorizeDir = >#(define-music-function (parser location item) >(symbol-list-or-music?) >(define (grob-colorize-dir grob) >(let ((ev (event-cause grob))) >(case (ly:event-property ev 'direction) >((1) red) >((-1) blue) Remove one of the parentheses at the end of this line: (else '()))))) [...] --David
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
