Am 2007-05-04 um 21:15 schrieb Aditya Mahajan: >> """ >> \global\advance\lily!figures\plusone >> \edef\lily!filename{\bufferprefix lilypond-\the\lily!figures} >> ... >> \edef\LP{texmfstart --ifchanged=\lily!filename.tmp --exec >> bin:lilypond -b eps -dno-gs-load-fonts -dinclude-eps-fonts \lily! >> filename.tmp} >> """ >> >> I still don't understand a lot of TeX programming, so I've no clue. > > \edef expands its argument at the time of the definition. So > \lily!filename is always *-1.tmp. Try changing the \edefs to \def.
Arrgll! Yes, that helped. Thanks a lot! I'll see soon if that solved everything and then upload the corrected version of the module. 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 ___________________________________________________________________________________