From: Joe Neeman Date: Fri, 20 Aug 2010 00:58:54 +0000 (-0700) Subject: Fix 1218. X-Git-Tag: release/2.13.31-1~27 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2cf1c2005c4a09e23a554b41f533453bf595c2be;p=lilypond.git Fix 1218. --- diff --git a/input/regression/hara-kiri-pianostaff.ly b/input/regression/hara-kiri-pianostaff.ly deleted file mode 100644 index e19aa4fd82..0000000000 --- a/input/regression/hara-kiri-pianostaff.ly +++ /dev/null @@ -1,37 +0,0 @@ -\version "2.13.18" - -\header { texidoc = - - " Hara-kiri staves kill themselves if they are empty. This -example really contains three staves, but as they progress, empty ones -are removed: this example has three staves, but some of them -disappear: note how the 2nd line only has the bar number 2. (That the -bar number is printed might be considered a bug, however, the scenario -of all staves disappearing does not happen in practice.) - -Any staff brackets and braces are removed, both in the single staff -and no staff case. - -This example was done with a pianostaff, which has fixed distance -alignment; this should not confuse the mechanism. -" - -} - -\layout { - ragged-right= ##t - \context { - \Staff - \RemoveEmptyStaves - } -} - -\transpose c c'' -\context PianoStaff << - \new Staff { c4 c c c \break s1 \break c4 c c c \break c c c c} - \new Staff { d4 d d d s1 s1 s1 } - \new Staff { e4 e e e s1 e4 e e e s1 } ->> - - - diff --git a/input/regression/hara-kiri-staff.ly b/input/regression/hara-kiri-staff.ly new file mode 100644 index 0000000000..17ad9932ca --- /dev/null +++ b/input/regression/hara-kiri-staff.ly @@ -0,0 +1,34 @@ +\version "2.13.18" + +\header { texidoc = + + " Hara-kiri staves kill themselves if they are empty. This +example really contains three staves, but as they progress, empty ones +are removed: this example has three staves, but some of them +disappear: note how the 2nd line only has the bar number 2. (That the +bar number is printed might be considered a bug, however, the scenario +of all staves disappearing does not happen in practice.) + +Any staff brackets and braces are removed, both in the single staff +and no staff case. +" + +} + +\layout { + ragged-right= ##t + \context { + \Staff + \RemoveEmptyStaves + } +} + +\transpose c c'' +\context GrandStaff << + \new Staff { c4 c c c \break s1 \break c4 c c c \break c c c c} + \new Staff { d4 d d d s1 s1 s1 } + \new Staff { e4 e e e s1 e4 e e e s1 } +>> + + +