|
From: | Rune Zedeler |
Subject: | Re: \set does not work ??? |
Date: | Wed, 21 Nov 2007 17:32:54 +0100 |
User-agent: | Thunderbird 2.0.0.6 (X11/20071022) |
Han-Wen Nienhuys skrev:
\set Staff.Tie #'transparent = ##t
\revert Staff.Tie #'transparent \override Staff.Tie #'transparent = ##t
I do not understand this - the two constructs should be synonymous.
No, you're wrong. Perhaps it's confusing due to the terminology from the time you last hacked LilyPond, but \set works on context properties, and \override on grob properties
Ok. The RM page "\set vs. \override" says <snip> \override context.name #'property = #value is more or less equivalent to\set context.name #'property = #(cons (cons 'property value) <previous value of context)
</snip> Is this incorrect?Otherwise, does it mean that each time I do an override, the alist grows by one element, slowing subsequent searches down? And there is nothing to do about it?
What does the "\revert" command do? It is not mentioned in the RM. -Rune
[Prev in Thread] | Current Thread | [Next in Thread] |