I'm making lead sheets, where, unlike common practice, the key signature and clef are not usually shown at the beginning of each line. LilyPond makes this easy to control, with
\override Score.Clef.break-visibility = #all-invisible
and
\override Score.KeySignature.break-visibility = #all-invisible
That works great. Most lead sheets are only a single page, but when they are longer I like to put the clef and key signature and clef at the beginning of the first line of each page. I'm doing that now by un-overriding and re-overriding these settings around page breaks, but that is somewhat messy and fragile. I'd like to find a better way to do this. Does anyone know of a way? Otherwise, I guess this is a feature request!