RemoveEmptyRhythmicStaffContext doesn't work

2010-02-07 Thread 胡海鹏 - Hu Haipeng
Hello, I've looked into engraver-init.ly, and RemoveEmptyRhythmicStaffContext is there. But when I include it with \RemoveEmptyStaffContext in my orchestral score, LP complains about such line. Why? Regards Haipeng ___ lilypond-user mailing list

Re: RemoveEmptyRhythmicStaffContext doesn't work

2010-02-07 Thread Mats Bengtsson
Quoting ??? - Hu Haipeng hhpmu...@163.com: Hello, I've looked into engraver-init.ly, and RemoveEmptyRhythmicStaffContext is there. But when I include it with \RemoveEmptyStaffContext in my orchestral score, LP complains about such line. Why? I hope you write the following lines around it:

Re:Re: RemoveEmptyRhythmicStaffContext doesn't work

2010-02-07 Thread 胡海鹏 - Hu Haipeng
Ha, thanks. But I'm not so stupid. Of course I have \layout { \context { \RemoveEmptyStaffContext \RemoveEmptyRhythmicStaffContext } } And then the error: xx\xx\xx.ly:nn:nn: error: syntax error, unexpected CONTEXT_DEF_IDENTIFIER

Re: Re: RemoveEmptyRhythmicStaffContext doesn't work

2010-02-07 Thread Graham Percival
I believe that those must be in *separate* \layout { \context{ blocks. Cheers, - Graham On Mon, Feb 08, 2010 at 05:33:22AM +0800, 胡海鹏 - Hu Haipeng wrote: Ha, thanks. But I'm not so stupid. Of course I have \layout { \context { \RemoveEmptyStaffContext

Re: RemoveEmptyRhythmicStaffContext doesn't work

2010-02-07 Thread Kieren MacMillan
Hi, I have \layout { \context { \RemoveEmptyStaffContext \RemoveEmptyRhythmicStaffContext } } Shouldn't this be \layout { \context { \RemoveEmptyStaffContext } \context { \RemoveEmptyRhythmicStaffContext } } ?? Cheers, Kieren.