Thanks. It works after added the suggested code. I will try to code a tiny sample in the future. Thanks for the solution.
Emmanuel, Ming On Friday, February 7, 2014 7:24:00 AM, Phil Holmes <m...@philholmes.net> wrote: ----- Original Message ----- From: MING TSANG To: lilypond-user mailinglist Sent: Friday, February 07, 2014 11:59 AM Subject: Cannot remove empty staff when dynamic staff is added between pianostaff [snip html text] > Sorry about the length of the .ly file. This is how I can show the > problem. It pains me to give you the answer somewhat, because I really should point you to http://lilypond.org/tiny-examples.html It really would have been the work of a few minutes to cut this example down to a few lines. Please try to do this in future. However: \context { \Dynamics \RemoveEmptyStaves } is what you want. The dynamics context is not a staff context, is it? -- Phil Holmes
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user