Re: [NTG-context] New LilyPond module
Am 2009-03-05 um 16:47 schrieb Wei-Wei Guo: Is it possible to make the temp lily file in the format of PNG instead of PDF? MkIV here cannot insert PDF figure properly recently. Sorry, I son't think that would make sense. It MkIV really can't include PDFs, that would be a major bug - nothing that could be blamed to or corrected by the LilyPond module. If you want to get PNGs, you could try to change the call to LilyPond or add a call to ImageMagick after pstopdf (to convert PDF to PNG). Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) PGP.sig Description: Signierter Teil der Nachricht ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New LilyPond module
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) PGP.sig Description: Signierter Teil der Nachricht ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] New LilyPond module
Dear music lovers, I just uploaded a new version of the LilyPond module, see http://modules.contextgarden.net/t-lilypond http://wiki.contextgarden.net/LilyPond It works now with LilyPond 2.12 and fixes some bugs - i.e. all settings should work now, and with \lilypond[fragment=yes,time=no,clef=no]{c''8 d'' e'' f'' g''} it should now produce proper fragments (snippets). Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) PGP.sig Description: Signierter Teil der Nachricht ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New LilyPond module
Hi Hraban, Thank you for the music! 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. Do you want to read my log and have a look at my generated files? Greetings Lutz 2009/3/5 Henning Hraban Ramm hra...@fiee.net Dear music lovers, I just uploaded a new version of the LilyPond module, see http://modules.contextgarden.net/t-lilypond http://wiki.contextgarden.net/LilyPond It works now with LilyPond 2.12 and fixes some bugs - i.e. all settings should work now, and with \lilypond[fragment=yes,time=no,clef=no]{c''8 d'' e'' f'' g''} it should now produce proper fragments (snippets). Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New LilyPond module
It comes right in time. Thank you! Is it possible to make the temp lily file in the format of PNG instead of PDF? MkIV here cannot insert PDF figure properly recently. Best wishes, Wei-Wei Guo ntg-context-requ...@ntg.nl 写道: Dear music lovers, I just uploaded a new version of the LilyPond module, see http://modules.contextgarden.net/t-lilypond http://wiki.contextgarden.net/LilyPond It works now with LilyPond 2.12 and fixes some bugs - i.e. all settings should work now, and with \lilypond[fragment=yes,time=no,clef=no]{c''8 d'' e'' f'' g''} it should now produce proper fragments (snippets). Greetlings from Lake Constance! Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___