Neil Puttock wrote:
> > \new PianoStaff \autochange \relative {
> > \set autochangeMargin = #2
> > c8 d e f g f e d
> > c b a g f g a b
> > c d e f g f e d
> > }
>
> Making this a context property would imply some kind of relationship
> with an engraver, so I don't think it's appropriate here.
Can I make it a property of the AutoChangeMusic object?
> It might be possible using ApplyContext, but it's such a convoluted
> way of accessing a property that you're better off creating a parser
> variable (with the limitation that you couldn't set it within the
> music) or passing the value directly through the music function (which
> means changing the signature of the function, requiring a convert
> rule).
I had thought that applyContext was the way to go. But what's a parser
variable? Can you give me an example of one?
Thanks.
- Mark
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel