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