Simon Albrecht <simon.albre...@mail.de> writes:

> Am 10.09.2015 um 13:30 schrieb David Kastrup:
>> Here is a clue what is really happening.
>> Issue 4579, committed rather recently, tries explaining this phenomenon
>> somewhat more accurately than before and describes a remedy.
>
> Sorry, but did I correctly figure out the remedy you describe?
>
> %%%%%%%%%%%%%
> music = {
>   1
> }
>
> \score {
>   {
>     <<
>       \new Staff \with { \override StaffSymbol.color = #red } <<
>         \new NullVoice \music
>         \new Voice \music
>       >>
>     >>
>     \break
>     \new GrandStaff <<
>       \new Staff <<
>         %        \new NullVoice \music
>         \new Voice \music
>       >>
>       \new Voice \music
>     >>
>   }
> }
> %%%%%%%%%%%
>
> This also has a spurious staff in the second system, but blackā€¦ ?

Well, \break is defined as an event, and events need a bottom context.
There no longer is one, so it creates its own one.  So you need
something like
<<
   << { \new Staff ... \break } >>
   \new GrandStaff ...
>>

or move the \break into the \new Staff somewhere.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to