It seems that the lily-wins script calls lilypond with the additional flag -p for historical reasons and that the meaning of this flag has changed from version 2.2 to version 2.4. To avoid these preview files, you could edit the line in lily-wins that says:
stat = system ('%s -p %s > %s.log 2>&1' % (script, escape_shell (base),and just remove the '-p', resulting in:
stat = system ('%s %s > %s.log 2>&1' % (script, escape_shell (base),/Mats
J L wrote:
Hi,
Is there any way to edit the Python Lily-wins file to stop it from producing previews of LilyPond scores? I find it annoying how Lily-wins 2.4.2 creates all these extra files. Of course, I could copy the files I need to run LilyPond on to my home directory and keep them there/copy them back + forth, or I could just delete the unwanted files (everytime after running Lily). I tried having a look at the script, but couldn't decipher it.
Aligorith
_________________________________________________________________
Surf the net and talk on the phone with Xtra JetStream @ http://xtra.co.nz/jetstream
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= 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 [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-lilypond
