Hello, Thank you all very much. I'm pleased with number and quality of solutions to my problem.
The winner solution is provided by Wolfgang Schuster. Simple \centeredbox{} makes all the magic I need. I was also amazed with quick porting of my Lua code for batch image processing to native TeX script. I'm an imperative programmer to the marrow and never will be able to do such things. Luckily, now we have embedded Lua! Best regards, Vyatcheslav Yatskovsky ___________________________________________________________________________________ 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 ___________________________________________________________________________________