2014-10-05 11:15 GMT+02:00 David Kastrup <d...@gnu.org>: > Simon Albrecht <simon.albre...@mail.de> writes: > > > Am 04.10.2014 um 23:13 schrieb Peter Crighton: > >> As you can see in the following code and the attached image, there > >> is a possible bug when using \RemoveEmptyStaves with voices in > >> different keys (such as in a score with transposing instruments): > >> key signatures appearing only in hidden empty staves are still > >> causing space in the shown staves. > >> > >> I don’t think this is as it should be. How can I correct this? And > >> should it be filed as a bug report, or is there some intention > >> behind this appearance? > > I quite agree that this is likely a bug (or at least: unexpected > > behaviour which should be enhanced). > > It is not unexpected behavior. \RemoveEmptyStaves can only work after > the line breaks are known and the line breaks are the result of > horizontal spacing. > > Basically you'd need to redo all of the horizontal spacing after stuff > like \RemoveEmptyStaves have run without changing the line breaking > again if you find out that this gives you more space to work with. > > Unlikely to happen in the next few years of LilyPond development.
Okay, thanks for explaining. For now I am content with using “\omit Staff.KeySignature” and “\revert Staff.KeySignature.stencil” respectively to get rid of the problem. What I found strange, though, was that in my score the problem only appeared when there was a time signature change at the beginning of the line. I couldn’t reproduce this in a minimal example. -- Peter Crighton | Musician & Music Engraver based in Mainz, Germany http://www.petercrighton.de
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user