Replace special characters with their TeX equvivalent command.