[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PNG output with Lilypond?

From: Jule Slootbeek
Subject: Re: PNG output with Lilypond?
Date: Tue, 12 Nov 2002 16:51:40 -0500

you will stall have to run the HTML file through lilypond-book.
HTML isn't aware of Lilypond.

lilypond-book file.html

in your shell and it should give you an html file with the notes in it as a PNG file.


On Tuesday, Nov 12, 2002, at 15:46 US/Eastern, <address@hidden> wrote:


1) I still don't get it. I thought that the "snippet" is to be included in an html file, and that its purpose is to produce an image seen in a browser. That is what the example in the manual implies. All it seems to do is display in the broswer window the exact same characters. The manual on the other hand
shows an image.

My html code is:

<lilypond relative1 verbatim>
\key c \minor r8 c16 b c8 g as c16 b c8 d | g,4

If you want to get help,
you need to give some
more information.  I selected your snippet:

    \key c \minor r8 c16 b c8 g as c16 b c8 d |

and it works perfectly allright over here:

2) Is your command below intended to be entered on a command line on a Unix
system?  If I do that I get:

M-: Command not found.
Lilypond-book is confused by --outname on multiple files

    M-| lilypond-book -f html -o html - RET


    lilypond-book (GNU LilyPond) 1.6.6
    invoking `lilypond --header=texidoc  -I
    GNU LilyPond 1.6.6
    Now processing: `'
    Interpreting music...[2]
    Preprocessing elements...
    Calculating column positions... [2]
    paper output to `lily-1705589784.tex'...

    Running LaTeX...
    invoking `echo $TEXMF; latex '\nonstopmode
\input lily-1705589784' 1> /dev/null 2>

{/home/fred/lily-1.6/share/lilypond/1.6.6,{/home/fred/lily-1.6/share/ lilypond,/usr/share/texmf}}
    Running dvips...
    invoking `dvips -E -o lily-1705589784.eps
lily-1705589784 1> /dev/null 2> /dev/null'
    invoking `gs -sDEVICE=bbox -q
-sOutputFile=- -dNOPAUSE lily-1705589784.eps -c
quit > lily-1705589784.eps.bbox 2>&1'
    invoking `gs -g260x40 -sDEVICE=pnggray
-dTextAlphaBits=4 -dGraphicsAlphaBits=4  -q
-sOutputFile=lily-1705589784.png -r90 -dNOPAUSE
lily-1705589784.trans.eps lily-1705589784.eps
-c quit '
    Writing `foo.html'

and produces a nice-looking html.


Jan Nieuwenhuizen  | GNU LilyPond - The music
typesetter       |

Lilypond-user mailing list

Still very confused,

Donald Gudehus

Lilypond-user mailing list

Jule Slootbeek

reply via email to

[Prev in Thread] Current Thread [Next in Thread]