TEX parser & PNG converter working