latex2html  2020.2
About: LaTeX2HTML is a utility that converts LaTeX documents to web pages in HTML.
  Fossies Dox: latex2html-2020.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

latex2html Documentation

Some Fossies usage hints in advance:

  1. To see the Doxygen generated documentation please click on one of the items in the steelblue colored "quick index" bar above or use the side panel at the left which displays a hierarchical tree-like index structure and is adjustable in width.
  2. If you want to search for something by keyword rather than browse for it you can use the client side search facility (using Javascript and DHTML) that provides live searching, i.e. the search results are presented and adapted as you type in the Search input field at the top right.
  3. Doxygen doesn't incorporate all member files but just a definable subset (basically the main project source code files that are written in a supported language). So to search and browse all member files you may visit the Fossies
  4. latex2html-2020.2.tar.gz contents page and use the Fossies standard member browsing features (also with source code highlighting and additionally with optional code folding).



  • Overview
  • Pointers to the User Manual
  • Requirements
  • Installation
  • Troubleshooting
  • Support and More Information


The LaTeX2HTML translator:

  • breaks up a document into one or more components as specified by the user,
  • provides optional iconic navigation panels on every page which contain links to other parts of the document,
  • handles inlined equations, right-justified numbered equations, tables, or figures and any arbitrary environment,
  • can produce output suitable for browsers that support inlined images or character based browsers (as specified by the user),
  • handles definitions of new commands, environments, and theorems even when these are defined in external style files,
  • handles footnotes, tables of contents, lists of figures and tables, bibliographies, and can generate an Index,
  • translates cross-references into hyperlinks and extends the LaTeX cross-referencing mechanism to work not just within a document but between documents which may reside in remote locations,
  • translates accent and special character commands to the equivalent HTML character codes where possible,
  • recognizes hypertext links (to multimedia resources or arbitrary internet services such as sound/video/ftp/http/news) and links which invoke arbitrary program scripts, all expressed as LaTeX commands,
  • recognizes conditional text which is intended only for the hypertext version, or only for the paper (PDF) version,
  • can include raw HTML in a LaTeX document (e.g. in order to specify interactive forms),
  • can deal sensibly with all the commands and environments commonly used with LaTeX as summarized at the back of the LaTeX blue book [1], and many of the packages described in the LaTeX Companion, and others.
  • will try to translate any document with embedded LaTeX commands irrespective of whether it is complete or syntactically legal.

Pointers to the User Manual

The LaTeX2HTML program includes its own manual page. The manual page can be viewed by saying "perldoc latex2html" or "latex2html -help".

See the manual in the docs directory for more information and examples.

Other useful links can be found at: and at the mailing-list site:

See the file INSTALL for instructions on how to install the program and make your own local copy of the manual in HTML.


Please consult the section "Requirements" of the manual at for more information.

The requirements for using LaTeX2HTML depend on the kind of translation it is asked to perform as follows:

  1. LaTeX commands but without equations, figures, tables, etc.

    • Perl 5.003 or higher.
  2. LaTeX commands with equations, figures, tables, etc. As above plus

    • latex (pdflatex is used by default)
    • latex preview package
    • gs (Ghostscript version 4.03 or later),
    • The netpbm library
    • If you want to produce SVG images, pdftocairo (available through the poppler-utils package).
    • If you want to process documents written for dvi-producing latex (as opposed to pdflatex), you need either dvips or dvipng. These are available through the texlive distribution.


LaTeX2HTML is available through the debian, fedora, and macports package managers.

To install LaTeX2HTML from source please read the file INSTALL.


Please refer to the FAQ file that came with your distribution.

Support and More Information

A LaTeX2HTML mailing list has been set up by the TeX User Group (TUG).

To join the list, visit the web-page at:

and follow the instructions found there.

If this is not possible for some reason, then send a message to: with the contents subscribe

To be removed from the list follow the instructions at:

If this is not possible for some reason, then send a message to: with the contents unsubscribe

An archive of the mailing list, from 1999 onwards, can be browsed at:


GNU Public License Version 2


Original Author: Nikos Drakos Computer Based Learning Unit University of Leeds.

Most Recent Author: Ross Moore Mathematics Department Macquarie University, Sydney.

Former Authors: Marek Rouchal Infineon Technologies AG Munich, Germany

Jens Lippmann Technische Universit"at Darmstadt.