How can I make lilypond output an image file just large enough to
hold the music?

You could set the papersize, line length, and margins as described in section 7.5 (for 2.4.x, but section 4.6 for v. 2.2.x) of the manual, especially if you want the high resolution of a .ps or .pdf.


If you try at the command line something like this:

$ lilypond --png --preview --no-page example.ly

you will get a file called example.preview.png which is just the picture without the entire page, but this would probably be a bit problematic for longer examples since the preview only shows the title and first system of the score.

So, probably the best way is to decide what size you want your example to be and just create set your papersize, linelength, and margins.

Josiah


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to