[Top][All Lists]

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

Re: squeezed measure

From: Mats Bengtsson
Subject: Re: squeezed measure
Date: Tue, 21 Jun 2005 16:01:16 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

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


    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?


Han-Wen Nienhuys wrote:
> address@hidden 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"'
>>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
>>with followups and my ugly fix can be found in
> 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. ;

reply via email to

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