2012/11/6 Phil Holmes <m...@philholmes.net>: > ----- Original Message ----- From: "Peter O'Doherty" > <m...@peterodoherty.net> > To: "lilypond-user" <lilypond-user@gnu.org> > Sent: Tuesday, November 06, 2012 1:46 PM > Subject: \RemoveEmptyStaves > > > >> Hi, >> >> I have a score with a system where some staves have measures which are >> filled with rests and others with spacer rests (I need these to enable >> \change Staff elements). I would like to remove the staves with have rests >> only but as far as I can see \RemoveEmptyStaves will remove those with >> spacers rests as well. Is there a way round this? >> >> Many thanks, >> Peter > > > > A solution (there may be others) would be to use some hidden notes as well > as spacer rests. > > -- > Phil Holmes > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user
Hi Peter, the `normalĀ“ way to do what you want is to trim keepAliveInterfaces as shown in LSR http://lsr.dsi.unimi.it/LSR/Item?id=312 But { s1 } seems not to result in a Grob. And I found no interface for it to distinguish from { r1 }. Is there any? So Phil's suggestion (or some similiar) seems to be the way. Sorry, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user