Hello, Hans! >> Shall I simply do something like this? >> >> [...] > > this is not the recommended way .. better do somethign like this: > [...] > function document.MyCharacterMess(str,filename)
Loved your function naming! :-) What is this "str"? > if file.nameonly(filename) == "ward" then > str = table.concat(string.totable(str,"."), " + ") What is this doing? > [...] > utilities.sequencers.appendaction(textfileactions, > "system","document.MyCharacterMess") Why is "document.MyCharacterMess" a string? Isn't it less error-prone to use the function itself, instead of its name? Sorry for my naive basic questions... :-) Cheers, André Caldas. ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________