Kieren MacMillan <[email protected]> writes: > Hi Mark, > >> Is it possible to get the Dynamics contexts to be aware of when the >> intervening staffs have been removed? > > Yes, there are various methods… but none are simple or intuitive or a > good example of Do The Right Thing™.
You could group the Dynamics context in a StaffGroup with its above context, make it suicidal (empty KeepAliveInterfaces and set remove-empty), and slap a Keep_alive_together_engraver on the containing StaffGroup. It's not really the same as counting all intervening staves, but it would help a bit. -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
