adding support for math mode in restructured text