Hi Lucas,

> I've used the RemoveAllEmptyStaves command to remove (obviously) the 
> unnecessary staffs. However, the drumkit doesn't get removed like it should.
> The drumkit staff is independent by itself; it is not part of a group staff. 
> It is, however, a DrumStaff.
> I've looked at the documentation (Hiding Staves) and found a similar 
> situation (the double bass not being removed). However, the D.B was not 
> removed because it was part of a section/group staff. Adding injury to the 
> cause, I was not able comprehend the use of "Keep_alive" commands.

It’s a little “nuclear”, but…

\layout {
  \context {
    \Score
    \RemoveAllEmptyStaves
  }
}

[Note the \Score rather than \Staff]

Hope that helps!
Kieren.
______________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.


Reply via email to