fixed tex and text versions of heat index.
render tex versions as plain text.