TeX4ht is a system for converting documents written in TeX/LaTeX/ConTeXt/etc. to HTML, various XML flavors, braille, etc., optionally using MathML.
TeX4ht can be invoked in several ways. Original way is to use the
To convert a LaTeX source file.tex to HTML5 that uses UTF-8:
htlatex file.tex "xhtml,html5,charset=utf-8" " -cunihtf -utf8"
N.B. That command line has three arguments, the second two given inside shell quotes; the last argument starts with a space. More details on calling conventions.
Easier way is to use
make4ht. The following command produces the same output as the previous one,
HTML5 in UTF-8 encoding:
For more comprehensible invocations, see make4ht documentation.
Bug reports are welcome by email or by submission to the bug database. Please include a complete source document and the exact program invocation, as well as what goes wrong. To fix the problem we need to be able to reproduce it. If the problem remains unresolved, please submit it to the bug db, so it won't be forgotten.
We continue to install updates in the tex4ht development source and propagate them to TeX, although we have not made a full release in tex4ht. Some development changes remain solely in the source repository.
TeX4ht was created by Eitan Gurari at Ohio State University. Eitan died unexpectedly in June 2009; we extend our sympathies to his family, and dedicate future work on the project to his memory.
With the encouragement and support of Eitan's family, Michal Hoftich, Karl Berry, and others have continued to work on TeX4ht. Involvement by other volunteers, from bug reports to major new development, is welcome and needed.
No full post-Eitan release has been made to date; the tex4ht.zip linked to from the original web pages refers to Eitan's last “fix” release, labeled 2009_06_11_1038.
Latest changes (full ChangeLog):
tex4ht-fonts-4hf.tex ( ./tex4ht.dir/texmf/tex4ht/ht-fonts/alias/lm/lm-qx/lm-qx.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/iwona/greek-iwona.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/libertine/fxlr-xl-03.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/libertine/fxlr-xl-ts1.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/lm/lm-qxtt.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/lm/lm-ts1.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/pxfonts/rpcxr.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/tibetan/ctib.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/tipa/xipx.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/txfonts/rtcxr.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/txfonts/rtcxss.htf ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/txfonts/tcxb.htf ): fixed wrong XML entites.
tex4ht-4ht.tex (usepackage.4ht): load Unicode definitions when script
option for language selection is used in Polyglossia.