bug-lilypond
[Top][All Lists]
Advanced

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

Re: squeezed measure


From: Mats Bengtsson
Subject: Re: squeezed measure
Date: Wed, 22 Jun 2005 17:56:46 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

Han-Wen Nienhuys wrote:
> Mats Bengtsson wrote:
>
>> Just came to think of it! Something I haven't done before the release.
>>
>
> can you remove the cat > lily-tmp.tex part, and write the file to a
> proper tmp file (use mktemp) from python?
>

I tried, but the file names I get from mktemp look like
/cygdrive/c/DOCUME~1/mabe/LOCALS~1/Temp/tmp56CnSn.tex

which makes latex complain about:

 I can't find file `/cygdrive/c/DOCUME


I don't know enough details about the combination of Python, Cygwin
and LaTeX to come up with a better solution than what I proposed
originally.

   /Mats


 >>
 >>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





--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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