In this example, the staff changes inside an expression assigned to voice "v".
When voice "v" is used again, the staff change is forgotten, and the slur cannot be
terminated, as if in a different voice context.


\version "2.4.2"
LH = {
    \clef bass
    \context Voice="v" {
        e2( \change Staff=RH e'
        % \change Staff=LH %workaround
    } |
    \context Voice="v" {
        % \change Staff=RH %workaround
        e''1) \change Staff=LH
    } |
}

\new PianoStaff <<
    \context Staff=RH { s1*2 }
    \context Staff=LH { \LH }



Thanks,
        Yuval




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

Reply via email to