You replied just to me, not to the list.
I don't think this is what you wanted to do.
Anyway, now I see what you want to achieve.
You can save directly to an image format, such as svg or png:
lilypond -fpng file.ly
lilypond -dbackend=svg file.ly
(if I remember correctly the synthax, check the Usage manual)
and then crop the part you want to use
If you have a lot of music to be included in your LaTeX document, it's
worth using lilypond-book (again, check Usage manual).
There's someone working on lilypond fonts package for LaTeX. You'll find
some information on the lilypond-user archives.
Sorry, I can't give you specific links, as I'm using a slow Internet
connection.
Cheers,
Federico
Il giorno gio, 21/07/2011 alle 04.35 +0100, John Allsup ha scritto:
Thanks, exactly what I was after. I ended up rendering the resulting
PDF as PNG and cropping
to get the bits I wanted, the end result is the attached file.
On 20/07/11 08:31, Federico Bruni wrote:
Il giorno mer, 20/07/2011 alle 07.55 +0100, John Allsup ha scritto:
Hi,
I am new to lilypond and want (so as to have a graphic), a pair of
quavers and a quadruple of
semiquavers just on their own (i.e. no staff or time signature.) What
is the easiest way to do this
in Lilypond. (I am aware I could probably find some method, but I have
a habit of finding ugly
hacks when I do this with an unfamiliar system.)
Hi John and welcome to LilyPond!
I recommend to use the index (last appendix on the left menu) in each
manual: it's the quickest way to find the relevant information in the
docs.
If you click on S and search Staff, you'll see "staff, hiding", which
brings to this snippet:
\new Staff \with {
\remove "Staff_symbol_engraver"
}
\relative c''' { a8 f e16 d c b a2 }
In order to remove the key signature, you have two options:
\override Staff.TimeSignature #'transparent = ##t
\override Staff.TimeSignature #'stencil = ##f
Choose one of them.
The visibility of objects is explained here:
http://lilypond.org/doc/v2.14/Documentation/notation/visibility-of-objects
Cheers,
Federico