Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

TeX4ht

📅 2012-Oct-28 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

TeX4ht is one of the many options available to convert a LaTeX document to HTML. Like any LaTeX-to-HTML tool, it may not always work and even when it does, the output may not match your expectation. However, the fact that it ships with the MikTeX distribution makes it an attractive option.

Converting a LaTeX document to HTML is easy:

htlatex Main.tex

To convert to XHTML use:

xhlatex Main.tex

Tried with: MikTeX 2.9 and Windows 8 Pro x64