[EMAIL PROTECTED] writes:
> Okay, I have played around with this for a while, and have been unable
> to figure out how to do it without having more than one input file.
> 
> I have a score with which I would ordinarily use
> \HaraKiriStaffContext.  But this doesn't do exactly what I want it to
> do.
> 
> I have a Score, which contains a ChoirStaff and a PianoStaff.  I want
> the staves in the ChoirStaff to commit seppuku when they are
> uninteresting, but the ChoirStaff should always exist.  How do I limit
> the HaraKiri exgraver to work only on the staves in the ChoirStaff?

You can make two separate contexts like this

    \translator {
       \HaraKiriStaffContext
    }
    \translator {
       \HaraKiriStaffContext
       \name "Stuff";
       \remove "Hara_kiri_engraver";
    }
    \translator {
       \PianoStaff
       \accepts "Stuff";
    }

I hope you get the idea,

> 
> -- 
> Michael Duggan
> ([EMAIL PROTECTED])
> 
> 

-- 

Han-Wen Nienhuys, [EMAIL PROTECTED] ** GNU LilyPond - The Music Typesetter 
      http://www.cs.uu.nl/people/hanwen/lilypond/index.html 

Reply via email to