fix tags'ref; use html-css to display math, as svg text can't be selected