Thanks for the advice.
However, though double clicking lilypond-book.py does something in
Windows, I still don't know how to process the files.
Running
python c:/Progra~1/LilyPond/usr/bin/lilypond-book.py
from Command prompt looks OK, but if I do
python c:/Progra~1/LilyPond/usr/bin/lilypond-book.py test.lytex,
then I get
Path not found.
lilypond-book.py (GNU LilyPond) 2.7.27
Reading C:\Documents and Settings\gost\Desktop\test.lytex...
Running latex...lilypond-book.py: error: `latex' failed (signal 1)
lilypond-book.py: error: The error log is as follows:
Traceback (most recent call last):
File C:\Progra~1\LilyPond\usr\bin\lilypond-book.py, line 1692, in ?
main ()
File C:\Progra~1\LilyPond\usr\bin\lilypond-book.py, line 1658, in
main
chunks = do_file (file)
File C:\Progra~1\LilyPond\usr\bin\lilypond-book.py, line 1514, in
do_file
set_default_options (source)
File C:\Progra~1\LilyPond\usr\bin\lilypond-book.py, line 683, in
set_default_options
textwidth = get_latex_textwidth (source)
File C:\Progra~1\LilyPond\usr\bin\lilypond-book.py, line 1333, in
get_latex_textwidth
ly.system ('latex %s' % tmpfile)
File C:\Program Files\LilyPond\usr\bin\lilylib.py, line 296, in
system
sys.stderr.write (open (error_log_file).read ())
IOError: [Errno 2] No such file or directory: 'tmpsoit1mlatex.errorlog'
Of course, latex runs normally from the command prompt, so that should
not be the problem.
(BTW, I had to put C:\Progra~1\Lilypond\usr\bin at the end of my PATH
variable to be able to execute python from command prompt.)
Bostjan
-Original Message-
From: Erik Sandberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 10:14 PM
To: lilypond-user@gnu.org
Cc: Bostjan Kuzman
Subject: Re: How to invoke Lilypond-book (Windows / Ubuntu)
On Tuesday 17 January 2006 19.18, Bostjan Kuzman wrote:
I've succesfully installed Lilypond 2.7.27-4 in Windows and in Ubuntu
Breezy (the autopackage - I would suggest using sudo sh
lilypond-X.Y.Z.linux.sh to avoid path problems here).
However, I don't know how to invoke lilypond-book in any of this
systems. I can't even find a lilypond-book executive, only a py
script.
lilypond-book _is_ a python script, and it should be marked executable.
Try
running it!
--
Erik
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user