Convert HTML, especially HTML generated from Word or `word2html`, into LaTeX and optionally PDF via XeLaTeX. Use when the user mentions `html2tex`, wants to convert HTML to LaTeX or PDF, or needs support for merged tables, embedded images, inline formatting, or MathJax formulas.