bug-lilypond
[Top][All Lists]
Advanced

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

Re: \alterBroken doesn't work for properties accessed before line breaki


From: David Nalesnik
Subject: Re: \alterBroken doesn't work for properties accessed before line breaking
Date: Thu, 21 Feb 2013 07:50:35 -0600

Mike,

On Thu, Feb 21, 2013 at 7:38 AM, David Nalesnik <address@hidden>wrote:

>
>
>> address@hidden 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


reply via email to

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