Fix TeX output so that it matches HTML output (apply math_ev3 to it).
Merge pull request #71 from dpvc/hotfix/2.8-PGML

Fix TeX output so that it matches HTML output (apply math_ev3 to it).