we are tring to force an integration of jsMath with MimeTeX filter.
At now, the modified version operate quite well on moodle 1.6.0dev; because in 1.5.3+ we noticed some strange behaviours.
All the difference is hosted into file filter.php. The attached file is from the last version.
As minor enhancement we provide a possible solution for the well-known feature of TeX filter: when someone modify the code, every double escape ('\\') is trasformed into a singol ones ('\'): our hypotesi is that every sequence of double escape is directly followed by a space, and we substitute every ('\ ') with ('\\ ') before passing the code to the filters.
Every comment, problem and suggestion is wellcome.