On 28/09/2011 12:05, Xavier Scheuer wrote:
2011/9/28 Alberto Simões<al...@alfarrabio.di.uminho.pt>:

Hello

It seems that the 2.12 command

       \RemoveEmptyStaffContext

is, in 2.14,

       \Staff \RemoveEmptyStaves

But the behavior is not exactly the same.
In the attached image, left is 2.14, right is 2.12.

How to get the 2.12 behavior with 2.14?

This is a feature!
PianoStaff are now removed only if both staves are empty.
To be able to remove staves from  PianoStaff  independently, simply add

  \context {
    \PianoStaff
    \remove "Keep_alive_together_engraver"
  }

to your  \layout  block.

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 :)
Alberto

--
Alberto Simoes
CEHUM

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

Reply via email to