lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: writing custom engravers in scheme - defining context properties?


From: David Kastrup
Subject: Re: writing custom engravers in scheme - defining context properties?
Date: Tue, 11 Oct 2016 17:04:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Maxwell Phillips <address@hidden> writes:

> Thanks everyone for all the great info! Both the examples and the
> explanation of how these properties work are really helpful.
>
> It seems like including an argument in the engraver definition is the way
> to go, unless you need to manually change the behavior in the middle of a
> score. But maybe in many situations this isn't a bad test of how well
> thought-out the engraver is.

Most engravers really are better off with maintaining their own
variables: those can work with multiple engraver instances and cannot
get lost when using \change .  Context properties are nice for
communication.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]