lilypond-user
[Top][All Lists]
Advanced

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

Re: Edition Engraver master vs refactor override branch: changing bound-


From: Jan-Peter Voigt
Subject: Re: Edition Engraver master vs refactor override branch: changing bound-details
Date: Sun, 28 Apr 2019 21:04:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Stefano,

sorry for the delay. I've been away for several days.
I have to look into this deeper ... I guess it is related to the
grob-property-path 'bound-details.left.text'.
Hopefully I can solve this issue soon.

Best
Jan-Peter

Am 21.04.19 um 20:42 schrieb Stefano Troncaro:
> Hi all, long time since I posted here, hope you all have been well!
>
> While using the Edition Engraver today I noticed that the following
> override works in the old refactor override branch, while on the
> current master it prints a textless spanner and a warning:
>
> \version "2.19.80" \include "oll-core/package.ily" \loadPackage 
> edition-engraver \consistToContexts #edition-engraver Voice \addEdition test 
> \editionMod test 1 0 Voice.A { \override TextSpanner.bound-details.left.text 
> = "span this" <>\startTextSpan } \editionMod test 2 3/4 Voice.A \stopTextSpan 
> \new Staff { \new Voice \relative { c' d e f g a b c } }
>
> Said warning is
>
> warning: type check for `bound-details' failed; value `"span this"'
> must be of type `list'
>
> In the current master I could set this like this:
> \override TextSpanner.bound-details = #'((left . ((text . "span this"))))
> but this has the undesirable effect of resetting all the other
> settings of the bound-details alist
>
> Without having been able to dive down into the code, this looks like a
> simple issue with type checking, but I realize this may have been
> implemented this way to circumvent other problems.
>
> So, how can I achieve this with the current master? Or should I go
> back to using the earlier branch until this is solved?
>
> Thanks for your help,
> Stéfano
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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