add abbreviation support for HTML/LaTeX