Thank you Simon for this clear explanation. Pierre 2016-01-13 20:17 GMT+01:00 Simon Albrecht <simon.albre...@mail.de>:
> On 13.01.2016 13:24, Pierre Perol-Schneider wrote: > >> Hi David, >> >> 2016-01-12 23:52 GMT+01:00 David Kastrup <d...@gnu.org <mailto:d...@gnu.org >> >>: >> >> \override #`(color . ,red) >> >> And yes, I use a backward tick here. The forward tick will not >> cooperate with the comma later. >> >> >> I'm not sure to clearly understand >> > > A little background info: The ` and , are abbreviations, spelt out the > above example reads \override #(quasiquote (color . (unquote red))). > Quoting (i.e. '()) means that an expression is not evaluated; quasi-quoting > means that an expression is not evaluated except for those parts which are > unquoted explicitly. #red needs to be evaluated to a color, so you need to > unquote it, and use a quasi-quotation instead of a quotation. > > HTH, Simon >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user