I figured out how to generate the temporary file in the current
directory, so I have now submitted a patch to CSV.
/Mats
Mats Bengtsson wrote:
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond