On 4/5/09 10:01 AM, "Wei-Wei Guo" <wwgu...@gmail.com> wrote:

> Dear all,
> 
> I'm writing a extension for Sphinx, with which I can write music learning
> notes.
> I need to show those clifs, keys, notes, and so on with out staff and other
> things.

I'm not sure exactly what you want to show.  You say "without staff and
other things".  What other things do you want to eliminate?

> 
> My solution is using
> 
> \new Staff \with {
>    \remove Staff_symbol_engraver
>    \remove Time_signature_engraver
>    \remove Stem_engraver
>    \remove Clef_engraver
>    \remove Key_engraver
>    \remove Metronome_mark_engraver
> }
> 
> but I can only show music notes with it.

If you want to have clefs, you certainly shouldn't remove the Clef_engraver.
And if you want to have key signatures, you shouldn't remove the
Key_engraver.
> 
> Another pitfall is there will be a large white border left in the resulting
> PNG.
> I tried the method provided in lilypond user document "14.11 Inserting
> LilyPond
> output into other programs". The method works if staff presented, but not if
> no
> staff presented. Is there any other method?

Which version of LilyPond are you using?  I couldn't find a section 14.11 in
any of the current documentation.

Thanks,

Carl



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

Reply via email to