bug-lilypond
[Top][All Lists]
Advanced

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

Phrasing slur bug?


From: Stewart Holmes
Subject: Phrasing slur bug?
Date: Sun, 12 Nov 2006 12:37:15 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi,

Try the following example:

%%% code begins

#(define (pagebreakone grob)
            (let* (
                   ; have we been split?
                   (orig (ly:grob-original grob))
          
                   ; if yes, get the split pieces (our siblings)
                   (siblings (if (ly:grob? orig)
                               (ly:spanner-broken-into orig) '() )))
          
             (if (and (>= (length siblings) 2)
                       (eq? (car (last-pair siblings)) grob))
               (ly:grob-set-property! grob 'control-points '((0 . 0) (5 . 5) 
(10 . 15) (15 . 0))))))

\relative
{
        \override PhrasingSlur #'after-line-breaking = #pagebreakone    
        c \( d e f | \break
        c d e f \) | \break

        c  d \( e f | \break
        c d e f \) | \break

        c  d e \( f | \break
        c d e f \) | \break

        c  d e f \( | \break
        c d e f \) |
}

%%% code ends

Notice how the scheme code only 'works' in the first instance, and that the 
only thing changed in the four examples is where the phrasing slur starts. 
Unless there's some peculiarity I'm unaware of, this seems like a bug.

Thanks,
Stewart





reply via email to

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