First of all, let me say that I am super impressed with LilyPond. Up to
this point I have been scrimping by with a patchwork of Finale Notepad,
Cakewalk, and hand-drawn ugliness. Discovering LilyPond has been a real
I hope this is an easy one. I searched the archives but didn't see any
direct mention of this. I have LilyPond running on Windows XP. What I have
discovered is that the lilypond-book.py script seems to have some problems
with spaces in the path name. For example. If I have an HTML file stored
c:\documents and settings\vtrucks\desktop
then I get no output and simply the usage statement is returned. This is
even if the path is enclosed in quotes. If I move the .html I am converting
to a place where there are no spaces in the filename, then I get a little
further. For example if I run
lilypond-book.py --output=c:\output c:\test.html
Then it seems to process everything, however the HTML file is never created
in the output directory and I get the following error:
lilypond-book.py: error: Process lilypond --formats=ps,png --backend eps -I
Program Files\LilyPond\usr\bin snippet-map.ly lily-533600811 exited
As a final test - I made a copy of the c:\program files\lilypond directory
and saved it under the root of c:\. If I run lilypond-book.py from that
copy (so that it is located in c:\lilypond\usr\bin rather than c:\program
files\lilypond\usr\bin) then the script completes successfully and
everything is created properly.
So, is there something I can change in the lilypond-book.py file to correct
Vaylor Trucks wrote:
> First of all, let me say that I am super impressed with LilyPond. Up to
> this point I have been scrimping by with a patchwork of Finale Notepad,
> Cakewalk, and hand-drawn ugliness. Discovering LilyPond has been a real
> So, is there something I can change in the lilypond-book.py file to
> correct this?
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [hidden email] WWW: http://www.s3.kth.se/~mabe =============================================
Actually, I am not using Cygwin at the moment. I saw that jEdit has a
Cygwin (bash.exe) requirement as well, and therefore I decided not to
install it. I am using a different IDE-type editor instead.
I will try your substitutions in the new version and see what I get. Thanks
for the help.
>From: Mats Bengtsson <[hidden email]>
>To: Vaylor Trucks <[hidden email]>
>CC: Han-Wen Nienhuys <[hidden email]>, [hidden email] >Subject: Re: New to the list, question about lilypond-book
>Date: Fri, 11 Nov 2005 13:34:32 +0100
>This will not work entirely well since the installed version of the file
>few lines that differ compared to the "source code" version that you get if
>you follow Han-Wen's instructions.
>Just copy the lines with "datadir = ..." from your original version into
>one from savannah.gnu.org and it should work well.
>By the way, I assume that you use the Cygwin version, right?
>I'm trying to make the native Windows version of lilypond-book to
>work correctly as well.
>Han-Wen Nienhuys wrote:
>>Vaylor Trucks wrote:
>>>I'm very sorry if this is covered in the manual or somewhere online, but
>>>can someone explain to me how to implement the patch?
>>No problem, try downloading the latest version of the lilypond-book.py
>>(if you appreciate this service, consider a donation. see
> Mats Bengtsson
> Signal Processing
> Signals, Sensors and Systems
> Royal Institute of Technology
> SE-100 44 STOCKHOLM
> Phone: (+46) 8 790 8463
> Fax: (+46) 8 790 7260
> Email: [hidden email] > WWW: http://www.s3.kth.se/~mabe >=============================================