Re: GDP: Colors in RGB?

2007-11-29 Thread Graham Percival
Reinhold Kainhofer wrote: Am Donnerstag, 29. November 2007 schrieb Erlend Aasland: In commit f53ab6d1106f692e08afa51152f9bfd51852aa0f (Oct 22, 2007), Erlend Aasland added the rgb-color macro, which you can use like c' ^\markup{ \with-color #(rgb-color 1.0 0.5 0.0) {colored text} } Using such

Re: GDP: Colors in RGB?

2007-11-29 Thread Reinhold Kainhofer
Am Donnerstag, 29. November 2007 schrieb Erlend Aasland: > Yes, the internal color format is hidden from the user on purpose. The > reason for this is that if we need to change the internal format > sometime in the future, the format change will not be noticed by the > user. With the default color

Re: GDP: Colors in RGB?

2007-11-29 Thread Erlend Aasland
Hi Trevor, Yes, the internal color format is hidden from the user on purpose. The reason for this is that if we need to change the internal format sometime in the future, the format change will not be noticed by the user. With the default color macros and the X11 color macros, the user wo

GDP: Colors in RGB?

2007-11-29 Thread Trevor Daniels
I'm helping to write the GDP manuals, and am puzzled by an omission in the description of setting the color property of grobs. The Internals Reference (grob-interface) says the color should be a list, and supplying a list of RGB values like \once \override Voice.Slur #'color = #'(1.0 0.0 0.0

Math stuff

2007-11-29 Thread Erlend Aasland
Hi Han-Wen, There is an old comment in flower/include/real.hh about MacOSX 10.3 and g++ 3.3. Can I apply the attached patch? I guess we could replace the is_inf() with std::isinf() in flower/offset.cc too. Regards, Erlend math.patch Description: Binary data ___