[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: squeezed measure
From: |
Han-Wen Nienhuys |
Subject: |
Re: squeezed measure |
Date: |
Mon, 31 Jan 2005 20:29:31 +0100 |
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"'
>
> 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. ;
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen