|
From: | Simon Albrecht |
Subject: | Re: Outliner markup command |
Date: | Wed, 13 Jan 2016 20:17:00 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
On 13.01.2016 13:24, Pierre Perol-Schneider wrote:
Hi David,2016-01-12 23:52 GMT+01:00 David Kastrup <address@hidden <mailto:address@hidden>>:\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
[Prev in Thread] | Current Thread | [Next in Thread] |