I was on 2.8.6. I just upgraded to the latest stable, but I still get the same 
thing happening. There's definitely something up here. Try the following:

%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.10.0"

#(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
        c4  d \( e f | \break
        c d e f \) | \break
}

%%%%%%%%%%%%%%%%%%%%%%%%

The slur on the second line should have its control points set, but it clearly 
doesn't. Now try:

%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.10.0"

#(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
        c4 \( d e f | \break
        c d e f \) | \break
}

%%%%%%%%%%%%%%%%%%%%%%%%

Notice that the slur on the second line is now correctly reshaped. The only 
difference between these 2 examples is the placement of '\(', the start of the 
phrasing slur.

Cheers,
Stewart



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to