|
From: | Lukas-Fabian Moser |
Subject: | Color variables/symbols (was: pygment regex question) |
Date: | Sat, 26 Nov 2022 18:35:37 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
Am 26.11.22 um 18:11 schrieb David Kastrup:
\override NoteHead.color = red actually lowers the barrier immensely compared with \override NoteHead #'color = #redred and #red are completely different Scheme entities.
Yes indeed (I suspect red gets parsed to #'red, no?). I never took the time to find out what's happening there behind the scenes, but as a frequent user of the colors "darkred" and "darkgreen", I'm a bit nervous about:
lukas@Aquarium:~/git/lilypond/scm(master)$ git grep darkred color.scm: (darkred 0.54509803921568623 0 0) output-lib.scm:(define-public darkred '(0.5 0.0 0.0)) lukas@Aquarium:~/git/lilypond/scm(master)$ git grep darkgreen color.scm: (darkgreen 0 0.39215686274509803 0) output-lib.scm:(define-public darkgreen '(0.0 0.5 0.0)) @everyone: Is this as it should be? Lukas
[Prev in Thread] | Current Thread | [Next in Thread] |