This translator is driven mainly by TeX, the Program. When
invoked with special macros, TeX inserts DVI "specials" in the compiled
output (DVI file) that provide structural information for DVI
processors. This structural
information may be used for
formatting compiled TeX or LaTeX markup in SGML languages such as HTML.
"tex4ht" formats such an enhanced DVI in HTML.
This approach should be optimal for obtaining renditions of legacy
TeX or LaTeX source documents in formats not derivable from ordinary DVI.
(Original document markup in appropriate SGML languages will soon be
optimal for new documents.)