]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix issue 849: Remove rest from keep-alive grobs
authorCarl Sorensen <c_sorensen@byu.edu>
Wed, 8 Sep 2010 16:26:39 +0000 (10:26 -0600)
committerCarl Sorensen <c_sorensen@byu.edu>
Wed, 8 Sep 2010 18:51:03 +0000 (12:51 -0600)
input/regression/remove-empty-staves-with-rests.ly [new file with mode: 0644]
ly/engraver-init.ly

diff --git a/input/regression/remove-empty-staves-with-rests.ly b/input/regression/remove-empty-staves-with-rests.ly
new file mode 100644 (file)
index 0000000..db6153a
--- /dev/null
@@ -0,0 +1,24 @@
+\version "2.13.32"
+\header {
+
+  texidoc = "
+Rests should not keep staves alive when
+@code{\RemoveEmptyStaffContext} is active.  The
+following example should have only one staff.
+"
+
+}
+
+\score {
+ <<
+   \new Staff {
+     \partial 16 r16 | R1 | r1
+   }
+   \new Staff {
+     \partial 16 c'16 | c'1 | c'1
+   }
+ >>
+
+ \layout { \context { \RemoveEmptyStaffContext
+     \override VerticalAxisGroup #'remove-first = ##t } }
+}
index f29a9512ea0ee083739d9c0c010e9fe9a96c55e5..6a94777e0c4f5d23bc9c2617577e2889186a3061 100644 (file)
@@ -654,7 +654,13 @@ automatically when an output definition (a @code{\score} or
   )
 
   keepAliveInterfaces = #'(
-    rhythmic-grob-interface
+    bass-figure-interface
+    chord-name-interface
+    cluster-beacon-interface
+    fret-diagram-interface
+    lyric-syllable-interface
+    note-head-interface
+    tab-note-head-interface
     lyric-interface
     percent-repeat-item-interface
     percent-repeat-interface