Mike, On Thu, Feb 21, 2013 at 7:38 AM, David Nalesnik <[email protected]>wrote:
> > >> [email protected] writes: >> >> > If \alterBroken tries to set a property consulted before line breaking, >> it results in the property having an incorrect value: >> > >> > For example... >> > >> > \relative c'' { >> > \alterBroken #'direction #'(UP DOWN) Staff.DynamicLineSpanner >> > %\override Staff.DynamicLineSpanner.direction = #UP %% no issues >> > a\< \repeat unfold 38 a a\p >> > } >> > >> >> > This doesn't fix the problem, but if you use variables like UP and DOWN or > color names, etc., you need to quasiquote them: > > > \alterBroken #'direction #`(,UP ,DOWN) Staff.DynamicLineSpanner > > Either that, or use the numerical equivalents: > > > \alterBroken #'direction #'(1 -1) Staff.DynamicLineSpanner > > By "doesn't fix the problem," I mean that you can't set the pieces of the hairpin to different values. Is this what you meant when you write above about "having an incorrect value," or are you referring to the warning which results from your code snippet (which disappears when you quasiquote or use numbers for direction)? Just wondering if I've solved your problem and revealed another problem in the process! --David _______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
