On Thu, Jun 23, 2011 at 6:06 AM, Ralf Mattes <r...@mh-freiburg.de> wrote:

> 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
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user




this will help:
http://lilypond.org/doc/v2.14/Documentation/usage/lilypond-output-in-other-programs

To reduce the white space around your LilyPond score, use the following
options

\paper{
  indent=0\mm
  line-width=120\mm
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup = ##f
  scoreTitleMarkup = ##f
}


{ c1 }
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to