Just came to think of it! Something I haven't done before the release.
Jan Nieuwenhuizen wrote:
Mats Bengtsson writes:
For the hackers of the list, more information about the problem
can be found in
http://lists.gnu.org/archive/html/bug-lilypond/2004-06/msg00012.html
Says
The problem is that there is no such thing as /dev/stdin in Cygwin,
but I guess there's /dev/stdin if you run under bash (instead of ash)?
Right! However, I have not found any way to make this happen
in the call from os.popen3(...) in Python.
Should I apply the quick and dirty method mentioned below?
/Mats
Han-Wen Nienhuys wrote:
> [EMAIL PROTECTED] writes:
>
>>The problem is a limitation of the Cygwin implementation of the
>>Python scripting language used in the implementation of lilypond-book.
>>I did an ugly fix in version 2.2, but considered it too ugly to be
>>included in all future versions. Now it appears that nobody tried
>>to find a better solution, so maybe we should include it in the
>>latest development version anyhow.
>>
>>You can include the fix yourself, even if you are not a programmer.
>>Just open the file C:\cygwin\bin\lilypond-book in a text editor
>>(use the same one that you use for your .ly files) and change the
>>line that says
>>
>>latex_filter_cmd = 'latex "\\nonstopmode \input /dev/stdin"'
>>
>>into
>>
>>latex_filter_cmd = 'cat > lily-tmp.tex; latex "\\nonstopmode \input
>>lily-tmp.tex";rm lily-tmp.tex'
>>
>>(make that a single line)
>>
>>For the hackers of the list, more information about the problem
>>can be found in
>>http://lists.gnu.org/archive/html/bug-lilypond/2004-06/msg00012.html
>>with followups and my ugly fix can be found in
>>http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/scripts/lilypond-book.py.diff?r1=1.165.2.1&r2=1.165.2.2&only_with_tag=lilypond_2_2
>
>
> Can you apply this patch to head as well? I concur that it is not very
> elegant; a better solution would be to make filter_pipe() more
> robust.
>
> BTW I would use && iso. ;
>
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond