I think I'll change to some "native C++" solution for the math-extern "transformations". Proper quoting special chars ($, [, ] etc) seems to get pretty messy in Perl and Tcl - to an extend where I can't sense much benefits from the scripting anymore.
The cost, of course, is some bloat in mathed: Every "format" (i.e maple/mathml/octave/...) needs a function in every inset that has some special meaning in that format). But that's usually just two or three lines, and code can be shared between similar format. Objections? Andre' -- André Pönitz .............................................. [EMAIL PROTECTED]