2011/9/28 Alberto Simões <[email protected]>:
>
> Hello
>
> Trying
>
>    \context {
>      \PianoStaff
>      \remove "Keep_alive_together_engraver"
>      \Staff      \RemoveEmptyStaves
>      \override VerticalAxisGroup #'remove-first = ##t
>    }
>
> But I get complains:
>
> _.ly:94:6: error: syntax error, unexpected CONTEXT_DEF_IDENTIFIER
>
>      \Staff      \RemoveEmptyStaves
> _.ly:104:0: error: syntax error, unexpected '}'
>
> }
> Thank you :)

PianoStaff and Staff are different context within your \score block.

\layout {
  \context {
    \PianoStaff
    \remove "Keep_alive_together_engraver"
   }
  \context {
    \Staff
    \RemoveEmptyStaves
    \override VerticalAxisGroup #'remove-first = ##t
  }
}

Cheers,
Xavier

-- 
Xavier Scheuer <[email protected]>

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to