lilypond-devel
[Top][All Lists]
Advanced

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

Re: lilypond-book on windows


From: Trevor Daniels
Subject: Re: lilypond-book on windows
Date: Wed, 11 Jan 2012 23:43:05 -0000


Trevor Daniels wrote Wednesday, January 11, 2012 11:23 PM

Well, MikTex contains texi2dvi.exe, so I renamed this to texi2pdf.exe
and added its directory to the MinGW path.  lilypond-book and
Reinhold's code then seems to work correctly, provided I comment
out the _sleep call in threading.py and use the following command in line 208 of book_texinfo.py:

   cmd = '%s -c -p %s' % (global_options.texinfo_program, tmpfile);

As the sleep call in threading.py is a hack to satisfy Solaris this should anyway be bypassed for other platforms, so I've changed my mind -
this seems a reasonable change to make.

I'm now going to reinstall 2.15.25, make exactly these changes, and
try again to double-check this is adequate.  The changes would then
need to be bracketed with a test for the platform.

Ah yes, I forgot the U in lines 549 and 554 of subprocess.py.
But rather than editing this it would be better to set universal_newlines
False in line 212 of book_texinfo.py.  This change is puzzling as the
U only makes sense on Windows, so why does it give a invalid
argument error?  Could be we have a wrong module somewhere?

Trevor



reply via email to

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