bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exotic color constants fail to parse


From: Trevor Bača
Subject: Re: Exotic color constants fail to parse
Date: Sun, 5 Mar 2006 15:51:05 -0600

On 3/4/06, Trevor Bača <address@hidden> wrote:
> Hi,
>
> This snippet ...
>
> %%%%%%%% BEGIN SNIPPET %%%%%%%
>
> \version "2.7.35"
>
> \new Staff {
>    \once \override NoteHead #'color = #azure
>    c'4
> }
>
> %%%%%%%% END SNIPPET %%%%%%%%
>
> ... fails to parse under OS X with .35 and instead issues
>
>   Parsing...ERROR: Unbound variable: azure
>
> Same holds for salmon, chocolate and the other color constants I've
> tried listed under appendix C (with the exception of the 15 "normal
> colors", all of which work great.)

PLEASE DISREGARD report given above.

There is no such bug; my calling syntax was incorrect. Section 8.5.7
"Coloring objects", corrects my problem as follows:

%%%%%%% BEGIN FIXED SNIPPET %%%%%%%%%%%%%

\version "2.7.35"

\new Staff {
    \once \override NoteHead #'color = #(x11-color 'azure)
    c'4
 }

%%%%%%%% END SNIPPET %%%%%%%%%%%

User error; not a bug.


--
Trevor Bača
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]