Am 2009-03-05 um 16:00 schrieb Lutz Haseloff:
One remaining problem. On my system (Windows XP, luatex 0.35, lilypond 2.12.2) your module generates two identical eps files with different names, filename-lilypond-1.eps and filename-lilypond-1-1.eps. The second is converted to pdf and therefore is filename- lilypond-1.pdf not included.
It's not the module producing useless additional files, but LilyPond itself. I complained on the LilyPond list, but it seems it won't change. We must use the EPS backend, that is also used by lilypond-book (LaTeX), otherwise we don't get snippets. I *guess* (didn't check), LilyPond will split a long score into pages, i.e. will produce filename-lilypond-1-1.eps, filename-lilypond-1-2.eps etc. for a multi page score. Anyway, we can't do anything about it. I don't want to include delete commands in the module (there aren't OS independent delete commands anyway). Perhaps write a batch script to delete the useless files yourself. I already tried to keep LilyPond's files in a temp directory, but I didn't succeed.
Do you want to read my log and have a look at my generated files?
No, it's the same here on MacOS X. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)