you are missing the option -dpreview
it's explained in Usage manual, chapter 1.2

2011/6/23 Ralf Mattes <[email protected]>

> Hello list,
>
> for a webproject with music examples I need to create PNG files with small
> mucic examples. I'm shure I once had some examples but I can't find them
> any more. I'm currently invoking lilypond like this:
>
>  lilypond --png --output=cadence_3 94244234-tmp.ly
>
> The file looks something like this:
>
>  \version  "2.11.49"
>
> \header {
>  tagline = ##f
> }
>
> \paper {
>  raggedright = ##t
>  raggedbottom = ##t
> }
> \score {
> {
> <<
>  \new Staff \relative c' {\clef violin <e g c> <a c d,> <f a c> <f g b> <e
> g c> }
>  \new Staff {\clef bass   e f d g  c }
> >>
> }
>
> }
> \layout {
>  indent = 0\mm
> }
>
>
> But the png still displays a whole (almost empty) page. What am I missing?
>
> TIA Ralf Mattes
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to