On Fri, 2009-07-31 at 18:58 -0700, Mark Polesky wrote:
> Mark Polesky wrote:
> 
> > Interesting idea. As a first attempt, I tried making the functionality
> > of the \arpeggioArrowUp command dependent on the 'connectArpeggios
> > context property, but obviously I'm doing something wrong. Does anyone
> > know why this doesn't work? Can anyone see how to make this work? If
> > not, are there other oppositions to my earlier solution of defining new
> > commands?
> 
> I think I might have figured out how to make \arpeggioArrowUp and
> its kin select the appropriate context depending on whether 
> 'connectArpeggios is set. Can someone look at this and check to
> make sure it's legit?

Have you tried using ly:context-property-where-defined instead of
searching for PianoStaff explicitly? There are non-PianoStaff contexts
containing Span_arpeggio_engraver, after all. Other than that, this is a
very cool trick!

Joe




_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to