Math rendering for exams (take 6 with tex_math_dollars and pandoc 1.12)