[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Edition Engraver master vs refactor override branch: changing bound-details
From: Stefano Troncaro <stefanotroncaro () gmail ! com>
Date: 2019-04-30 15:16:36
Message-ID: CAGd1XVskprcWm90z5bFS9GabJhB+x0TGaxeYLUXLVXN10zN_ag () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi Jan-Peter,
Sure! Please let me know if you manage to solve it so I can update.
Thank you!
El dom., 28 abr. 2019 a las 16:05, Jan-Peter Voigt (<jp.voigt@gmx.de>)
escribió:
> 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
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
[Attachment #5 (text/html)]
<div dir="ltr"><div>Hi Jan-Peter,</div><div><br></div><div>Sure! Please let me know \
if you manage to solve it so I can update.</div><div><br></div><div>Thank \
you!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El \
dom., 28 abr. 2019 a las 16:05, Jan-Peter Voigt (<<a \
href="mailto:jp.voigt@gmx.de">jp.voigt@gmx.de</a>>) \
escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Stefano,<br> <br>
sorry for the delay. I've been away for several days.<br>
I have to look into this deeper ... I guess it is related to the<br>
grob-property-path 'bound-details.left.text'.<br>
Hopefully I can solve this issue soon.<br>
<br>
Best<br>
Jan-Peter<br>
<br>
Am 21.04.19 um 20:42 schrieb Stefano Troncaro:<br>
> Hi all, long time since I posted here, hope you all have been well!<br>
><br>
> While using the Edition Engraver today I noticed that the following<br>
> override works in the old refactor override branch, while on the<br>
> current master it prints a textless spanner and a warning:<br>
><br>
> \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 } }<br> \
><br> > Said warning is<br>
><br>
> warning: type check for `bound-details' failed; value `"span \
this"'<br> > must be of type `list'<br>
><br>
> In the current master I could set this like this:<br>
> \override TextSpanner.bound-details = #'((left . ((text . "span \
this"))))<br> > but this has the undesirable effect of resetting all the \
other<br> > settings of the bound-details alist<br>
><br>
> Without having been able to dive down into the code, this looks like a<br>
> simple issue with type checking, but I realize this may have been<br>
> implemented this way to circumvent other problems.<br>
><br>
> So, how can I achieve this with the current master? Or should I go<br>
> back to using the earlier branch until this is solved?<br>
><br>
> Thanks for your help,<br>
> Stéfano<br>
><br>
> _______________________________________________<br>
> lilypond-user mailing list<br>
> <a href="mailto:lilypond-user@gnu.org" \
target="_blank">lilypond-user@gnu.org</a><br> > <a \
href="https://lists.gnu.org/mailman/listinfo/lilypond-user" rel="noreferrer" \
target="_blank">https://lists.gnu.org/mailman/listinfo/lilypond-user</a><br> <br>
<br>
_______________________________________________<br>
lilypond-user mailing list<br>
<a href="mailto:lilypond-user@gnu.org" target="_blank">lilypond-user@gnu.org</a><br>
<a href="https://lists.gnu.org/mailman/listinfo/lilypond-user" rel="noreferrer" \
target="_blank">https://lists.gnu.org/mailman/listinfo/lilypond-user</a><br> \
</blockquote></div>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic