Kieren MacMillan <kieren_macmillan <at> sympatico.ca> writes: > > Hi Jan, > > > Is there a way to parametrize \RemoveEmptyStaves so that it will remove all > > empty staffs, except the first one if there otherwise would be no staffs left? > > That would be the best solution, of course… > In the meantime, there’s this workaround (which I use all the time): http://lsr.dsi.unimi.it/LSR/Item?id=312 Yes, I'm aware of that, But it's not a solution to my intent. Snippet 312 works well for a "fixed" part: a given combination of percussion voices, and a fixed page size.
If one changes page width, then one might need show/hideMultiRests in other places. But it's still doable although it's labor intensive. But in a SCORA context, we want to give the percussionist the option of mix & matching the different voices to his liking, depending on how many percussionists there are and how their gear is organised on stage. And this is where the manual workaorund of the snippet completely fails. Given that the somewhat opposite of what I want (the Keep_alive_together_engraver) is written inside LP in C++, I assume what I want will also require a custom engraver - it's likely not a simple Scheme function... > Hope this helps! > Kieren. > Unfortunately, it doesn't :-( JanR _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user