2009/5/20 Lutz Haseloff
Thank you very much for the module.
I only care for it, I didn't write it, that was Christopher Creutzig, and it wouldn't work with MkIV without Mojca Miklavec.
can you insert a line of code in ctxtools.rb? after the line: 430 $dontaskprefixes.push(Dir.glob("mpx-*")) I would like to have: 431 $dontaskprefixes.push(Dir.glob("*-lilypond-*"))
that would purge the lilypond temporary files as well.
I'm annoyed by LilyPond's garbage files as well, but don't you think, purging **-lilypond-** would be a bit too much? I guess it would be enough to purge the EPS files, we should keep .tmp, .md5 and .pdf, otherwise you must compile the LilyPond parts ever again. I'm using this module for songbooklets containing about 30 songs, calling LilyPond takes a lot of time - too much, if I'm only tweaking the lyrics. So I'd prefer a better solution than just cleaning everything - perhaps some temp dir? I guess the module could just write the tmp files (and thus everything else) to a temp dir -- is there a general ConTeXt configuration for temp stuff? -- and copy the completed pdf "images" so some image dir -- another ConTeXt config setting? Greetlings, Hraban