[enh] fix #17: render $expression$ as TeX Math in threads