|
From: | Pierre Perol-Schneider |
Subject: | Re: Outliner markup command |
Date: | Wed, 13 Jan 2016 20:19:57 +0100 |
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] |