5 Short version of the recipe

In this section we present a condensed version of the previous recipe, without all the gory details. Assuming that LATEX, TEX4ht, ImageMagick and GhostScript are installed, you may download a file package from [6] containing the other essentials. These include:

If you have skipped directly to this section without reading about the background for these components, you will not necessarily understand what they do or what they are needed for. Consult the other sections if you are bewildered.

Now for the recipe for converting your LATEX document into HTML:

  1. Download the file package tex4ht-files.tar.gz and decompress it into your working directory. (That is, the directory from where you run the latex-commands.)
  2. Modify your source code:
  3. Compile your document:
  4. If compilation succeeded, your HTML version is stored in document*.html and the graphic content is stored in document*.png. Additional cascading style sheet-specifications recides in document*.css. All these files must be published in the same directory on the web for the document to be displayed correctly.