Dlh is a fast LaTeX-to-HTML translator written in C that can handle
most of LaTeX. Some of its features:
- The translator never invokes LaTeX for any purpose. With
the exception of figure support (see below), it's completely
independent of any other program. In particular, it generates
all cross-references and table of contents in a single run
(no funky "rerun LaTeX to get cross-references right" messages).
- Tables are supported and translated into HTML3 tables (no ugly gifs).
- What it does, it does right: no gratuitous blanks or line-breaks.
- PostScript figures (\psfig command) are supported (requires
GhostScript (gs) and pnmtogif to translate PS into
gif files).
- It's fast. On an AlphaStation 600 5/333 running
Linux/Alpha, it
generates a 50 page document in about 400ms if the figures
have been translated already. Ghostscript is quite slow so
when the figures need to be translated, the execution time goes
up to about 6 seconds. In contrast, LaTeX 2e on the
same document and machine takes about 8 seconds and latex2html
takes more time than anybody would care (on the order of 2 minutes
plus gobs of memory).
The translator certainly isn't complete yet, but it's good enough that
many other people have found it useful. More features will be added
over time as need arises. The biggest missing feature right now is
that math support is very rudimentary right now.
For an example of non-trivial use of dlh, see the Red Hat User's
Manual, which is available here.
The dlh translator is available here under name
dlh-VERSION.tar.gz (README of current
version). The translator is available under the GNU Public License.
Improvements, bug-fixes or constructive comments are gladly accepted.
dmosberger@gmail.com / Last updated:
Wed Nov 1 17:06:45 2006