Please find attached a patch which monotonically improves such support. I tested it with octave, maxima, and mathematica.
I do not have any of them... but I will install octave and test. BTW, how difficult it is to add support for other applications like matlab, R, python etc? Thanks. Bo