lilypond-user
[Top][All Lists]
Advanced

[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.
run

lilypond-book file.html

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

Jule

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

Hello,

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:

<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>
<BODY>
<lilypond relative1 verbatim>
\key c \minor r8 c16 b c8 g as c16 b c8 d | g,4
</lilypond>
</BODY>
</HTML>

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 |
g,4

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

says:

    lilypond-book (GNU LilyPond) 1.6.6
    invoking `lilypond --header=texidoc  -I
/var/fred/cvs/savannah/lily-1.6/lilypond
lily-1705589784.ly'
    GNU LilyPond 1.6.6
    Now processing: `lily-1705589784.ly'
    Parsing...
    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>
/dev/null'


{/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.

--
Jan Nieuwenhuizen  | GNU LilyPond - The music
typesetter
http://www.xs4all.nl/~jantien       |
http://www.lilypond.org



_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user


Still very confused,

Donald Gudehus


_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user


Jule Slootbeek
address@hidden





reply via email to

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