On 11/28/2013 02:07 PM, pls wrote:
On 25.11.2013, at 14:34, Kai Lautenschläger <kai.lautenschlae...@me.com> wrote:
As you can see in the following not so tiny example inserting the ambitus makes
the \RemoveEmptyStaves command ineffective.
I reduced your example quite a bit and the problem is still there:
\RemoveEmptyStaves does not show any effect in staves containing voices in
which the ambitus engraver is added. AFAICS you are right and this is a bug.
I've modified it a bit further, putting the \consists in a \layout
context. The effect is the same, in that an ambitus prevents a Staff
from beiong considered empty, and this would be Bug 1.
The other effect I've noticed, which certainly seems to be Bug 2, is
that declaring a \new Voice, when Ambitus_engraver is consisted in a
Voice context, causes the ambitus to be engraved at that point in
musical time, wherever it occurs, and not at the start of the staff.
If it occurs at a \break, the ambitus gets engraved *both* at the end
of the previous staff, i.e. before the break, and also at the start of
the new staff. This may be Bug 3, or not: I'm not familiar enough with
ambitus to be sure. We basses just have to know I, IV and V anyway.
\version "2.17.95"
\score {
<<
\new Staff {
R1
\break
\new Voice
\relative { a'4 b c d }
}
\new Staff {
c'1
\break
% \new Voice
\relative { a'4 b c d }
}
>>
\layout {
\context {
\Staff
\RemoveEmptyStaves
\override VerticalAxisGroup #'remove-first = ##t
\consists "Ambitus_engraver" % ambitus behaves, but empty staff remains
}
\context {
\Voice
% \consists "Ambitus_engraver" %ambitus and empty staff misbehave
}
}
}
Cheers,
Colin
--
I've learned that you shouldn't go through life with a catcher's mitt on both
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond