[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: \RemoveEmptyStaffContext doesn't remove empty staff
From: Thomas Morley <thomasmorley65 () googlemail ! com>
Date: 2012-04-27 0:28:13
Message-ID: CABsfGyWEQCf5z0CuuGzRhnAVz47yHFdo_t0VpWtSuFgcY9jc+w () mail ! gmail ! com
[Download RAW message or body]
Am 27. April 2012 01:51 schrieb Thomas Ruedas <ruedas@dtm.ciw.edu>:
> Hi again,
> I have a piano score in which there are sometimes two, sometimes three
> staves, and I want the empty third staff to disappear during long stretches
> in which it is empty. This used to work in an earlier version (2.10) but
> after having converted to 2.14.2, it doesn't anymore.
Hi Thomas,
this is a new feature with 2.14.
The "Keep_alive_together_engraver": Per default a PianoStaff is
removed only when all staves are empty. A single staff isn't deleted
any more.
If you want this behaviour, remove the "Keep_alive_together_engraver".
Your layout should look:
\layout {
\context {
\RemoveEmptyStaffContext
}
\context {
\PianoStaff
\remove "Keep_alive_together_engraver"
}
\context {
\Score
\override VerticalAxisGroup #'remove-first = ##t
}
}
> Below follows a short
> example that reproduces the problem; it follows the approach given in the
> example snippet from
> http://lilypond.org/doc/v2.15/input/regression/collated-files.html, which is
> similar to my original.
Would be nice If you name the sippet, the regression-test is very large.
Cheers,
Harm
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic