There are several existing programs that convert LATEX code to HTML; they utilize different approaches:
MicroPress TeXpider works along a different model: it is actually a modified (enhanced) TEX compiler, capable of direct generating of HTML and RTF code (and still capable of generating .dvi's, of course). By being a regular TEX compiler, it behaves like TEX and takes full input syntax, including user defined macros. By containing the HTML and RTF back-ends, it can make optimal decision in generating these types of the output.
||Some contain their own full parser. For example, LATEX-to-HTML (Unix program written in Perl script) is one. The problem with this approach that implementing full TEX-compatible parser is a major undertaking. Most of existing programs of this type therefore exhibit weird syntax errors and do not support most of TEX language.
||Some re-work TEX's .dvi output. The idea here is to let TEX do the parsing and then re-process the TEX's output building HTML. While this is acceptible in terms of supporting full syntax, the results cannot be good since too much is lost in the .dvi output built by TEX.
In designing the TeXpider, we tried to minimize the changes made to