Re: How to invoke Lilypond-book (Windows / Ubuntu)

2006-01-20 Thread Erik Sandberg
On Thursday 19 January 2006 18.18, Bostjan Kuzman wrote:
 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.

Hm, seems to be a problem with temporary files or something, might be windows 
specific. lilypond-book works without problems under Ubuntu, so the easiest 
solution is to do your work on that box.

If you really need to use windows, you could try the cygwin package (and the 
bash shell iso. native command prompt), this might help (but I don't know, I 
never used latex under windows).

-- 
Erik


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: RE: How to invoke Lilypond-book (Windows / Ubuntu)

2006-01-19 Thread Bostjan Kuzman
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


How to invoke Lilypond-book (Windows / Ubuntu)

2006-01-18 Thread Bostjan Kuzman
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.

Can someone please help me? 


Regards,
Bostjan



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to invoke Lilypond-book (Windows / Ubuntu)

2006-01-18 Thread Erik Sandberg
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