On 8/8/06, Hans Hagen wrote:
For Mojca
The next release will have:
\starttext
\immediate\openout\scratchwrite=oeps.tmp \immediate\write\scratchwrite{oeps} \immediate\closeout\scratchwrite
\registertempfile{oeps.tmp}
Thank you. This works as expected except for a tiny detail. As soon as I recompile the document the mark is lost. So, if I compile the document, change it and recompile it again without "--purge" inbetween, the old files from the first run cannot be automatically deleted any more because tui is generated from scratch each time. (I first placed \registertempfile inside of \doifmode{*\v!first} and wondered why it didn't work. Hans, I guess that you really should place some \doifuserelse{mojca} switches somewhere ;)
\typefile{oeps.tmp}
\stoptext
But please don't worry too much about that. In the worst case manual deletion still works ;) Thanks, Mojca