Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Critical Regression

New issue 1545 by philehol...@googlemail.com: Volta repeat marks are misplaced in some circumstances
http://code.google.com/p/lilypond/issues/detail?id=1545

When a volta repeat begins on a staff which subsequently disappears (because there is no music), and there is a tempo marking before the volta marking, the tempo marking pushes the special ending mark to the right. My example below (not terribly tiny, but needed to show the various situations) shows this happening on the first pair of lines, shows the effect of no tempo marking being present, and then shows where the staff does not disappear. This effect was not present in 2.13.31 but appeared before 2.13.34. The images below are of 2.13.51 (bad) and 2.12.3 (good).

\layout {
  \context {
    \RemoveEmptyStaffContext
    \override VerticalAxisGroup #'remove-first = ##t
  }
}
<<
  \new Staff <<
    \relative c' {
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      \set Score.repeatCommands = #'((volta "1"))
      R1 \break \bar ":|"
      \set Score.repeatCommands = #'((volta #f)(volta "2"))
      \time 2/2
      \tempo "Allegro agitato"4=160
      R1
      \set Score.repeatCommands = #'((volta #f))
      R1
      R1 \break
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      \set Score.repeatCommands = #'((volta "1"))
      R1 \break \bar ":|"
      \set Score.repeatCommands = #'((volta #f)(volta "2"))
      R1
      \set Score.repeatCommands = #'((volta #f))
      R1
      R1 \break
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      \set Score.repeatCommands = #'((volta "1"))
      R1 \bar ":|"
      \set Score.repeatCommands = #'((volta #f)(volta "2"))
      \tempo "Allegro different"4=100
      R1
      \set Score.repeatCommands = #'((volta #f))
      R1
      R1
    }
  >>
  \new PianoStaff <<
  \new Staff <<
    \relative c' {
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      c4 c c c \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      c4 c c c \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      c4 c c c \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
    }
  >>
  \new Staff <<
    \relative c' {
      c4 c c c \bar "|:"
      c4 c c c
      R1
      R1 \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
      c4 c c c \bar "|:"
      c4 c c c
      R1
      R1 \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      c4 c c c \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
    }
  >>



Attachments:
        VoltaProblem13.51.png  43.1 KB
        VoltaProblem12.3.png  41.7 KB


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

Reply via email to