[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 2990: \RemoveEmptyStaves in StaffGroup context crashes (issue
From: |
address@hidden |
Subject: |
Re: Issue 2990: \RemoveEmptyStaves in StaffGroup context crashes (issue 7069044) |
Date: |
Thu, 10 Jan 2013 10:05:16 +0100 |
On 10 janv. 2013, at 07:40, address@hidden wrote:
> Anything with a line break still causes a crash. I can't say exactly
> why, because I'm a bit confused which VerticalAxisGroup gets removed,
> the outer or the inner.
>
> \new StaffGroup \with { \RemoveEmptyStaves
> } << { b1 b1 b1}
> { b1 b1 \break b1 } >>
>
> My only suggestion is to merge "Axis_group_engraver" with
> "Hara_kiri_engraver" engraver (and give it a sensible name like
> "Line_engraver") but that is much more work.
>
> https://codereview.appspot.com/7069044/
It's actually not as bad as you'd think. The Hara_kiri_engraver is just a thin
wrapper around the Axi_group_engraver. Everything can be switched on and off
via an extra context property haraKiri. I was able to drum up a sketch in 10
minutes. Running the regtests now.
Cheers,
MS