The system can be activated with a sequence of commands of the following form.
latex x (or `tex x') latex x latex x tex4ht x t4ht x
The three compilations with La(TeX) are needed to ensure proper links. The approach is illustrated in the following picture.
tex4ht
to
use. The special instructions come from implicit and explicit requests made in the source file through commands of
TeX4ht.
The utility tex4ht
translates the dvi code into standard text, while obeying the requests it gets from the
special instructions. The special instructions may request the creation of files, insertion of html code, filtering of
pictures, and so forth.
In the extreme case that the source code contains no commands of TeX4ht, tex4ht gets pure dvi code and it outputs (almost) plain text with no html commands in it.
\Needs{...}
' command.
x.lg
' script.