Fixed bug that prevented latex rendering.