lilypond-user
[Top][All Lists]
Advanced

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

Re: another 'wrong type argument' error


From: Kieren MacMillan
Subject: Re: another 'wrong type argument' error
Date: Mon, 10 Oct 2022 13:00:05 -0400

p.s. 

> Looking at dynamics_on-the-fly.ly, line 294+ is
> 
>               (if (pair? prev-self-alignment-X-tweaks)
>                   '()
>                   (ly:grob-set-property! grob 'X-offset
>                     (let* ((x-exts
>                              (map
>                                (lambda (stil) (ly:stencil-extent stil X))
>                                (take all-stils 2)))
>                            (x-par (ly:grob-parent grob X))
>                            (parent-x-ext-center
>                              (interval-center
>                                (if (ly:grob-property grob
>                                      'X-align-on-main-noteheads)
>                                    (note-column::main-extent x-par)
>                                    (ly:grob-extent x-par x-par X))))
> 
> with line 300 being
> 
>                                (take all-stils 2)))
> 
> What's the patch?

Looks like the definition [earlier in the code] is

                    (all-stils
                      (map
                        (lambda (mrkp)
                          (if (null? mrkp)
                              empty-stencil
                              (grob-interpret-markup grob
                                (if (markup-list? mrkp)
                                    (make-concat-markup mrkp)
                                    mrkp))))
                          stil-candidates))

In case that helps…?

Thanks,
Kieren.


reply via email to

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