On 4/12/20, Thomas Morley <thomasmorle...@gmail.com> wrote: > Hi, > The SystemStartBrace vanishes after stop/startStaff.
Weird. That’s definitely an unwanted behavior (in other words, a bug). > consider the following code: > > > mus = \new Staff { R1 \break R \stopStaff s \startStaff R \break R \break R > } > > \new StaffGroup > \with { > systemStartDelimiterHierarchy = > #'(SystemStartBracket (SystemStartBrace a b c)) > } > << \mus \mus \mus >> > > > I'm at a loss here, it does not work out of the box for every version > from 2.12.3 up to master. > > Any chance to get the additional SystemStartBrace back? Your guess is as good as mine. I wonder if it’s because the \stopStaff triggers the engraver’s 'finalize' step, where the nesting_ list gets deleted: // system-start-delimiter-engraver.cc void System_start_delimiter_engraver::finalize () { if (nesting_) { nesting_->set_bound (RIGHT, unsmob<Grob> (get_property ("currentCommandColumn"))); nesting_->set_nesting_support (0); delete nesting_; } } But I’m obviously talking out of my arse here. Cheers, V. _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond