Code Yarns ‍👨‍💻
Tech BlogPersonal Blog


📅 2012-Oct-28 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ conversion, htlatex, html, latex, tex4ht, xhlatex ⬩ 📚 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

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧