Added provisional support for parsing $-style math